大智慧买卖节奏主图指标公式
B1:=REF(CLOSE,1);
B2:=REF(CLOSE,3);
B3:=REF(CLOSE,5);
B4:=REF(CLOSE,7);
CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);
CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3);
stICKLINE((((((CLOSE = CMAX) AND ((B1 >= B2) OR (B1 >= B3))) OR (((B1 = CMAX) AND ((B2 = CMIN) OR (B3 = CMIN))) AND (CLOSE >= B2))) OR (((B2 = CMAX) AND (B3 = CMIN)) AND (CLOSE >= B1))) OR (((B3 = CMAX) AND (CLOSE >= B1)) AND (CLOSE >= B2))),B1,CLOSE,8,0),color999999;
STICKLINE((((((CLOSE = CMAX) AND ((B1 >= B2) OR (B1 >= B3))) OR (((B1 = CMAX) AND ((B2 = CMIN) OR (B3 = CMIN))) AND (CLOSE >= B2))) OR (((B2 = CMAX) AND (B3 = CMIN)) AND (CLOSE >= B1))) OR (((B3 = CMAX) AND (CLOSE >= B1)) AND (CLOSE >= B2))),B1,CLOSE,5,0),colorBBbbbb;
STICKLINE((((((CLOSE = CMAX) AND ((B1 >= B2) OR (B1 >= B3))) OR (((B1 = CMAX) AND ((B2 = CMIN) OR (B3 = CMIN))) AND (CLOSE >= B2))) OR (((B2 = CMAX) AND (B3 = CMIN)) AND (CLOSE >= B1))) OR (((B3 = CMAX) AND (CLOSE >= B1)) AND (CLOSE >= B2))),B1,CLOSE,8,0),colorred;
STICKLINE(((CLOSE = CMAX) AND (B1 = CMIN)),B2,CLOSE,8,0),color999999;
STICKLINE(((CLOSE = CMAX) AND (B1 = CMIN)),B2,CLOSE,5,0),colorBBbbbb;
STICKLINE(((CLOSE = CMAX) AND (B1 = CMIN)),B2,CLOSE,3,0),colorred;
STICKLINE((((((CLOSE = CMIN) AND ((B1 < B2) OR (B1 < B3))) OR (((B1 = CMIN) AND ((B2 = CMAX) OR (B3 = CMAX))) AND (CLOSE < B2))) OR (((B2 = CMIN) AND (B3 = CMAX)) AND (CLOSE < B1))) OR (((B3 = CMIN) AND (CLOSE < B1)) AND (CLOSE < B2))),B1,CLOSE,8,0),color999900;
STICKLINE((((((CLOSE = CMIN) AND ((B1 < B2) OR (B1 < B3))) OR (((B1 = CMIN) AND ((B2 = CMAX) OR (B3 = CMAX))) AND (CLOSE < B2))) OR (((B2 = CMIN) AND (B3 = CMAX)) AND (CLOSE < B1))) OR (((B3 = CMIN) AND (CLOSE < B1)) AND (CLOSE < B2))),B1,CLOSE,5,0),colorbbBB00;
STICKLINE((((((CLOSE = CMIN) AND ((B1 < B2) OR (B1 < B3))) OR (((B1 = CMIN) AND ((B2 = CMAX) OR (B3 = CMAX))) AND (CLOSE < B2))) OR (((B2 = CMIN) AND (B3 = CMAX)) AND (CLOSE < B1))) OR (((B3 = CMIN) AND (CLOSE < B1)) AND (CLOSE < B2))),B1,CLOSE,3,0),colorffFF00;
STICKLINE(((B1 = CMAX) AND (CLOSE = CMIN)),B2,CLOSE,8,0),color999900;
STICKLINE(((B1 = CMAX) AND (CLOSE = CMIN)),B2,CLOSE,5,0),colorbbBB00;
STICKLINE(((B1 = CMAX) AND (CLOSE = CMIN)),B2,CLOSE,3,0),colorffFF00;
STICKLINE((((B1 = CMIN) AND (CLOSE >= B2)) OR (((((B2 = CMIN) AND (B1 <= B3)) OR ((B3 = CMIN) AND (B1 <= B2))) AND (B2 < B4)) AND (CLOSE >= B1))),B1,B2,8,0),colorFF9900;
{www.zhibiaow.com 指标网_大智慧股票指标公式}
STICKLINE((((B1 = CMIN) AND (CLOSE >= B2)) OR (((((B2 = CMIN) AND (B1 <= B3)) OR ((B3 = CMIN) AND (B1 <= B2))) AND (B2 < B4)) AND (CLOSE >= B1))),B1,B2,5,0),colorFFBB00;
STICKLINE((((B1 = CMIN) AND (CLOSE >= B2)) OR (((((B2 = CMIN) AND (B1 <= B3)) OR ((B3 = CMIN) AND (B1 <= B2))) AND (B2 < B4)) AND (CLOSE >= B1))),B1,B2,3,0),colorred;
STICKLINE((((B1 = CMAX) AND (CLOSE < B2)) OR (((((B2 = CMAX) AND (B1 > B3)) OR ((B3 = CMAX) AND (B1 > B2))) AND (B2 >= B4)) AND (CLOSE < B1))),B1,B2,8,0),color999999;
STICKLINE((((B1 = CMAX) AND (CLOSE < B2)) OR (((((B2 = CMAX) AND (B1 > B3)) OR ((B3 = CMAX) AND (B1 > B2))) AND (B2 >= B4)) AND (CLOSE < B1))),B1,B2,5,0),colorBBbbbb;
STICKLINE((((B1 = CMAX) AND (CLOSE < B2)) OR (((((B2 = CMAX) AND (B1 > B3)) OR ((B3 = CMAX) AND (B1 > B2))) AND (B2 >= B4)) AND (CLOSE < B1))),B1,B2,3,0),colorred;
bbi:((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4),LINETHICK2;
UPR:(BBI + (3 * STD(BBI,15))),colorred;
DWN:(BBI - (3 * STD(BBI,15)));