Experts: Spreader

Automated-Trading
159204
Automated-Trading  

Spreader:

An Expert Advisor for two currency pairs

Author: Vladimir Karputov

Gribbit
199
Gribbit  

Hi Valdimir

Testing your idea, looks good.

How about introducing a function to close the trade in profit after N time, as you said drawdown for a long time, not that I havent seen drawdown in my day, just an idea to cut the current trade loose after a while


Thanks

Al

Vladimir Karputov
Moderator
224701
Vladimir Karputov  
Gribbit :

Hi Valdimir

Testing your idea, looks good.

How about introducing a function to close the trade in profit after N time, as you said drawdown for a long time, not that I havent seen drawdown in my day, just an idea to cut the current trade loose after a while


Thanks

Al

In this case, large losses will be recorded.

moneyfoundbymichael
42
moneyfoundbymichael  

I get 106 errors with this code.


mb

Vladimir Karputov
Moderator
224701
Vladimir Karputov  
moneyfoundbymichael :

I get 106 errors with this code.


mb

You're deceiving me. I checked in


result:

0 errors, 0 warnings, 1466 msec elapsed         1       1
marcusvdl
90
marcusvdl  

Hello, Vladimir!


What's the difference between Spreader (https://www.mql5.com/en/code/23355) and Spreader 2 (https://www.mql5.com/en/code/19402)?


Tks

Spreader
Spreader
  • www.mql5.com
The EA calculates everything independently, i.e., the direction and lot size for opening a position. The calculations are optimal, so that the EA will either quickly accumulate positive spreads and close with a profit, or, in case of anything going wrong, hold a trade until the drawdown recovers. Drwadowns happen and sometimes last long. The EA...
Vladimir Karputov
Moderator
224701
Vladimir Karputov  
marcusvdl :

Hello, Vladimir!


What's the difference between Spreader (https://www.mql5.com/en/code/23355) and Spreader 2 (https://www.mql5.com/en/code/19402)?


Tks

Open the code in MetaEditor and compare.

sobstanciq bachkov
110
sobstanciq bachkov  
Well done to the author and the idea I appreciate my work on this EA little account load for now I'm testing it on a small real account success and health of the author