Good code! I tested it and it works find as it is. I'll see if I get some time to tinker with the algorithm to make it run a little faster.
Keep the good work.
Good code! I tested it and it works find as it is. I'll see if I get some time to tinker with the algorithm to make it run a little faster.
Keep the good work.
Thanx!
It's not perfect. In some backtesting, I noticed that in rare cases it can give you a support line that's ABOVE the resistance line. It mostly happens during volatile periods and fairly rare, but just thought that I'd point it out.
Thanx!
It's not perfect. In some backtesting, I noticed that in rare cases it can give you a support line that's ABOVE the resistance line. It mostly happens during volatile periods and fairly rare, but just thought that I'd point it out.
Noted. Thanx for pointing that out.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Plus, I think you guys will be able to improve on it. This attempts to find prices that have exhibited resistance to a particular currency over the past X periods. I'm basically doing it by creating an array of all the prices and then scrolling back through the same array and finding prices within a total band of 4 pips. The price with the greatest number of "commons" is determined to be the resistance point. It's not the greatest, but I do consider it to be a clever piece of code
But of course, I'm sure someone here will be able to improve on it or we can improve it collectively.