JJJJJJ11111
Member
anyone has indicator to auto plot ADR on the 1m chart for day trader?
using last 20 days Average daily range
it search for any intraday 9.30am to 4pm
1. initial day high is found and say adr is 10% . price high is $100. it will plot a 10% line below day high. later if price high went higher to $105, it will adjust the line to be 10% below $105.
2. inverse the same for using day low and plot a supposingly day high line base on ADR% in daily chart.
I'm thinking if daily ADR% can't mix with 1m chart, maybe an indicator to self input ADR% and let it plot the 2 lines .
I only have the code for ADR% daily
thanks in advance for any help!
using last 20 days Average daily range
it search for any intraday 9.30am to 4pm
1. initial day high is found and say adr is 10% . price high is $100. it will plot a 10% line below day high. later if price high went higher to $105, it will adjust the line to be 10% below $105.
2. inverse the same for using day low and plot a supposingly day high line base on ADR% in daily chart.
I'm thinking if daily ADR% can't mix with 1m chart, maybe an indicator to self input ADR% and let it plot the 2 lines .
I only have the code for ADR% daily
Code:
input len = 20;
def ADR_perc = (Average(high/low, len) -1);
AddLabel(yes,"ADR: "+AsPercent(ADR_perc),Color.BLUE);
thanks in advance for any help!