Re: Coding Help

1441
andrei-1 wrote: Tue Mar 21, 2023 10:18 am And thank you.
Thank you for your patience my friend.

I tried calibrating the indi and checked the historical levels of the ADR and compare it to other ADR indicators.

Here's the settings I used.
Timeframe: 1 Day
ATR Period: 20
ATR Factor: 1.0

Here's the result.

There are some difference in calculation. Do you think it's just normal or my other indicator is wrong?

The ADR period I used on the other ADR indicator is "ADR 20" also.
Attachments


Re: Coding Help

1443
andrei-1 wrote: Tue Mar 21, 2023 11:54 am I thought we were talking about ATR. Do you still need ADR? I thought it was the same thing. I made you an ATR. It seems that you already have ADR. :Rofl:
No my friend. I already have the ADR, but I do not have the AHR.

ADR = Average Daily Range
AHR = Average Hourly Range

Instead of Average "Daily" Range, I need the Average "Hourly" Range.

My ADR indicator cannot get the AHR or Average Hourly Range.

Re: Coding Help

1444
What I was trying to do is calibrating the ADR you made.

If your ADR indicator is the same with other ADR indicator:
- means it gets the Average Daily Range

Then calibration is successful

It means I can now use it to get the Average Hourly Range

Because I have no other indicator to calibrate the Hourly range so I used the Daily range for calibration.


Re: Coding Help

1446
andrei-1 wrote: Tue Mar 21, 2023 12:13 pm Download it again. I forgot to fix it in the Alert. ATR could have sent a letter from ADR. :D
Thank you my friend.

I hope I can now get the Average Hourly Range.

If ADR 20 gets the AVERAGE RANGE of 20 previous DAILY candles and plots the high/low range

I am thinking of AHR 20 that will get the AVERAGE RANGE of 20 previous H4 or H1 candles and plot the high/low range accordingly.

Re: Coding Help

1448
andrei-1 wrote: Tue Mar 21, 2023 12:36 pm You need a ADR(AmtfR Shift) :mistake:
I think so my friend.

Example.

AHR = Average Hourly Range

AHR 20 = plots H4 range
Candles to Average or the Time frame: 4 hour
No. of Candles to Average: 20

AHR 20 = plots H1 range
Candles to Average or the Time frame: 1 hour
No. of Candles to Average: 20

The other features in your indicator is already good because I can customize the factor and the alerts.


Who is online

Users browsing this forum: Amazon [Bot] and 20 guests