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

SMART TRADING SYSTEM for Amibroker (AFL)
ginto
almost 10 years ago
Amibroker (AFL)

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

TRADE AND ENJOY THE MARKET MOVEMENT WITH PROFIT.
By Ginto

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("SMART TRADING SYSTEM ");
GraphXSpace = 15;
A = DEMA(C,2);
BH = DEMA(a,34)+2*(StDev(a,34));
BL = DEMA(a,34)-2*(StDev(a,34));
BM = (BH+BL)/2;
Highs = TEMA(High, 30);
Lows = TEMA(Low, 30);
A = DEMA(L,2);
BH = DEMA(A,34)+2*(StDev(A,34));
BL = DEMA(A,34)-2*(StDev(A,34));
BM = (BH+BL)/2;
A = DEMA(H,2);
BH = DEMA(A,34)+2*(StDev(A,34));
BL = DEMA(A,34)-2*(StDev(A,34));
UpTrend = C > Highs;
DnTrend = C < Lows ;
BM1 = (BH+BL)/2;
Sell=Cross(BM,C);
Buy=Cross(C,BM1);
Buy=ExRem(Buy,Sell);
Sell=ExRem(Sell,Buy);
PlotShapes(IIf(Buy, shapeHollowUpArrow, shapeNone),colorGreen, 0,L, Offset=-45); 
PlotShapes(IIf(Sell, shapeHollowDownArrow, shapeNone),colorRed, 0, H, Offset=-35);Colors = IIf(UpTrend, colorGreen, IIf(DnTrend, colorRed, colorLightGrey));
Plot(Close, "Price", Colors, styleCandle | styleThick);
_SECTION_END();

8 comments

1. sreedharkadam

Error

2. kpriya1965

remove the last bracket in the sixth line.

corrected line: *BM = (BH+BL)/2;

it will work

3. dilrajdk

which timeframe ?
Any particular stock?

4. axay

if you have error in any code in any afl just comment it and the author will rectify it like this one. thnak you.its working now. removed by admin

5. ginto

5 min is the time frame and best for mcx.

6. sornapercula

hi sir, i am new for trading please advice me how i use this indicator in amibroker ,
send details to sornapercula@gmail.com
thanks

7. systemtrader

hi, nice indicator, but i am not able to backtest in amibroker using the same via analysis…can u suggest any solution?

8. manuski

@kpriya1965. r u computer programmer?

Leave Comment

Please login here to leave a comment.

Back