Forum

How to save iCustom calls

I have thought a lot of times that it is not optimal the way we have to get the output parameters of Custom Indicators in our EAs. I explain myself. If you have an indicator with only one output -I mean output buffers-, then there's no problem at all, you can get the value of that output with one

Suggestion: Add GetIndexLabel(...) function for indicators

I am developing a ForexStrength indicator. This indicator shows the strength of 28 Forex pairs according to market conditions. Everything is ok with the indicator if I draw the outputs to the chart. But now I want the outputs to be written to Custom Indicator Buffers (thanks new MT4 I can do it, in

Help - performance issue with custom function ichimokuOnArray

Hi all, I'm having a big performance issue with a problem difficult to explain. Let me introduce the problem. I want to be able to backtest my strategies over Renko charts. But I want these backtests to have the accuracy of M1 charts. After lots of hours programming, what I have done is this: My EA

Bugs with MT4 Build 600

I know Build 600 is not the latest Build. But a lot of brokers are offerring this Build as the latest, and it has several important bugs: - .set files not only are not copied to the new location, but also these files are deleted from original location. (!!!!) - Account data is sometimes not corretly

SeriesInfoInteger error in backtests MT4 build 604 after successful compilation

I am trying to use the function CheckLoadHistory( string symbol, ENUM_TIMEFRAMES period, datetime start_date) to check history. Just found that function in mql5.com. I have used that program to develop my own library, which I include in my EAs. My EA including that library compiles and everything

Need to understand how backtester works

I'm testing a new expert I've developed. What I don't understand is why are results in backtest absolutely different if I backtest it in 1M or in 1H? I thought that when backtesting 1H charts, backtester uses History of 1M, 5M, 15M, 30M and 1H. And that the most detailed history file is, always, 1M

Can I handle the spread with OrderSend Operation Types 2...5?

Sorry if it's difficult to understand at first, I will try to explain. In my expert I don't open orders OP_BUY or OP_SELL. I open orders 2-5 (OP_BUYLIMIT, OP_SELLLIMIT, OP_BUYSTOP, OP_SELLSTOP). I was wondering if the spread of the moment the order is opened could be handled, just as I used to do