Forum

Problems with MT5 Strategy Tester

Has anyone had any problems with the strategy tester ? Is it completely reliable if I'm using it with a demo account? I previously posted that it's giving me the wrong results with a simple EMA crossover (both my eMAs are SMMA, but it plots results for a SMA and a SMMA). There are several other

Displaying 2 separate indicators in same separate window

I'm finding that the Language Reference Manual (MQL5) is not much use to me – most often the thing I'm looking for is not in the index,and I don't really need to colour candles randomly or make my indicators change colour every 8 ticks. So I'm having trouble finding things out. Could anyone tell me

Strategy Tester changing the intent of my code?

This is one I wasn't ready for – I'm running a simple MA-crossover scheme to test out lookback methods. It's running in a demo account It's an 8-bar SMMA with a 34-bar SMMA (checked and double-checked), but the results are showing for an 8-bar smoothed MA with a 34-bar SIMPLE MA. Does anyone have

MAs on OBV

I wish to query 4 different length MAs on OBV. Can I pass the same OBV handle to 4 different MAs (in Call_iMA or Call_IndicatorCreate ), or will I need to generate 4 different OBV handles for this purpose? I should stress that I'm a BEGINNER at coding mql5, although I've done mucho coding in other

DRAW_COLOR_HISTOGRAM plot problem

I have re-coded an indicator that I used previously with TC2000. When I run it on history, it only plots every value either above or below 0 but not both. I set it up with test data that definitely had positive and negative values, it showed the 2 different colors, but still would plot ALL values

rates_total

Hi, I'm just new to MQL, could someone please explain what I should understand by 'rates_total'? Is it a variable to count the processed bars, or is it a number that gives the total bars available? I can't find anything substantial in the MQL5 Language Reference. Thanks

'IS_PATTERN_USAGE' ?

Does anyone have any idea where 'IS_PATTERN_USAGE' is documented please

General question about programming and using several MAs

I'm trying to recode my own indicator from a completely different language. I need 7 or 8 moving averages. Can I take them all from one price array, do I need to import a price array for each, or is it better to use the built-in MA several times? Thanks for any help anyone can give, I'm new to MQL5