MQL4 and MetaTrader 4 - page 755

 How to stop charts server data based on timings? 
[Deleted]
  bug with ++i ??  (2)
when i do some test with mql4 by this script:   int i = 0; Print(i++ + i++);  // result is "1" i = 0;  Print(++i + ++i); // result is "4" not "3"    and i had do the same thing in JavaScript, "++i + ++i" => 3; is that a bug? 
Hello: In marketinfo(), MODE_TICKVALUE is defined as "Tick value in the deposit currency". This is correct for Forex. But I can see this is not correct for CFDs (indexes, for example). In indexes, it should say: "Tick value in the index currency". I suspect this is related with MODE_PROFITCALCMODE....
Hi, Since yesterday i don't see Custom Indicators on Navigator. What will be the probloms? before it was shown. Also when i tried on indicators menu, many indicators showing as grey colors and as hidden? Please support me to solve this issues? My indicator files were copied on...
When i use multiple MT4 instance (more than 2) or just after a while, MT4 starts to give me unreal results. Cheking the results i discovered it starting to skips trades.. I set spread to 10 pips fix. It happens both on 3 or 1 years of backtesting. On M5 charts. Both with tick, control points or...
[Deleted]
<advertising removed >
Hi , New update with version build 670 we can't draw a trend line , We can't draw a channel ,  it is too slow , My  Lap works with windows 7 ultimate , Is all traders notice that or there is something wrong with my windows although the last version was worked nice  
[Deleted]
  Help with array  (10)
Hi Everyone, I try to work with array and write this simple code. I am not sure why it show the "array out of range" right away at the cutup[I]=High[I]. Could you please help me to correct it? Thank you so much, SCFX    int limit=rates_total-prev_calculated-1;   if(limit<=0) limit=1;   double...
has anybody tried out if this is working in new MT4?
  Return shift by...?  (13   1 2)
Hello, guys. First of all, sorry for future stupid questions or parts of code may be, because I'm just learning MQL4. So I'm trying to make it work a code that could define which price of two prices was the last by price to visit. I.e. I have two rectangles and want the indi to calculate the edge...
Indicator added to chart, indicator buffers drawn correctly:   Now scroll back to the start of the chart, and keep scrolling back to add more bars. The indicator buffers seem to stay where they were before more bars were added, thus moving them into space.   Is this a documented issue, or am I just...
How do we change the logo/icon picture of an expert advisor in the about tab to our own custom logo? Can this be compiled/embedded in the ex4 file so that when we distribute the ex4 file, the logo will be included without the need to link/copy the original icon image file to the new computer?
[Deleted]
I was doing a tra-il ing EA , when I tested on demo I notice that only the buy orders got it correctly ( I think ) , whereas the sell orders only moved stop loss ONCE . I still can't spot where's the problem though . ** Edited the code **
[Deleted]
Hi, i am using FXCM MetaTrader 4 Version 4.00. Altough the software is installed at another partition of my hard drive, it keeps saving history data on the system partition at c:\users\%username%\local\virtualStore\MetaTrader 4 Terminal\history Is there a way to change or adjust the folder, so that...
  Strategic foresight systems  (491   1 2 3 4 5 ... 49 50)
Purpose of the branch Decided to check out one idea of a "strategic" maChtab trading the other day and above. In a way - it really is "strategic forecasting", and requires a slightly different approach, both mathematically and psychologically. You can take your time (like real strategists) to
I would like to say that the developers solve it  to become a "pips" column between columns of the terminal.  When I look at the terminal, I can see how many pips did.
when selecting "copyall" for optimisation results .... the list copied to clipboard is only 128 odd count - varies from time to time. you need to go back and select each 128 odd rows - for as many that are there. Can it be fixed so 'copyall' copies all row
When trying to run MT4 on a fresh reboot - if the internet connection is not present - then some trades fail in backtesting. Only after reconnection of the internet connection, do the trades perform as programmed. i.e. lots 0.1 will trade but both lots 0.24 and 2.24 will not. i.e. it seems that...
[Deleted]
Progress is stopping at this. I tried all day.
All indicators have a "visualisation" setting, which should allow the trader to set which timeframes he wants an indicator to appear on, however I'm seeing all custom indicators being initialised on all timeframes regardless of the "visualisation" settings. Is this a bug or am I missing something?
The object property OBJPROP_ZORDER is used to set the click priority of the object, according to the docs. I have tried settings the Z-Order of a number of different objects to anywhere between 1 and 999999999 and it still has no effect on the click priority. Is this a known issue or am I missing...
I am using the function iBands in an EA to evaluate whether the 3 Bollinger Bands are rising. Herefore I look at the last closed bar and the one before last closed bar on a 1 hour chart. For the Middle Band, Upper Band and Lower Band I get correct values in the EA when I compare with the Data Window...
If Ihave an optimization result which gives a Maximum drawdown of 'x' during whichthe Risk Per trade was set at 'r' % of the account equity, then how do Icalculate the size of 'r' that will produce a value for 'x' of 10%?   I'm not sure it is even possible at this stage....not withoutmore...
Hi there, I receive this error: 5004 ERR_FILE_CANNOT_OPEN Cannot open file It happens when trying to open a csv file to read it. input string fileName="calendar_statement.csv";input string directoryName="Files";datetime newsItemDateTime;int...
Hi there, is it possible to use Strategy Tester based on actual historical spreads?  If this isn't built in to ST can it be coded in to an EA? Thanks, Brad
Hi. I have this small problem. I have created an EA that closes all open trades when it hits a certain profit or loss and it is working fine but when i opened 200 trades then activate it when it hits 2000 profit, it only closes by batch but not all using this code. for(int...
[Deleted]
Hi all, I am trying to use a dual MA crossover indicator  ( IINWMARROWS.mq4  found in internet) which just displays arrows when a crossing of the two selectedMA's takes place in RENKO charts. It works ok most of the times but all of a suidden sometimes I get some extra arrows in the last candles...
I just finished making an EA run it on demo account and suddently when it initializes it shows error 4024 for no reason. I`ve checked the code, it has no bugs or compile errors, and it didnt do anything yet.Either the MT4 is bugged here or am i missing something, i read the documentation it says...
[Deleted]
Hello,  This is my first post to the community and I need some help.  I have built an EA which I will be running only on EUR/USD but possibly exploring other pairs in the future. Based on the results, I am confident that for every 25 Euro in my account balance, I can trade 0.01 lot. Can anybody help...
[Deleted]
Hello, i want to make from a few currencys chartpictures from 9 timeframes. At moment i have for every timeframe open a own chart but the pc and metatrader become a little bit slower, because it coast him much power. I want to ask you here, if somebody know a way to get/make chartpictures easyer,...