
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
1. Can you tell me how to invert a signal?
example: to confirm a GBP/USD buy signal, we need a MACD EUR/GBP sell signal.
Or is it easier to dig in the library code and change "plus" to "minus" and save it as a library under a different name.
P.S. It would be nice to choose when creating an Expert Advisor which signal to take: forward or reverse signal
2. How can I take out the weights of patterns that are sewn into the library, to optimise these weights?
1. Can you tell me how to invert the signal?
example: to confirm a GBP/USD buy signal, we need a MACD EUR/GBP sell signal.
Or is it easier to dig into the library code and change "plus" to "minus" and save it as a library under a different name.
P.S. It would be nice to choose when creating an Expert Advisor which signal to take: forward or reverse signal
2. How can we take out the weights of patterns, which are sewn into the library, to optimise these weights?
1. Mechanisms for inverting (and ignoring) signals are built into the CExpertSignal base class, but unfortunately are not yet available from the Wizard.
2 The same can be said about pattern weights.
Please attach the source of the Expert Advisor, obtained after the "Wizard" and briefly. I will try to explain how to do it "by hand".
PS. The "Wizard" will be developed and these settings will be available later.
1. How can I add my library (for example: change the current MACD and save it without deleting the main library) to the master signal list?
2. Question about working with libraries:
Let's consider an Expert Advisor based on MAKD, made with the help of the wizard: we created and compiled it, tested it and got some result
The MAKD signal from the library were as follows:
I will compile only the library (I will not compile the EA code itself). I will test it and get exactly the same result as in the first test.
If I compile the EA code too, I will get a different result, in this example only for pattern 2.
I have a question: Why do I have to recompile the EA code after changing some parameters in the library? (It has not changed).
1. How can I add my library (for example: change the current MACD and save it without deleting the main one) to the master signals list?
You mean the include file that contains the code of the signals module? Change the current module as you need and save it in the same directory, but with a different name. More details about it are given in the article:
Creating a trading robot in the new MQL5 Wizard
The EA code is constructed using the MQL5 Wizard of the MetaEditor.
The basic classes of trading strategies are located in the terminal_data_folder\MQL5\Include\Expert\. Ready algorithms of trading signals classes , open positions maintenance classes and capital and risk management classes are located in the Signal, Trailing and Money subdirectories. The MQL5 Wizard analyses the files in these directories and uses them to generate the EA code.
For some reason, new versions of the terminal no longer contain custom versions of signal generator modules. There are 30 modules in the /MQL5/Include/Expert/Signal/ folder , but the Wizard sees only 20 modules supplied as standard according to the Help.
Is it just me or does the MT5 editor no longer scan the folder with signal modules for new modules? Even the former modules of signals based on candlestick patterns developed by Metaquotes are not connected.
For some reason, new versions of the terminal no longer contain custom versions of signal generator modules. There are 30 modules in the /MQL5/Include/Expert/Signal/ folder , but the Wizard sees only 20 modules supplied as standard according to the Help.
Is it just me or does the MT5 editor no longer scan the folder with signal modules for new modules? Even the old candlestick pattern-based signal modules developed by Metaquotes are not connected.
A new signal module must have a different module description and its type must be SignalAdvanced
The new signal module should have a different module description and its type should be SignalAdvanced
A new signal module must have a different module description and its type must be SignalAdvanced
If you replace Signal with SignalAdvanced in previously written signal modules, they still don't work. Now the functions CheckOpenShort/CheckOpenLong are not used and replaced by ShortCondition/LongCondition?
There are no parameters in these functions, so it is unclear how to set takeouts and stops.
now IS_PATTERN_USAGE() is used everywhere in the signals module, it is unclear why.
In general, we are waiting for information on how to make the signals module yourself.
and will the old wizard mode Type=Signal be available? or will all modules now be written in a new way?
Each market model is assigned a significance, measured from 1 to 100. The higher the value, the stronger the model.
MA with a weight of 0.4 and Stochastic with a weight of 0.8 - this is set in external variables, and where MA comes from - its significance is 100. Stochastic significance of this model is equal to 80. Where is the significance of each model set or how is it determined?