I went and put in a statice number to see if the calculation was causing the problem but I got the same results. I made sure the number was much higher than the low would ever be so there shouldn't be any exit in this case
This is under the on bar update.
I am entering a break of the first hour low. This is working fine. But it immediately exits the next bar.
Any help would be appreciated.
if (CrossBelow(Low, BzvOpeningRange4("0430", "0530", "1315").RangeLowSeries, 1)
&& ToTime(Time[0]) > ToTime(5, 30, 0)
&& ToTime(Time[0]) < ToTime(7, 0, 0))
{
EnterShort(DefaultQuantity, "BreakOutShort");
}
// Condition set 2
if (Low[0] > 1500);
{
ExitShort("Target 61", "");
}
Comment