指标
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
顶底先知代码:
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
YJD: (EMA(CS,3)-50)*2;
极弱:-80;
强势:60;
风险:80;
弱势:-60;
YJD,COLORSTICK;
多空对比代码
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLORWHITE;
中期:100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),COLORYELLOW;
中长期:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),COLORFF00FF;
长期:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLORRED,LINETHICK3;
强势线:80,POINTDOT,COLORWHITE,LINETHICK1;
弱势线:20,POINTDOT,COLORFF0000,LINETHICK1;
分水岭:50,POINTDOT,COLORRED,LINETHICK1;
机构做空能量线:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGRE EN,LINETHICK3;
机构做多能量线:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LI NETHICK3;
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
单边二十:DRAWTEXT(机构做空能量线<50 AND 短期<20 AND 长期>50,(70),'32'),COLORFFFF00;
四线小六:DRAWTEXT(短期<6 AND 中期<6 AND 中长期<6 AND 长期<6,(20),'46'),COLORFFFF00;
双线为零:DRAWTEXT(短期=0 AND 中期=0,(40),'20'),COLORFFFF00;
三线为零:DRAWTEXT(短期=0 AND 中期=0 AND 中长期=0,(30),'30'),COLORFFFF00;
逃顶:DRAWICON(短期>90 AND 长期<50,(90),2),COLORFFFF00;
DRAWICON((短期>90 AND REF(中期<80 AND 长期<80,3)),(90),2),COLORFFFF00;
抄底:DRAWICON(VAR7>10 AND 短期<6 AND 中期<6 AND 中长期<6 AND 长期<6,(10),1),COLORYELLOW;
资金指数代码
主流资金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
非主流资金:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3), COLORGREEN,LINETHICK2; 20,POINTDOT,COLORF00FF0; 50,POINTDOT,COLORGREEN; 80,POINTDOT,COLORWHITE;
个股资金生命线代码
个股资金线:MA(C,1)/MA(REF(C,18),18)*100,LINETHICK2,COLOR00FFFF;
资金生命线:MA(FORCAST(个股资金线,20),6),COLORMAGENTA,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100;
短期底部:=LLV(OPEN,30);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:(3*K-2*D),LINETHICK2;
D2:SMA(J,3,1)*0.82;
VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(VAR2+2*VAR3+3*VAR4)/6;
狙击线:MA(VAR5,3),LINETHICK2;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA2:=EMA(DIFF,6);
MACD超跌2:=(COUNT(DIFF 能量潮2:=MACD超跌2*"MACD.MACD"(26,12,9)*(-1)*100; 狙击手:(IF(能量潮2>0,100,0)),LINETHICK2,colorFFFF; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,8,0),color78; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,6,0),color9D; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,5,0),colorFF; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,2,0),color7AB5; DRAWTEXT(CROSS(J,-5),-4,'。低吸'),colorFF00; DRAWTEXT(CROSS(J,0) AND 狙击线<=-7,100,'哈哈'),PXUP8,colorFF; 雄师百万通达信源码 RSV:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100; 短期底部:=LLV(OPEN,30); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:(3*K-2*D),LINETHICK2; D2:SMA(J,3,1)*0.82; VAR2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR5:=(VAR2+2*VAR3+3*VAR4)/6; 狙击线:MA(VAR5,3),LINETHICK2; DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA2:=EMA(DIFF,6); MACD超跌2:=(COUNT(DIFF 能量潮2:=MACD超跌2*"MACD.MACD"(26,12,9)*(-1)*100; 狙击手:(IF(能量潮2>0,100,0)); STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,8,0),COLOR009900; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,6,0),COLOR00BB00; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,5,0),COLOR00DD00; STICKLINE(CROSS(J,0) AND 狙击线<=-7,0,100,2,0),COLOR00FF00; DRAWTEXT(CROSS(J,-5),-4,'。低吸'),COLORRED; DRAWTEXT(CROSS(J,0) AND 狙击线<=-7,100,'哈哈'),COLORYELLOW