Okay I would like to launch a strategy with limit orders.
I would like to link to targets and one stop to this limit order. I would like the limit order be enable while the condition S==1
Don't understand why my code is wrong ?
if (S==1){
EnterShortLimit(2,niveau, "Vente");
ExitShortLimit(1,niveau-PO, "Vente1", "Vente");
ExitShortLimit(1,niveau-SO, "Vente2", "Vente");
ExitShortLimit(2,niveau+FSTOP, "VenteS", "Vente");
}

Comment