AA:=CLOSE > REF(CLOSE, 1) AND REF(CLOSE, 1) > REF(CLOSE, 2) AND REF(CLOSE, 1) < REF(CLOSE, 3) AND IF(REF(CLOSE, 3) < REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) < REF(CLOSE, 5),REF(CLOSE, 1) < REF(CLOSE, 4) OR( REF(CLOSE, 2) < REF(CLOSE, 4) AND REF(CLOSE, 3) >= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) < REF(CLOSE, 6), 1,REF(CLOSE, 6) < REF(CLOSE, 7))));
BB:=CLOSE < REF(CLOSE, 1) AND REF(CLOSE, 1) < REF(CLOSE, 2) AND REF(CLOSE, 1) > REF(CLOSE, 3) AND IF(REF(CLOSE, 3) > REF(CLOSE, 4), 1, IF(REF(CLOSE, 4) > REF(CLOSE, 5),REF(CLOSE, 1) > REF(CLOSE, 4) OR( REF(CLOSE, 2) > REF(CLOSE, 4) AND REF(CLOSE, 3) <= REF(CLOSE, 5) ),IF(REF(CLOSE, 5) > REF(CLOSE, 6), 1,REF(CLOSE, 6) > REF(CLOSE, 7))));
送酒:AA AND CLOSE>REF(OPEN,2);
{ _通达信股票指标公式}
STICKLINE(送酒>0,93,80,30,0),COLOR008899;
STICKLINE(送酒>0,93,80,26,0),COLOR1199AA;
STICKLINE(送酒>0,93,80,22,0),COLOR22AABB;
STICKLINE(送酒>0,93,80,18,0),COLOR33BBCC;
STICKLINE(送酒>0,93,80,14,0),COLOR44CCDD;
STICKLINE(送酒>0,93,80,10,0),COLOR55ddeE;
STICKLINE(送酒>0,93,80,6,0),COLOR66EEEE;
STICKLINE(送酒>0,93,80,2,0),COLOR77FFEE;
STICKLINE(送酒>0,100,93,40,0),COLOR008899;
STICKLINE(送酒>0,100,93,35,0),COLOR1199AA;
STICKLINE(送酒>0,100,93,30,0),COLOR22AABB;
STICKLINE(送酒>0,100,93,25,0),COLOR33BBCC;
STICKLINE(送酒>0,100,93,20,0),COLOR44CCDD;
STICKLINE(送酒>0,100,93,15,0),COLOR55DDEE;
STICKLINE(送酒>0,100,93,10,0),COLOR66EEEE;
STICKLINE(送酒>0,100,93,5,0),COLOR77FFEE;
STICKLINE(送酒>0,80,0,80,0),COLOR008899;
STICKLINE(送酒>0,80,0,70,0),COLOR1199AA;
STICKLINE(送酒>0,80,0,60,0),COLOR22AABB;
STICKLINE(送酒>0,80,0,50,0),COLOR33BBCC;
STICKLINE(送酒>0,80,0,40,0),COLOR44CCDD;
STICKLINE(送酒>0,80,0,30,0),COLOR55DDEE;
STICKLINE(送酒>0,80,0,20,0),COLOR66EEEE;
STICKLINE(送酒>0,80,0,10,0),COLOR77FFEE;
STICKLINE(送酒>0,23,13,60,1),COLORMAGENTA;
STICKLINE(送酒>0,72,35,60,1),COLORMAGENTA;
DRAWTEXT(送酒,60,'特酿'),COLORRED;
DRAWTEXT(送酒,20,'20012'),COLORRED;