InvestorsHub Logo

TREND1

11/03/11 4:06 PM

#90 RE: LisaAu #89

Lisa
SORRY
I deleted your YELLOW by mistake.
And one can not put them back.
If they over 48 hours old.

TREND1

11/06/11 7:38 PM

#92 RE: LisaAu #89

Lisa
Last chart called BS_COUNTS has 7 charts with in it.

TREND1

11/06/11 7:40 PM

#93 RE: LisaAu #89

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

TREND1

11/06/11 7:41 PM

#94 RE: LisaAu #89

Lisa
Do you have any thing to add to 7 charts ?
May be I can program !