beech pilot![]() Member ![]() Posts: 36 Joined: 11/1/2018 Location: Visalia ![]() | would like to add to the indicator when the ema 9 crosses the pricetrendline as a system as of now the indicator plots a price and bar when the wave changes color, i would like to change it as a indicator into a system thanks #Indicator dim s as string s = cstr(c[1]) If (CAW_ZZ(2.5,14) > 0 and CAW_ZZ(2.5,14)[1] < 0) then PlotText("WTChange", C-(2*ATR(14)), s) PlotPriceTrendLine( "Level", BAR, Close, BAR+20, close, blue, 3) Else If (CAW_ZZ(2.5,14) < 0 and CAW_ZZ(2.5,14)[1] > 0)then PlotText("WTChange", c+(2*ATR(14)), s) PlotPriceTrendLine( "Level", BAR, Close, BAR+20, close, blue, 3) End If Return 0 ' Return the value calculated by the indicator [Edited by beech pilot on 4/16/2022 9:59 AM] ![]() |