Forum

Is the market EA verification performed using zero latency?

During my backtesting, I encounter a few invalid stop errors when using the "random delay" setting. However, when I switch to the "zero latency, ideal execution" setting, the test runs error-free. Could this inconsistency be attributed to slippage issues arising from trade execution speed? If so

Stops Level

I would like to inquire about an issue I am encountering while attempting to retrieve the correct trade stops levels for a given symbol. Despite my efforts, the output from my code does not align with the expected symbol properties. To facilitate a comprehensive understanding of the problem, I have

NormalizedDouble() error - Trailing stop function

I've encountered an "invalid parameters" error when invoking the following trailing stop function. Upon using the debugger, I observed that the NormalizeDouble function appears to work correctly for the ASK and newStopLoss prices but not for any of other prices. I believe that I've employed the same

[Invalid Stops]- Print("Stop Level is: ", stops_level); returning 0

Hello, I am encountering the " Invalid Stops " error message in my EA code. After conducting a check, the value that is being returned is 0. I have confirmed that the issue is related to the stop loss and not the take profit, as I am not placing a take profit at execution. I would like to know if

Test on EURUSD,H1 (netting) tester stopped because OnInit returns non-zero code -1 disconnected there are no trading operations

While running an automatic market tester for verification, I encountered an error with my EA that is intended to only trade US330. As I understand that this might violate the market rules for EA limitations, I updated the OnInit function to alert the user instead of returning a non-zero error code