mohsen bahrami
mohsen bahrami
mohsen bahrami
Added topic Max size of local variable
Hello every one. How much is the maximum size of a public variable? Can this amount be increased? For example, I want to define an array with 30,000 indices, which gives an error of variable size being too large
mohsen bahrami
Added topic Access violation at 0x000000007FFF00D6 read to 0xFFFFFFFFFFFFFFFF
Hi every one. Please help me how solve error in backtest after updating mt5 and compiling  my program: Access violation at 0x000000007FFF00D6 read to 0xFFFFFFFFFFFFFFFF In forum I found several similar problem   but no clear answer
mohsen bahrami
Added topic How Can i Read an open cvs File?
Hi is there anyway to Open  and read an Open csv file
mohsen bahrami
Added topic Meaning of colors in the calendar tab
Hi every one. I have a question :  What do the colors in the calendar tab (green, white and pink) mean
mohsen bahrami
Added topic How can i get ticket of the last position?
Hi After i use "PositionClose()"  and my open position get closed, I want to know ticket of the last order and use "GetLastOrderTicket()" Function as  below: but the ticket returnd is for The last one left.   How can i
mohsen bahrami
Added topic How Do i Use PositionClose()
Hi. How can i get the ticket of an position and close a the position? whats wrong in Code ? InThe Code, I Open a position and immediately (after 10 seconds) i want to close it. //+------------------------------------------------------------------+
mohsen bahrami
Added topic calculate time of 10th next candles
Hi how can i get the time of 10th candle later on H1 timeframe
mohsen bahrami
Added topic problem in srategy tester
Hello Backtest tab in "strategy tester" , doesn't show any thing after testing strategy. How can i fixed it
mohsen bahrami
Added topic OnTick Handle
Hello Every one i want to know more about  text  Below. How often does the Ontick() handle? Is it possible every 10 or more ticks, once  Ontick() Handles
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
12