When the period of the chart is changed, the size of dynamic arrays BidBuffer[] and AskBuffer[] associated with indicator buffers is changed. After that the arrays are filled with "random" values, which differ from the values that were entered earlier; they also differ from the value 0, for which no rendering is specified. Therefore, each time before filling the arrays, you should initialise them with the value 0 (as denkir wrote):
Praveen Moragaspitiya #: Can you please let me know how we can add this to MT4? Also, can we use the moving average plots on this tick charts?
MT4 does not store historical tick data. You would have to store the tick data yourself. Search the CodeBase as there should be several MT4 versions for Tick Charts.
MT4 does not store historical tick data. You would have to store the tick data yourself. Search the CodeBase as there should be several MT4 versions for Tick Charts.
How about this?
thank you
i think it will be more effective when candle's of " tick indicator "
that refer to one candle of current time frame are integrated and/or separate from other group
Very nice. Thank you.
Could a time scale and a simple or exponential average be added to the tick candle indicator?
When the period of the chart is changed, the size of dynamic arrays BidBuffer[] and AskBuffer[] associated with indicator buffers is changed. After that the arrays are filled with "random" values, which differ from the values that were entered earlier; they also differ from the value 0, for which no rendering is specified. Therefore, each time before filling the arrays, you should initialise them with the value 0 (as denkir wrote):
I attach the corrected version of the indicator.
Thank you!
Very interesting. The tickcandels may need to be added too
Can you please let me know how we can add this to MT4?
Also, can we use the moving average plots on this tick charts?
MT4 does not store historical tick data. You would have to store the tick data yourself. Search the CodeBase as there should be several MT4 versions for Tick Charts.
MT4 does not store historical tick data. You would have to store the tick data yourself. Search the CodeBase as there should be several MT4 versions for Tick Charts.
Thank you for this Interesting article.
Using a file to buffer data was it mandatory ?
Was not it possible to buffer history data in memory, using statis array ?
Regards