Forum

(bug) Unmanaged C# Export causing Error in Indicators.mqh

I suspect this is a threading issue of some sort. When using an Unmanaged C# Exported assembly and in that C# we access a static variable, over a few calls to OnTick I get an invalid pointer exception in Indicators.mqh line 302. In C#: private static int Sum { get ; set ; } static

(bug) Unmanaged C# Export causing MT5 crash

I have been working with Unmanaged C# Exported code and MT5 and it appears that an unhandled exception crashes the entire terminal. In C# [DllExport( "Bug1UnhandledErrorCrashesMetaTrader" , CallingConvention = System.Runtime.InteropServices.CallingConvention.StdCall)] static void

Global Variable Strategy Tester Question

Is there a variable of any kind that I can access from an expert which persists across strategy tester optimization runs? I have tried GlobalVariable functions however they don't appear to persist across optimization tests. I don't want to resort to using files as that seems like a hack and

Forward Testing

The forward testing results appear to only be a percentage of the backtest results. Is there a way to have all backtest results run for the forward test

Strategy Testing Bug

While working with the Strategy tester to optimize an experts parameters I have run into an issue where when optimizing the Balance + Profit factor the result ends up blank. I export to XML and see that the result appears to be the max size for a double. I'm not sure what has caused this but it is

Is there a way to add additional optimization algorithms?

So far it looks like you can customize just about every aspect associated with automated trading. Except for the optimization algorithms used when optimizing a given strategy. So for instance if I had a specific type of GA or maybe a different stochastic optimization technique I want to use. While