Forum

Please, Metaquotes, store our forward test results too!

This is a thread for Metaquotes. It's quite weird that the forward test results are not saved anywhere or at least is not displayed to the user under some probably unknown circumstances. If for some reason I need to go back to old tests to get the forward results, I need to run the optimization all

How does take profit really work on MT5?

Title. My question comes from the following situation: when a tp level is reached, it is commonly not executed at the price it was placed . Take the following as an example. We see that the take profit was reached (127,105) . However, the execution price was at 127,115 . In this market, this

How do I tell an indicator should be loaded in a separate window

Hey guys! Title says all. The thing is a want to load an indicator to the chart using ChartIndicatorAdd . Some of them are oscillators - but I don't know which ones I'm loading are oscillators and thus should be loaded on a subwindow. How can I do this? I looked into the documentation, but couldn't

Usages for TesterStop

Hey, guys! As the documentation well says, the function TesterStop can be used when the account reaches a pre-defined drawdown or when a certain amount of trades are executed to stop current testing. But I'm looking for other usages for it, since it drastically speeds up the optimization testing

CopyBuffer returns 0

Hey guys! I'm facing an issue with CopyBuffer specifically when using Strategy Tester on non-visual mode . Basically, in some occasions, it fills the target array with 0. This is no indicator problem - at least, that's what I think, because: 1 - On visual testing my EA works just fine; 2 - On