![]() HighSwing.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN) Plot HighSwing = if SwingHigh then high else Double.NaN ![]() Support1.SetPaintingStrategy(PaintingStrategy.HORIZONTAL) ĭef LowSwingForw = Lowest(low, SwingsLagBar) ĭef LowSwingBack = Lowest(low, LookbackPeriod) ĭef SwingLow = if low HighSwingForw and high >= HighSwingBack then 1 else 0 Resistance1.SetDefaultColor(Color.GREEN) ![]() Resistance1.SetPaintingStrategy(PaintingStrategy.HORIZONTAL) ![]() Rec _lastMarkedHigh1 = CompoundValue(1, if IsNaN(_markedHigh1) then _lastMarkedHigh1 else if _markedHigh1 then high else _lastMarkedHigh1, high) Input TimeFrame2 = ĭef _highInPeriod1 = Highest(high, LookbackPeriod) ĭef _lowInPeriod1 = Lowest(low, LookbackPeriod) ĭef marketLow1 = if _lowInPeriod1 _highInPeriod1 then _highInPeriod1 else _highInPeriod1 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |