PJJ:=DMA((H+L+C*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((H-L)*2-ABS(C-O));
XVL:=IF(C>O,QJJ*(H-L),IF(C<O,QJJ*(H-O+(C-L)),VOL/2))+IF(C>O,0-QJJ*(H-C+(O-L)),IF(C<O,0-QJJ*(H-L),0-VOL / 2));
ZLL:=VOL/CAPITAL;
HSL1:=IF(ZLL>10,10,ZLL);
HSL:=XVL/20 /1.15;
攻击流量:=HSL*0.55+REF(HSL,1)*0.33+REF(HSL,2)*0.22;
GJJ:=EMA(攻击流量,8);
LLJX:=EMA(攻击流量,3);
STICKLINE(LLJX>0,LLJX,0,3,0)COLOR0000FF;
STICKLINE(LLJX<0,LLJX,0,3,0),COLORFF4242;
STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,0.1,1)COLORYELLOW;
STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,0.1,1)COLORGREEN;
资金流向:LLJX,COLORCYAN;
流量基线:GJJ,COLORYELLOW;
ZJLL:=REF(LLJX,1);
QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);
流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX<0) AND (ZJLL<0)) AND (LLJX<ZJLL)),(0-QZJJ),QZJJ)),COLORLIGRAY,NODRAW;
力度:HSL*0.4*1.5,COLORGREEN;
周流量:SUM(LLJX,5)*0.5,COLORWHITE;
BB:=REF(周流量,1);
ZQZJJ:=(周流量-BB)/BB*100;
周流量日增量:周流量-BB,COLORMAGENTA,NODRAW;
周增幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ)),COLORLIRED,NODRAW;
VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
VAR4:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),44)/4;
VAR5:=EMA(CLOSE,1)-EMA(CLOSE,1297);
VAR6:=EMA(VAR5,715);
VAR7:=2*(VAR5-VAR6);
VAR8:=POW(VAR7,3)*0.1+POW(VAR7,2);
VARA:=EMA(CLOSE,2)-EMA(CLOSE,34);
VARB:=EMA(VARA,33);
VARC:=2*(VARA-VARB);
VARD:=POW(VARC,3)*0.1+POW(VARC,3);
VARF:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR10:=EMA(VARF,30);
VAR11:=2*(VARF-VAR10)*10;
VAR12:=POW(VAR11,3)*0.1+POW(VAR11,2);
VAR13:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR14:=EMA(VAR13*0.97,3);
VAR15:=(HIGH+LOW+CLOSE)/3;
VAR16:=(VAR15-MA(VAR15,14))/(0.015*AVEDEV(VAR15,14));
VAR17:=IF(VAR11>0.015,VAR12,0)*100;
VAR18:=(CLOSE-LLV(CLOSE,95))/(HHV(CLOSE,95)-LLV(CLOSE,95))*100;
VAR19:=VOL/240>MA(VOL,6)/240 AND CLOSE>OPEN*1.003;
VAR1A:=VAR19 AND CLOSE<MA(CLOSE,10)*1.05 AND CLOSE<MA(CLOSE,10)*1.3;
VAR1B:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0)/1000;
VAR1C:=MA(VAR1B,13);
VAR1D:=VAR1B-VAR1C;
VAR1E:=EMA(VAR1D,3);
VAR1F:=CROSS(VAR1D,VAR1E);
强马: IF(FILTER(CROSS(EMA(CLOSE,6),EMA(CLOSE,11)) AND VAR3<10 AND VARD>0 AND VAR17>0 AND VAR18<30 AND VAR1F,90)=1,20,0),STICK , COLORRED;
强牛: IF(FILTER(CROSS(EMA(CLOSE,3),EMA(CLOSE,13)) AND VAR17>0 AND VAR4<5 AND VAR8>0 AND VAR18<30 AND VAR1A,5)=1,20,0),STICK , COLOR6699CC;
强龙: IF(FILTER(强马 AND 强牛 AND VAR1A,5)=1,20,0),STICK , COLORYELLOW;
红马线: (CLOSE-MA(CLOSE,42))/MA(CLOSE,42)*100, COLORSTICK;
见底: IF(HHV(CLOSE,20)/CLOSE>1.15 AND HIGH/LOW>1.05 AND CROSS(-28,红马线)*1/2,20,0),STICK , COLORFF0000;
强势必行: IF(FILTER(红马线>0 AND 强马 AND 红马线>0 AND 强牛 OR 红马线>0 AND 强龙,5)=1,30,0),LINETHICK2 , COLORYELLOW;
当日强势预警: (强马 OR 强牛) AND DYNAINFO(14)>=0.02 AND DYNAINFO(17)>=0.5, COLORFF6600;
DRAWTEXT(强马>0,5,'马') ;
DRAWTEXT(强牛>0,13,'牛'), COLOR6699CC;
DRAWTEXT(强龙>0,18,'龙'), COLORYELLOW;
DRAWTEXT(见底>0,-7,'见底'), COLORMAGENTA;
总涨幅:SUM((C-REF(C,1))/REF(C,1)*100,5),NODRAW,COLOR0099FF;
五日总涨幅:=总涨幅<1.1 AND 总涨幅>-5.1;
下影抄底:MIN(O,C)/L>1.051 AND H/L>1.061;
ZT:=C/REF(C,1)>1.0975 AND C=H;
TS:=BARSLAST(ZT);
AA:=REF(H,TS);
单针抄底:TS>=6 AND TS<9 AND C>AA AND 下影抄底 AND 五日总涨幅;
下影单针探底:TS>=3 AND TS<9 AND 下影抄底 AND 五日总涨幅;
WR1:=100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
WR2:=100*(HHV(HIGH,20)-HIGH)/(HHV(HIGH,20)-LLV(LOW,20));
偏离:(CLOSE/MA(CLOSE,120)-1)*100,COLORSTICK;
X:0,STICK,LINETHICK3;
反弹:IF(WR1>97 ,偏离,0),STICK,LINETHICK3;
调整:IF(WR1<3 ,偏离,0),STICK,LINETHICK3;
A11:= 3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA((CLOSE-LLV
(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);
黑马线:= EMA(A11,5);
A21:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
趋势线:= MA(3*SMA(A21,6,1)-2*SMA(SMA(A21,5,1),5,1),2);
黑马:= CROSS(趋势线,0) AND 黑马线<40;
VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
VAR03:=CROSS(VAR02,VAR01);
VAR04:=REF(VAR02,2)<REF(VAR02,1) AND VAR02<REF(VAR02,1);
VAR05:=COUNT(VAR03,7)>0 AND VAR04;
底:=IF(VAR05 AND COUNT(VAR05,5)=1,1,0),COLORRED;
黑马底:黑马 AND 底;
DRAWTEXT( 黑马底,0.5,'黑马底'),COLORMAGENTA; |