TradingView
mfeldt
28 apr 2018 17:30

DRS - Daily Range System 

Euro Fx/Japanese YenFXCM

Descrizione

An indicator that visualizes the evolution of a daily candle, inspired by a thread on forexfactory: forexfactory.com/showthread.php?t=743125
Applied on a timeframe lower than D (actually lower than H4), it visualizes the evolution of the day's high and low, as well as mid and 25% and 75% lines.
The sole input parameters are the hour at which a day is supposed to start, and the extent of the "trade allowed" region as explained in the FF -1.44% thread.
Commenti
darts35
hr = input(title="hour",type = integer, minval = 0, maxval=23, defval=22)
le = input(title="length", type = integer, minval = 1, maxval=12,defval=12)

exhr = (hr+le) > 24 ? hr+le-24 : hr+le

sesage = barssince(hour == hr and minute ==0)
exage = barssince(hour == exhr and minute ==0)

===================================================================
Hello
day, week, month
How do I edit in units?
thank you
andrei_t
Hello, I'm from Russia, your indicator is a miracle. But wanted to do addition-Vdub FX Sniper VX3 / Strategy if they combine and make complementary (supplementing) would be cool. The idea is the right price goes from minimum to maximum 2 per day.Sorry for English the interpreter such. And so many thanks
mfeldt
@andrei_t,
glad you like it - feel free to combine with whatever you like!
raja74sekhar
I'm planning to trade in crude oil with this indicator. Hope for best
santhoshkcr
Hi, thanks for this verygood script. i tried to convert it to version 4. But this part gives error. hi = sesage == 0 ? high : (high > hi[1] ? high : nz(hi[1], high))
lo = sesage == 0 ? low : (low < lo[1] ? low : nz(lo[1], low)). Please help. Thanks.
kd5zxh
I had just ran across the FF thread and was intrigued. Since I have moved away from MT4 to TV, I took a chance and searched for DRS. Thanks for coding this. I am still reading thru the FF thread and am hoping this indicator tracks with the evolution of the strategy.
Altro