通达信 指标公式源码大全(8页).doc
《通达信 指标公式源码大全(8页).doc》由会员分享,可在线阅读,更多相关《通达信 指标公式源码大全(8页).doc(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、-通达信 指标公式源码大全-第 8 页【通达信】魔鬼操盘(主图)-指标公式源码均5:MA(CLOSE,5) COLORYELLOW;均10:MA(CLOSE,10)COLORGREEN;均30: MA(CLOSE,30) COLORMAGENTA ;均60: MA(CLOSE, 60) COLORRED POINTDOT LINETHICK3;均250: MA(CLOSE, 250) COLORBLUE LINETHICK2 ;魔鬼通道上:均30 + 2*STD(CLOSE,60) COLORYELLOW POINTDOT LINETHICK2 ;魔鬼通道下:均30 - 2*STD(CLOSE
2、,60) COLORYELLOW POINTDOT LINETHICK2;VAR1:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=VAR1*1.05;VAR5:=MA(CLOSE,5);VAR6:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)*100;VAR7:=SMA(VAR6,5,1);VAR8:=VOLREF(VOL,1);VAR9:=MA(VOL/CAPITAL,30)*MA(VOL,60)/1000
3、0+MA(CLOSE,30);【通达信】平均价格(主图)-指标公式源码A:=(3*C+H+L+O)/6;XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4)/2.382;YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32)/4;YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32)/4;SMH:EMA(YCZXH,21),COLOR004000
4、;SML:EMA(YCZXL,21),COLOR004000;SMJ:(SML+SMH)/2,COLOR004000;PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9)/55;A1:=EMA(PJ,3),COLOR004000;A2:=EMA(PJ,5),COLOR004000;A3:=EMA(PJ,7),COLOR004000;A4:=EMA(PJ,9),COLOR004000;A5:=EMA(PJ,11),COLOR004000;
5、LX:=REF(XJ,1);ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1)*100;KX1:=(CLOSE=OPEN) AND ZD=50;KX2:=(CLOSE=50;KX3:=(CLOSE=OPEN) AND ZD50;KX4:=(CLOSEOPEN) AND ZD50;IF(A5REF(A5,1),A5,DRAWNULL),COLOR00005B,LINETHICK2;IF(A4REF(A4,1),A4,DRAWNULL),COLOR000055,LINETHICK1;IF(A3REF(A3,1),A3,DRAWNULL),COLOR0000
6、6C,LINETHICK1;IF(A2REF(A2,1),A2,DRAWNULL),COLOR00007D,LINETHICK1;IF(A1REF(A1,1),A1,DRAWNULL),COLOR00009B,LINETHICK1;STICKLINE(KX1,C,O,4,1),COLOR4440FF;STICKLINE(KX1,C,H,0.5,1),COLOR4440FF;STICKLINE(KX1,O,L,0.5,1),COLOR4440FF;STICKLINE(KX2,C,O,4,0),COLOR4440FF;STICKLINE(KX2,O,H,0.5,0),COLOR4440FF;STI
7、CKLINE(KX2,C,L,0.5,0),COLOR4440FF;STICKLINE(KX3,C,O,4,1),COLORFFFF33;STICKLINE(KX3,C,H,0.5,1),COLORFFFF33;STICKLINE(KX3,O,L,0.5,1),COLORFFFF33;STICKLINE(KX4,C,O,4,0),COLORFFFF33;STICKLINE(KX4,O,H,0.5,0),COLORFFFF33;STICKLINE(KX4,C,L,0.5,0),COLORFFFF33;【通达信】牛劲十足(副图)-指标公式源码VAR1:=VOL/(HIGH-LOW)*2-ABS(C
8、LOSE-OPEN);ZM:=IF(CLOSEOPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,0-VAR1*(HIGH-CLOSE)+(OPEN-LOW),IF(CLOSE0 AND REF(MMB,1)MMB;上攻周期:COUNT(SG,5),LINESTICK,COLORWHITE;JSC:=上攻周期3 AND NOT(JSC),10);DRAWICON(DBQD,2,1);DRAWBAND(上攻周期,RGB(255,120,120),3,RGB(0,0,0);DRAWBAND(JSC,RGB(0,0,255),0.5,RGB(0,0,0);STICKLINE(COUN
9、T(上攻周期3,5)=3 AND SG,0,上攻周期,1.5,0),COLORRED;XG: COUNT(COUNT(上攻周期3,5)=3 AND SG,20)4;【通达信】魔鬼K线(副图)-指标公式源码VAR1:=REF(OPEN,1);VAR2:=SMA(MAX(OPEN-VAR1,0),6,1)/SMA(ABS(OPEN-VAR1),6,1)*100;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;VAR5:=REF(HIGH,1);VAR6:=SMA(MAX(HIGH-VA
10、R5,0),6,1)/SMA(ABS(HIGH-VAR5),6,1)*100;VAR7:=REF(LOW,1);VAR8:=SMA(MAX(LOW-VAR7,0),6,1)/SMA(ABS(LOW-VAR7),6,1)*100;STICKLINE(VAR4VAR2,VAR2,VAR4,5,0),COLORRED , ;STICKLINE(VAR4VAR2 AND VAR6VAR8 AND VAR8VAR4,VAR4,VAR6,0.5,1),COLORRED , ;STICKLINE(VAR4VAR2 AND VAR6VAR8 AND VAR8VAR2 AND VAR6VAR4,VAR4,VAR
11、8,0.5,1),COLORRED , ;STICKLINE(VAR4VAR2 AND VAR6VAR8 AND VAR6VAR2 AND VAR6VAR8 AND VAR6VAR2,VAR2,VAR8,0.5,1),COLORRED , ;STICKLINE(VAR4VAR2 AND VAR6VAR8 AND VAR8VAR2 AND VAR6VAR2,VAR2,VAR6,0.5,1),COLORRED , ;STICKLINE(VAR4VAR8 AND VAR6VAR4,VAR4,VAR8,0.5,1),COLORGREEN , ;STICKLINE(VAR4VAR2 AND VAR6VA
12、R8 AND VAR8VAR4,VAR4,VAR6,0.5,1),COLORGREEN , ;STICKLINE(VAR4VAR2 AND VAR6VAR4,VAR4,VAR8,0.5,1),COLORGREEN , ;STICKLINE(VAR4VAR8 AND VAR6VAR4,VAR2,VAR8,0.5,1),COLORGREEN ,;STICKLINE(VAR4VAR8 AND VAR6VAR4,VAR2,VAR8,0.5,1),COLORGREEN , ;STICKLINE(VAR4VAR2 AND VAR6VAR8 AND VAR8VAR2,VAR2,VAR6,0.5,1), CO
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 通达信 指标公式源码大全8页 指标 公式 源码 大全
限制150内