Job finished
Specification
Hello,
I am a Statistics student looking to illustrate a statistical theorem to my fellow students using a trading robot. I want a very simple trading robot that executes orders with specified stop-levels and specified lots. In other words, I should be able to specify the stop-levels and the number of lots to be traded. The robot should then alternate between buying and selling orders. In other words, the first order should be to sell the specified number of lots with the specified stop-levels, then when either the Take-profit or Stop-loss levels is reached, immediately the next order must be placed as a buy order with the specified number of lots and the specified stop-levels. It should continue this pattern. Also, the robot should only be active if the Spread is below a certain threshold.