Anybody know how to code delete all object arrows for the last month but keep all arrows for the current month.
- How to code an average total holding days of a trade
- MQ4-How to know buffer signal on the chart which the indicator is attached?
- Delete objects on chart
1. Remember in a variable the start date of current month, for ex.: datetime month_current = D'2010.10.01 00:00';
2. Loop through all objects on the chart.
3. If it is an arrow and its time is less than month_current, delete it.
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