Trabajo finalizado
Tarea técnica
I want to create an automated trading programme that will follow the following instructions. As soon as I enable automated trading the programme must buy 1 lot and immediately create a sell stop 20 pips under the price where we currently bought. As soon as price hits my sell stop we must sell 3lots and immediately create a buy stop 20 pips above my sell stop. As soon as price hits my buy stop it must buy with 9 and immediately create a sell stop 20 pips underneath my buy stop of 27 and carry on until my account shows a 100 pip profit for the sequence of trades. Programme should then close all trades and start a new sequence with the same pattern.
The lot must be a variable that I can change(full lots of mini lots). As you can see every time price turns against me and picks up my stop (up or down) the system must multiply my previous lot by 3 and buy/sell for that amount. If I want to change this calculation and say multiply by 4 I must be able to do this. I must also be able to predetermine my take profit and change it to any amount of pips.