
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
I’m working on a function to detect untested swing highs and lows in my EA. So far, I’ve written two functions that find recent swing points by identifying highs and lows over a set number of bars:
While these functions are able to detect swing points, they don’t account for whether these levels have been retested by the price after their formation. I want to refine this logic so that it only identifies untested swing highs and lows.
Any suggestions on how to approach this or improve the detection of untested levels?