panetmoto![]() Member Posts: 11 Joined: 1/15/2018 Location: visalia ![]() | Been trying to get the long and short signals to plot when the ema9 crosses above the pricetrend line for long and crosses below pricetrendline for short pic and text to follow , Seems limited in getting coding help on these forums #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+10, close, red, 3) signal=shortsignal 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+10, close, blue, 3) signal=longsignal end if ![]() |