What is be the best coding technique or work a round to plot daily or weekly data on to an intraday chart only if they are within the high or low for the day or a defined price range for that day so as to not crunch the screens intraday data into a straight line?
Thank you for your help.
Size:
Color:
I'd start with the WealthScript Programming Guide > Multi-Time Frame Analysis >
Intraday/Weekly,Monthly chapter:
CODE:
Please log in to see this code.
Size:
Color:
Here is what I came up with. Is this the best way to do this by turning the plots on or off as you encounter them?
CODE:
Please log in to see this code.
Size:
Color:
Looks good on the surface. Since your code evaluates the PlotEMA...dlyOn / PlotEMA...wkOn variables only once @ ( bar == Bars.Count - 1 ) then turning the plots on or off is OK.
Size:
Color:
Thank you Eugene you’re the best.
Size:
Color:
Thank you for the kind words!
Size:
Color: