Help adding Buy Sell and Exit symbols........

#1
The first pic that is attached is the screenshot of an indicator that I use for intraday trading.......Uptrend colour is indicated by GREEN and downtrend colour is indicated by RED and sideways trend is indicated by WHITE. I want to add BUY/SELL/EXIT symbols for these three respective colours i.e simply BUY arrow when indicator turns GREEN and exit when indicator turns WHITE and wait for the next entry colour.......I have photoshopped the 2nd pic for the output I am looking for......Can anyone please add these symbols for this code and if possible please add the exploration aswell.........Thanks
















_SECTION_BEGIN("Ïndicator");
Plot(100,"",colorBlack,styleDashed);
Plot(-100,"",colorBlack,styleDashed);
n=18;
n= Param ( "Periods", 9, 1, 200, 1 );
ys1=(High+Low+Close*2)/4;
rk3=EMA(ys1,n);
rk4=StDev(ys1,n);
rk5=(ys1-rk3)*100/rk4;
rk6=EMA(rk5,n);
UP=EMA(rk6,n);
DOWN=EMA(up,n);
Oo=IIf(up<down,up,down);
Hh=Oo;
Ll=IIf(up<down,down,up);
Cc=Ll;
barcolor2=IIf(Ref(oo,-1)<Oo AND Cc<Ref(Cc,-1),colorWhite,IIf(up>down,colorGreen,colorRed));
PlotOHLC(Oo,hh,ll,Cc, "Potential" + Name(), barcolor2, ParamStyle ("Style") );
Plot(1,"ribbon",IIf(Ref(oo,-1)<Oo AND Cc<Ref(Cc,-1), colorBlue, IIf( up>down, colorLime, IIf( down>up, colorRed, colorBlue ))),styleOwnScale|styleArea|styleNoLabel, -01, 50 );
_SECTION_END();
 

Similar threads