m:=55;
n:=34;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(85,RSI),75,'▼'),colorgreen;
Var1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
Var2:=REF(LOW,1)*Var1;
Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100*Var1;
Var4:=EMA(IF(CLOSE*1.3,Var3*10,Var3/10),3)*Var1;
Var5:=LLV(LOW,30)*Var1;
Var6:=HHV(Var4,30)*Var1;
Var7:=IF(MA(CLOSE,58),1,0)*Var1;
Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7*Var1;
吸筹:IF(Var8>100,100,Var8)*Var1,colorred;
庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),colorred;
散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),ColorFFFF00,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄家线:EMA(j,6),colorff00ff,LINETHICK2;
强弱分界线: 50, POINTDOT, LINETHICK2, COLORFFFF00;
VAR22:=IF(MONTH<12,1,1);
VAR33:=(2*CLOSE+HIGH+LOW)/4;
VAR44:=LLV(LOW,34);
VAR55:=HHV(HIGH,34);
主力:EMA((VAR33-VAR44)/(VAR55-VAR44)*100,13)*VAR22,LINETHICK4,COLORRED;
散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;
DRAWTEXT(CROSS(主力,散户) AND 主力<22,20,'起动'),LINETHICK2,COLOR0099FF;
DRAWICON(CROSS(主力,散户) AND 主力<22,25,7);
DRAWTEXT(CROSS(主力,30) AND 散户<主力,40,'上扬 '),LINETHICK2,COLOR00CCFF;
DRAWICON(CROSS(主力,30) AND 散户<主力,35,7);
DRAWTEXT(CROSS(主力,65) AND 散户<主力,55,'冲顶 '),LINETHICK2,COLOR9933FF;
DRAWICON(CROSS(主力,65) AND 散户<主力,70,8);
DRAWTEXT(CROSS(主力,75) AND 散户<主力,67,'小心被套'),LINETHICK2,COLOR009900;
DRAWICON(CROSS(主力,75) AND 散户<主力,80,8);
DRAWTEXT(CROSS(散户,主力) AND 散户>75,80,'头部'),COLORYELLOW;
{www.gupang.com 股旁网_飞狐股票指标公式}
DRAWICON(CROSS(散户,主力) AND 散户>75,85,8);
买入脉冲:IF(CROSS(主力,散户) AND 主力<35,55,5),LINETHICK4,COLORGREEN;
卖出脉冲:IF(CROSS(散户,主力) AND 散户>75,75,90),LINETHICK4,COLORRED;
BB1:=WINNER(CLOSE)*100;
BB2:=100-BB1;
{超级短线}
cjdxtyp:=(HIGH+LOW+CLOSE)/3;
cjdxCCI:=(cjdxtyp-MA(cjdxtyp,14))/(0.015*AVEDEV(cjdxtyp,14));
cjdxCCI1:=EMA(EMA(EMA(cjdxCCI,2),2),2);
cjdxCCI2:=EMA(EMA(EMA(cjdxCCI,3),2),2);
cjdxX:=(CROSS(cjdxCCI1,cjdxCCI2) OR (cjdxCCI1 >=cjdxCCI2))
AND cjdxCCI1>=-101 AND cjdxCCI1>=REF(cjdxCCI1,1)
AND REF(cjdxCCI1,1)<-101 ;
cjdxRSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
cjdxK:=SMA(cjdxRSV,3,1);
cjdxD:=SMA(cjdxK,3,1);
cjdxJ:=3*cjdxK-2*cjdxD;
cjdxK1:= EMA(EMA(EMA(cjdxK,2),2),2);
cjdxD1:= EMA(EMA(EMA(cjdxD,2),2),2);
cjdxJ1:= EMA(EMA(EMA(cjdxJ,2),2),2);
cjdxY:= cjdxJ1 > REF(cjdxJ1,1) ;
超级短线:=cjdxX AND cjdxY;
DRAWICON(超级短线=1,0,10);
202108211210.jpg
|