Thanks a lot mbma
I am going to try with your setting
This is a discussion on AllAbsoluteStrength within the Trading tools forums, part of the Trading Forum category; Thanks a lot mbma I am going to try with your setting...
Thanks a lot mbma
I am going to try with your setting
Would it be possible to change this indicator into a histogram? ... maybe with 4 colors like trend up/down and correction up/down ... so we could overlay two indicators ... a long time histo for overall trend and a short time for good entries ... that woulb be very useful ...
I love this indicator, but I like to combine it with others or another aastrenght and then it get a little bit chaotic
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
Hi, is it possible to add the CCI to the MathMode?
THX
Hi Gods_Clown,
Please check out the updated AllAbsoluteStrength indicator with the fixed MACD mode algorithm which allows to plot the CCI mode too.
Attachment 12820
settings for the CCI mode(MathMode=3)
Attachment 12821Attachment 12822
Regards,
Igor
Thank you very much.
A quick question: To also have the CCI in AllAbsoluteMarket and AbsoluteStrengthTrend, is it possible for me to just copy and past the changed code?
Or can you also make the same changes to AllAbsoluteMarket?
THX again. Best regards.
And I found out, the IndicatorShortName of the indicator is too long to be shown, if we put in MA_Method a MA with more then 4 characters, like MA_Method 20 or 18.
Last edited by Gods_Clown; 04-16-2015 at 07:57 PM.
This is in my old computer. I will try to find.
By the way - all indicators were uploaded to this forum (and some of them were updated for 600+).
for example:
- AllAbsoluteMarket_v2.2 600+ indicator is on this post. This is fixed and updated AllAbsoluteMarket indicator with ability to calculate the MACD mode (MathMode = 3). The version works with Metatrader 4 build 600 and above.
Premium Trading Forum: subscription, public discussion and latest news
Trading Forum wiki || MQL5 channel for the forum
Trading blogs || My blog
bulls[shift] != 0
bears[shift] != 0
Modified code
if(MathMode == 0)
{
if(mMA[0] - mMA[1] != 0)
bulls[shift] = 0.5*(MathAbs(mMA[0] - mMA[1]) + (mMA[0] - mMA[1]));
bears[shift] = 0.5*(MathAbs(mMA[0] - mMA[1]) - (mMA[0] - mMA[1]));
}
else
if(MathMode == 1)
{
double up = 0;
double dn = 10000000000;
for(int i=0;i<Length;i++)
{
up = MathMax(up,High[shift+i]);
dn = MathMin(dn,Low [shift+i]);
}
bulls[shift] = mMA[0] - dn;
bears[shift] = up - mMA[0];
}
else
if(MathMode == 2)
{
mLo[0] = allAverages(1,3,PreSmooth,MA_Method,masize,PreSmoo th + Length + 2,shift);
bulls[shift] = MathMax(0,0.5*(MathAbs(mMA[0] - mMA[1]) + (mMA[0] - mMA[1])));
bears[shift] = MathMax(0,0.5*(MathAbs(mLo[1] - mLo[0]) + (mLo[1] - mLo[0])));
if(bulls[shift] > bears[shift]) bears[shift] = EMPTY_VALUE;
else
if(bulls[shift] < bears[shift]) bulls[shift] = EMPTY_VALUE;
else {bulls[shift] = EMPTY_VALUE; bears[shift] = EMPTY_VALUE; }
}
else
if(MathMode == 3)
{
double slow = allAverages(1,price,Length,MA_Method,masize,PreSmo oth + Length + 2,shift);
if(mMA[0] - slow != 0)
bulls[shift] = 0.5*(MathAbs(mMA[0] - slow) + (mMA[0] - slow));
bears[shift] = 0.5*(MathAbs(mMA[0] - slow) - (mMA[0] - slow));
}
if(MathMode == 2) ,Wilder's DMI Book ,A reverse result was given !
why?
Bookmarks