jeudi 15 septembre 2016

Predict cycle

Guys,

Please some one convert this afl to mt4.

Want to test 1 method which useful for NSE.
I got from marketcalls.
please help me.

Dont change any parameter, functionality or any value. I need exactly same in MT4.

PHP Code:

_SECTION_BEGIN("Market Trend");
SetChartOptions(0,chartShowArrows|chartShowDates);

_N(Title StrFormat(" -   Open %g, Hi %g, Lo %g, Close %g (%.1f%%)  - Cycle analysis indicator from www.marketcalls.in"OHLCSelectedValueROCC) ) ));

PlotC"Close"colorDefaultstyleNoTitle ParamStyle("Style") | GetPriceStyle() ); 


function 
predictCyclearg1arg2 )
{
  
local var1var2

  
result arg1 arg2

  return 
result;
}

Predict=0;
ParamField("Price field",-1);
Periods Param("Periods"152300110 );
Predict PredictCycle(C,Periods);

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

Buy ExRem(Buy,Sell);
Sell ExRem(Sell,Buy);

Plot(Predict,"Predict",colorwhite,styleLine styleThick);

PlotShapes(IIf(BuyshapeUpArrowshapeNone),colorGreen0,LOffset=-5); 
PlotShapes(IIf(SellshapeDownArrowshapeNone),colorRed0,HOffset=-5);

 
_SECTION_END(); 



Predict cycle

Aucun commentaire:

Enregistrer un commentaire