#Показывает когда цена равна ЕМА #Cнять галочку Include Extended Session #www.nyser.ru © def iPeriod = 21; #период скользящей средней def iDiff = reference MovAvgExponential(close, iPeriod, 0)-close; plot output = iDiff == 0; AssignBackgroundColor (if iDiff<0 then color.LIGHT_GREEN else if iDiff>0 then color.LIGHT_RED else color.current);