I'm trying to break losing streak in my strategy.
I'm using the strategy builder as my programming knowledge are not good enough to do it.
I would like your help with the following:
1) I would like to add a condition using a variable that is 0 if the previous trade was a winner and 1 is it was a loser. If the Streak Variable = 0 it places an order, if Streak Variable = 1 it does not place an order but if It would do it the trade end as a winner and it makes the Streak Variable = 0 and it will be taken the next trade.
I'm struggling to get it to work. I need the condition to make the variable 0 or 1, also I need this variable to change to 0 even when it does not take the trade.
Can you please tell me how to do it?
2) Also, I'm trying to set a stop loss that is a % of my current account value. For example, Stop loss = 3% of Account Value.
Thank you in advance for all your help.
Regards
Carlos
Comment