• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

New EA Leviathan - Martingale & Hedge

leviathan

Member
Credit Hunter
Credits
7
Hello Fellas,

I am trading in FOREX almost 6 years. At the beginning I tried several times to find EAs which will make profit constantly without risk (a.ka. HOLY GRAIL). I used several strategies, like Breakout scalpers, HFT scalpers, trends scalping, martingale etc...

After several years, I realized that is almost impossible to find such EA. In HFT EA, even if you have very fast VPS the broker will stop you to make a profit and you will have only whipsaw effect and losses and losses. With Martingale, you will blow up your account for sure one day. Next point, is that any indicator can’t predict the future. This is impossible. So what we can do? How to develop some good and stable EA?

What we can do, is little bit change the way of thinking and try to use statistics and probability. The main idea and strategy in Leviathan EA is to have first entry on the market with 70% accuracy. If the signal was fake and incorrect, then next martingale level is opened, so it means another entry with 70% accuracy. If the signal was missed and fake again, it will open next martingale positions etc. How many times we can have fake signal in a row? 4 times? 5 times? so calculating accuracy 70% x 70% x 70% x 70% x 70% and then HEDGE position is opened.

Provided settings is opening Martingale till 4 level. After this level EA is considering H4 TF and opening counter trade (HEDGE) to close all positions. HEDGE is not making any profit, its just to save all open positions and close them without any loss.

The current EAs is using concept of PipsCut, Trio Orchestra, Illan etc, but instead of using 3 modules for martingale is using only two modules:

One for opening positions, using martingale (provided settings opening positions only to martingale Level 3). Second module for opening HEDGE positions (provided settings opening only 1 hedge trade with big LOT). EA has also trailing function, time closing functionality, time filter etc. NEWS filtering is not in the EA and I wouldn’t do it. Main reason is that EA must survive everything. I saw many times in forex, that there was no big news during the day and during the night session there was huge movement. Thats why I don’t like ASIAN scalpers etc. You never know what happen in the future.

I will prepare some manual for it. What we need is to just little play and tune the settings. However EA is quite slowly in BT due to the THV indicator.

EA is using following strategies and indicators for opening first trades:

ADX strategy:

tradingstrategyguides.com/best-adx-strategy/

For opening first trade ADX => 20, martingale & hedge => 30, this can be changed in the settings of EA

TDI strategy

forexfactory.com/showthread.php?t=588548

mql5.com/en/blogs/post/686791

THV indicator

forexfactory.com/showthread.php?t=127271

Recommended TF is M15, for HEDGE EA is using H4 for THV. And currency is EURUSD for the beginning. I was able to survive BT from 2014 till today. However this not sufficient as I am looking for settings to survive at least 10 years. I realized that , when you are playing with the real money, you need to trust to your EA and do not make panic and closing positions too early.

I think that strategy is okay, and what we need is to tune the settings. The EA is unlocked, and trial period is ending 30.6.2019.

Recommend LOT Size is 0.01 per 500 USD. Feel free to put any comments.


Have a great day guys.


Vlado
 

Attachments

Last edited by a moderator:
on this screenshot you can see backtest from last 3 years. Highlighted with the yellow color is HEDGE positions which saved and close previous martingale positions
 

Attachments

  • Snímka obrazovky 2019-01-21 o 13.29.57.png
    Snímka obrazovky 2019-01-21 o 13.29.57.png
    192.4 KB · Views: 870
Hello and thanks,

