|
la puente, California
Experience: None
Platform: NinjaTrader
Trading: Es
Posts: 30 since Oct 2018
Thanks Given: 7
Thanks Received: 1
|
EntryLong = (High[1] + 1 * TickSize);
StopLossLong = (MIN(Low, 4)[0] - (StopLoss * TickSize));
//Enter Long
if (TDUPriceAction1.TrapLong[0] == 2 && TDUPriceAction1.BarSizeInTicks[1] <= RiskTick && Close[0] >= KAMA1[0] && CCI1[0] <= CCIIndex && (amaMACDBBLines1.Trend[0] == 1 || amaMACDBBLines1.Trend[0] == 2) && EntryLong > GetCurrentAsk())
{
BreakEvenTrigger = true;
SetStopLoss("Long1", CalculationMode.Price, StopLossLong, false);
SetStopLoss("Long2", CalculationMode.Price, StopLossLong, false);
EnterLongStopMarket(Convert.ToInt32(DefaultQuantity), EntryLong, "Long1");
EnterLongStopMarket(Convert.ToInt32(DefaultQuantity), EntryLong, "Long2");
}
|