Anyone help, please...
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,
I need help to fix my code. My intention is to identify trend with alert or some object text based on Moving Averages for several bars (TrendMinDurationBars). Here is the idea:
Here's the picture:
And here's is my code:
The code for showing Trend Down not yet written due to main problem still exist, which is, I cannot show correct alert or text "Trend Up" when the algorithm sequence is true, instead it's showing "Trend Up bias", and vice versa, when the algorithm sequence should be "bias", instead it shows "Trend Up good".
Can anyone help me to fix the code, please?