- Custom Indicators
- Timeseries and Indicators Access
- Building and testing Keltner Channel trading systems
qdp qdp:
Maybe you need to read the online documents again.
OnTick is not used in indicators.
Michael Charles Schefe #:
I know this is not an indicator, but an EA。Is it possible to use SetIndexBuffer to draw lines on the chart? For instance, I want to draw trailing stop on the chart with non-EMPTY_VALUE when there is an open position , and EMPTY_VALUE with closed position?
Maybe you need to read the online documents again.
OnTick is not used in indicators.

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