Hello,
I have written very basic EA that based on iOsMA for trade signals.
First iOsMA uses Main set of external parameters.
Now I have added one more iStDev that I want to use as a triger
for use of alternative set of extern parameters for tha same iOsMA indicator
It doesn work properly or it looks like only one part works
Please help me to solve this simple logic problem
if(ALT < Level)// <-- Ok. Seems to be logic{UseMainLogic = false;
UseAltLogic = true;
if(ALT < Level)// <-- And what does it mean? Expert going to check condition which was checked already and in processing...{UseMainLogic = true;
UseAltLogic = false;
}}
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I have written very basic EA that based on iOsMA for trade signals.
First iOsMA uses Main set of external parameters.
Now I have added one more iStDev that I want to use as a triger
for use of alternative set of extern parameters for tha same iOsMA indicator
It doesn work properly or it looks like only one part works
Please help me to solve this simple logic problem
code is here: