Experts: Simple FX

 

Simple FX:

The Expert Advisor is based on moving averages crossing.

Author: Vladimir Karputov

 
Simple and flavourful)!
 
Good afternoon. The Expert Advisor opens a buy/sell order only at the next crossing of the slides, i.e. crossing of the slides - opening an order - crossing of the slides - closing an active order without opening a new one - crossing of the slides - opening an order. Half of the movement falls out. Can you please tell me if this can be fixed somehow? Regards.
 
romanedoma:
Good afternoon. The Expert Advisor opens a buy/sell order only at the next crossing of the slides, i.e. crossing of the slides - opening an order - crossing of the slides - closing an active order without opening a new one - crossing of the slides - opening an order. Half of the movement falls out. Can you please tell me if this can be fixed somehow? Regards.

1. This EA DOES NOT WORK with pending orders - the EA opens positions.

2. This Expert Advisor does NOT automatically OPEN the opposite position when the position is closed. There are two unrelated logics in the code: separate logic for opening positions and separate logic for closing positions. If you change something, it will be a completely different EA.

 
Can you tell me if it is possible to add a sliding offset to this EA ?
 
pavel69lazarev:
Can you tell me if it is possible to add a sliding shift to this Expert Advisor?

Of course you can: add the input parameter "Shift" and write it in the code of indicator handle creation.

 
I installed the EA yesterday, I wanted to test it on demo, but it doesn't work
 
Evgenij Litvintsev I installed the Expert Advisor yesterday, I wanted to test it on demo, but it doesn't work

1. be sure to study the log files - there you will always see YOUR errors.

2. I compiled and checked - no errors.

3. Started the tests - the tests are running: