Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Hull and Metal | Gold EA Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 4 reads | 0 comments |
I've gained a lot from FF over the past ten years. Now I have to contribute in return.

I do have a good idea. I have made an EA and am trading for real money. Although there is no luck yet, there must be a high possibility. I can't share my EA because it's not suitable for doing so, but I can write a new EA in an hour and I will do it - if there is enough interest in this thread.

First a few words about the rules in this thread.

  1. It is not suitable for beginners. If you are a beginner, you are more than welcome to follow the topic, but do not ask questions. There are many other themes out there for people like you - in fact, most are very beginner-friendly.
  2. I hope this post can be a place for people with years of skills in developing strategies and possibly metrics, as well as expert consultants, to work together to achieve goals.
  3. Everyone should share their work. Like every new version should be uploaded as MQ4 file - not EX4. This will support us all benefiting from each other’s work. And - this thread doesn't end like I've seen many times, the developer just stops the thread and the contributor gets nothing but a long nose.
  4. Bad language and attitudes can lead to rejection. The same would be true if I found someone not publishing their own work but simply plagiarizing someone else's work.
  5. This first contribution will be updated with results. I anticipate that more than one solution and multiple strategies will be developed. Everything will be summarized here.
  6. Please do not use Magic Number in encoding. This is only necessary if you have multiple trades on the same instrument (such as gold) at the same time.
  7. This strategy can be used on other instruments besides gold. So far I have found the USD to be very important as part of this tool. But eventually it can be used for stocks, options, and more. But please let us commit to the Gold Spot in this threat.

Now for strategy. Metals have indeed exited a long-term trend with a large number of points. Manual traders can definitely make a lot of money here. I am not a manual trader, I can only trade using EA. The thing about long runs is that sometimes there are very short ones. The direction may change rapidly 5 times in a row, which will result in losses. Then... suddenly it rose 300 points in a row. So, as always, the problem to solve is to find entry and exit criteria.

I use a hull indicator. It is a very fast moving average. It is not part of the Meta Trader package, but can be used. I'll find it for you. Now how do we program using indicators that are not part of Metatrader. Well, it's easy. I'll tell you.

Strategy:

  1. Use gold spot (gold/USD).
  2. Time range M5.
  3. Hull indicator settings:

    1. Period 200. This provides good long distance running
    2. Divisor 2.0
    3. Price - closing price.



  4. Entry points are color changes on the indicator => direction changes.
  5. Exit means reaching a certain number of points.
  6. I run the EA from 1:00 AM GMT and only place one trade.
  7. If the trade is positive, then I'll stop there.
  8. If trading is negative, it usually indicates that the market is currently flat and undecided. This usually results in more false signals. So if this was a losing trade, I would definitely call it a day.

These settings are all open to discussion and testing. But the hull index must be the main index. You can test some added indicators. Even though other instruments are likely to be used, we must study Gold/USD amid threats.

Below is my screenshot. Please note that the background color is gray. My background changes automatically in these situations:

  1. Black means you do not own the instrument.
  2. If I have it, it's blue.
  3. If I had it, it would be green short.
  4. If I have both directions (hedge), it's red.
  5. If I've stopped trading and I don't own the instrument, it's gray.

This way I can display many instruments on one screen and know at a glance which instruments I have and in which direction.

I asked Mladen if we could use his Hull indicator. Now waiting for answer.
#propertycopyright" Mladen, 2019"
#Attribute link "mladenfx@gmail.com"

Screenshot2.pngXAU_M5_HMA_200_2_Close.JPGXAU_M5_HMA_200_34_Weighted.JPG
Screenshot2.pngXAU_M5_HMA_200_2_Close.JPGXAU_M5_HMA_200_34_Weighted.JPG
Screenshot2.pngXAU_M5_HMA_200_2_Close.JPGXAU_M5_HMA_200_34_Weighted.JPG
Screenshot2.pngXAU_M5_HMA_200_2_Close.JPGXAU_M5_HMA_200_34_Weighted.JPG
Screenshot2.pngXAU_M5_HMA_200_2_Close.JPGXAU_M5_HMA_200_34_Weighted.JPG
Screenshot2.pngXAU_M5_HMA_200_2_Close.JPGXAU_M5_HMA_200_34_Weighted.JPG

📦 Summary of post attachments (2)

Below are all the files (2) shared in the reply.

Verification code Refresh