Hellow, I am trying to create MAB,MABW indicators but inavail. Please refer TRADERS’ TIPS - AUGUST 2021
If any of the members have this AFL codes, request to share here, Thanks a ton in advance.
// Indicator: TASC AUG 2021 MAB
// Based on original EL code
// http://traders.com/Documentation/FEEDbk_docs/2021/08/TradersTips.html#item1
Periods1 = 50;
Periods2 = 10;
Mltp = 1;
MA1 = EMA(Close, Periods1);
MA2 = EMA(Close, Periods2);
Dst = MA1 - MA2;
DV = MA(Dst * Dst, Periods2);
Dev = sqrt(DV) * Mltp;
UpperBand = MA1 + Dev;
LowerBand = MA1 - Dev;
Plot( UpperBand, "UpperBand", colorAqua );
Plot( LowerBand, "LowerBand", colorAqua );
Plot( MA1, "MidLine", colorBlue );
Plot( MA2, "Long Term EMA", colorRed );
MABW you do yourself.
Lowest of EL is LLV
in AFL.
http://traders.com is not fair, does not include this best and famous AFL Amibroker
Fxshrat, many thanks once again. Herewith AFL code for MABW.
// Indicator: TASC AUG 2021 MAB
// Based on original EL code
// TRADERS’ TIPS - AUGUST 2021
Periods1 = 50;
Periods2 = 10;
Mltp = 1;
MA1 = EMA(Close, Periods1);
MA2 = EMA(Close, Periods2);
Dst = MA1 - MA2;
DV = MA(Dst * Dst, Periods2);
Dev = sqrt(DV) * Mltp;
UpperBand = MA1 + Dev;
LowerBand = MA1 - Dev;
Bandwidth = (UpperBand - LowerBand) / MA1 * 100;
BandwidthLLV = LLV(BandWidth, Periods1);
Plot( BandWidth, "BandWidth", colorBlack,styleThick );
Plot( BandwidthLLV, "BandwidthLLV" , colorBlue,styleThick );
@kv_maligi, you need to use Code Tags!
Okay, will do code tags. Thanks
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.