Gann Swings Part 2
In this presentation, Mathew Verdouw, CMT, CFTe, will demonstrate how he builds the quantitative model for Swing Chart analysis. He’ll run through a number of tests so that you can see how easy it is to test your own ideas.
SCRIPT FOR BREADTH
This is a condensed version of the Gann Swing Breadth script that we show in the webinar.
//Gann Swing Trend Up U1 g1 = GANNSWING(SWINGCOUNT=2, METHOD=Use Next Bar, USEINSIDE=True); e1 = SWINGEND(g1); c1 = High() CrossesAbove e1[1]; c2 = e1[2] < e1[1]; c3 = (e1[5] > e1[3]) and (e1[3] > e1[1]); c4 = c1 and c2 and c3; norepeat(c4) //Gann Swing Trend Down D1 g1 = GANNSWING(SWINGCOUNT=2, METHOD=Use Next Bar, USEINSIDE=True); e1 = SWINGEND(g1); c1 = Low() CrossesBelow e1[1]; c2 = e1[2] > e1[1]; c3 = (e1[5] < e1[3]) and (e1[3] < e1[1]); c4 = c1 and c2 and c3; norepeat(c4) //Gann Swing Trend Change U1 = SCRIPT(SCRIPTNAME=GS Trend Up) ; D1 = SCRIPT(SCRIPTNAME=GS Trend Down) ; SWITCH(U1, D1)
0 Comments