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

The Gorilla Method EA (The Gorilla Method EA) | Forex indicator download- MT4/MT5 resources

author EAcpu | 2 reads | 0 comments |
Hello everyone,

I'm setting up this thread to separate Gorilla EA from Cm7's Gorilla Method thread. Please leave the discussion to EA only. I will post any modifications and improvements to the EA here.

If you participate in EA testing, please post your results here at the end of each week.

The previous EA post is copied below:

----------------------------------------------------------
Gorilla v1.0
----------------------------------------------------------

I modified another EA of mine to Gorilla trading rules. To run this EA, put the nonlagdot file into the Indicators folder and compile, the currencySignals file into the include folder (no compilation required), put the Gorilla_EA_v1.0 into the Experts folder and compile. Entry rules and exit rules are located in comments at the top of the EA code.

I've also added some options and extras:

- AutoMagicNumber: If this were true, you wouldn't need to assign a magic # to all major pairs and major crosses. If false, you can choose a magic #. This is very useful if you want to keep a position for a long time and add it, delete the EA and then set a new EA with AutoMagicNumber = false and you can assign a new magic #. If the EA closes the second position due to trading rules, the first position will still be open (because of different magic #).
- longTarget/ShortTarget: Manually set these if you wish to exit at a specific price. I like to set up at swing highs/swing lows because that's where people typically place their stops and it's also a good place to exit when the stop is running.
-wantLongs/wantShorts: self-explanatory
- useNLD filter: Evaluates non-lag points (NLD) on 5-minute and 15-minute charts. Both must signal bullishness. If the price falls at/near EMA30 on the 1 hour chart and useNLD = true, the EA will not enter until the price rises on the 5, 15 minute TF.
- pipsFromEMA: The number of pips to start trading from EMA30 (assuming other conditions are met). Set to 0 to enter at EMA30.
- X Offset: Used to move the text on the right side of the EA if it does not fit on your screen.
- use_sl_and_tp: If true, both values ​​must be something other than 0. If you want 30 SL points and don't want to use TP, set TP to a larger amount (200 or whatever). If you enter 0 then it will TP when asked and exit immediately
- TrailStop_std: self-explanatory
- MaxSpread: self-explanatory

There is also a feature that prevents new trades from exceeding weekly R2 or falling below weekly S2, or being able to exit at R2 or S2. I did statistical analysis and the probability of the closing price exceeding weekly R2/S2 is not high, so it is best to exit or stay on the sidelines.

The EA also displays the strength of each currency that makes up the currency pair (from 5 minutes to 4 hours TF). The strength of each currency ranges from -7 to 7. So if Euro = 5 and USD = -6, the difference is 11, which is a very good trend. In my opinion, entering the long position only when the 4-hour or 1-hour trends diverge significantly is probably the right choice. Currently these currency strength numbers do not affect the EA trading logic, but I may incorporate them into future versions. This will hopefully filter out the clutter and only get into the long-term trends.

In the next version I plan to add a feature to write to a .csv file when a currency strength value is entered for each trade, and then when the trade is closed it is written to the file along with the reason for the closing (4 < 15 EMA, etc.). I think having data like this will help guide us when an EA is trading well (in a good long-term trend, etc.).

If anyone has any questions or ideas on how to improve the EA, please let me know.

----------------------------------------------------------
Gorilla v1.1
----------------------------------------------------------

I've been working on Gorilla EA v1.1 (see below), as well as a different project that I hope will be much better than Gorilla. I still need to test both.

I would really like to thank the people in this forum for their help in testing Gorilla EA 1.0 and 1.1 (there are 2 different options). I need to compare and see which one is better. Tested with standard settings in EA, but v1.1 requires one option to be changed.

Ask a few people to test the demo account 24/5 and post the account history of their files here over the weekend. I would like to test between January 2, 2019 and February 1, 2019. Afterwards, I will analyze the output file and look at the EA to see where it can be improved. The EA must be checked at the beginning of the Asian session and reset when profits are reached or stopped according to the trading logic.

The following pairs must be tested:

