I want a simple cbot program in 2 parts
When a target price is met (A) The program afterwards creates a pending stop order limit (B)
I set target (A) and price (B)
Parameters for (A) Symbol and price eg 1.40 GBPUSD
Parameters for (B) buy/sell stop limit , price, TP, SL eg Sell order limit 1.3980 TP 50 SL 20
That's all - NB the order sequence is important as if order limit is on first it will trigger before price. This will create an order automatically which i dont want.
programme to be used in ctrader forex