You need to describe the algorithm procedure for the Counter-Order Strategy (something like a Martingale Strategy, but not quite). - page 6

 

Folks, advise a simpler indicator :) - I need to improve the entry point and the result of the algorithm will be even better. Maybe a parabolic? And an indicator for volatility to avoid the flat.


Update! BLACKJACK&HOOKERS TrailX

An attempt to trailing stop but it was not that easy ;)


I am waiting for comments or ideas how to implement it (trailing stop) in a stop flip order scheme.

BLACKJACK&HOOKERS.rar
BLACKJACK&HOOKERS.rar
  • yadi.sk
Посмотреть и скачать с Яндекс.Диска
 

The main problem is solved - the Expert Advisor excludes trading on the flat market, thanks to the new variable Value of int type.

We did not have to develop and "plug" separately from the MA indicator thanks to the discovered hidden reserves of the MA indicator.


The current principle of entering the trade:

If the current Ask price is below the MA indicator line by Value or more, then the EA will open a buy order - and this is not an error :) as it is assumed to be oversold for a given MA indicator period according to the tests at the current time;

If the current Bid price is higher than the MA line by Value or more, then the EA will open a sell order, because the instrument is expected to be overbought for a given period of the MA indicator, according to the tests at the current time.


Expert Advisor starts trading only if the volatility is equal to or greater than the Value, set by the user, for example:

For GBPUSD, Value=30 (300 pips), while the МА indicator period is equal to 10 (10 last bars);

For EURUSD, Value=50 (500 pips), at the same time MAC's period is 50 (50 last bars).


If you have had bad luck entering the trade, a non-original counter-order algorithm, together with correct (up-to-date) settings are just obligatory to fix the situation :)

It is recommended that you monitor the EA daily, because it does not have a stop loss system of risk limits, so on hopeless positions you will need to make a decision on whether to increase the risk by continuing the EA with the position or acknowledge the current level of loss, so knowing the technical analysis to make such decisions will be helpful.

Please remember that EA does not make any predictions and only optimises the opening and closing of positions according to the algorithm, freeing up your time, but this does not mean that you can stop controlling its work.

For more precise test settings see the "Test settings BJH" notebook.

Also note the BLACKJACK&HOOKERS TrailX, some tools this EA runs much easier and certainly faster.

It is recommended to save separately the advisor with tuned parameters for a particular deposit and trading instrument, in addition, you should periodically check the settings of the advisor for correctness in connection with the quotes history update.


Expert Advisor provides a return of 150 - 300% per annum.

The unpredictability of the Forex market provides 100% bankruptcy.


Updates? Well, in this form the Expert Advisor has implemented all that I have planned.

That is all there is to it. Thank you all for your attention. I wish you a successful trading!


This topic is in the MQL forum:

https://www.mql5.com/ru/forum/189485

You can always find Expert Advisor source files on Yandex Disk at:

https://yadi.sk/d/CKt7Feq33HP4cb

 

The Expert Advisor is in the process of optimising / refining the code.

As soon as possible - as they say)))


The preview is still available here https://yadi.sk/i/YdMmYOCJ3JAaha

A preview of Deposit Saving example can be found here https://yadi.sk/d/6r-2Nrgc3JB2ss

Updating of the Expert Advisor source files on YandexDisk will be available only after the optimization / finalization of the code!
README BJ&H RUS.pptx
README BJ&H RUS.pptx
  • yadi.sk
Посмотреть и скачать с Яндекс.Диска
 

The update is ready!

https://yadi.sk/d/MyYzRSja3JQVWK


Next, we plan to add e-mail alerts on the key points of the EA, after which you will be able to set up SMS notifications through your e-mail operator with the text of the messages from the alerts sent by the EA.

But that's all for the future!


Despite the fact that the code has already been optimized, I have already managed to make some minor additions to the EA.

So don't scold the pianist)))

22/05/2017 22:00

Who already had time to download - please reload - added settings for OneOrderTraiding+PipsTraiding trading mode

BLACKJACK&HOOKERS.rar
BLACKJACK&HOOKERS.rar
  • yadi.sk
Посмотреть и скачать с Яндекс.Диска
 
geratdc:


I do not understand anything about it. What is the difference between expert advisor and indicator and robot? If you can explain what's what, we will try it.


In general I closed my counter orders as I'm draining. 700 dollars left in the eedmo account out of 3000. And yesterday morning there were 7 100 !!! The losses accumulated and the system closed them forcibly to me because there was not enough free margin lzk to pay for the transfer of positions (swaps).


)))))
Expert Advisor trades, indicator shows, script usually performs any single operation.
 

Aleksey, hello. It's good that you are here, I remembered that I have to set the trading session time for my EA - so it must start trading at 12:00 AM on IPA and finish it at 18:00 PM on Friar!

If you have time to look if there are any critical errors in the code, because I might have screwed something up after optimization. I kinda tested it. Everything works. Didn't find any bugs.

 
geratdc:

Folks, advise a simpler indicator :) - I need to improve the entry point and the result of the algorithm will be even better. Maybe a parabolic? And an indicator for volatility to avoid the flat.


Update! BLACKJACK&HOOKERS TrailX

I tried to trailing stop but it was not that easy ;)


I am waiting for comments or ideas how to implement it (trailing stop) in stop-turn order scheme

Have you seen the Hodrick-Prescott Channel https://www.mql5.com/ru/code/191?

Also in KB there is my translation for MT4 as well

Hodrick-Prescott Channel
Hodrick-Prescott Channel
  • votes: 21
  • 2010.09.22
  • Victor
  • www.mql5.com
Индикатор рисует ценовой канал, используя Hodrick-Prescott Filter.
 
Alexey Volchanskiy:

Have you seen the Hodrick-Prescott Channel https://www.mql5.com/ru/code/191?

There's also my translation for MT4 in the QB


I forgot, enter on buy from the lower border of the channel, on sell vice versa. Analyse the channel in M1-M30 range
 
Alexey Volchanskiy:

I forgot, buy from the bottom of the channel and sell vice versa. Analyse the channel in M1-M30 range

Yes, that will certainly be more correct. I had to look at each chart and visually select parameters, then correct them. However, in another week the broker has updated the quotes and half of the settings have become irrelevant, the Expert Advisor started stumbling. The matter is not good in real trading. I have been working with my forex broker for many years and I have never had an opportunity to use it.
 
Small update available - https://yadi.sk/d/MyYzRSja3JQVWK
BLACKJACK&HOOKERS.rar
BLACKJACK&HOOKERS.rar
  • yadi.sk
Посмотреть и скачать с Яндекс.Диска