
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
don't call it onTick(), you only want it to do something when you change timeframes so deinit() is the right place for you.
you would use something like this:
edit: removed the check for REASON_CHARTCHANGE
Great indicator, it's really useful. I'm not a programmer and have been trying to modify it so it only works on HLines. Unfortunately at the moment if a rectangle is drawn then it only shows on the current TF. I'd be greatful if someone who knows what theyre doing could modifly the above to apply only to HLines so that Tlines and Rectangles etc are unaffected and show on all time frames. Many thanks.
Great indicator, it's really useful. I'm not a programmer and have been trying to modify it so it only works on HLines. Unfortunately at the moment if a rectangle is drawn then it only shows on the current TF. I'd be greatful if someone who knows what theyre doing could modifly the above to apply only to HLines so that Tlines and Rectangles etc are unaffected and show on all time frames. Many thanks.