CJL:=IF(DYNAINFO(10)>100000000,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)>10,''),STRCAT(CON2STR(DYNAINFO(10)/10000000,0),''));
DRAWTEXT_FIX(01,0.20,0.10.0,0,CJL),COLOR0099FF;
DRAWGBK(CJL, RGB(50,60,250),RGB(17,21,89),0,'11',0);
量价突破1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;
量价突破2:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;
龙年牛妖1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);
龙年牛妖2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);
龙年牛妖3:=龙年牛妖1-龙年牛妖2;
龙年牛妖4:=100-龙年牛妖3;
龙年牛妖5:=(0-(EMA(龙年牛妖4,1)-50))+50;龙年牛妖6:=(0-(EMA(龙年牛妖4,12)-50))+50;
量价突破3:=V/CAPITAL*(C+O+L+H)/4;量价突破4:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));
量价突破5:=IF(量价突破4>0,量价突破3,0-量价突破3);
量价突破6:=H-MAX(C,O)-(MIN(C,O)-L);
量价突破7:=(量价突破5+量价突破6)/2+C-REF(C,1);
量价突破10:=SUM(量价突破7,0)+100;
量价突破11:=EMA(量价突破10,5)+100;
量价突破12:=EMA(量价突破10,13)+100;
量价突破15:=EMA(量价突破10,120)+100;
量价突破16:=(量价突破11-量价突破12)/EMA(C,13)*100;
量价突破19:=(量价突破11-量价突破15)/EMA(C,13)*100;
量价突破8:=(量价突破19-量价突破16);AAB1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);
AAB2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
AAB3:=(AAB1-AAB2-50)*1.032+50;AAB4:=(2*C+H+L+O)/5;
AAB5:=EMA((AAB4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);
价启动:=量价突破2-量价突破1+量价突破8+龙年牛妖5-龙年牛妖6,COLORYELLOW;
量先行:=(AAB3-AAB5)/2+价启动,COLORGREEN;
量价启动:CROSS(量先行,价启动)AND 量先行<40 VOLSTICK LINETHICK1;DRAWICON(量价启动,1,9);
{}
竞价金额:DYNAINFO(15)/10000,NODRAW;
竞价量:DYNAINFO(15)/DYNAINFO(4)/100,NODRAW,LINETHICK3;
TT3:=CONST(BARSLAST(竞价量));
{STICKLINE(PERIOD=5 AND CURRBARSCOUNT=TT3+1,竞价量,竞价量,20,0),COLORMAGENTA;}
P:=CONST(BARSLAST(竞价量));
{STICKLINE(CURRBARSCOUNT=P+1,O,竞价量,2.5,0),COLORMAGENTA;}
OO:=DYNAINFO(15)/DYNAINFO(4)/100;
A:=OO/REF(V,1)*100;
AAZ:=STRCAT(STRCAT('竞价量 ',CON2STR(A,0)),'');
{DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,AA),COLORLIRED;}
{DRAWTEXT_FIX(ISLASTBAR,0.44,0.550,0,AAZ),COLORGREEN;}
{}
实量:=SUM(VOL,FROMOPEN);
虚拟量:=实量/240*FROMOPEN;
SZB:=实量/10000;
XZB:=虚拟量/10000>0;
{DRAWRECTREL(500,CONST(100-XZB)*1000/100,530,1000,RGB(0,0,0));
DRAWRECTREL(500,CONST(100-SZB)*1000/100,530,1000,90);}
大单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN);
大单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN);
ZB1:=大单买/实量*100;
ZB2:=大单卖/实量*100=0;
{DRAWRECTREL(530,CONST(100-ZB1)*1000/100,560,1000,90);
DRAWRECTREL(560,CONST(100-ZB2)*1000/100,590,1000,RGB(0,255,0));
DRAWTEXT_FIX(1,0.500,0.20,0,STRCAT(STRCAT('【LARGE ORDERS BUY】',CON2STR(ZB1,2)),'%')),COLORYELLOW;}
DRAWTEXT_FIX(1,0.48,0.50,0,STRCAT(STRCAT('',CON2STR(ZB2,2)),'%')),COLORGREEN;
DRAWGBK(ZB2,RGB(255,126,0),RGB(255,126,0),0,'11',0);
MA5:=MA(C,5),COLORYELLOW;
MA10:=MA(CLOSE,10),COLORFF00FF;
MA30:=MA(C,30),COLORRED,LINETHICK2;
跌:=IF(MA(CLOSE,30)<=REF(MA(CLOSE,30),1),MA(CLOSE,30),DRAWNULL),COLORGREEN,LINETHICK2;
MA60:=MA(CLOSE,60),COLORFFCC66;
M1:=EMA(C,12)-EMA(C,26);
M2:=EMA(M1,9);
MR:=CROSS(M1,M2) AND V/REF(V,1)>2 AND CROSS(MA5,MA10) AND C>O AND TIME<=0935;
STICKLINE(MR,O,(O+C)/2,2.5,0),COLORYELLOW;
DRAWTEXT(MR,L*1,'好买点'),COLORYELLOW;
V6R:=CLOSE/REF(CLOSE,3)>=1.06;
V7R:=BACKSET(V6R,5);
进场收益:=IF((V7R AND COUNT(V7R,3)=1),10,0);
进场收益=10 AND TIME>=1450 ,LINETHICK1;