#Формула показывает уровни, по типу чашек с ручками и треугольники #Cнять галочку Include Extended Session def iHighest = highest(high,120)[5]+0.01; def iLowest = lowest(low,120)[5]-0.01; plot bType = if iHighest-close <= 0.05 and iHighest >= highest(high,6) then 1 else if close-iLowest <= 0.05 and iLowest <= lowest(low,6) then 2 else 100; AssignBackgroundColor (if iHighest-close <= 0.02 and iHighest >= highest(high,6) then color.GREEN else if close-iLowest <= 0.02 and iLowest <= lowest(low,6) then color.RED else color.BLACK);