通达信撒鱼网副图指标 源码 附图
90;80;20;10;
好线:=38,COLORFF3311;
平线:=51,COLORFF1155;
OK:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORWHITE;
RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORWHITE;
鱼:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORYELLOW,DOTLINE;
隐形鱼:SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)),3,1)*100,COLOR988C02,DOTLINE;
飞鱼:STICKLINE(隐形鱼>80,80,85,2,1),COLORB400B4;
深海鱼:STICKLINE(隐形鱼<20,15,20,2,1),COLOR988C02;
IF(隐形鱼>80,隐形鱼,DRAWNULL),COLORGREEN,LINETHICK3;
IF(隐形鱼<20,隐形鱼,DRAWNULL),COLORRED,LINETHICK3;
RSI4:=SMA(鱼,7,1),LINETHICK1,COLORWHITE;
趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
趋势C:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK1;
A1:=MA(趋势A,7)*1.372,COLORGREEN,LINETHICK1;
A2:=A1*1.0887;
A3:=(1.5*(趋势B+RSI4)-(A2+A1))+12,COLORGREEN,LINETHICK1,DOTLINE;
鱼网:IF((CROSS(RSI2,RSI4) OR CROSS(RSI2,A3) AND A3<好线 AND RSI1<平线),48,38),COLORRED,LINETHICK1;
白绿线:SMA(鱼,7,1),LINETHICK1,COLORWHITE;
{LC:=REF(CLOSE,1);}
鱼网蓝柱:=鱼网=48 AND CROSS(鱼,好线) AND REF(MA(C,3),1)<=MA(C,3),COLORBLUE;
STICKLINE(鱼网蓝柱,50,55,1,0)COLORBLUE;
NOTEXTD101:IF(白绿线<REF(白绿线,1),白绿线,DRAWNULL),COLORGREEN;
HH:=BARSLAST(鱼<=15)<5;
深水鱼:=CROSS(鱼,RSI4) AND HH AND 白绿线>15,NODRAW,COLORFFFFFF;{红鱼上穿白绿线}
STICKLINE(深水鱼,80,70,1,0)COLORFFFFFF;
SSRCJL:=EMA(VOL,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL)/100);
SSRGL:=(((CLOSE - SSRCBJX)/SSRCBJX) * 100);
STICKLINE((SSRGL < (0 - 6)),10,15,1,0),COLORWHITE;
20213189225718487.png
|