mohsen bahrami
mohsen bahrami
mohsen bahrami
Added topic my expert error: "cannot load indicator 'Bollinger Bands' [4801]
hi. I reinstalled meta trader 5 and during test my expert, this error accures. how can i fix it
mohsen bahrami
Added topic PositionClose() does'nt work
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
mohsen bahrami
Added topic doing different activities depending TP or SL accrued
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
mohsen bahrami
Added topic loading RSI in OInit()
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
mohsen bahrami
Added topic how can i Get Last deal profit?
Hi How can i  get profit of last deal
mohsen bahrami
Added topic how to add comment in PositionClose function
hi how can i  add a comment when im using PositionClose? thanks 
mohsen bahrami
Added topic close a position in hedged account
hi. i want to close an specific  position in hedged account without opening another opposite position. who can i do it? thanks
mohsen bahrami
Added topic use of non-hedging position
hi. how can i change a position to  non hedging position? i want to close a position by positionclose() not by opening another position. thank you 
mohsen bahrami
Added topic how to use PositionClose
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
mohsen bahrami
Added topic using a script into an indicator
hi traders i have a question about call a script into an indicator. how do i call script with different parametrs into an indicator? thanks 
mohsen bahrami
Added topic working with custum indicator into an EA
hi traders i want to use a custom indicator in my EA. how can i use its data like iMA or iRSI? should i define a class or other else? thank you
mohsen bahrami
Added topic variable shared between some program
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
mohsen bahrami
Added topic exporting data into excel
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
mohsen bahrami
Added topic predicting indicator
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
mohsen bahrami
Registered at MQL5.community
12