CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(01,0.75,0.01.0,0,CJL),COLOR0099FF;
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.40,0.25,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORCYAN;
多头线:=EMA(C,3),COLORYELLOW;
空头线:=EMA(C,5),COLOR00FF00;
均衡线:=EMA(空头线,5),COLORWHITE,;
IF(多头线>=REF(多头线,1) AND 多头线>=空头线,多头线,DRAWNULL),COLORRED,LINETHICK3;
VAR1:=IF(CLOSE/REF(CLOSE,1)>1.040 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
STICKLINE(VAR1>90 AND 活跃度比 AND TIME<=0932 ,L,L*99999,2.0,0),COLORFF00FF;
A:=VOL*CLOSE;
B:=SUM(A,1)/SUM(VOL,1);
B1:=EMA(B,17);
进:=STICKLINE(((B-B1)*1500/B)>=0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORRED;
出:=STICKLINE(((B-B1)*1500/B)<0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORGREEN;
主力突破:=(B-B1)*1500/B COLORRED,NODRAW;
{100;}
XG:=主力突破>100;
DRAWICON(主力突破>100 AND NOT(L=H)AND 主力突破>REF(主力突破,1) ,主力突破,16);
N:=8;
M:=13;
P:=60;
S:=3;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
超大主力吃:= IF(V4>=0,V4,0),COLORYELLOW,LINETHICK3;
超大主力吐:= IF(V4<=0,V4,0),COLOR66FF00,LINETHICK3;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
超大主力吃线:=28,COLORFF80FF,LINETHICK3;
STICKLINE((XG AND 活跃度比 AND TIME<=0932),L,L*44444,2,0),COLORGREEN;
波段微调:=2;
显示开关:=1;
QS:=ZIG(1,波段微调);
低点:=TROUGHBARS(2,波段微调,1);
高点:=PEAKBARS(1,波段微调,1);
L低:=IF(低点=0,L,IF(高点<低点,TROUGH(2,波段微调,1),REF(TROUGH(2,波段微调,1),1)));
H高:=IF(高点=0,H,IF(低点<高点,PEAK(1,波段微调,1),REF(PEAK(1,波段微调,1),1)));
L低A:=IF(高点<低点 AND 显示开关=1 OR 显示开关=2,L低,DRAWNULL);
H高A:=IF(高点<低点 AND 显示开关=1 OR 显示开关=2,H高,DRAWNULL);
{DRAWTEXT(低点=0,L*99999999 ,VARCAT('【低点】',VAR2STR(L,2))),COLORYELLOW;}
{DRAWTEXT(高点=0,H,VARCAT('【高点】',VAR2STR(H,2))),COLORRED;}
{DRAWLINE(低点=0,L,高点=0,H,0)COLORRED,LINETHICK2;}
DRAWLINE(高点=0,H,低点=0,L,0)COLORGREEN,LINETHICK2;
VAR1X:=SQRT(H高A/L低A);
VAR2X:=SQRT(VAR1X);
AX:=H高A/SQRT(VAR1X);
BX:=H高A/VAR1X;
D:=H高A/(VAR1X+VAR2X-1);
E:=POW(L低A,0.875)*POW(H高A,0.125);
I:=H高A-(H高A-L低A)*1.236,NODRAW;
U:=H高A-(H高A-L低A)*1.618,NODRAW;
{DRAWICON(高点=0,H,39);}
DRAWICON(低点=0 AND TIME<=0935,L,5);