Vetrivel systems by Gomu Vetrivel
As described in the article November 2005 issue of Technical Analysis of STOCKS & COMMODITIES magazine.
Base System
var:x(0);
x=absvalue(c-c[1]);
if c>average(c,10) and c[1]<average(c,10)[1] then buy at c;
if c<average(c,10) and c[1]>average(c,10)[1] then sell at c;
Hypothesis 1
x=absvalue(c-c[1]);
if x>x[1] and c>average(c,10) and c[1]<average(c,10)[1] then buy at c;
if x>x[1] and c<average(c,10) and c[1]>average(c,10)[1] then sell at c;
Hypothesis 2
x=absvalue(c-c[1]);
if x<x[1] and c>average(c,10) and c[1]<average(c,10)[1] then buy at c;
if x<x[1] and c<average(c,10) and c[1]>average(c,10)[1] then sell at c;
Exit (all three systems)
if marketposition=-1 and c>average(c,5) then exitshort at c;
if marketposition=1 and c<average(c,5) then exitlong at c;
The Strategy was revised and updated on January 21, 2019.