主图:
CJL1:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
{DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLOR0099FF; }
DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL1),COLORRED;
{STICKLINE((CJL),L,L*1,100,4),COLOR0099FF,LINETHICK9;}
{STICKLINE((CJL1),L,L*1,100,4),COLORRED,LINETHICK9;}
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.48,0.35,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORYELLOW;
STICKLINE((活跃度比>95) AND TIME<=0935,L,L*1,100,2),COLORMAGENTA,LINETHICK9;
日:=120; 昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
LOW2:REFDATE(H5,DATE),COLORYELLOW,LINETHICK3;
LOW1:REFDATE(低1,DATE),COLORGREEN,LINETHICK3;
DRAWICON(CROSS(C,LOW2) AND L,L,1);
{STICKLINE(CROSS(C,LOW2),L,L*9,3,0),COLORGREEN;}
N:=21;M:=55;QQ:=3;
回归:=EMA(SLOPE(CLOSE,N)*20+CLOSE,M)*1,COLORMAGENTA,LINETHICK3;
平滑:=EMA(CLOSE,QQ),COLORYELLOW,LINETHICK2;
简单差:=平滑-回归;
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),平滑,9);
V2Z:=SMA(AMOUNT/V,2,1)/100;
V5Z:=SMA(V2Z,5,1);
V10Z:=SMA(V5Z,5,1);
V20Z:=SMA(V10Z,5,1);
V40:=SMA(V20Z,5,1);
当日实量:=V,NODRAW;
DRAWICON(CROSS(C,REF(V2Z,1)*1.02) AND CROSS(C,REF(V5Z,1)*1.03),REF(V2Z,1),38);
H11:=EMA(DCLOSE,5);
A1Z:=LLV(DCLOSE,5);
L11:=LLV(L,10);
敢死队操作线:=MA(C,24),LINETHICK2,COLORLIMAGENTA;
操作线2:=MA(C,26),LINETHICK1,COLORLICYAN;
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
XGG:=CROSS(爆发点,20) OR CROSS(爆发点,18);
L3:=IF(XGG,O,L11*0.999),COLORYELLOW;
STICKLINE(XGG,L3,L3,100,1);
DRAWTEXT(XGG,L3,'爆爆爆爆爆爆爆爆爆爆爆'),COLOR0099FF;
**********************************************************
附图:
CJL1:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
{DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLOR0099FF; }
DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL1),COLORYELLOW;
{STICKLINE((CJL),L,L*333333333,100,0),COLOR0099FF,LINETHICK9;}
STICKLINE((CJL1),L,L*1,100,4),COLORYELLOW,LINETHICK9;
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.48,0.35,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORGREEN;}
{STICKLINE((活跃度比) ,L,L*1,100,2),COLORRED,LINETHICK9;}
A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=EMA(VAR1,8);
VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势:=EMA(VAR3,3)-10;
{(趋势>80);}
DRAWICON(CROSS(趋势,0),0,1);
{((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50))),COLORFFFF00;}
大庄建仓区:=0,LINETHICK0,COLORFFFF00;
VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;
{DRAWTEXT(FILTER(趋势<=13,15),30,'准备数钱'),COLORCC9900;}
VAR5:=FILTER((趋势<=13 AND VAR4>13),10);
{ DRAWTEXT(VAR5,75,'明天买进'),COLOR0099FF;}
VAR6:=FILTER((趋势>=90 AND VAR4),10);
{DRAWTEXT(VAR6,40,'清仓'),COLORGRAY;}
VAR7:=LLV(LOW,30);
VAR8:=HHV(HIGH,30);
VAR9:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*4,4)*25;
VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100;
DRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR9>87,95,0),88,'小心'),COLOR00FF00;
{DRAWICON(CROSS(90,VAR9),95,9);}
VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
VAR12:=HHV(VAR11,30)*8;
五指山:EMA(IF(LOW<=VAR7 AND 趋势<40,(VAR11+VAR12),0),3)/618,COLORRED,LINETHICK2;
VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
VAR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
趋势线:=趋势,COLORFF00FF;
VAR16:=MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;
VAR17:=EMA(VAR16,5);
分水岭:=VAR17,STICK,COLORFF00FF;
VAR18:=MA(趋势线,8);
{IF(CROSS(VAR2,VAR18) AND VAR2<15,50,0),COLORRED;}
DRAWTEXT(CROSS(趋势线,VAR2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,66,'全仓买进'),COLORYELLOW;