Optuma Forums › Optuma Scripting › Finding Potential Breakouts › Reply To: Finding Potential Breakouts
July 5, 2019 at 5:12 pm
#53943
- Topics: 2
- Replies: 3
- Posts: 5
Hi Jonathan,
You can try using something similar to this script to scan for close within 20% (or 10%) of 52 weeks high and then place a limit order where price is higher than previous resistance.
//Close within 20% of 52 Week Highs
CLOSE() >= (HIGHESTHIGH(RANGE=LOOK BACK PERIOD,BARS=260)*0.80)
and CLOSE() > 5;