Please EDIT your post and use the SRC button when you post code. Thanks.
will do !
Thank you for your advice Mr. angevoyageur
yoshi1988:
will do !
Thank you for your advice Mr. angevoyageur
As it seems so difficult to edit your post, I do it for you this time.
You have to add this line in your loop:
Sum=0.0; Sum2=0.0;
angevoyageur:
As it seems so difficult to edit your post, I do it for you this time.
You have to add this line in your loop:
Mr Angevoyageur
I am very sorry creating double threads.
I will be cautious from now on.
And THank you very much your advice. I totally understood.

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 have started learning Metatrader 5 and still progressing.
I have written my first indicator of plotting two SMA lines.
1.Red Line Period: 13
2.Yellow Line Period: 25
What I have received is indicated in posted photo, successful red line and unexpected Slanted yellow line.
I am supposed to be getting two SMA lines.
Would some one please give me advice?
Thank you very much
Yoshi