资源描述:
《【股票指标公式下载】-【通达信】决策(涨跌、双线持币、单线持股、空仓)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、【通达信】决策(涨跌、双线持币、单线持股、空仓)-指标公式源码V5日涨跌%:(C-REF(CLOSE,5))/REF(CLOSE,5)*100,COLORWHITE,NODRAW;V10日涨跌%:(C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORYELLOW,NODRAW;V30日涨跌%:(C-REF(CLOSE,30))/REF(CLOSE,30)*100,COLORMAGENTA,NODRAW;V60日涨跌%:(C-REF(CLOSE,60))/REF(CLOSE,60)*100,COLORYELLOW,NODRAW;V120日涨跌%:(C-RE
2、F(CLOSE,120))/REF(CLOSE,120)*100,COLORMAGENTA,NODRAW;V180日涨跌%:(C-REF(CLOSE,180))/REF(CLOSE,180)*100,COLORMAGENTA,NODRAW;V250日涨跌%:(C-REF(CLOSE,250))/REF(CLOSE,250)*100,COLORMAGENTA,NODRAW;MB1:EMA(CLOSE,5),COLOR0000FF;MB2:EMA(MB1,3),COLOR80FFFF;MB3:EMA(MB2,3),COLORFF80FF;MB4:EMA(MB3,3),COLORFFFF
3、FF;MB5:EMA(MB4,3),,COLOR0080FF;双线持币:HHV(MA(HIGH,2),2),COLORGREEN,LINETHICK2;单线持股:LLV(MA(HIGH,2),1),COLORRED,LINETHICK1;QB1:EMA(CLOSE,30),COLOR00FFFF;QB2:EMA(QB1,3),COLOR00FFFF;QB3:EMA(QB2,3),COLOR00FFFF;QB4:EMA(QB3,3),COLOR00FFFF;QB5:EMA(QB4,3),COLOR00FFFF;QB6:EMA(QB5,3),COLOR00FFFF;MBQ1:=EMA(
4、CLOSE,13);MBQ2:=EMA(MBQ1,3);MBQ3:=EMA(MBQ2,3);MBQ4:=EMA(MBQ3,3);MBQ5:=EMA(MBQ4,3);RSV1:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100;RSVQ:=(CLOSE-LLV(LOW,196))/(HHV(HIGH,196)-LLV(LOW,196))*100;MBQ6:=SMA(RSVQ,30,1)>SMA(SMA(RSVQ,30,1),15,1)ORSMA(RSV1,6,1)>SMA(SMA(RSV1,6,1),3,1);MBB:=ABS(MB
5、Q1-MBQ5)<0.01ANDMBQ6;DRAWICON(MBB,L*0.95,13);LX:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,LINETHICK1;J:=SUM(VOL*CLOSE,5)/SUM(VOL,5);M:=EMA(J,2),COLORWHITE,LINETHICK1;DRAWICON((CROSS(M,LX)ANDMBQ6),LX-0.05,11);DRAWTEXT((CROSS(M,LX)ANDMBQ6),LX,'←介入,'),COLOR00FF00;RZSV:=(CLOSE-LLV(LOW,18))/(
6、HHV(HIGH,18)-LLV(LOW,18));K1:=EMA(RZSV,3);D1:=EMA(K1,3);J1:=3*K1-2*D1;山:=(3*K1-2*D1);KDJ1:=REF(COUNT(J1[=3,1)ANDREF(J1,1)<0.2;KDJ2:=J1>REF(J1,1);RWSV1:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100;RWSVQ:=(CLOSE-LLV(LOW,196))/(HHV(HIGH,196)-LLV(LOW,196))*100;MWB6:=SMA(RWSVQ,3]
7、0,1)>SMA(SMA(RWSVQ,30,1),15,1)ORSMA(RWSV1,6,1)>SMA(SMA(RWSV1,6,1),3,1);观注:DRAWTEXT(FILTER(KDJ1ANDKDJ2ANDMWB6,3),H-0.4,'△'),COLORFF00EE;DRAWTEXT(FILTER(KDJ1ANDKDJ2ANDMWB6,3),H-0.5,'△'),COLORFF00EE;STICKLINE(观注,O,C,4,1),LINETHICK2,COLORFF