Forum

Shifted Movig Average

Can someone please advise me on the following ? When using a moving average in an EA it can be described as iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE ,0) How does one alter this code to give the same moving average but shifted either forward or backwards ? Many thanks for your kind assistance

Question for programmers

I am new to automated trading so I apologise in advance if this is a stupid question. I have been reading the various threads and systems on this site and have noticed that a lot of systems and ea's are based on break-out strategies of one sort or another. They are then backtested via MetaTrader to