![]() Input n = 21 #hint n: periods used for pivot calculations. #Added the zones using ATR to the Theotrade Pivots study.ĭef ATR = MovingAverage(averageType, TrueRange(high, close, low), length) # Support/Resistance Zones around pivot S/R points. PriceLine.SetDefaultColor(CreateColor(75,75,75)) Plot priceLine = highestAll(if isNaN(close) LH.SetPaintingStrategy(PaintingStrategy.Dashes) ĪddCloud(ll, lH, Color.Light_Green, Color.Light_Green) ĪddVerticalLine(SecondsTillTime(PlotTime) = 0, "", Color.Red, Curve.Short_Dash) Ll.SetPaintingStrategy(PaintingStrategy.Dashes) Pl.setPaintingStrategy(PaintingStrategy.VALUES_BELOW) HL2.SetPaintingStrategy(PaintingStrategy.Dashes) ĪddCloud(hL, hL2, Color.Light_Red, Color.Light_Red) HL.SetPaintingStrategy(PaintingStrategy.Dashes) Ph.setPaintingStrategy(PaintingStrategy.VALUES_ABOVE) ![]() Input PlotTime = 1215 #hint PlotTime: Enter Bars End to plot Bars Start 0 for none. # Added lower bar for clouds, Volume condition for plot and Vertical line for time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |