new to C# but hiring a developer, we facing this problem
I chosed to enter "long or Short" With a ATM strategy named "MoBenOrder". Quite basic, that ATM has 55 pips stop loss, a 90 pips target and a trailing stop hitting after 55 pips. Nothing really sophisticated. But the neither the target nor the stop are to be reached. They are there for safety reason should I loose my connection
My ATM should stop once I have 80 PIPs (remember target was 90) or if another condition is met not being the stop loss (it actually comes out a MACD)
Let's suppose we go short
this is the code
private void GoShort(){
//EnterShort();
Print(ChartName + " VENTE EST LANCE "+String.Format("{0:HH:mm:ss}",DateTime.Now)+" "+Price);
if (orderId.Length == 0 && atmStrategyId.Length == 0)
I have noticed having 2 charts of the same (one with the strategy the other one on chart trader) that my stop loss and my target never disappear they just stay there
I could rephrase it
How does one "FULLY EXIT" a ATM strategy that means stop loss and target included
I'm I wrong using a ATM strategy in a script. The were probably not designed to send and cancel orders in a strategy
And this is the result I have in my output window
$EURAUD ACHAT EST LANCE 12:59:34 1,4736
**NT** Submitting order with strategy 'EurAudAtmStrategy/3533906ebeca4096a32ab23bc211a191'
$EURAUD STOP ACHAT 13:02:00 1,472
**NT** AtmStrategyClose() method error: AtmStrategyId 'f82b4b68329a499dab5981e2dc0196bd' does not exist
$EURAUD VENTE EST LANCE 13:04:53 1,4712
**NT** Submitting order with strategy 'EurAudAtmStrategy/3533906ebeca4096a32ab23bc211a191'