stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Help button for insert/remove indicator
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4914
Page 1 of 1
Author:  fiox [ Sun Sep 25, 2016 12:41 pm ]
Post subject:  Help button for insert/remove indicator

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:
All times are UTC Page 1 of 1