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.
// 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 and down conditions
up = (High() > e1) and (e1 > e1);
dn = (LOW() < e1) and (e1 < e1); // use the switch function to determine when the trend is up. Switch(up, dn)