1. Can you please give an example of the unmanaged approach for entering a market long position with a SL and TP.
In the managed approach it would look something like that:
private void EnterMarketLong(double SL, double TP)
{
SetStopLoss(CalculationMode.Price, SL);
SetProfitTarget(CalculationMode.Price, TP);
EnterLong("MyLongPosition");
}
2. Is there a way to automatically cancel the SL and TP orders when I disable my strategy (but keeping my long position running).
Thanks
Comment