钱龙旗舰版宝塔线(TOWER)指标的源代码
宝塔线TOWER——指标源码
B0:=REF(c-0,2);B1:=REF(c,1);B2:=REF(c,2);B3:=REF(c,3);B4:=REF(c,4);
CMAX:=MAX(MAX(MAX(c,B1),B2),B3);CMIN:=MIN(MIN(MIN(c,B1),B2),B3);
STICKLINE(c=CMAX AND (B1>=B2 OR B1>=B3) OR B1=CMAX AND (B2=CMIN OR B3=CMIN) AND c>=B2 OR
B2=CMAX AND B3=CMIN AND c>=B1 OR B3=CMAX AND c>=B1 AND c>=B2,B1,c,5,1),COLORRED ;
STICKLINE(c=CMAX AND B1=CMIN,B2,c,5,1),COLORRED;
STICKLINE(c=CMIN AND (B1
B2=CMIN AND B3=CMAX AND c
STICKLINE(B1=CMAX AND c=CMIN,B2,c,5,0),colorgreen;
STICKLINE(B1=CMIN AND c>=B2 OR (B2=CMIN AND B1<=B3 OR
B3=CMIN AND B1<=B2) AND B2=B1,B1,B2,5,0),COLORGREEN;
STICKLINE(B1=CMAX AND cB3 OR
B3=CMAX AND B1>B2) AND B2>=B4 AND c