But I do not specify a fixed take profit size
I want to exit a position with a limit order if certain conditions are met
I did so
if (...............)
{
ExitLongLimit(Close[0], "", "")
}
if (...............)
{
ExitShortLimit(Close[0], "", "")
}
However, the robot does not want to leave the position
Please tell me where the error?
Comment