AUDCAD AUDCHF AUDJPY AUDNZD AUDUSD CADCHF CADJPY CHFJPY EURAUD EURCAD EURCHF EURGBP EURJPY EURNZD EURUSD GBPAUD GBPCAD GBPCHF GBPJPY GBPNZD GBPUSD NZDCAD NZDCHF NZDJPY NZDUSD USDCAD USDCHF USD JPY

I will be testing my new advanced EA as well as Gorilla v1.1. If my new EA (and future modifications) becomes profitable, I will share it with the people who helped test Gorilla EA 1.0 and 1.1 (with 2 different options) for a full month. I will also create a new thread for my new EA as it is very different from the Gorilla EA logic.

Now... the changes I made from v1.0 to v1.1:

// v1.1 - Added EMAdistance which will verify the distance from EMA4 to EMA15 and EMA15 to EMA30
// At least x point. This will prevent entry when prices are flat and there is little or no distance between the EMAs. Default x = 5
// - Added prevEMA4 and prevEMA15. This is the value of EMA 1 hour ago. EMA4 must > prevEMA4
// For long, EMA15 must > prevEMA15. As opposed to shorts.
// - Added AutoPipsFromEMA. If set to true, pipsFromEMA = 30 for larger mobile pairs and pipsFromEMA = 20 for normal pairs
// - Added NLD filter so 5 min NLD and 15 min NLD (short term trend) must be consistent with everything else on buy/sell
// - Add if daily R2 is exceeded, then exit when 5 minute NLD changes.
// - Notification of the reason for exit after the transaction is completed in the upper right corner of the screen.
// - Once R1/S1 hits, move SL to b/e
//
// - Added option to only trade when price is above/below the weekly pivot (weeklyPivotFilter). If weeklyPivotFilter = true:
// - price > weekly pivot
// - 4 hour EMA4 > EMA15
// - 4 hour EMA4 > previous EMA4 (same as EMA15)

The entry logic seems to be working fine. The only thing I haven't tested yet is moving the SL b/e once R1/S1 hits. Please let me know if there are any issues with the EA not performing as expected (trading rules are at the top of the EA).

I think a lot of the changes I've made to the EA will eliminate a lot of bad trades.

Likewise, I need a few people to do a demo test on all currency pairs for 1 month after the new year and at the end of each week publish the trading history of the following EA tests:
- Gorilla v1.0
- Gorilla v1.1 (weeklyPivotFilter = false)
- Gorilla v1.1 (weeklyPivotFilter = true)

I have a lot of new ideas for improving the trading logic (coded into a new EA that I am testing individually) and if anyone can help test the above for 1 month, I will be happy to share.

----------------------------------------------------------
1/7/2019

v 1.0a and 1.1a - Currency signal calculation removed to free up memory usage

----------------------------------------------------------

----------------------------------------------------------
1/13/2019
Gorilla v1.2 - v1.0a logic modified and trailing SL added. When pipsToTrailSL is exceeded (default setting = 5), the EA will track the SL and exit when the NLD changes in 15 minutes.
Gorilla v1.3 - v1.1a logic modified and trailing SL added. When pipsToTrailSL is exceeded (default setting = 5), the EA will track the SL and exit when the NLD changes in 15 minutes.
----------------------------------------------------------

greeting,
Yibi
gorilla setup test.pngScreenHunter 262.pngScreenHunter 263.pngTesterGraph.gif
gorilla setup test.pngScreenHunter 262.pngScreenHunter 263.pngTesterGraph.gif
gorilla setup test.pngScreenHunter 262.pngScreenHunter 263.pngTesterGraph.gif
gorilla setup test.pngScreenHunter 262.pngScreenHunter 263.pngTesterGraph.gif
gorilla setup test.pngScreenHunter 262.pngScreenHunter 263.pngTesterGraph.gif
gorilla setup test.pngScreenHunter 262.pngScreenHunter 263.pngTesterGraph.gif

Attachment to original post (8)

📦 Summary of post attachments(49)

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

Verification code Refresh