Page 1 of 1
ADR
Posted:
Thu May 16, 2019 5:55 am
by Apprentice
Based on request.
viewtopic.php?f=27&t=68459
- ADR.lua
- (5.58 KiB) Downloaded 450 times
Re: ADR
Posted:
Fri May 17, 2019 6:42 am
by 7510109079
Nicely done Apprentice!
Can I ask how is the ADR % calculated?
i.e. what is it a percentage of?
thx
Re: ADR
Posted:
Fri May 17, 2019 8:00 am
by Apprentice
ADR is the average of Range
The range is calculated as high -low
Re: ADR
Posted:
Fri May 17, 2019 9:07 am
by 7510109079
But the actual percentage amount at the beginning. How is that calculated?
Am i correct saying it is the percentage of the current days move compared to the 20 period ADR?
Re: ADR
Posted:
Sun May 19, 2019 4:13 am
by Apprentice
rate = val * d1_source:pipSize() / ((day10_value + day20_value) / 2);