I would like to program a Strategy so it makes at minimum of say 20 ticks a day.
Say that my StopLoss is 10 ticks and my ProfitTarget is 20 ticks.
I could see 3 main scenarios:
1. 1st trade wins 20 ticks and strategy stops running ( gets disabled? )
2. 1st trade looses 10 ticks. 2nd trade wins 20 ticks. 3rd trade wins 20 ticks - I have a profit of 30 ticks and strategy stops running
3. Likewise I would like to limit my losses. Eg in case I have 3 consecutive losses of say 30 ticks total, the strategy stops running.
So I need a variable to cummulate my losses and my profit and when it reaches certain amount I want strategy to get disabled.
Any thoughts?
M

Comment