Hazzabo:
I am working with an EA, using Smoothed Fisher Transform of RSI, developed by Vervoort.
In the calculation I have met a problem, which I maybe has looked into so long that I am completely blinded. In the calculation of Rainbow Indicator (as part of the Fisher Transform), the following problem arised:
...........
for (i = limit; i >= 0; i--)
{
rainbow[i] = (5 * wma0[i] + 4 * wma1[i] + 3 * wma2[i] + 2 * wma3[i] + wma4[i] + wma5[i] + wma6[i] + wma7[i] + wma8[i] + wma9[i]) / 20;
}
Please edit your post . . .
Your array, rainbow, has a size of 0 elements . . .
double ema0[], ema1[], rainbow[]
RaptorUK:
Thanx a lot...
Please edit your post . . .
Your array, rainbow, has a size of 0 elements . . .

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 am working with an EA, using Smoothed Fisher Transform of RSI, developed by Vervoort.
In the calculation I have met a problem, which I maybe has looked into so long that I am completely blinded. In the calculation of Rainbow Indicator (as part of the Fisher Transform), the following problem arised:
...........
for (i = limit; i >= 0; i--)
{
rainbow[i] = (5 * wma0[i] + 4 * wma1[i] + 3 * wma2[i] + 2 * wma3[i] + wma4[i] + wma5[i] + wma6[i] + wma7[i] + wma8[i] + wma9[i]) / 20;
}
..........
Gives rainbow[i]=0.
Why is rainbow[i] = 0, - when all the wma's [i] has a value ????
See my complete EA attached
Best regards Hazzabo