if ((InLong == true)
&& (High[0] > (Position.AveragePrice * 1.01) ))
{
ExitLongStopMarket(Convert.ToInt32(DefaultQuantity ), (Position.AveragePrice * 1.0075) , @"1%ProfitProtect", "");
}
This doesn't work:
if ((InLong == true)
&& (High[0] > (Position.AveragePrice * 1.02) ))
{
ExitLongStopMarket(Convert.ToInt32(DefaultQuantity ), (Position.AveragePrice * 1.0075) , @"2%ProfitProtect", "");
}
Thanks
Comment