GumRai: It is a good practice to give variables and buffers names that help you to recognise what values they hold, especially when asking others to check your code. It will also help you when looking at your own code when you haven't worked on it for a while. | void ci(int cb) void cs(int i) void cd(int k)
|

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
Recently I was developing a simple custom indicator that detects divergences based on Stochastic Oscillator. I wanted to test one divergence condition. The indicator inserted the first arrow, but the second one (given that there was a clearly VISIBLE divergence) doesn't get drawn.
If you test the code it will be more understandable, my main problem is that no errors are reported, but the for loop backwards doesnt seem to work.
I'd appreciate your suggestions! Thank you!