Help button for insert/remove indicator

Post Reply
User avatar
fiox
Trader
Posts: 151
Joined: Wed Feb 18, 2015 6:16 pm
Location: Italy

Help button for insert/remove indicator

Post by fiox »

Hi guys, I'm not a coder, but I try to do my best. I'm trying to create a simple button to insert and remove an indicator from my charts (Blubb for example). I want not only to hide the indicator, but remove it from the chart.

I took the code for the button from the forum (thanks Steve and other coders :hi: ) and I made some easy changes. I added just the line with iCustom and ChartIndicatorDelete, but now I have a problem that I can't figure out how to resolve :arrrg:

iCustom insert the indi in the right way, but the the indi called does not figure in the list of indicators, so ChartIndicatorDelete does not work properly. I think this is the problem because if I add manually the indi, the ChartIndicatorDelete work fine.

the code will certainly have errors (horrors) I apologize for that

any help is appreciated :hi:
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”