Conditional skipping of optimization passes based on parameter value. How to do it?

 

Suppose i have 2 parameters a & b for optimization and their values for passes range from 5-20 and 10-40.

I want my EA to skip the particular passes where value of a is greater than b or a>b. How to do it?



Additionally,Try looking into these problems of mine. Perhaps I posted these into wrong sections to deserve help.


https://www.mql5.com/en/forum/366566

https://www.mql5.com/en/forum/365672

Pls help me just enough to highlight my chart in 2 colours when a condition as simple as ma1>ma2 and ma1
Pls help me just enough to highlight my chart in 2 colours when a condition as simple as ma1>ma2 and ma1
  • 2021.04.05
  • www.mql5.com
I know this language just enough to code EA based on given indicators and condition, and nothing about coding indicators or scripts...
Reason: