
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
Hi Guys,
I have this code that gives a signal the first time a bar crosses a 20 period MA, unfortunately it does it before it crosses, ie, gives a sell signal the bar before it closes below the MA, which is obviously a bar too early. Does anyone know how to fix this problem, the code is attached.