Forum

How to get the ticket ID for the most negative position?

Hello there! Is there a way to get the ticket ID of the most negative position? Theoretically this would be the first opened position in grid system. I thought storing all position tickets in an array would do but this seems like a mountain of a task. So i thought looping through all open positions

How to prevent overfitting on historical data

Hello, is there a sure to prevent overfitting when testing a system over historical data

Tester stopped because OnInit returns non-zero code 1

Hello. Can someone please help with this error? input group "---- RSI ----" input int RSIPeriod = 14 ; //Period input ENUM_APPLIED_PRICE RSIPrice = PRICE_CLOSE ; //Applied price //--- input group "---- CCI ----" input int