以下是大师版通达信绝密绝密三代指标源码和使用说明
大师版通达信绝密绝密三代指标源码:
绝密线:expma(C,17),COLOR00FFFF,LINETHICK2;
乾坤线:EXPma(EXPMA(CLOSE,50),1),LINETHICK3,COLOR00FF00;
IF(乾坤线 =REF(乾坤线,1),乾坤线,DRAWNULL),COLORRED,LINETHICK3;
stICKLINE(C =绝密线 C =O,C,O,3,0),COLORRED;
STICKLINE(C =绝密线 C =O,H,L,0,0),COLORRED;
STICKLINE(C =绝密线 C O,C,O,3,1),COLORRED;
STICKLINE(C =绝密线 C O,O,H,0,0),COLORRED;
STICKLINE(C =绝密线 C O,C,L,0,0),COLORRED;
STICKLINE(C 绝密线 C O,C,O,3,1),COLORBLUE;
STICKLINE(C 绝密线 C =O,C,O,3,1),COLORBLUE;
STICKLINE(C 绝密线 C =O,H,L,0,1),COLORBLUE;
STICKLINE(C 绝密线 C O,C,H,0,1),COLORBLUE;
STICKLINE(C 绝密线 C O,O,L,0,1),COLORBLUE;
VAR1:=EMA(CLOSE,4)-EMA(CLOSE,13);
AA:=VAR1 =REF(VAR1,1);
BB:=VAR1 REF(VAR1,1);
买入:DRAWICON(crOSS(AA,BB),L,1);
卖出:DRAWICON(CROSS(BB,AA),H,2);
STICKLINE(买入,O,(C-O)/2+O,3,0),COLOR335555;
STICKLINE(买入,O,(C-O)/2+O,2.2,0),COLOR338888;
STICKLINE(买入,O,(C-O)/2+O,1.5,0),COLOR33AAAA;
STICKLINE(买入,O,(C-O)/2+O,1,0),COLOR33CCCC;
STICKLINE(买入,O,(C-O)/2+O,0,0),COLOR33EEEE;
STICKLINE(卖出,O,(C-O)/2+O,3,0),COLOR550055;
STICKLINE(卖出,O,(C-O)/2+O,2.2,0),COLOR880088;
STICKLINE(卖出,O,(C-O)/2+O,1.5,0),COLORAA00AA;
STICKLINE(卖出,O,(C-O)/2+O,1,0),COLORCC00CC;
STICKLINE(卖出,O,(C-O)/2+O,0.5,0),COLOREE00EE;
{
公式:
绝密:=EXPMA(C,17);
乾坤:=EXPMA(EXPMA(CLOSE,50),1);
条件:=绝密 REF(绝密,1)AND乾坤 REF(乾坤,1);
绝密乾坤:CROSS(绝密,乾坤)AND条件;
通达信绝密:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
三代指标:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
ssddd3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
ssddd4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(50,通达信绝密)) 3ANDBARSLAST(CROSS(通达信绝密,50)) 3AND通达信绝密
B:=BARSLAST(CROSS(ssddd4,通达信绝密)) 2ANDBARSLAST(CROSS(通达信绝密,ssddd4)) 2AND通达信绝密 ssddd4;
wwwdd1:=DRAWICON(AANDB,通达信绝密,9);
wwwdd2:CROSS(wwwdd1,0.8);
V1:=EMA(CLOSE,60)-EMA(CLOSE,300);
V2:=EMA(V1,300);
V3:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
V4:SMA(V3,2,1);
V5:SMA(V4,2,1);
V6:=CLOSE/REF(CLOSE,5) =1.1;
V7:=BACKSET(V6,5);
买入:IF((V7ANDCOUNT(V7,3)=1),22,0),COLORYELLOW,LINETHICK3;
DRAWTEXT(买入,35,'买入'),COLORYELLOW,LINETHICK3;
大师版通达信绝密绝密三代指标截图