Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

WMA CROSS for Amibroker (AFL)
enes_05
almost 8 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:
trading system, amibroker, moving average

WMA CROSS = AĞIRLIKLI HAREKETLİ ORTALAMA
WMA PERİYOTLARI: 20-50-100-200-360
20\50 CROS AL-SAT SİNYALİ
WMA 200 YÜKSELEN-DÜŞEN TREMD DEĞİŞİMİNİ İFADE EDER..

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Unnamed 2");
GfxSelectFont("Arial Bold", Status("pxheight")/20);
GfxSetTextAlign( 6 );// center alignment
GfxSetTextColor( ParamColor("Text Color", ColorHSB( 42, 42, 42 ) ));
GfxSetBkMode(0); // transparent
GfxTextOut( Name(), Status("pxwidth")/2, Status("pxheight")/10);

GfxSelectFont("Arial Bold", Status("pxheight")/30);
GfxTextOut( "", Status("pxwidth")/2, Status("pxheight")/30);
GfxSelectFont("Arial Bold",  Status("pxheight")/20);
_SECTION_END();

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", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); 
_SECTION_END();

_SECTION_BEGIN("WMA");

Periods1 = Param("Periods1",20,1,750,2);
Periods2 = Param("Periods2",50,2,750,2);
Periods3 = Param("Periods3",100,3,750,2);
Periods4 = Param("Periods4",200,4,750,2);
Periods5 = Param("Periods5",360,5,750,2);


WMA1 = WMA(C,Periods1);
WMA2 = WMA(C,Periods2);
WMA3 = WMA(C,Periods3);
WMA4 = WMA(C,Periods4);
WMA5 = WMA(C,Periods5);



Plot(WMA1,"wma1",ParamColor("color1",colorBlue),styleLine);
Plot(WMA2,"wma2",ParamColor("color2",colorGreen),styleLine);
Plot(WMA3,"wma3",ParamColor("color3",colorGold),styleLine);
Plot(WMA4,"wma4",ParamColor("color4",colorCustom12),styleLine);
Plot(WMA5,"wma5",ParamColor("color5",colorRed),styleLine);


Buy = Cross(WMA1,WMA2);
Sell = Cross(WMA2,WMA1);

Short = Sell;
Cover = Buy;


shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes(shape, IIf(Buy,colorBlue,colorBlue), 0,
IIf(Buy,Low,High));

_SECTION_END();

1 comments

1. rahuldnayak9

what time frame used for crudeoil and banknifty
how to buy n sell decission

Leave Comment

Please login here to leave a comment.

Back