Entries per Direction to 2, but this didn't help. I tried submitting my all of code but it complained that my post was too long.
Any help with this would be appreciated.
Double Bogie
// Condition set 1
if (Variable0 == 1
&& Close[0] < Variable1)
{
EnterLong(100, "AgLong");
Variable0 = 2;
Variable1 = Close[0];
}
// Condition set 2
if (Close[0] > SMA(LongMA)[0]
&& Close[0] < SMA(ShortMA)[0]
&& Variable0 == 0)
{
EnterLong(100, "LongEn");
Variable0 = 1;
}
// Condition set 3
if (Variable0 >= 1
&& Close[0] > SMA(ShortMA)[0])
{
ExitLong("LongEx", "");
Variable0 = 0;
}

Comment