资源描述:
《股票指标公式下载通达信实战SKDJ低吸主力在动开仓区空头.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、【股票指标公式下载】-【通达信】实战SKDJ(低吸、主力在动、开仓区、空头)————————————————————————————————作者:————————————————————————————————日期:【通达信】实战SKDJ(低吸、主力在动、开仓区、空头)-指标公式源码P:=5;P1:=21;{参数N2909M2303}VAR1:=4*SMA((CLOSE-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,P
2、))/(HHV(HIGH,P)-LLV(LOW,P))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;VAR2:=8,COLORGREEN,LINETHICK0;低吸:IF(CROSS(VAR1,VAR2),8,0),STICK,COLORRED;DRAWICON(低吸>0,8,4);主力在动:IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((
3、CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;开仓区:IF((VARO7<10),100,118),COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1))-0.5;CD5:=IF(CD4>0.00,CD4,0.00);CD6:=REF(CD5
4、,1);VAR81:=MA(C,9),COLORRED;空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;减仓空仓:CROSS(CD6,CD5),COLORGREEN,;DRAWICON(减仓空仓>0,113,9);绿卖:STICKLINE(CROSS(CD6,CD5),125,120,3,0),COLORLIGREEN;VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2A:=SMA(VAR1A
5、,9,1)+100;VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4A:=SMA(VAR3A,3,1);VAR5A:=SMA(VAR4A,3,1)+100;VAR6A:=VAR5A-VAR2A;持旭:=IF(VAR6A>P1,VAR6A-P1,0),COLORLIRED;持旭出击:IF(CROSS(持旭,0.01),18,0),STICK,COLOR0000CC,LINETHICK2;DRAWICON(持旭出击>0,18,11);红买:STIC
6、KLINE(CROSS(持旭,0.01),-10,-5,3,0),COLORLIMAGENTA;XG:=CROSS(持旭,0.01);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE(REF(持旭,1)<持旭,持旭,REF(持旭,1),3,0),COLORRED;STICKLINE(REF(持旭,1)>持旭,持旭,REF(持旭,1),3,0),COLOR00FF0
7、0;LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);K:EMA(RSV,M);D:MA(K,M);DRAWTEXT(K<50ANDD<30ANDCROSS(K,D),D*0.8,'低位金叉看BS线'),LINETHICK2,COLORYELLOW;DRAWTEXT(K>50ANDD>70ANDCROSS(D,K),D*1.15,'高位死叉破BS线卖'),LINETHICK2,COLORGREEN;DRAWI
8、CON(CROSS(K,D),D*0.9,7);DRAWICON(CROSS(D,K),D*1.1,8);0,COLORRED;20,COLORLIRED;50,COLORWHITE;80,COLORYELLOW;100,COLORCYAN;70,COLORLIBLUE,POINTDOT;30,COLORLIMAGENTA,POINTDOT;DRAWTEXT(ISLAST