Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() | I couldn’t really follow the first part of your post - sort of garbled. But here’s how you change the indicator you provided into a system. Maybe that will get you started. #system 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) Signal = LongSignal 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) Signal = ShortSignal End If [Edited by Jim Dean on 4/16/2022 10:43 AM] |