庄家平均成本: EMA(EMA(Var1,2),N),color00ff00;
庄家底仓成本: EMA(EMA(Var1,13),M),colorblue;
无穷成本均线: DMA(CLOSE,VOL/CAPITAL),colorblue;
STICKLINE(C =O,C,O,7,0),COLORRED;
STICKLINE(C =O,C,O,4,0),COLOR7070ff{B0B0FF};
STICKLINE(C =O,C,O,2,0),COLORYELLOW;
STICKLINE(C =O,H,L,0,0),COLORYELLOW;
STICKLINE(C =O,C,O,7,0),COLORFF2020;
STICKLINE(C =O,C,O,4,0),COLORFF6600;
STICKLINE(C =O,C,O,2,0),{COLORCYAN;}colorffcc66;
STICKLINE(C =O,H,L,0,0),{COLORCYAN}colorffcc66;
Var326:=IF(CLOSE REF(CLOSE,1),88,0);
Var327:=IF(CLOSE/REF(CLOSE,1) 1.050 AND HIGH/CLOSE 1.010 AND Var326 0, 91, 0);
STICKLINE(Var327 90,L*0.99,L*0.95,4,0),COLORYELLOW;
DRAWTEXT(Var327 90,LOW*0.95,'追涨'),COLORYELLOW;红包:=IF(TROUGHBARS(3,15,1)=0 AND HIGH LOW+0.01,10,-5);
动态底部:=EMA(IF(LOW =LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LOW,1),0),30,1),0),3)*10;
PP:=红包=10 AND 动态底部
count(PP,10)