Experts: MA MACD Position averaging v2

 

MA MACD Position averaging v2:

The Expert Advisor based on iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). Averaging positions in case of a loss. Improvement of the version 1.0

MA MACD Position averaging v2

Author: Vladimir Karputov

 
thank you Sir.. I hope I can learn much from this code. Thank you
 
Hello, such a programme to open an order is a hand, how to change the number of hands?
 
8mmm :
Hello, such a programme to open an order is a hand, how to change the number of hands?

I do not understand.

 
input double   InpLots           = 1.0;      // Lots
input ushort   InpStopLoss       = 50;       // Stop Loss, in pips (1.00045-1.00055=1 pips)
input ushort   InpTakeProfit     = 50;       // Take Profit, in pips (1.00045-1.00055=1 pips)
input ushort   InpTrailingStop   = 5;        // Trailing Stop (min distance from price to Stop Loss, in pips)
input ushort   InpTrailingStep   = 5;        // Trailing Step, in pips (1.00045-1.00055=1 pips)
input ushort   InpStepLossing    = 30;       // Step lossing, in pips (1.00045-1.00055=1 pips)
input double   InpLotCoefficient = 2.0;      // Lot coefficient if Step lossing
input uchar    InpBarCurrent     = 0;        // Bar Current
input bool     InpReverse        = false;    // Use reverse trade signal

The default Lots is 1.0, you can modify it.

The default Lots is 1.0, you can modify it.

 
I downloaded and installed it, but the EA won't open the position.
 
Hi Vladimir, I have just notice that the EA does not trade on Commodity pairs and only trades on Currency pairs. Is there any way to fix this small problem?
 
How to download this code please?
 
firdaus.jailani #:
How to download this code please?

Check the link in the first post: MA MACD Position averaging v2

 
Eleni Anna Branou #:

Check the link in the first post: MA MACD Position averaging v2


Thanks. Didn't realised I couldn't download from mobile browser, but managed to download from a laptop. Anyway, this EA requires a separate expert in order to manage auto trading? based on the settings, I need a seperate expert to backtest.