Job finished
Specification
Hi,
I need an EA that opens a predefined long or short position (input 1) on a predefined lot size (input 2), when it’s added to a chart.
The EA needs a predefined take profit (input 3) and a predefined stop loss (input 4).
If the take profit is reached a new position will open in the same direction as selected in input 1, with the lot size entered in input 2.
If stop loss is reached a new position will open in the same direction as selected in input 1, with the lot size entered in input 2 times an exponential lot multiplier (input 5).
Example if the exponential lot multiplier is 2:
If the stop loss is reached, a similar position in the same direction is opened, but with the predefined lot size x2.
If the stop loss is reached, a similar position in the same direction is opened, but with the predefined lot size x4.
If the stop loss is reached, a similar position in the same direction is opened, but with the predefined lot size x8.
If the stop loss is reached, a similar position in the same direction is opened, but with the predefined lot size x16 etc. etc.
If max consecutive losses (input 6) is reached, the EA restarts and a new position will open in the same direction as selected in input 1, with the lot size entered in input 2 times 1.
Input 1: Long or Short
Input 2: Lot size
Input 3: Take profit in pips
Input 4: Stop Loss in pips
Input 5: Exponential lot multiplier
Input 6: Max consecutive loss