Questions from Beginners MQL5 MT5 MetaTrader 5 - page 840
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
Hi. Could you please tell me how to add CTrailingFixedPips class to any simple Expert Advisor to set fixed trailing in pips
Actually, the CTrailingFixedPips class and other classes in the branch are designed for Expert Advisors generated by MQL5 Wizard. Are you sure you need theCTrailingFixedPips CLASS?
I need a fixed trailing in pips, so I thought that CTrailingFixedPips class will help, but it was not there, I guess)
I would not like to write a long code, but to use standard library for trailing
I thought the CTrailingFixedPips class would help, but I guess it didn't happen)
I would not like to write a long code, but to use the standard library for trailing
Generate an EA in MQL5 Wizard and you won't need to write anything at all :)
the Expert Advisor itself is not needed in MQL5 Wizard
can we get an example of how to take a part of code from MQL5 Wizard related to trailing (fixed in pips) and put it into another EA
the Expert Advisor itself is not needed in the MQL5 Wizard
Can we get an example of how to take a part of code from MQL5 Wizard related to trailing stop (fixed in pips) and put it into another EA?
Why not? Of course you can.
We will take a bow and ask the guru to post an example)
as an option, for the EA from this article https://www.mql5.com/ru/articles/496 (could be considered as a continuation of the tutorial article) *
* at your discretion of course
Why can't you? Of course you can.
I was in a hurry, obviously. The CTrailingFixedPips class is only good for Expert Advisors generated by MQL5 Wizard. This class will not work for self-written EAs.
https://www.mql5.com/ru/docs/predefined
compared to:
https://docs.mql4.com/ru/predefined
also:
https://www.mql5.com/ru/docs/dateandtime
compared to:
https://docs.mql4.com/ru/dateandtime
In this regard, I have a question.
Does anyone know of a library for MT5 that calculates the missing functions
From "Date and time" and "Predefined variables" in MT5,
To have them as they are in MT4
What I don't like about MT5 is the limited features on
https://www.mql5.com/ru/docs/predefined
compared to:
https://docs.mql4.com/ru/predefined
also:
https://www.mql5.com/ru/docs/dateandtime
compared to:
https://docs.mql4.com/ru/dateandtime
In this regard, I have a question.
Does anyone know of a library for MT5 that calculates the missing functions
From "Date and time" and "Predefined variables" in MT5,
To have them as they are in MT4
The kodobase is full of libraries and there is an article