Forum

IsDemo() returns False with Demo Account

Hi, Please, could you help me ? void OnTick() { Comment(IsDemo()); That returns "False" with my demo account

CHART_SHIFT_SIZE with strategy tester

Hello, Is there anyone who can help me about CHART_SHIFT_SIZE in my EA, it works with charts, but not in strategy tester . I have a rectangle panel with labels and everytime, bars are behind it. Thx a lot

Link opened charts timeframes

Hi, Please, i need help, i searched but did not find. I have 2 opened charts on MT5. When i change the timeframe on the first one, i would like the sesond chart to change to same timeframe. Can not find command for this. Thx for your answers

target reached on same candle with mt4, next candle with mt5 (same history tick data)

hi, please, could you help me ? i wrote a smple EA : if ( open - Ask ) > x then buy at market, stop and target 10 pts. on mt4, target is reached on current candle, and with mt5 target is reached on next candle. On attached file, you can see (history tick snapshot) that target price can be

Different results between MT4 & MT5.

hi, I need your help. I created a simple buy stop order to be able to compare results between mt4 and mt5. On MT4 i use "Tick data suite" and i imported historical datas (in ticks and also on 1 minute bar), duplicating a symbol, so i have same settings on both mt4 and mt5 with same broker. i have

CSV File cannot be opened in notepad

Hi, I would like to save in common folder 2 variables in order to use them in another EA. here is my code : if ((hautt!=haut) || (bast!=bas)) { numfichier=FileOpen("points.csv", FILE_CSV|FILEWRITE|FILE_COMMON ,';'); FileWrite(numfichier,haut,bas); FileClose(numfichier);

Using FILE_COMMON with Parallels Desktop

Hi, I use Parallels Desktop on my macbook. Is it possible to use FILE_COMMON when the 2 terminals have different path ? Please see my attached files

Using variable declared on another EA which is running on another MT4 cession.

Please, do you know if it's possible to call value of a variable used on an EA running on anther MT4 cession ? I want to use extremum of zigzag indicator running on a H24 trading hours broker in another graph used by another broker. Regards

Broker with fixed spread (less than 20) and 8h-22h (gmt+2) (future opening hours) trading hours

Hi, Please do you know a broker with fixed spread on DAX (Germany30) lower than 20 and hours based on future opening hours, not H24. Regards

10 tick time frame indicator

Hello, I know that it is possible to have a 10 tick time frame indicator, but does anyone know if there is a way to basktest an EA on a 10 tick time frame ? I did not read anything about this. Thanks for your answers