jeudi 13 octobre 2016

Need Help Convert AFL to MT4 indicator

Dear Friends and experts

i need help from u guys .. pls convert AFL to mt4 indicator

Need in urgent - help me guys


AFL code :
================================================== ===

_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat(" - Open %g, Hi %g, Lo

%g, Close %g (%.1f%%)

", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |

ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();



_SECTION_BEGIN("Background text");
C11=ParamColor("up panel",colorLightBlue );
C12=ParamColor("dn panel",colorWhite );
C13=Param("fonts",20,10,30,1 );
C14=Param("left-right",2.1,1.0,5.0,0.1 );
C15=Param("up-down",12,1,20,1 );
Miny = Status("axisminy");
Maxy = Status("axismaxy");
lvb = Status("lastvisiblebar");
fvb = Status("firstvisiblebar");
pxwidth = Status("pxwidth");
pxheight = Status("pxheight");
GfxSetBkMode( 0 );
GfxSetOverlayMode(1);
GfxGradientRect(0,0,pxwidth, pxheight, C11, C12 );
GfxSelectFont("Tahoma", Status("pxheight")/C13 );
GfxSetTextColor(colorBrown);
GfxSetTextAlign( 6 );
GfxTextOut( "LTP "+WriteVal(C,1.2), Status("pxwidth")/C14, Status

("pxheight")/C15);
GfxSelectFont("Tahoma", Status("pxheight")/C13*0.5 );
GfxSetTextColor(colorBrown);
GfxTextOut( " Meru Tradings", Status("pxwidth")/C14, Status

("pxheight")/C15*4 );
GfxSelectFont("MS Sans Serif", 10, 500, False, False, 0);
GfxSetTextColor(colorYellow);
GfxTextOut("Till 3 pm high and low ", Status("pxwidth")/1.15, Status

("pxheight")/C15*0.3 );




_SECTION_BEGIN("Day seperator");
grid_day = IIf(Day()!=Ref(Day(),-1),1,0);
Plot(grid_day,"",colorBlack,styleHistogram|styleDa shed|styleNoLabel|

styleOwnScale);
_SECTION_END();




_SECTION_BEGIN("Ist Hr. High-Low Marker");
SetChartOptions(0,chartShowArrows|chartShowDates);

TM=Param("Time",130000,235500,1);
afterbreakout0 = Cross(TimeNum(),TM);
afterbreakout1 = TimeNum()>=TM;
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
ORBHigh = ValueWhen(afterbreakout0,highestoftheday,1);
ORBLow = ValueWhen(afterbreakout0,lowestoftheday,1);

A=ORBHigh+10;
B=ORBLow-10;

tgtb = A+10;
tgts = B-10;
slb = A-25;
slbs = B+25;

Plot(C,"",colorWhite,styleCandle);
Plot(NewDay,"",colorWhite,styleHistogram|styleOwnS cale);
Plot(afterbreakout0,"",colorWhite,styleHistogram|s tyleOwnScale);
Plot(A,"",colorGreen,styleDots);
Plot(B,"",colorRed,styleDots);

Plot(tgtb, "",colorGreen,styleLine+styleNoLabel);
Plot(tgts, "",colorRed,styleLine+styleNoLabel);

Plot(slb, "",colorYellow,styleLine+styleNoLabel);
Plot(slbs, "",colorBlack,styleLine+styleNoLabel);


_SECTION_END();





pls do help


Need Help Convert AFL to MT4 indicator

Aucun commentaire:

Enregistrer un commentaire