ha! - found it my self:
ObjectsDeleteAll(0,0,OBJ_ARROW_LEFT_PRICE);Hve nice days..
sigh - this simple function creats this messages:
2011.04.23 11:13:30 mySnR (EURUSD,M5) 1759664 bytes of leaked memory 2011.04.23 11:13:30 mySnR (EURUSD,M5) 27492 objects of type CChartObjectArrowLeftPrice left 2011.04.23 11:13:30 mySnR (EURUSD,M5) 2 objects of type CList left 2011.04.23 11:13:30 mySnR (EURUSD,M5) 27494 undeleted objects left 2011.04.23 11:13:30 mySnR (EURUSD,M5) 27492 leaked strings leftIs this of no importance or do I have to change s.th. or at least what does this mean?
CU gooly
gooly:
See article The Order of Object Creation and Destruction in MQL5
sigh - this simple function creats this messages:
Is this of no importance or do I have to change s.th. or at least what does this mean?You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I finally managed to run a variation of the support and resistance Indicator, where I place a price-label at the bar with either a high or a low forming a resinstance or a support:
The problem occurs when I change the time frame e.g. from 1M to 5M to 15M t 4H :(
The Label-Objects of the former chart are not destroyed, so everytime I change a hugh amount of labels is add.
To delete or destroy the labels I unsuccsessfully tried what I have found here to destroy - that's what I thought - all Label-Objects at once:
I called of this function above in DeInit() - nothing happened. I called it (see below) at the beginning of OnCalculate( .. ):
Please, how can I get id of all the label at once as soon as I change the time-frame? Where do I have to put what kind of lines?
Thanks in advance and a wonderfull Eastern to all,
gooly