Lisa
Here is code for your system
************************ mach(2,4,1) > 0 = 1 *******************/
if(macd(2,4,1) > 0)
{COUNTS = COUNTS+1; }
if(macd(2,4,1) <= 0)
{COUNTS = COUNTS-1; }
/************************ sto(14,3,1) < 20 -1 *******************/
if(stochK(14, 1, 3) < 20 )
{COUNTS = COUNTS-1; }
if(stochK(14, 1, 3) > 80 )
{COUNTS = COUNTS +1; }
/************************ sto(14,3,1) < 50 -1 *******************/
if(stochK(14, 1, 3) < 50 )
{COUNTS = COUNTS-1; }
if(stochK(14, 1, 3) > 50 )
{COUNTS = COUNTS +1; }
/******************************** ********************************/
} // END NEW BAR