Code Amibroker Indicators

External Relative Strength (RS) for Amibroker

by admin December 29, 2018 1 min read 0 comments

Key Takeaways

  • Market conditions and their impact on trading decisions
  • Key levels and price action analysis
  • Risk management strategies for this setup

ERS measures the stock’s price performance relative to all other listed equities. Basically, it measures how well or poorly a stock is performing relative to its’ peers.

_SECTION_BEGIN("IBD RS RANKING");
//IBD RS RANKING
RSW = 0.4*ROC(C,65)+ 0.3*ROC(C,130) +0.3*ROC(C,260);
Plot(RSW,"RANKING IBD" ,colorBrightGreen,styleLine) ;
Plot(EMA(RSW,10),"" ,colorRed,styleLine|styleDashed|styleNoLabel);
 
BuyIBD=RSW>EMA(RSW,10);
SellIBD= RSW<EMA(RSW,10);
 
Filter = (BuyIBD OR SellIBD) ;
AddColumn(IIf(BuyIBD,RSW,IIf(SellIBD,RSW,0)) ,"RANKIBD",1.0,colorWhite,IIf(BuyIBD,colorDarkGreen,IIf(SellIBD,colorRed,colorWhite)));
SetSortColumns(-3);
AddRankColumn();
 
_SECTION_END();

Trading Data Snapshot

Always verify current market conditions before executing any trade. Past performance does not guarantee future results.

A
admin
Trading analyst and market commentator with expertise in technical analysis, price action, and risk management. Dedicated to helping traders make informed decisions.

Leave a Reply