The system is a martingale styled system and should initially open a buy or sell position
depending on color change of an indicator .It should start at an innitial lot size
and be progressively increased by a multiplier if the currency moves a certain number of
pip against our current position direction(for example, if we open a buy position and the
currentcy moves x pip against us, we open another position with lotsize equal to the
last lot size multiplied by the multiplier). if take profit is reached without the
second positoned been opened then it is closed and a new position is opened in the curent
trend direction again).All opened positions opened by the EA should be closed when the
take profit target of the last position is reached( A magic number should be used to
ensure that only trades opened by the Expert Advisor is closed or controled by the
it).after positions are closed, a new position is opened in the direction of current
trend and the whole process is repeated.
The EA should have provison to accomodate different account types(cents, micro, mini and
standard account type) and also be able to accomodate different type of brokers(3, 4 or 5
digits brokers)It should also have a timer to control what time of the day it should trade
and what time it [login to view URL] EA should be compatible with any ECN broker
The following parameters should be kept in Extern variable so they can be changed for
tweaking and fine tuning
1)Innitial lot size:- this is the innitial lot size
2)Account type:- what kind of account(is it a cent, micro , mini or standard account)
3)Broker type;- what kind of [login to view URL] it a 3, 4 or 5 digit broker
4)Pipstep;- number of pips moved against current opened position so that next position can be opened
5)Take profit;- profit target
6)Start time;- time of the day the EA should start working
7)End time;Time of the day the EA should stop working
8) Timer;onor off;- option to turn on or turn off timer
8)Magic Number;_ Unique number to tthe Ea from controlingor interfereing with other trades not opened by it .
Also the parameters o he inicator should also be put in extern variable for easy manipulated