Delete my created Object

 
Hi guys, I need to delete my created object when the Ask==price1, How I can do it? Tanks for every help
 
80613536:
Hi guys, I need to delete my created object when the Ask==price1, How I can do it? Tanks for every help

https://www.mql5.com/en/docs/objects

Documentation on MQL5: Object Functions
Documentation on MQL5: Object Functions
  • www.mql5.com
The functions defining the properties of graphical objects, as well as ObjectCreate() and ObjectMove() operations for creating and moving objects along the chart are actually used for sending commands to the chart. If these functions are executed successfully, the command is included in the common queue of the chart events. Visual changes in...
 
  1. Doubles are rarely equal. Understand the links in:
              The == operand. - MQL4 programming forum

  2. Don't double post! You already had another thread open about deleting objects.
              General rules and best pratices of the Forum. - General - MQL5 programming forum