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

MACD & RSI Exploration for Amibroker (AFL)

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

This indicator buys when macd>signal line and RSI crosses over 45 or when RSI > 45 and macd crosses signal line upwards and vice versa for sell. All stops and targets etc. are indicative. One must use ones own judgement, as always.
Trade safe.

Similar Indicators / Formulas

SmoothRSI
Submitted by paragcpatil over 13 years ago
Cole by Marek Chlopek
Submitted by mamunbaf9117 over 13 years ago
Graphic modify Bull & Bear Volume
Submitted by bobylam over 13 years ago
Weissman RSI & MA System
Submitted by jarjis_sk about 14 years ago
Graphic modify Gator of Bill William
Submitted by bobylam over 13 years ago
NIFTY HUNTER
Submitted by jaipal7786 almost 11 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("3 10 16 Explore Stops & Targets Refined");


r1 = Param( "Fast avg", 3, 2, 200, 1 );
r2 = Param( "Slow avg", 10, 2, 200, 1 );
r3 = Param( "Signal avg", 16, 2, 200, 1 );
ml = MACD(r1, r2);
sl = Signal(r1,r2,r3);
Buy=((( ml>sl)AND Cross( RSI(14),45)) OR (Cross(ml,sl)AND RSI(14)>45));
Sell =((Cross(sl,ml) AND 45> RSI(14)) OR ((sl>ml) AND Cross(45, RSI(14))));

BuyStop=EMA(L,3);
SellStop=EMA(H,3);
TargetBuy=C+ATR(14)*2;
TargetSell=C-ATR(14)*2;
BuyRisk=(C-BuyStop);
BuyRiskPcnt=(C-BuyStop)*100/C;
BuyReward=(TargetBuy-C);
BuyRewardPcnt=(TargetBuy-C)*100/C;
SellRisk=(SellStop-C);
SellRiskPcnt=(SellStop-C)*100/C;
SellReward=(C-TargetSell);
SellRewardPcnt=(C-TargetSell)*100/C;
BuyRiskRewardRatio=BuyReward/BuyRisk;
SellRiskRewardRatio=SellReward/SellRisk;
PositionSize = 20000/C;


Filter=Buy OR Sell;
AddColumn(IIf( Buy, 66, 83 ), "Signal",formatChar,IIf(Buy,colorGreen,colorRed));


AddColumn(C,"Close");
AddColumn(V,"Volume");
AddColumn(BuyStop,"BuyStop");
AddColumn(SellStop,"SellStop");
AddColumn(TargetBuy,"TargetBuy");
AddColumn(TargetSell,"TargetSell");
AddColumn(BuyRisk,"BuyRisk");
AddColumn(BuyReward,"BuyReward");
AddColumn(BuyRiskPcnt,"BuyRiskPcnt");
AddColumn(BuyRewardPcnt,"BuyRewardPcnt");
AddColumn(SellRisk,"SellRisk");
AddColumn(SellReward,"SellReward");
AddColumn(SellRiskPcnt,"SellRiskPcnt");
AddColumn(SellRewardPcnt,"SellRewardPcnt");
AddColumn(BuyRiskRewardRatio,"BRRR");
AddColumn(SellRiskRewardRatio,"SRRR");
AddColumn(PositionSize,"PS");


SetChartOptions( 0, chartShowArrows );
Buy=((( ml> sl )AND Cross( RSI(14),45)) OR (Cross(ml,sl)AND RSI(14)>45));
Sell=((Cross(sl,ml) AND 45> RSI(14)) OR ((sl>ml) AND Cross(45, RSI(14))));



shape = Buy * shapeUpArrow + Sell* shapeDownArrow;

Plot( Close, "Price", colorBlack, styleCandle );

PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );

GraphXSpace = 5;

_SECTION_END();

1 comments

1. prasadmuni

Sir checked on this and works well after taking a trade by having a look at other parameters.Good work and thankyou

Leave Comment

Please login here to leave a comment.

Back