I have a strategy that has a winning a percentage of 30%. I have tried to code it so that the signal from this strategy will be reverse traded. However, the strategy analyzer results showed that both strategies (reverse or not) will still lose money. I do not understand why this is so because I am using 10ticks for both the profit target and stoploss.
I understand the signals will be triggered diffferently if the profit target and the stoploss ticks are different.
My question is if there is anyway to code my strategy so that it will always trade the reverse.
For example"
if (trigger==false and close>20min mov average) then trigger==true;
if trigger==true then Enter short(reverse) with profit target and stoploss of 10ticks each;
if close==triggger.price+10ticks or close==trigger.price-10ticks then trigger==false // this is to ensure that the next signal from the original strategy will be traded even if the current position is not yet closed.
I hope I have made my point clear. Please advise. Thanks.

Comment