Reply To: Finding Potential Breakouts

Optuma Forums Optuma Scripting Finding Potential Breakouts Reply To: Finding Potential Breakouts

#53959
Jonathan
  • Topics: 40
  • Replies: 62
  • Posts: 102

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;

How do we get this script using the pivot tool?

Pin It on Pinterest