This is a discussion on John Ehlers Toolbox within the Trading tools forums, part of the Trading Forum category; Originally Posted by lion of gail Please share t3 mama indicatore To receive the T3 MAMA please enter MA_Mode = ...
Hi Igor,
I have another request to your goodwill...
I m very interested in a adaptive MACD with a percentage axis (Price Percentage Oscillator).
The idea is to have a better tool to assess the strength of trends and define a neutral zone.
Having very limited knowledge of mql4, i m having serious problems with the variable length of averages ( i believe the problem is with draw_begin ?!).
So, i tried to play with your code, but it s beyond my understanding.
Thanks in advance.
Best regards,
Paulo
Well, for the general understanding i forgot to talk about the moving averages...
The idea is to compare two adaptive to cycleperiod moving averages: one short with CPRatio1 = 0.5 and the other with CPRatio2 = 1.
Hi zelivermore,
Please check out the AllMACD Adaptive_v2.1 indicator with ability to use adaptive periods for fast/slow moving averages and to plot the Percentage Price Oscillator(PPOMode=1).
Attachment 3149Code:extern int TimeFrame = 0; //TimeFrame in min extern int FastPrice = 0; //Fast Price Mode (0...6) extern double FastCPRatio = 0.5; //Fast Cycle Period Ratio (eg. 0.5) extern int FastMode = 1; //Fast MA Mode extern int SlowPrice = 0; //Slow Price Mode (0...6) extern double SlowCPRatio = 1.0; //Slow Cycle Period Ratio (eg. 0.5) extern int SlowMode = 1; //Slow MA Mode extern int SignalLength = 9; //Signal Period(<2 - off) extern int SignalMode = 0; //Signal MA Mode extern int OscillatorMode = 0; //0-off,1-on extern int PPOMode = 0; //0-off,1-on extern int CPPrice = 4; //Cycle Period Price extern double Alpha = 0.07; //Cycle Smoothing Factor(eg. 0.07) extern int MedianPeriod = 5; //Period of Moving Median extern int DCsmooth = 5; //Period of Dominant Cycle Smoothing
Regards,
Igor
Fantastic work!
Thank you very much, Igor.
Best regards,
Zelivermore
I am not sure about AllMACD Adaptive_v2.1 indicator related to dovergence (Igorad may reply for example) but you can look at this thread :
Divergence indicator(s)
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Igorad was talking about indicator from the first post of this thread - about AllMAMA_v2.3 indicator.
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Bookmarks