Forum

Trading multiple strategies with the same EA on same chart

Hi all, Thank you for looking at this thread. I've got an EA which trades a variety of strategies simultaneously on the same chart. My question is this, is there a way that I could distinguish between live trades from different strategies from a single EA? The problem I'm having is say strategy 1

Indicator plots initially but not for any new candle!

Hi all, Thanks for looking at this thread. I'm looking to develop a custom indicator and it appears to be printing out the correct value initially but it just stops when a new candle appears! I don't know why and this is giving me a real headache!!! Thanks for your help :)

Horizontal line colour not changing

Hi all, I have written a snippet of code which draws a horizontal line at the bid price. But I want to change its colour and the code compiles but the colour is not changing! It's only staying red! Any help would be greatly appreciated. long cid = ChartID (); ObjectCreate (cid, "bid_price"

EA keeps ignoring Boolean logic variables

Hi all, Thanks for looking at this thread. I've been developing a simple EA which essentially increases the position size based on volatility. However, it is only meant to be increasing the position size once per trade and then once again after another trade is open. I've attached the code that I

Historical data quality meaning

Hi all, Thanks for looking at this thread. Would anyone here know what the historical data quality percentage in the strategy backtester actually means? I was quoted a value of 29%, does that mean that only 29% of the data is real and the rest is made up? If that's the case how do I find out which

Migrating EAs to MetaTrader server problem

Hi all, Thanks for looking at this thread. I recently purchased 3 months MetaTrader server time but I am having problem migrating my EAs. I get the error that my arrays are out of range when the EAs are on the server. However, when I add it to my local system I don't have any errors and the EA works

Library not returning the correct value

Hi all, I've been writing a function in mql5 and at the moment all I want it to do is return a value of a double (max_value). However, it only seems to be returning a value of -1! Could somebody help me debug this? Thank you! double max_val_max_candle_price_range_function( int no_candle_limit)