if ( iCCI ( NULL , PERIOD_D1 , 14 , PRICE_OPEN , 1 ) > 100 ) Does this look correct? I have a feeling that the 100 will be referenced from the timeframe the EA is running on rather than d1
Hi, My EA always needs to check the last close trade but whenever mt4 is closed and restarted it does not read the last trade. Any ideas how I can code my EA to check the last trades result even when the terminal is restarted
Hello, I understand that mt5 uses broker server time when back testing but when using for example Alpari, this causes data to use daylight savings time whereas I need to test without any adjustments, ideally GMT for all of the data. Is this possible
Does the strategy tester have a limit on 10 currency pairs? When I attempt to run a test with anymore than 10 pairs it only loads the initial 10 pairs history before throwing errors such as: IJ 2
I have read lots of information stating that back testing on generated offline renko charts is unreliable, however looking at the visual back tests it seems as though the tests are reliable when the EA does not use a fixed stop loss or take profit
Sorry basic question I know but wondered what is the difference between using || or &&? Example for each would be: if (OrderSymbol() == Symbol () && OrderMagicNumber() == OrderId2) if (OrderSymbol() == Symbol () || OrderMagicNumber()
I am backtesting my EA on the m5 and it uses bar O/C/L/H from a bar on a different timeframe (e.g. PERIOD_H1) and an indicator on a different timeframe. Now I would assume that if the EA is always using the PERIOD_H1 timeframe and indicator values
Am I the only one having an issue with launching the mt4 build 600 terminal? I have installed multiple instances on my VPS yesterday and launched with no problems but trying to add a few more today and after install the terminal does not launch
I am trying to print the times to my chart but the format is not correct: Log: 2014.02.04 17:47:29.079 Expert Time Check EURUSD H1: Local Time Is.1391536049 GMT Time Is.1391536049 Current Time Is.1391543240 Code:
Is there any way I can prevent this from happening or to send the order again if it fails? My EA can place multiple trades and I am not sure if this is causing the issue, the fact I have 10+ terminals running or just poor EA coding on my part. The EA
I am using dukascopy data and getting 99% modelling quality on the m1 (not sure that is even possible) and when I click open chart, the entries are not even within the price of the bar, they can differ from the bars price range by around 20 pips
I have always been able to limit open orders across multiple pairs that all have different "magic numbers" but recently I am having a problem because my EA will open more than the allowed 1 trade if the entry criteria is met at the same
When we run a back test and select open chart , it displays the entries/exits and indicators used. Is there any way to hide the indicators so the strategy cannot be duplicated