I come to present an indicator to you which I created and who could be useful to some people here. If you are interested, I would be happy to share it.
You can see it attached below.
Let me know what you think about it and i will be back with the code and instructions.
For the moment, the code is very "heavy" (I am not a pro-coder) but all the calculation are OK.
I have make an EA based on this indicator and it seems to be profitable.
A good idea should be to start a thread and comments the indic for make it perfect.
Thanks for your comments.
Forum on trading, automated trading systems and testing trading strategies
How to Start with Metatrader 5
Sergey Golubev, 2022.04.13 07:24
Multiple indicators on one chart (Part 01): Understanding the concepts
Many traders feel more confident if they monitor multiple indicators at a time (for example, RSI, STOCASTIC, MACD, ADX and some others), or in some cases even at different assets which an index is made of. In the latter case, I refer to mini-indexes WIN and full indexes IND, but these may also include other index types. So, when trading WIN or IND, it may be interesting to observe some of the assets, such as VALE, PETROBRAS, ITAU, BRADESCO and others, which have greater weights in the index.
Have you done or made a file with clean code for 1st part of this Indicator?
I wish I had found this sooner.
I am attaching a very cleaned up version of one of the indicators, I think I started with 2_v1.1. It makes the code very readable and much easier to change. The code is now down to 651 lines from the original 1435 lines. There are other changes that will help as well such as x and y locations of text defined outside of the functions. That would make it easy to change font size and update the x and y positions based on that.
The same can be done with the other versions but it does take time.
It should help other coders wanting to place labels on charts who study my methods.
Robert Hill aka MrPip
Multiple indicators on one chart (Part 02): First experiments
Multiple indicators on one chart (Part 03): Developing definitions for users
In the previous article within the Multiple indicators on one chart we considered the basic code which allows using more than one indicator in a chart subwindow. But what was presented was just the starting base of a much larger system. A few different things can be done based on this model. But we should go step by step because one of the goals of these articles is to encourage you to learn how to program so that you can design your own systems based on your ideas. In this article, we will be expanding the functionality. It may be interesting to those who already liked what the system can do but would like to be able to do more.
We already have our custom indicator working, that is, our object class is already functioning, and since this is an object class, we can easily transfer it to other models. However, simply declaring and trying to use the class in our EA won't make things work the same as in our custom indicator, and the reason is that we don't have subwindow capability in our EA. But then the idea came: "What if we use an already compiled and working custom indicator and call it from the EA using the iCustom command?
Multiple indicators on one chart (Part 05): Turning MetaTrader 5 into a RAD system (I)
There are a lot of people who do not know how to program but they are quite creative and have great ideas. However, the lack of programming knowledge prevents them from implementing these ideas. Today we will create our own Chart Trade interface to send market orders or to set up parameters used in pending orders. We will do this without programming, just using the functions that will be inside the Expert Advisor. We are curious, so let's see how it will look on our monitors.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.