Pastebin

rajandran marketcalls

rajandran marketcalls from Pastebin

    
        //Coded by Rajandran R
//Website : www.marketcalls.in


_SECTION_BEGIN("Predict Cycle");
SetChartOptions(0,chartShowArrows|chartShowDates);

_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}} - Cycle analysis indicator from www.marketcalls.in", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

Plot( C, "Close", colorDefault, styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 

//Cycle Component
P = ParamField("Price field",-1);
Periods = Param("Periods", 15, 2, 300, 1, 10 );
Predict = PredictCycle(C,Periods);

Buy = Predict>Ref(Predict,-1);
Sell = Predict