if (goShort) {
shortExitOrder = ExitShortLimit(0, true, amount, entryPrice, "ExitShort", "EnterLong");
shortEntryOrder = EnterShortLimit(0, true, amount, entryPrice, "EnterShort");
}
if (goLong) {
longExitOrder = ExitLongLimit(0, true, amount, entryPriceB, "ExitLong", "EnterShort");
longEntryOrder = EnterLongLimit(0, true, amount, entryPriceB, "EnterLong");
}
Thanks

Comment