You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I need help.
In my indicator I would like to store a value into both an indicator buffer and an array.
Somehow I am unable to get expected results from setting an array as "ArraySetAsSeries". May be my assumption is wrong.
Should I be able to do the following?
double IndicatorBuffer[] string ArrayBuffer[100] ArraySetAsSeries(ArrayBuffer, true); ------------------------- int start() { i=0; //current bar // compute values for indicator buffers for each current bar. IndicatorBuffer[i] = Close[i]; ArrayBuffer[i] ="OK"; }The question is: Should the ArrayBuffer sift left as is the IndicatorBuffer?.. or should I write some routine to do that.
-Stan