Re: Moving Average indicators for MT4

703
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.
These users thanked the author mrtools for the post:
heispark

Re: Moving Average indicators for MT4

705
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.
Always looking the GREAT, never left GOOD Point...


Re: Moving Average indicators for MT4

706
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 ;)
These users thanked the author Tsar for the post (total 6):
moey_dw, Kathy McGarry, heispark, FBI, 太虚一毫, Jedidiah
Always looking the GREAT, never left GOOD Point...

Re: Moving Average indicators for MT4

708
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

709
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.
These users thanked the author mrtools for the post:
Kathy McGarry


Who is online

Users browsing this forum: Google [Bot], Jimmy, losajoca, moey_dw, PaperLi [Bot], Yandex [Bot] and 97 guests