Please refer to the image below. I have a strategy based on Renko bars running on this chart.
My exit conditions for short trades are coded as follows:
&& Close[0] > Open[0])
{ ExitShort("ShortExit", "Short");}
The left hand box shows a correctly executed exit at the top of the up bar.
The right hand box shows an incorrectly executed exit at the bottom of the up bar.
Looking thru the chart, I see that the exits (for short trades) are correctly executed if and only if the up exit bar is followed by another up bar.
If the up exit bar is followed by a down bar, that's when the exit seems to go wrong.
(The reverse is true for long trades.)
Is it me missing something obvious - or is the system at fault somewhere?
Many thanks in advance for your help.

Comment