Page 71 of 389

Re: Moving Average indicators for MT4

Posted: Fri Jan 12, 2018 7:55 am
by Eka
mrtools wrote: Fri Jan 12, 2018 1:35 am

Made the dot version.
Thank You so much mrtools

Re: Moving Average indicators for MT4

Posted: Mon Feb 05, 2018 10:00 am
by Kathy McGarry
Hi fellow traders,

I have searched high and low for the latest MESA Adaptive Moving Average (MAMA) indicator without success. Could somebody in the know please point me in the right direction. Appreciate your help.

Kind regards and thanks

Kath

Re: Moving Average indicators for MT4

Posted: Mon Feb 05, 2018 6:41 pm
by mrtools
Kathy McGarry wrote: Mon Feb 05, 2018 10:00 am Hi fellow traders,

I have searched high and low for the latest MESA Adaptive Moving Average (MAMA) indicator without success. Could somebody in the know please point me in the right direction. Appreciate your help.

Kind regards and thanks

Kath
Have this version.

Re: Moving Average indicators for MT4

Posted: Mon Feb 05, 2018 8:24 pm
by Kathy McGarry
mrtools wrote: Mon Feb 05, 2018 6:41 pm

Have this version.
Thank you so much Mr. Tools. Really appreciate your help.

Best regards

Kath

Re: Moving Average indicators for MT4

Posted: Wed Feb 07, 2018 2:56 pm
by Tsar
Kathy McGarry wrote: Mon Feb 05, 2018 10:00 am Hi fellow traders,

I have searched high and low for the latest MESA Adaptive Moving Average (MAMA) indicator without success. Could somebody in the know please point me in the right direction. Appreciate your help.

Kind regards and thanks

Kath

Hi Kath,

Based of the Theory :
MESA Adaptive Moving Average

Developed by John Ehlers, the MESA Adaptive Moving Average is a technical trend-following indicator which, according to its creator, adapts to price movement “based on the rate change of phase as measured by the Hilbert Transform Discriminator”. This method of adaptation features a fast and a slow moving average so that the composite moving average swiftly responds to price changes and holds the average value until the next bar’s close. Ehlers states that because the average’s fallback is slow, you can create trading systems with almost whipsaw-free trades.

Basically the indicator looks like two moving averages, but instead of curving around the price action, the MESA Adaptive MA moves in a staircase manner as the price ratchets. It produces two outputs, MAMA and FAMA. FAMA (Following Adaptive Moving Average) is a result of MAMA being applied to the first MAMA line. The FAMA is synchronized in time with MAMA, but its vertical movement comes with a lag. Thus, the two don’t cross unless a major change in market direction occurs, resulting in a moving average crossover system which is “virtually free of whipsaw trades”, according to Ehlers.
Squeeze

What is John Carter's Squeeze Indicator?

The Squeeze is made up of 3 indicators - the Bollinger Bands, the Keltner Channels, and an oscillator. All markets move between quiet periods and volatile periods. You want to be positioned during the quiet times to take advantage of volatility or simple put - movement in price.

How does the Squeeze work?

The Squeeze indicator attempts to identify periods of consolidation in a market. In general the market is either in a period of quiet consolidation or vertical price discovery. By identifying these calm periods, we have a better opportunity of getting into trades with the potential for larger moves. Once a market enters into a “squeeze”, we watch the overall market momentum to help forecast the market direction and await a release of market energy.

What is the Squeeze Terminology?

The red and green dots along the zero line indicate if there is a squeeze. A red dot means there is a squeeze condition in effect. A green dot means that we are not currently in a squeeze. The first green dot after one or more red dots is where the squeeze is said to have “fired”. The red and blue histogram indicates momentum. If above zero momentum is increasing, the histogram will by light blue. If above zero momentum is decreasing, it will be dark blue. Inversely, the histogram will paint yellow or red to portray increasing or decreasing momentum below the zero line.

I recommend to use 'Squezeed indicator' because more Accurate and have got the Levels of High & Low.

Re: Moving Average indicators for MT4

Posted: Wed Feb 07, 2018 3:11 pm
by Tsar
Tsar wrote: Wed Feb 07, 2018 2:56 pm


Hi Kath,

Based of the Theory :






I recommend to use 'Squezeed indicator' because more Accurate and have got the Levels of High & Low.

Here there are of Squeezed MA series ;)

Re: Moving Average indicators for MT4

Posted: Thu Feb 08, 2018 12:53 pm
by Kathy McGarry
Hi Mr Tools,

Would you kindly have a look at the 3ma cross indicator please. I am replicating Bill Williams' Alligator (to get the alerts). However, when I compare the print with MT4 inbuilt ma's, I get different results. Please see attached.

Kind regards and thanks.

Kath

Re: Moving Average indicators for MT4

Posted: Thu Feb 08, 2018 4:59 pm
by Xronos__
Kathy McGarry wrote: Thu Feb 08, 2018 12:53 pm Hi Mr Tools,

Would you kindly have a look at the 3ma cross indicator please. I am replicating Bill Williams' Alligator (to get the alerts). However, when I compare the print with MT4 inbuilt ma's, I get different results. Please see attached.

Kind regards and thanks.

Kath
Hello Kathy
in your code you are using in the init() function

[Line:160] SetIndexShift(6,FasterShift*timeFrame/Period());
[Line:161] SetIndexShift(7,MediumShift*timeFrame/Period());
[Line:162] SetIndexShift(8,SlowerShift*timeFrame/Period());

and also in the calculation loop inside the start() function

Code: Select all

         ma1[i]       = iMA(NULL, 0, FasterMA,  FasterShift , FasterMode, FasterPrice, i);
         ma2[i]       = iMA(NULL, 0, MediumMA,  MediumShift , MediumMode, MediumPrice, i);
         ma3[i]       = iMA(NULL, 0, SlowerMA, SlowerShift , SlowerMode, SlowerPrice, i);

if you transform the code inside the start() function to

ma1 = iMA(NULL, 0, FasterMA, 0, FasterMode, FasterPrice, i);
ma2 = iMA(NULL, 0, MediumMA, 0, MediumMode, MediumPrice, i);
ma3 = iMA(NULL, 0, SlowerMA,0, SlowerMode, SlowerPrice, i);


they will be the same ;)

Re: Moving Average indicators for MT4

Posted: Thu Feb 08, 2018 5:00 pm
by mrtools
Kathy McGarry wrote: Thu Feb 08, 2018 12:53 pm Hi Mr Tools,

Would you kindly have a look at the 3ma cross indicator please. I am replicating Bill Williams' Alligator (to get the alerts). However, when I compare the print with MT4 inbuilt ma's, I get different results. Please see attached.

Kind regards and thanks.

Kath
Have no way of testing this version, can you try it out please.

Re: Moving Average indicators for MT4

Posted: Thu Feb 08, 2018 7:30 pm
by Kathy McGarry
mrtools wrote: Thu Feb 08, 2018 5:00 pm

Have no way of testing this version, can you try it out please.
Thank you very much Mr Tools, you're a star. Will check it. Muchly appreciated ;)