[Feature]: add 3rd party custom indicator signals to decision matrix for entry/exit
Hi,
one thing I miss is the possibility to add custom indicator signals to the entry/exit decision matrix.
Conceptually, one could at 1-n slots for custom indicators - the user has to provide following components via settings:
- File path to indicator file (i.e. relative to MQL<4|5>\Indicators)
- path to a settings file for the custom indicator - this .set file is read in and its key/value pairs are parsed, so the custom indicator call (iCustom) can be done using these settings
- 2 or 3 formula fields for evaluating green/red condition to add to the decision matrix (like green: $buffer0 > 0.75, red: $buffer0 < 0.2 or combined formulas like green: $buffer0 > 0.75, $buffer1 != EMPTY_VALUE) - these comma-separated formulas can then be evaluated inside the EA to come to a conclusion about the custom indicator values' contribution to the overal entry/exit decision of the EA
Feel free to add critics/further ideas/conceptual enhancements etc. - we can also have a telegram (https://t.me/frankg74)
Greetings from Munich/Odesa,
Frank
Dear communtiy!
I've made this feature even more flexible and powerful:
Please, test it with your indicators and let me know what we can improve further.
Attached set contains example strategy with MACD <> 0 as a filter, and Stoch cross 80/20 as an entry signal.
Make sure you saved iMACD.ex5 from the google drive to your "MQL5\Indicators\" folder, and "MQL5\Indicators\Examples\Stochastic.ex5" is also present.
Share your indicators and set-files to help others! And I'll work on documentation to help you understand new parameters ;)
CommunityPower_2.49.2.2.ex5
CommunityPower_2.49.2.2_Custom_MACD_Stoch.set
Hey Andrey I´m Testing out this new feature, but I´m having a hard time understanding 1;-1;0 etc. I red the manual but didnt understand it. I´m sorry. Maybe you can explain it on the indicator i´m trying to use.
Santa Trend.set
Santa Trend.ex5
I want it to buy everytime there is green dot for buy or sell dot for sell. I tried it to figure out by using Ulises .set but couldnt. Thank you for your great work and time you putting in this ea.