AI:=AMOUNT/VOL/100;
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*VOL/CAPITAL;
抄底:IF((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,10, 0),COLOR00FF00;
STICKLINE(抄底,0,30,4,0),COLOR00FF00;
浮筹筹码:(WINNER(C*1.1)-WINNER(C*0.9))*100,COLORYELLOW;
获利筹码:WINNER(C)*100,COLORRED;
VARQS1:=100*VOL/CAPITAL;
VARQS2:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1));
红宝石解套不卖:VARQS1<3 AND VARQS2>20,NODRAW,COLORWHITE;
DRAWICON(红宝石解套不卖,-10,25);
穿透率:=VARQS2/VARQS1;
STICKLINE(穿透率>10,20,0,2,1),COLORRED;
STICKLINE(穿透率>20,20,0,2,0),COLORRED;
STICKLINE(浮筹筹码<获利筹码,获利筹码,浮筹筹码,0,0),COLORMAGENTA;
STICKLINE(浮筹筹码>获利筹码,获利筹码,浮筹筹码,0,0),COLORLICYAN;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
AA:=OBV=HHV(OBV,0) AND BARSCOUNT(C)>=0;
IF(AA,15,0),COLORWHITE;
蓝宝石黄金底:浮筹筹码<10 AND 获利筹码<5,NODRAW,COLORCYAN;
红十字钻石底:浮筹筹码<5 AND 获利筹码<5,NODRAW,COLORMAGENTA;
DRAWICON(浮筹筹码<10 AND 获利筹码<5,-10,24);
DRAWICON(浮筹筹码<5 AND 获利筹码<5,-10,23);
DRAWICON(获利筹码>99,120,15);
0,COLORWHITE;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
黑码起爆:=CROSS(AAA-REF(AAA,1),15);
DRAWICON(黑码起爆,-15,17);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,'黑码起爆吃橘子'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,'白色凸起能量大'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,'空红柱穿透10'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.6,0,0,'红实柱穿透20'),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.8,0,0,'获利99就走人'),COLORYELLOW;
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
GG:=100*(1-WINNER(C))>99.8 AND V/CAPITAL*100<5 AND 100*(WINNER(1.1*C)-WINNER(0.9*C))<3.9;
最佳建仓点:=C>REF(C,1) AND REF(GG,1)>0 AND VAR3,COLORRED;
STICKLINE(C>REF(C,1) AND REF(GG,1)>0 AND VAR3,0,80,2,0),COLORRED;
DRAWTEXT(C>REF(C,1) AND REF(GG,1)>0 AND VAR3 AND COUNT(最佳建仓点,10)<=1,85,'★最佳建仓点★'),COLORRED;