I have got it to plot accurately but there are two problems:
a) I would like to concurrently plot an MA over the basic values
b) Something is wrong with the display sometimes. I have a sneaking suspicion it might have something to do with null/void issues (which unfortunately I don't understand yet as I am not good at Ninja coding), but usually it is fine, but then for a while it displays all bars at some sort of maximum value that has nothing to do with the accurate value and I have no idea why.
I attach code + two pictures, one with it displaying properly (the green histogram indicator in a lower panel) and one with it displaying incorrectly.
Any help with how to put together a moving average of the base plot would be much appreciated. I have copied/adapted from various examples I have found, but nothing works and I am stumped as to what I am doing wrong.
I find this indicator slightly better than the Time Histogram in that you can instantly see/compare how much it is moving in range terms per minute (per second is too fast to be all that meaningful). This helps compensate for one of the (visual) disadvantages of tick charts in that the time factor is not easily apparent.
OK, I can't upload the pic because it is 127 k and that is too large and don't know how to decrease it. (It's a very tight limitation!) But if anyone loads the indicator and displays it on a tick chart hopefully the same problem will be apparent. I will try to make a smaller picture with less memory.
Comment