Questions from Beginners MQL5 MT5 MetaTrader 5 - page 453
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
Bullshit
Sorry, didn't specify the platform, I have mql4,"POSITION_PROFIT" is not in the help, could it be " OrderProfit" ?
(Please insert a picture this way:forum: how to insert picture. - OK)Hello ! I found one code in kodobase and a question to it I can't find the answer to ,
at the beginning of the code
Why do I use macro expansion (#define)? These variables are not available in the settings
and how to make it possible to check them with optimization
https://www.mql5.com/ru/code/viewcode/244/53730/grr-al__3.mq5
Hello ! I found one code in kodobase and a question to it I can't find the answer to ,
at the beginning of the code
Why do I use macro expansion (#define)? These variables are not available in the settings
and how to make it possible to check them with optimization
https://www.mql5.com/ru/code/viewcode/244/53730/grr-al__3.mq5
Make them input variables.
in the sense of
#inputMAGIC_NUMBER 12937; so
in the sense of
#inputMAGIC_NUMBER 12937; so
Modifier input, placed in front of the variable type, means that the variable will be available in the list of input parameters of the Expert Advisor.
In the specific case of magik, it is better to put the modifier sinput in front of it. It means that the variable will also be available in the list of input parameters, it will participate in the optimization but its value cannot be optimized.
In general, there is documentation. In the compiler select word input and press F1. There are examples there.
Wrote my first crooked EA on slips. Tell me why it doesn't send orders?