Comment on Pi - Overview and Feedback

DEVIS MODI commented on 30 Oct 2014, 09:13 AM

hello sir,
this is code of 20 swing…

_SECTION_BEGIN(“Swing”);

res=HHV(H,20);
sup=LLV(L,20);
avd=IIf(C>Ref(res,-1),1,IIf(Ctsl,colorGreen,colorIndigo),0,IIf(Cross(C,Ref(res,-1)),Low,High));

//Scanner mode
Buy=Cross(C,Ref(res,-1));
Sell=Cross(Ref(sup,-1),C);

_SECTION_END();

_SECTION_BEGIN(“Price”);
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat(“{{NAME}} – {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}”, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, “Close”, ParamColor(“Color”, colorBlack ), styleNoTitle | ParamStyle(“Style”) | GetPriceStyle() );
_SECTION_END();

View the full comment thread »