MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Publish a Trading Robot in MQL5 Code Base and Let Millions of Traders Know About You
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.02.24 14:21
Bill Williams ATZ indicator

Bill Williams ATZ indicator - indicator for MetaTrader 4

| English Spanish Portuguese

Views:
13390
Rating:
votes: 3

Description:

This indicator throws visual and verbose buy/sell signals according to Bill Williams Trading in the Zone methodology and Alligator and MACD.

According to Bill Williams trading in the zone helps to maximize/double/triple profits when the market goes your way, namely, when momentum, acceleration and price confirm that you have strong trend or acceleration period. Armed with this information you can add to positions aggresively. However, price and momentum are not enough to enter a trade, and this is what this indicator tries to simplify for you, by eliminating false, exhaust or against the trend signals.

Please, note that this is a reactive indicator and signals are triggered after the price has already accelerated.

It can be used to get into trends safely or adding to positions aggresively. For the record, it makes use of the following:

  • Alligator to determine the trend
  • AC and AO to determine the trade zone

Images:



Changelog:

  • Changed to use standard MT4 MACD
  • Code cleanup and little improvements
Last comments | Go to discussion (8)
zzuegg
zzuegg | 24 Feb 2012 at 15:28
flaab:
alspicer:

I like it

What indicator can be used to cofiirm signal? ADX? VIX?

A MACD filter has been already applied. You could mix the signals with ADX(14) and avoid any trades below 25 or above 40. Please note that a zonetrade points just to abnormal price accelerations joined by an increase in momentum, so confirming by volume might be a good idea. I am currently working on an improved version that uses ADX filtering and Market Facilitation Index to filter out false signals and announce trend reversals as well.

Gator indicator might also be useful to avoid trades when the gator is asleep. The improved version will do all of that.

Gator is already included in the calculations. This is a known strategy for large timeframes, but if you test your recommandations you will see that some of them are not true at all.

The signals are valid to show a trend, but as entry signals they are very late. (Draw the signals on close and not open and you will see what i mean)

Point Zero
flaab | 24 Feb 2012 at 15:54
zzuegg:
flaab:
alspicer:

I like it

What indicator can be used to cofiirm signal? ADX? VIX?

A MACD filter has been already applied. You could mix the signals with ADX(14) and avoid any trades below 25 or above 40. Please note that a zonetrade points just to abnormal price accelerations joined by an increase in momentum, so confirming by volume might be a good idea. I am currently working on an improved version that uses ADX filtering and Market Facilitation Index to filter out false signals and announce trend reversals as well.

Gator indicator might also be useful to avoid trades when the gator is asleep. The improved version will do all of that.

Gator is already included in the calculations. This is a known strategy for large timeframes, but if you test your recommandations you will see that some of them are not true at all.

The signals are valid to show a trend, but as entry signals they are very late. (Draw the signals on close and not open and you will see what i mean)

Yes, I know. This is a reactive indicator and signals are generated when price has already accelerated. Some of them turn to be right and there is plenty more movement right after, and others turn to be wrong. However, I use it with stops based on fractals or two candle's away and get into trends safely. The only way I know to get early in trends is using gator, and getting in as soon as the alligator eats and BW-Market facilitation index is green: this methodology allows you to get early in trends, way before the zone arises. But it is also more speculative. Please, feel free to contribute, I will improve it asap.

erzo
erzo | 10 Mar 2012 at 12:37

zzuegg,

if you do not like Alligator signals, try AntiAlligator: http://codebase.mql4.com/ru/code/8862 :)

2177
2177 | 5 Apr 2012 at 19:13

Dear experts,

can any body write 2 exponential moving avarage cross over EA. i have all the details of EA.

pl help

Regards

sam

Point Zero
flaab | 7 Jul 2012 at 15:18
2177:

Dear experts,

can any body write 2 exponential moving avarage cross over EA. i have all the details of EA.

pl help

Regards

sam

You can contact me if you need an EA.