Felix Lehmann / Publications
Forum
Coding my first EA. I'm having trouble checking if the a pending order has been activated.
// tradeExecuted is a boolFlag to check if pending order has been placed if (tradeExecuted) { // Check if the pending order has been activated if (orderResult.order > 0 && OrderSelect (orderResult.order) && OrderGetInteger ( ORDER_TYPE ) == ORDER_TYPE_BUY ) { Print ( "order has