程序化指标公式
问答中心

通达信有妖气主图指标公式

通达信指标 2019-07-22阅读量:4138

安装后如下图,友情提示(指标只是辅助,不作建议) 所有程序均为免费分享。

不会安装点击 安装指南 步骤操作


M5:=MA(C,5);

MM:=MA(C,10);DRAWKLINE(H,O,L,C);

MM2:=MA(C,10),COLOR80FFFF,LINETHICK2;

M25:=MA(C,250);

MM3:=IF(MM2>REF(MM2,1),MM2,DRAWNULL),COLORMAGENTA,LINETHICK1;

搏杀持股线:IF(MM>REF(MM,1),MM,DRAWNULL),COLORRED,LINETHICK2;

持币线:IF(MM<REF(MM,1),MM,DRAWNULL),COLORGREEN,LINETHICK2;

A:=(C+O)/2;

Z:=C>REF(C,1)*1.05;

D:=C<REF(C,1)*0.95;

STICKLINE(Z,A,O,1,0),COLORMAGENTA;

STICKLINE(D,A,O,1,0),COLORFFFF00;

ZT:=C>REF(C,1)*1.08;

DT:=C<REF(C,1)*0.92;

STICKLINE(ZT,C,O,2,0),COLORRED;

STICKLINE(DT,C,O,2,0),COLORFFFF00;

ZTT:=C>REF(C,1)*1.093;

S:=(C+O)/2;

STICKLINE(ZTT,S,C,0.01,0),COLORYELLOW;

YS1:=(HIGH+LOW+CLOSE*2)/4;

RK3:=EMA(YS1,10);

RK4:=STD(YS1,10);

RK5:=(YS1-RK3)*100/RK4;

RK6:=EMA(RK5,5);

RK7:=EMA(RK6,10);

涨:=EMA(RK6,10)+100/2-5,COLORRED;

跌:=EMA(涨,4),COLORWHITE;

决杀线:MA(C,20),COLORFFFFFF;

VAR11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)

-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

黑马线O:=EMA(VAR11,5);

VAR12:=(黑马线O-REF(黑马线O,1))/REF(黑马线O,1)*100;

熊线:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));

T1:=CROSS(黑马线O,熊线) AND 涨<150;

AA:= CLOSE=OPEN AND HIGH<>LOW  OR CLOSE=OPEN AND HIGH/LOW>1.03  OR CLOSE=OPEN AND  CLOSE=LOW AND  CLOSE<>HIGH  OR REF(CLOSE,1)/REF(OPEN,1)>1.03 AND  CLOSE/OPEN<0.97 AND  OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)  OR OPEN>CLOSE AND OPEN/REF(C,1)>= 1+4/100 AND CLOSE/OPEN<=1-5/100 OR ABS(HIGH-REF(HIGH,1))/HIGH<0.001    

OR OPEN>=CLOSE AND ABS(HIGH-OPEN)>=ABS(OPEN-LOW) OR CLOSE>=OPEN AND ABS(HIGH-CLOSE)>=ABS(CLOSE-LOW) OR OPEN>REF(CLOSE,1) AND OPEN>CLOSE ;

BB:=CLOSE>=OPEN AND ABS(HIGH-OPEN)<=ABS(OPEN-LOW) OR CLOSE<=OPEN AND ABS(HIGH-CLOSE)<=ABS(CLOSE-LOW);

CC:=AA OR BB;

DD:=涨>REF(涨,1) AND C<>O AND C/REF(C,1)<1.099 ;

王五:=涨>170  AND  CC AND DD  AND COUNT(C/REF(C,1)>1.090 AND C<>O,20)<=4>=5;

麻子:=涨>170  AND COUNT(C/REF(C,1)>1.093,15)>=5 OR BARSLASTCOUNT(C/REF(C,1)>=1.093)>=5 AND C<>O;

DRAWICON((HIGH-LLV(L,90))/LLV(L,90)*100>120 AND 黑马线O>=REF(黑马线O,1) AND 黑马线O>98 AND C/REF(C,1)<1.099 AND C<>O AND REF(C,1)<>REF(O,1),H+0.5,2);

DRAWICON(黑马线O>100 AND C<>O AND REF(C,1)<>REF(O,1),H+0.5,2);

DRAWICON(王五 OR 麻子 AND C>MA(C,5) AND C>MA(C,30) AND MA(C,5)>MA(C,10) AND C>MA(C,60) AND REF(C,1)/REF(C,2)<1.08 AND REF(C,1)>REF(O,1),H+0.5,2);

K3:= ABS(L-O)<ABS(O-C) AND C/REF(C,1)>1.093  AND REF(C,1)/REF(C,2)<1.093 AND REF(C,2)/REF(C,3)<1.093 AND REF(C,3)/REF(C,4)<1.093 AND REF(C,4)/REF(C,5)<1.093 AND REF(C,5)/REF(C,6)<1.093 AND NOT(C=O AND C/REF(C,1)>1.099) ;

K4:=C/REF(C,1)>1.093 AND V<REF(V,1) AND REF(C,1)/REF(C,2)<1.093  AND COUNT(C/REF(C,1)>1.093,20)<3;

程序1:=王五 OR 麻子 AND C>MA(C,5) AND C>MA(C,30) AND MA(C,5)>MA(C,10) AND C>MA(C,60) AND REF(C,1)/REF(C,2)<1.08 AND C/REF(C,1)>C/REF(O,1);

程序2:=(HIGH-LLV(L,90))/LLV(L,90)*100>120 AND 黑马线O>=REF(黑马线O,1) AND 黑马线O>95 AND C/REF(C,1)<1.099;

程序3:=黑马线O>100 AND C<>O AND C/REF(C,1)<>C/REF(O,1);

开心:=程序1 OR 程序2 OR 程序3  ;

指标线:=K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(开心,12)<1;

DRAWICON(K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(开心,12)<1 AND SUM(指标线,20)<2 ,O,23);

DRAWTEXT(K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(开心,12)<1 AND SUM(指标线,20)<2 ,L-0.05,'有妖气'),COLORFF00FF;

STICKLINE(K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(开心,12)<1 AND SUM(指标线,20)<2 ,S,C,0.005,0),COLORFFFFFF;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