I am a complete beginner at Ninjascript so I really appreciate your help. What I'm trying to do is create my own little indicator that uses the disaggregated COT reports (exactly: the producers, user & merchants net positions and the open interest). I would like to put these two values in relation to each other and apply my own stochastic indicator to them. The value for the stochastic should be selectable by the user. I assumed that I can create 2 instances of COT within my indicator, whose properties I then have access to. But it doesn't seem that simple - I'm stuck here. Can someone help me to get the corresponding values in the form of a numerical array so that I can use them to perform calculations and display them in a plot.
I suspect this is a comparatively easy process, but I just can't do it on my own.
Many thanks for your help!
Stephan
Comment