UpSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP) ĭownSignal.SetDefaultColor(Color.DOWNTICK) ĭownSignal.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN) ĭef isRollover = GetYYYYMMDD() != GetYYYYMMDD() ĭef beforeStart = GetTime() = 1 then 0 else if Lg >= 0 then 1 else 2 ĭef p_b = if Lg_b >= 1 then 0 else if Lg_b >= 0 then 1 else 2 ĭef p_s = if Lg_s >= 1 then 0 else if Lg_s >= 0 then 1 else 2 UpSignal.SetHiding(!showBreakoutSignals) ĭownSignal.SetHiding(!showBreakoutSignals) Plot DownSignal = BuyVol-1 crosses below SellVol Plot UpSignal = BuyVol+1 crosses above SellVol Plot SellVol = ExpAverage (Sell, LengthS) Input averageType = AverageType.EXPONENTIAL ĭef Buy = MovingAverage (averageType, BV,lengthB) ĭef Sell = MovingAverage (averageType, -SV, lengthS)