万:=((3*C+H+L+O)/6+0.618*REF((3*C+H+L+O)/6,1)+0.382*REF((3*C+H+L+O)/6,2)+0.236*REF((3*C+H+L+O)/6,3)+0.146*REF((3*C+H+L+O)/6,4))/2.382;
点:=EMA((MA(HHV((3*C+H+L+O)/6,2),5)+MA(HHV((3*C+H+L+O)/6,2),13)+MA(HHV((3*C+H+L+O)/6,2),21)+MA(HHV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
行情:=EMA((MA(LLV((3*C+H+L+O)/6,2),5)+MA(LLV((3*C+H+L+O)/6,2),13)+MA(LLV((3*C+H+L+O)/6,2),21)+MA(LLV((3*C+H+L+O)/6,2),32))/4,21),COLOR004000,LINETHICK2;
软件:=(行情+点)/2;
股神:=MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1;
人:=REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1,1)<1 AND MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1)/REF(MA((SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0)-SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0)-0.5*SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0)),1),1)>1;
发财:=人 AND (EMA(MA(DVOL*DCLOSE/100,2),2))/100000>REF((EMA(MA(DVOL*DCLOSE/100,2),2))/100000,1) AND (EMA(MA(DVOL*DCLOSE/100,2),2))/100000/REF((EMA(MA(DVOL*DCLOSE/100,2),2))/100000,1) ;
黑马:C>MA(AMOUNT/V/100,3) AND MA(AMOUNT/V/100,3)<REF(MA(AMOUNT/V/100,3),1) AND REF(MA(AMOUNT/V/100,3),1)<REF(MA(AMOUNT/V/100,3),2)
AND REF(MA(AMOUNT/V/100,3),2)<REF(MA(AMOUNT/V/100,3),3) AND 发财;
v10:=PEAKBARS(3,15,1)<10;
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
卖:IF(头部>REF(头部,1),2.0,0),colorgreen,LINETHICK2;
DRAWTEXT(卖,2.0,'出货---走弱 '),colorgreen;
明日买:IF((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),2,(0)),LINETHICK2,Color35DCFF;
DRAWTEXT(明日买,2.0,'关注---走强 '),Color35DCFF;
Q:=BARSLAST(明日买=2);
R:=BARSLAST(卖=2);
当前强弱:=IF(Q<R,1,0);
当前强:Q<R;
当前弱:-(Q>R);
XG:黑马 AND 当前强=1;
DRAWTEXT(XG,0.5,'*----黑马' ),colormagenta;
VAR33:=PEAKBARS(3,5,1)<10;
VAR55:=IF(VAR33=1,2,0);
顶:=IF(VAR55=2,2,0);
超买暂撤:-IF(顶>REF(顶,1),1,0),colorliblue, LINETHICK2;
暂撤出现天数:=BARSLAST(超买暂撤=-1);
DRAWTEXT(超买暂撤=-1 AND Q<R ,-0.5,'暂撤'),coloryellow;
A1:=REF(C,1);
A2:=DCLOSE;
A3:=(A2-A1)/A1*100;
AA1:=(A3-REF(A3,1));
AA2:=8.5;
抢劫1:=CROSS(AA1,AA2) ;
A11:=REF(V,1);
A12:=DVOL;
A13:=A12/A11;
AA3:=(A13-REF(A13,1));
AA4:=18;
抢劫2:=CROSS(AA3,AA4);
抢劫必买:抢劫1 AND 抢劫2 AND Q<R,colormagenta;
DRAWTEXT(抢劫必买 ,1.0,'抢劫必买!'),colormagenta;
STICKLINE(抢劫必买,0.5,0.8,3,0),colormagenta;
抢劫可买:=抢劫1 AND Q<R;
DRAWTEXT(抢劫可买 AND Q<R,0.6,'--可买'),colorlired;
STICKLINE(抢劫可买,0,0.5,5,0),colorlired;
爆发线:=80,colorred;
即将爆发线:=65,colormagenta;
警戒线:=50,colorcyan;
基础线:=30;
抄底线:=7.5,coloryellow;
主力资金:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), colorred,LINETHICK2;
LC:=REF(C,1);
F1:=ZIG(3,15);
方向:=IF((F1> REF(F1,1)),105,5),colorgreen,LINETHICK1;
变强天数:=BARSLAST(方向=5);
变弱天数:=BARSLAST(方向=105);
清仓:=CROSS(爆发线,方向),colorgreen,LINETHICK2;
考虑清仓:IF(清仓,1,0),colorgreen;
DRAWTEXT(CROSS(爆发线,方向),1.4,'★清仓--弱开始') ,colorgreen;
STICKLINE(CROSS(爆发线,方向),0,1.3,3,0),colorgreen;
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
抄底:= IF(TROUGHBARS(2,5,1)=0 AND HIGH>LOW+0.01,1.5,0),colorred ,LINETHICK2 ;
量比:=DYNAINFO(17);
换手率:=DYNAINFO(37)*100;