who can help me ....
i need only to show BUY and add colum sort by Value
thanks for helping my trading system...
thanks to orig author..
i need only to show BUY and add colum sort by Value
thanks for helping my trading system...
thanks to orig author..
Code:
_SECTION_BEGIN("Smooth CCI");
///// Smooth CCI //////
x=Param("CCI Period 3 - 50",14,3,50,1);
x1=CCI(x);
Y=Param("Smooth Factor 3 - 15",7,3,15,1);
Y2=DEMA(x1,Y);
Z=Param("Signal Line 3 - 9",3,3,9,1);
Z2=MA(Y2,Z);
Plot(X1,"CCI",colorDarkGrey);
Plot(Y2,"Smooth CCI",colorOrange,styleDots,4);
Plot(Z2,"Signal",colorDarkYellow,4);
Plot(100,"",colorRed,styleThick);//styleNoLabel
Plot(0,"",colorWhite,styleDashed);//styleNoLabel);
Plot(-100,"",colorGreen,styleThick);//styleNoLabel);
Buy=x1>y2 AND x1>z2;
Sell=x1<y2 AND x1<z2;
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorGreen);
PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorRed);
_SECTION_END();
_SECTION_BEGIN("Background_Setting");
SetChartBkGradientFill( ParamColor("BgTop", colorBlack),
ParamColor("BgBottom", colorBlack),ParamColor("titleblock",colorDarkTeal ));
_SECTION_END();