//My Entry *******************************************
if(Position.MarketPosition == MarketPosition.Flat)
{
if(nTarget1Contracts != 0 && bManualStopMovement ==false )
{
SetProfitTarget("Short1",CalculationMode.Price,dAT R1,true);
SetStopLoss("Short1",CalculationMode.Price,dATR8,f alse);
if(bUseMar****rder == true)
EnterShort(nTarget1Contracts,"Short1");
else
EnterShortLimit(0, true,nTarget1Contracts,dATR7,"Short1");
}
}
protected void MouseClicked(object sender, MouseButtonEventArgs e)
{
if (e.ClickCount == 2)
{
bManualStopMovement = true;
}
}
Comment