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
The idea of the indicator is to make a best fit line over a variable called backwards amount of ticks. Then, the best fit line is projected forward a variable called forward number of ticks. The value that is projected forward ticks ahead is then assigned as the current value of the indicator.
My problem is that I get a constant value of 6.324020 for the indicator's value and it looks like a horizontal line.
Does anyone know or have any ideas about my problem's solution?
Here's my code: