How to switch an trailing methane in EA (Wizard created code)
This suggestion system is awesome!
CExpert Pointer compilation error gave me the hint to do it right. Problem solved

CExpert Pointer compilation error
- 2017.06.21
- www.mql5.com
Hello guys! First post here! I always read a lot of post in this forum and since now all coding problems that I had were solved just searching here...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I want to try to put in a method switcher to the EA generated by the wizard. Indeed learning curve still lacks.
I'm getting compiling errors like:
'*' - initialization of variable skipped by 'case' label, use { }
'trailing' - variable already defined
'trailing' - undeclared identifier
'trailing' - parameter conversion not allowed
As the Variable trailing is not declared outside of the switch but also depends on different object classes, I run out of ideas on how to create a trailing method switch option. Any ideas or is this a dead end idea?
Thanks a lot for any hint :)