Monday – Friday : 9:00 AM – 6:30 PM

Make Magic

Make Magic AFL in Amibroker serves as a versatile toolset, allowing traders to create customized strategies or indicators. Leveraging amibroker data feed functionalities facilitates real-time analysis, aiding traders in developing and optimizing unique trading approaches. This AFL offers flexibility and adaptability to suit varying trading preferences and market conditions.

_SECTION_BEGIN("magic 5 min");

EMA3 = EMA(RSI(14),3);
ema27 = EMA(RSI(14),27);  

diff = ema3-EMA27;
ema_short = EMA(diff,Param("short ema",1,1,20,1));
EMA_Long = EMA(diff,Param("long ema",5,1,20,1));

Col_rsi = IIf (EMA_long > Ref(EMA_long,-1),colorBlue,colorRed);
Plot (EMA_short,"diff in rsi1",colorYellow,styleThick);
Plot (EMA_long,"diff in rsi5",Col_rsi,styleThick);
Plot (0,"",colorWhite,styleThick);

Buy = Cross (EMA_short,EMA_long);
Sell = Cross (EMA_long, EMA_short);
Short = Sell;
Cover = Buy;

PlotShapes (shapeHollowSmallUpTriangle*Buy,colorYellow);
PlotShapes (shapeHollowSmallDownTriangle*Sell,colorYellow);
Plot(12, "ribbon", Col_rsi, styleOwnScale| styleArea|styleNoLabel,-0.5,100);

Open chat
Hi, how can I help you?