Shortcut To Delete Fibonacci Levels On Chart

 

Hi there guys.


Is there any way to delete fibonacci levels right on the chart?


My way of using it is having all the ratios I usually use on the tool, then delete the ones that are not useful at that time, to remove the clutter. Thing is that it is a pain to keep going in and out of indicator settings all the time, so much waste of time for something so simple.


Is there any shortcut like holding a key and then clicking on the levels you want to delete?


Thanks

 
Bump
 

Do not bump topics.

The answer to your question is no.

You could get somebody to code an indicator to delete levels that you click on.

 
beto_gauer:

Hi there guys.


Is there any way to delete fibonacci levels right on the chart?


My way of using it is having all the ratios I usually use on the tool, then delete the ones that are not useful at that time, to remove the clutter. Thing is that it is a pain to keep going in and out of indicator settings all the time, so much waste of time for something so simple.


Is there any shortcut like holding a key and then clicking on the levels you want to delete?


Thanks


Use ObjectDelete function to be integrated with OnChartEvent and you can do it

https://www.mql5.com/en/docs/basis/function/events - read  CHARTEVENT_OBJECT_CLICK

https://www.mql5.com/en/docs/constants/chartconstants/charts_samples#chart_event_object_delete - read  CHART_EVENT_OBJECT_DELETE  deletes an object

Delete all objects of the selected type
Delete all objects of the selected type
  • www.mql5.com
Script deletes selected object types from the charts (current chart or all active charts).
 
Arpit T #:


Use ObjectDelete function to be integrated with OnChartEvent and you can do it

https://www.mql5.com/en/docs/basis/function/events - read  CHARTEVENT_OBJECT_CLICK

https://www.mql5.com/en/docs/constants/chartconstants/charts_samples#chart_event_object_delete - read  CHART_EVENT_OBJECT_DELETE  deletes an object

Why bring up a 3 year old+ topic for no good reason?

using  CHARTEVENT_OBJECT_CLICK is very vague and there would need to be a lot more than that.

CHART_EVENT_OBJECT_DELETE  deletes an object


No, it does not, it detects when an object has been deleted.
Reason: