Please forgive my ignorance and the many gaps in my understanding. I've only programmed a few things in Ninjascript, and I don't really know how to get values from indicators.
I can see that to get a value from EMA you can do something simple like this:
double value = EMA(20)[0];
Print("The current EMA value is " + value.ToString());
But what about a more complicated third-party indicator that has multiple values? I'm specifically wanting to get values from fin-alg's TPO and Volume Profile Chart (v4). How would I put the VAH and VAL, etc., into variables so that I can use them in a script?
I did get a response from fin-alg that said "Market Profile Lines will support this"...
fin-alg has multiple products, which is confusing, and I guess TPO and Volume Profile Chart doesn't allow you to grab the values in a script, but Market Profile Lines will.
I haven't tried it yet, but just posting here in case someone else has the same question.
Of course Gomi's solution is free... yet it seems to require a bit of work to setup (at least for me).
Site Administrator Swing Trader Data Scientist & DevOps
Manta, Ecuador
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
Posts: 49,753 since Jun 2009
Thanks: 32,299 given,
97,507
received
I am not sure if you looked at the thread or not, but the product I asked Gomi to create for this purpose is streamlined. It doesn't require anything special really. It has been several years, but I am pretty sure at least...