I have never found a way to do this; does anyone know if there is a method.
For example, calling one can put an RSI on a chart, then an moving average of that RSI. In code, how do I get the value of that MA on the RSI?
The problem here is that was just an example. I am not using moving average as one of the two indicators.
I am using a custom ind (QQE) and then an RSI of that ind, and then a moving average of the RSI.
So I suppose if I can learn how to get the RSI of the QQE, then I already know how to do the MA....
Then get the values of the indicator with iCustom and save in a buffer or array
Get the RSI with iRSIOnArray
and the MA with iMAOnArray
Ok, thank you. I didn't know / had forgotten there was an RSIOnArray.
Generally though, is there no way to do it with 2 inds that do not have ...OnArray functions?
Thank you for the aid. One more thing if you can help please; ArraySetAsSeries has always been a bit confusing to me, and although I have searched for samples, I haven't found one to really clear it up...
Consider the issue above. In order to get my arrays filled correctly, do I need to do this:
// Fill QQE Buffer
for (int i=limit; i > 0; i--)
BufferQQE[i] = iCustom(NULL, 0, "QQE Adv", QQE_SF, QQE_RSI, QQE_WP, 0, i);
// Fill RSI Buffer
BufferRSI[i] = iRSIOnArray(BufferQQE, 0, RSI_Period, i);
// Fill MA Buffer
BufferMA[i] = iMAOnArray(BufferRSI, 0, MA_Period, MA_Shift, MA_Method, i);
For some reason I do not think I have the hang of this quite right, so clarification appreciated.
When all done, I would like the arrays all correct and in standard right-to-left indexing.
I don't see why you would need to change the series on a buffer.
Buffers are automatically re-sized to the number of bars and when a new bar is formed there is a new position . The old pos is shifted to pos etc.
By using ArraySetAsSeries(BufferRSI, false), on the next new bar tick, the new position will be added at the other end, at pos[Bars-1] and the loop will be overwriting the same positions every time ( [limit] to  ) because you reset the buffer to TimeSeries