"THV Trix v6.01" must be renamed to "THV Trix v6.01-our.ex4" for the EA to work.
In my backtests, the pairs EurUsd and GbpUsd on m1 have a good performance and the lowest DD. usdjpy crashes on h1 during flash crash on 3 january (like the most ea's). Undamaged, your EA survives the crash on h4.
So "for HEDGE EA is H4 for THV" means that the hedge function is only active on H4?
 
Hello and thanks,

"THV Trix v6.01" must be renamed to "THV Trix v6.01-our.ex4" for the EA to work.
In my backtests, the pairs EurUsd and GbpUsd on m1 have a good performance and the lowest DD. usdjpy crashes on h1 during flash crash on 3 january (like the most ea's). Undamaged, your EA survives the crash on h4.
So "for HEDGE EA is H4 for THV" means that the hedge function is only active on H4?

Yes, correct. You have to make a copy of THV TRIX and rename to THV Trix v6.01-our.ex4. Regarding HEDGE you can have the ea on M15 TF. EA is calculating THV H4 inside M15.
 
Hello and thanks,

"THV Trix v6.01" must be renamed to "THV Trix v6.01-our.ex4" for the EA to work.
In my backtests, the pairs EurUsd and GbpUsd on m1 have a good performance and the lowest DD. usdjpy crashes on h1 during flash crash on 3 january (like the most ea's). Undamaged, your EA survives the crash on h4.
So "for HEDGE EA is H4 for THV" means that the hedge function is only active on H4?

And regarding USDJPY, you can filter many trades with ADX_value and ADX_Trend. However to find good settings for USDJPY is difficult as this pair is very volatile
 
I think you misunderstand probability ,is not 70 x70 x70.... even you increase lot its always 50/50 like coil flip , when you increase martingale lot its over trade and zero your account some day.
 
I think you misunderstand probability ,is not 70 x70 x70.... even you increase lot its always 50/50 like coil flip , when you increase martingale lot its over trade and zero your account some day.
Yes, I know what you mean, but how is probable that you will have fake signals five times in a row? Basically other EA using martingale strategy are opening first entries randomly - (using high and low candles, RSI..). EA is using ADX, TDI and THV for opening positions
 
Indicator current position , if you think today it’s right tomorrow you can see that it’s wrong position , all indicator is fallacy to make you fall to black hole. No any indi to predict randomness.
 
why wasting my time helping you find the right setting, testing and improving your EA? it is a trial version already expired and the next version will expire in a couple of months. this is a sharing platform, not free testing service platform for idiots.. at least offer the people a full version in return for helping you...this platform is now full of this crap..sad!
 
why wasting my time helping you find the right setting, testing and improving your EA? it is a trial version already expired and the next version will expire in a couple of months. this is a sharing platform, not free testing service platform for idiots.. at least offer the people a full version in return for helping you...this platform is now full of this crap..sad!
Fully agree! Yes lot of people here is doing and posting trials etc. Today I will upload full version without no limits. I am not at home now
 
Thank you for your ea. looking forward to helping with my tests.
Can you give me the TFs for the indicators please?
For THV TRIX: M15?
and TDI H4?
Is that okay?
 
why wasting my time helping you find the right setting, testing and improving your EA? it is a trial version already expired and the next version will expire in a couple of months. this is a sharing platform, not free testing service platform for idiots.. at least offer the people a full version in return for helping you...this platform is now full of this crap..sad!

Correct
Fully agree! Yes lot of people here is doing and posting trials etc. Today I will upload full version without no limits. I am not at home now
Hello guys,

As I said I am uploading unlimited version. Feel free to put any comments.
 

Attachments

Thank you for your ea. looking forward to helping with my tests.
Can you give me the TFs for the indicators please?
For THV TRIX: M15?
and TDI H4?
Is that okay?

Hello Fellas, here is the following logic:

For opening first positions:
ADX - 60 minutes
TDI - current TF attached on the chart , so M15
THV trix - 60 minutes

For Martingale opening:
will be based on pipstep settings + following indicators
ADX - 60 minutes
TDI - current TF attached on the chart , so M15
THV trix is not used - as we need to safe our open position first, it can happens that the signal will be after several days and DD will be very big

For HEDGE opening:
its based on settings gi_hedge_start. so if we have max_hilo 4 (maximum martingale trades) and gi_hedge_start -4, this means that hedge will be open immediately after martingale will open 4 trade + Indicators for opening HEDGE:
ADX - 60 minutes
TDI - current TF attached on the chart , so M15
THV TRIX - H4

Further settings gi_close is closing all trades when account equity > account balance and hedge has at least one positions opened. Purpose of this is to close all positions without any loss. Lot Exponent_ch is multiplikator for hedge positions.

All settings with suffix _ch are for second module, which is HEDGE.

Further there is logic for opening martingale in terms of trailing and TP settings for first 2 positions:
First two positions opened have pipstep setup in the code as 30 pips and from settings variable TAKEPROFIT and Trailing is enabled. When 3rd position is opened, the pipstep will be taken from settings pipstep and TP is 20 and trailing is switched off. Purpose of this is to make more profit in first 2 positions, and try to close positions ASAP when is the big trend is against us.

Feel free to put any comments or questions.

I know that EA is quite robust, and has plenty settings. We need to just figure out the best settings and TF. I think that with this strategy we can be success. Also we can use another indicators and filter out more fake signals. Just share your ideas!!]

Have a nice day
Vlado
 
Hm strange but he didnt open any orders after few hours. Indicators and robot in one chart so its not problem with that.
 
Back
Top