- Topics: 31
- Replies: 47
- Posts: 78
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;
How do we get this script using the pivot tool?