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
Now i have problem with iMA.
LongH1 is defined, it's in a loop.
However, it works for n = 263, but then (like n = 950) it returns 0 .. I have no idea why ?
Higrgr,
Write it like this ;
If there are 1000 Bars and MA period is 50, then the iMA will return value until bar 950. if there are 777 Bars and MA period is 17 then iMA will return value until bar 760.
:D