Expert Advisors: Exp_AnchoredMomentum

 

Exp_AnchoredMomentum:

Trading system using the AnchoredMomentum indicator

Fig. 1. The instances of history of deals on the chart.

Fig. 1. The instances of history of deals on the chart.

Author: Nikolay Kositsin

 
Automated-Trading:

Exp_AnchoredMomentum:

Author: Nikolay Kositsin

I have been using this Expert Advisor for trading for several months now. and today on my demo account I suddenly generated an order.

FK 0 17:20:24 Trades '9117443': instant buy 747.05 EURCHF at 1.2171

KQ 0 17:20:24 Trades '9117443': accepted instant buy 747.05 EURCHF at 1.2171

CJ 0 17:20:30 Trades '9117443': order #3114923 buy 747.05 / 747.05 EURCHF at 1.2169 done

OP 0 17:20:30 Trades '9117443': deal #2553258 buy 747.05 EURCHF at 1.2169 done (based on order #3114923)

I checked the Expert Advisor. it has lot=2.

What is the matter? I am getting worried, as where is the guarantee that this will not happen again on my real account?

grateful for the answer in advance

Files:
20130329.log  9 kb
 
oltab:

I have been using this EA for trading for a few months now. and today on my demo account, suddenly an order was generated.

FK 0 17:20:24 Trades '9117443': instant buy 747.05 EURCHF at 1.2171

KQ 0 17:20:24 Trades '9117443': accepted instant buy 747.05 EURCHF at 1.2171

CJ 0 17:20:30 Trades '9117443': order #3114923 buy 747.05 / 747.05 EURCHF at 1.2169 done

OP 0 17:20:30 Trades '9117443': deal #2553258 buy 747.05 EURCHF at 1.2169 done (based on order #3114923)

I checked the Expert Advisor. it has lot=2.

What is the matter? I am getting worried, as where is the guarantee that this will not happen again on my real account?

grateful for the answer in advance

Where are the logs? There is no lot variable in Expert Advisor! There is only MM variable:

input double MM=-0.1;             //Financial resources share from the deposit in the deal, negative values - lot size

And MM equal to two - it is a dumping of the whole depo into a deal, MM cannot be more than one!