Reply To: swing pattern script

Optuma Forums Optuma Scripting swing pattern script Reply To: swing pattern script

#38311
Darren
Darren
  • Topics: 24
  • Replies: 98
  • Posts: 122

Hi Tim,

Did you see Mathew’s webinar on Gann Swing scripting? If not you can watch it here – hope you find it useful:

Here’s the script he used for the upswing taking out the previous high:

// get the swings
g1 = GANNSWING(SWINGCOUNT=2, METHOD=Use Next Bar, USEINSIDE=True);
// get the ends of the swings
e1 = SWINGEND(g1);
// Calculate the up condition
(High() > e1[1]) and (e1[1] > e1[2])

Pin It on Pinterest

Share This

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close