Forum

Help, selecting custom indicator inputs in an EA

Hi, There is an indicator I want to use in my EA and i have changed some of the inputs i've put the inputs i want to use in the iCustom function but when I run the EA and click on the indicator used, some of the inputs are staying at the normal values and not the ones that I want to use. For

(MT4) - Get OnChartEvent to work in Tester to detect objects

I have written an ea that detects when a trendline is placed on the chart by an indicator. When the EA detects a new line has been placed on the chart it executes a trade function. However i have been trying to backtest in the tester and noticed that my OnChartEvent function will not work and

EA stops trading after a daylights saving date (in strategy tester )

I am backtesting my EA in the strategy tester and have just moved to a different broker ( admiral markets). When backtesting my EA which takes trades at the open of a new candle on the daily timeframe, the EA works perfectly until i get to a daylights saving date, after this happens the EA tries to

Get the indicator value for current candle

I am new to mt5 after using mt4 for a while. On my EA i want to get the value of an indicator on the current candle so i use the index of 0, but this gives me the value of the previous candle

Multi currency EA trades is changing when i select a different Pair in the strategy tester

I have created a multicurrency EA that trades 27 different pairs. I have been testing in the strategy tester and have noticed that if i chnage the chart symbol to a different pair then i get a different number of trades, And i dont mean a few more, the no. of trades went from 226 to 972. I will

Indicator buffer value for an arrow

I have found a divergence indicator which i would like to code into an EA, which buys when a green arrow appears and sells when a red arrow appears. The arrows both have buffer numbers, but when i run a simple EA that prints the buffer values at each candle, the value is always 2147483647.0 whether

Control Points modelling for mt5 strategy tester

Why is there no control poitns modellign mode for mt5 strategy tester . I am trade D1 TF and using 1min OHLC takes far too long. Is there a way to choose other modelling modes that arent currently on my strategy tester. or even like a 15min OHLC would be good

Mt5 Strategy Tester slow on max speed

I have recently converted to mt5 and been testing my EA on the strategy tester in visual mode. On mt4 when I put my tester speed to max (visual mode on control points) the chart will go really fast and will be over in a matter of seconds. However on MT5 when i go to max speed ( on 1 minue OHLC). The

Running multiple EAs on one mt4 terminal

Hello I have created an ea that I will be running on 28 different forex pairs. Which means I will have 28 charts open each running the EA. I have noticed that some people have multiple mt4 terminals and each one runs a single ea. Could you explain the advantages of this. Is it ok for me to run

Mql4 - trade 10 mins before the close of current candle

I have coded an ea that trades at the close of the current candle. However my system is traded on the daily chart. The spreads are much higher at the open of a new bar. Therefore I would like to perform all my trading actions before the candle closes. Any