Job finished
Specification
i want to create an expert advisor with the following parameters:
moving average set to high( the input should be variable)
moving average set to low (the input should be variable)
it should also have a variable shift
rules:
enter a long position when the market crosses the moving average channel up,the number of entries should be variable, but irrespective of the number of entries, after moving 25pips, two entries should be close while the others are brought to break even, on moving another 25pips, another entry should be closed while the others are left to run till 80pips is reached.
a sell position is triggered when the market crosses the moving average channel down with the same entry parameters as above.
a stop loss of 15pips must be in place when a position is taken.
the EA should not leave any trade into the weekend, all positions must be closed before the close of trading on friday and trading on first friday of the month should be optional.