// Downloaded From https://www.WiseStockTrader.com ccresult1 = WriteIf( s1,"cu", ""); ccresult2 = WriteIf( s2,"cd", ""); GfxSelectFont("arial", 13, 700 ); GfxSetBkMode( colorRed); GfxSetTextColor( ParamColor("Color",colorRed) ); Hor=Param("Horizontal Position",30,10,1200,1); Ver=Param("Vertical Position",185,100,50,50); if ( ccresult1 =="cu") { GfxTextOut(""+s0,Hor , Ver ); } else GfxSelectFont("arial", 13, 700 ); GfxSetBkMode( colorGreen ); GfxSetTextColor( ParamColor("Color",colorGreen) ); Hor=Param("Horizontal Position",75,10,1200,1); Ver=Param("Vertical Position",185,100,50,50); if ( ccresult2 =="") { GfxTextOut(""+s0,Hor , Ver ); } _SECTION_END(); _SECTION_BEGIN("traing s2"); s0=STOPLINE; s1= s0 > C ; s2= s0