Hi. I want to Close a Position by PositionClose(Symbol(),4). i Define as Below: #include <Trade\Trade.mqh> CTrade CT; CT.PositionClose(Symbol(),4); although compile has no error, unfortunaltely PositionClose does'nt close open positions
hi every one. how to tell if a position closed by TP or by SL was opened by EA? i have an open position by using OrderSend(). depend on TP or SL happen, i want to call FunctionA() (When TP ) and Function2() (when SL happen). thanks
hi. after i reinstalled metatrader , in Oninit(), RSI indicator cannot be loaded. While it worked well before i reinstall metatrader. Does anyone know the reason
Hi everyone, when i use "PositionClose" function , instead of closing the open position, it opens a new position Contrary to the open position. I dont know why
hi i want to use a variable that be shared between some program so that by every thick an EA and an indicator can use and change it. is it possible? thanks
hi traders i'm making an EA and I have some arrays derived from it and i want to export them to an excel file to analyse separately in excel. is there any way to do it? thank you
hi - i want to write an indicator so draw 10 next movement and frontier than the last candle and it change after each new bar. and i dont want to use "shift" option. is there another solution to do that