Forum

I want to place 2 pending orders that one's execution cancel the other. how can I do it?

moreover, the price I want to execute the order in is 2 dollars above and below to a specific price of a time. how can I do it

My EA doesn't execute my sell orders, it just executes my buy orders

#include <Trade\Trade.mqh> #include <Trade\SymbolInfo.mqh> #include <Trade\AccountInfo.mqh> CTrade trade; //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+