```
Tactical Geometric Vector System 1
Swing Buy : sb:=Cross(Fml("Vector1.SwingTrend"),0);
Vector1.SwingTrend:=If((({R2}(Zig((((HIGH+LOW+CLOS E)/3)
-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH)
+(Abs(2*(HIGH+LOW+CLOSE)/3)-LOW)
),3,%)< Ref(Zig((((HIGH+LOW+CLOSE)/3)
-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH)
+(Abs(2*(HIGH+LOW+CLOSE)/3)-LOW)
),3,%),-1) ) AND {S2}Zig(((HIGH+LOW+CLOSE)/3-(((Abs(2*(HIGH+LOW+CLOSE)/3))-LOW)-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH))),3,%) < Ref(Zig(((HIGH+LOW+CLOSE)/3-(((Abs(2*(HIGH+LOW+CLOSE)/3))-LOW)-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH))),3,%),-1))=1),-1,1);
Cross(Fml("Vector1.SwingTrend") ,0);
Swing SEll :
sb:=Cross(0,Fml("Vector1.SwingTrend"));
Vector1.SwingTrend:=If((({R2}(Zig((((HIGH+LOW+CLOS E)/3)
-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH)
+(Abs(2*(HIGH+LOW+CLOSE)/3)-LOW)
),3,%)< Ref(Zig((((HIGH+LOW+CLOSE)/3)
-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH)
+(Abs(2*(HIGH+LOW+CLOSE)/3)-LOW)
),3,%),-1) ) AND {S2}Zig(((HIGH+LOW+CLOSE)/3-(((Abs(2*(HIGH+LOW+CLOSE)/3))-LOW)-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH))),3,%) < Ref(Zig(((HIGH+LOW+CLOSE)/3-(((Abs(2*(HIGH+LOW+CLOSE)/3))-LOW)-(Abs(2*(HIGH+LOW+CLOSE)/3)-HIGH))),3,%),-1))=1),-1,1);
Cross(0,Fml("Vector1.SwingTrend"));
Buy deviation : (Fml("tactical.vector1.SwingTrend")>0 AND Fml("tactical.vector1.Swing.R")< Ref(Fml("tactical.vector1.Swing.R"),-1)) OR
(Fml("tactical.vector1.SwingTrend")>0 AND Fml("tactical.vector1.Swing.S")< Ref(Fml("tactical.vector1.Swing.S"),-1))
Sell Deviation : (Fml("tactical.vector1.SwingTrend") Ref(Fml("tactical.vector1.Swing.R"),-1)) OR
Fml("tactical.vector1.SwingTrend") Ref(Fml("tactical.vector1.Swing.S"),-1)
Tactical Geometric VectorSystem LT
LT Buy : Cross(Fml("Tactical.Vector1.LTTrend") ,0)
LT Sell : Cross(0,Fml("Tactical.Vector1.LTTrend"))
Buy Deviation : (Fml("tactical.vector1.LTTrend")>0 AND Fml("tactical.vector1.LT.R")< Ref(Fml("tactical.vector1.LT.R"),-1)) OR
(Fml("tactical.vector1.LTTrend")>0 AND Fml("tactical.vector1.LT.S")< Ref(Fml("tactical.vector1.LT.S"),-1))
Sell deviation : (Fml("tactical.vector1.LTTrend") Ref(Fml("tactical.vector1.LT.R"),-1)) OR
Fml("tactical.vector1.LTTrend") Ref(Fml("tactical.vector1.LT.S"),-1)
```