This way, just as with indicators, the user community could supply any bar type imaginable. What a huge differentiator that would be!
I won't go into a suggested implementation because I don't know what would be smoothest for ninja, but the basic idea is that you'd have a new study type (beyond the current Indicator/Strategy) which would be notified of incoming ticks, and then tell ninja by some mechanism what the ohlc and volume should be, and presumably when to start a new bar. The current supported bar types ideally would then be converted to this method, so that users can see examples of how new types can be created.
I hope this makes sense... once I cobbled together a hack indicator that you apply to a normal chart tick-by-tick... and then it outputs ASCII flat-files of OHLC data which I can then re-import into the platform and view the charts after-the-fact. I was able to easily make all kinds of strange hybrid chart types (like volume charts that only counted volume from block trades, or range-bar charts that also have a maximum time per bar). The possibilities are truly endless and I believe that a platform that fully supported this kind of experimentation would be really amazing.
I realize that many weird bar-types can be simulated via plots on top of existing bars, but the advantage of making the bar types native would be that you can apply all the existing indicators to them. That's a huge difference.
Anyway, I thought I'd at least suggest it. I am the main EOTPro.com developer and we have recently expanded our offerings to ninja. I liked the platform so much I just purchased a llfetime license and it is now my primary trading platform. It is also the main platform we show off in our live room. You really have an excellent product.
Comment