Problem adding Custom indicator
-
hello
I want to add this indicator
But no matter what I do, it doesn't add
I enter the buffers and variables, but the indicator is added, but it does not work and it is not added to the chart, where is the problem?Please explain step by step if possible
thank youThese variables

This buffer

This source, I just want the indicator to be placed on the chart by running the robot


Where is the problem?
Please advise -
Where is the problem?
Please advise -
It was fixed, but in test mode, the indicator is on the chart, but when I place the bot on the live chart, the indicator is not on the chart.
Where is the problem?
Please advis -
Save a template with all your settings and indicators named the identical name of your EA, on backtest this will automatically load, on a live chart you will need to right click and add.
-
Super trend indicator is terrible! It repaints like mad. If you use it, your bot is doomed. I strongly recommend using a completely different indicator.
-
@l-andorrà Does this mean that the robot may have problems in the live market?
-
@jstap Thanks
-
@jstap If I want, when the robot is placed on the chart, if the desired indicator is not placed on the chart, then the robot will be terminated for any reason.
How should I do this? What block should I use? how -
@mohsen-2
Have you trying use ChartIndicatorName() -
@sktsec no
thanks
How can I use?
If possible, give an example -
Please help Me
-
@mohsen-2
Use ChartIndicatorsTotal() to get the total number of indicators, then set the loops. Loop to check for every indicator's names -
I do not know programming
If it is possible
Give me the complete code -
@sktsec I do not know programming
If it is possible
Give me the complete code -
A loop block and condition block(s) are what you need
-
@sktsec The foreach block is only available for position and order
-
@mohsen-2
There is also a block for general looping -
@mohsen-2 Exactly. No bot will be profitable on a real market if the custom indicator repaints as badly as super trend does.
-
@l-andorrà
My experience was the same. A lot of time had been wasted on the repaint indicators.In particular, those without source code and you can't see straightly how to set up the inputs and buffers in EA
Most of them looks promising, but that are illusions
-
@sktsec Agreed. And supertrend is one of the worst of them.