Lisa
Here is code for 7 charts
if(getBarState() == BARSTATE_NEWBAR){ // START NEW BAR
i=i+1; COUNTS=0;
/************* REB BARS = -1 BLUE bar = +1 GREEN BAR = 2 ********************/
if(i>1 && macd(1,13,1) > 0 && macdHist(12,26,9,0) > macdHist(12,26,9,-1))
{setPriceBarColor(Color.lime); COUNTS = COUNTS+2; }
if(i>1 && macd(1,13,1) > 0 && macdHist(12,26,9,0) < macdHist(12,26,9,-1))
{setPriceBarColor(Color.blue); COUNTS = COUNTS+1; }
if(i>1 && macd(1,13,1) < 0 && macdHist(12,26,9,0) > macdHist(12,26,9,-1))
{setPriceBarColor(Color.blue); COUNTS = COUNTS+1; }
if(i>1 && macd(1,13,1) < 0 && macdHist(12,26,9,0) < macdHist(12,26,9,-1))
{setPriceBarColor(Color.red); COUNTS = COUNTS-1; }
/*********************** macd(1,13,1) > 0 = 1 ***********************/
if(macd(1,13,1) > 0)
{COUNTS = COUNTS+1; }
if(macd(1,13,1) <= 0)
{COUNTS = COUNTS-1; }
/*********************** slope ema(13) UP = 1 ***********************/
if(ema(13) > ema(13,-1))
{COUNTS = COUNTS+1; }
if(ema(13) < ema(13,-1))
{COUNTS = COUNTS-1; }
/************************ 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; }
/******************************** cci(1) < -100 = -1 AND CCI(1) > 100 = +1 *****************/
if(cci(10) < -100 )
{COUNTS = COUNTS-2; }
if(cci(10) > 100 )
{COUNTS = COUNTS +2; }
/******************************** ********************************/
} // END NEW BAR