if ((Close[1] < Open[1])
&& (Close[0] > Open[0])
&& (Low[0] < Low[1])
&& (High[0] < High[1])
&& (Close[0] > Close[1])
&& (Close[0] > EMA1[0])
&& (BarCounter1[0] > 60)
&& (BarCounter1[0] < 80))
{
EntryLong = (High[0] + (1 * TickSize)) ;
BarBrush = Brushes.Gold;
StopLong = (High[0] - 35) ;
Print(Convert.ToString(EntryLong));
}
// Set 2
if (EntryLong > 0)
{
EnterLongLimit(Convert.ToInt32(Contracts), EntryLong, @"Long");
Print(Convert.ToString(EntryLong));
Comment