参数 :
M1, 0,1000,5
M2 , 0,1000,10
M3, 0, 1000, 20
M4,0, 1000, 60
****************************************
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
MA7:MA(CLOSE,M7);
MA8:MA(CLOSE,M8);
LC:=REF(CLOSE,1);
WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;
活跃:=(WRSI-WR10);
活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));
DRAWTEXT_FIX(1,0.20,0.35,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORCYAN;
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLOR0099FF;
A:=CURRBARSCOUNT;
A1:=DAY!=REF(DAY,1);
A2:=BARSLAST(A1)+1;
A3:=REF(IF(A2=1,1,A2),A2);
A4:=CONST(REF(HHV(H,A3),A2));
A5:=CONST(REF(LLV(L,A3),A2));
A6:=MA(AMO,A3)/MA(VOL,A3)/100;
A7:=REF(MA((H+O+L+C)/4,A3),A2);
A8:=IF(CAPITAL>0,REF(A6,A2),A7);
昨高:=IF(A<=CONST(A3+A2),A4,DRAWNULL),COLORLIBLUE;
昨低:=IF(A<=CONST(A3+A2),A5,DRAWNULL);
{STICKLINE(CROSS(C,昨高),L,L*999999999,3,0),COLORLIRED;}
成交量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
变色器选股:=VOL,NODRAW,VOLSTICK;
通达信指标公式:=AMOUNT/100000000,NODRAW;
VVVV1:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
VVVV2:=SUM(100*V/CAPITAL,1),LINETHICK0;
VVVV3:=SUM(100*V/CAPITAL,100),LINETHICK0;
VVVV4 :=DYNAINFO(39),NODRAW, COLOR00DDDD;
VVVV5:=V/REF(V,1),NODRAW,COLOR0000DD;
VVVV6:=HHV(V,60);VVVV7:=VVVV6*0.618;
VVVV8:=IF(V>REF(HHV(V,19),1),0.99,1);
VVVV9:=IF(V>REF(HHV(V,59),1),0.99,1);
VVVV0:=IF(V>REF(HHV(V,119),1),0.99,1);
AAAA1:=IF(V>REF(HHV(V,239),1),0.99,1);
AAAA2:=IF(V<REF(LLV(V,19),1),0.99,1);
AAAA3:=IF(V<REF(LLV(V,59),1),0.99,1);
AAAA5:=IF(V<REF(LLV(V,119),1),0.99,1);
AAAA9:=IF(V<REF(LLV(V,239),1),0.99,1);
DRAWICON(CROSS(C,昨高) AND L,L,23);...