以下是超准好用通达信做t神器指标公式源码和使用说明
超准好用通达信做t神器指标公式源码:
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
M3:=MA(C,3);
M10:=MA(C,10);
M55:=MA(C,55);
M89:=MA(C,89);
STICKLINE(M55 REF(M55,1),10,12,0.4,0)COLORYELLOW;
STICKLINE(M89 REF(M89,1),12,14,0.4,0)COLORRED;
RSV:=(CLOSE-LLV(LOW,196))/(HHV(HIGH,196)-LLV(LOW,196))*100;
快线:SMA(RSV,30,1);
慢线:SMA(快线,15,1);
RSV1:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100;
参照快线:SMA(RSV1,6,1);
参照慢线:SMA(参照快线,3,1);
AA:快线,COLORBLUE,LINETHICK1;
AA升:IF(AA REF(AA,1),AA,DRAWNULL),COLORLIMAGENTA,LINETHICK1;
AA降:IF(AA REF(AA,1),AA,DRAWNULL),COLORGREEN,LINETHICK1;
AA强势:IF(快线 慢线ANDMACD 0ANDDIF 0,AA,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(快线,慢线),快线,15);
STICKLINE(CROSS(参照快线,参照慢线)AND快线 =REF(快线,1)ANDM55 =REF(M55,1)AND参照快线 76ANDABS(MA(C,5)-MA(C,10)) 0.3,快线,快线+15,0.5.9,0)COLORRED;
90;
80;
50;
10;
做T神器:=2;
通达信指标公式:=2;
ccsess1:=EMA((HHV(HIGH,做T神器)-LLV(OPEN,3))*0.191,4);
ccsess2:=EMA((HHV(HIGH,做T神器)-LLV(OPEN,3))*0.382,4);
ccsess3:=EMA((HHV(HIGH,做T神器)-LLV(OPEN,3))*0.5,4);
ccsess4:=EMA((HHV(HIGH,做T神器)-LLV(OPEN,3))*0.618,4);
ccsess5:=EMA((HHV(HIGH,做T神器)-LLV(OPEN,3))*0.809,4);
ccsess6:=EMA((HHV(HIGH,做T神器)-LLV(OPEN,3))*1,4);
ccsess7:=MEMA((HHV(OPEN,通达信指标公式)-LLV(LOW,通达信指标公式))*0.191,4);
ccsess8:=MEMA((HHV(OPEN,通达信指标公式)-LLV(LOW,通达信指标公式))*0.382,4);
ccsess9:=MEMA((HHV(OPEN,通达信指标公式)-LLV(LOW,通达信指标公式))*0.5,4);
ccsess10:=MEMA((HHV(OPEN,通达信指标公式)-LLV(LOW,通达信指标公式))*0.618,4);
ccsess11:=MEMA((HHV(OPEN,通达信指标公式)-LLV(LOW,通达信指标公式))*0.809,4);
ccsess12:=MEMA((HHV(OPEN,通达信指标公式)-LLV(LOW,通达信指标公式))*1,4);
vvsew19:OPEN+ccsess1,COLORC080FF;
vvsew38:OPEN+ccsess2,COLORFF80FF;
vvsew50:OPEN+ccsess3,COLORMAGENTA;
vvsew61:OPEN+ccsess4,COLORLIMAGENTA;
vvsew80:OPEN+ccsess5,COLORRED;
vvsew100:OPEN+ccsess6,COLORRED;
aawws19:OPEN-ccsess7,NODRAW,COLOR80FF80;
aawws38:OPEN-ccsess8,COLOR80FF00;
aawws50:OPEN-ccsess9,NODRAW,COLOR80FF00;
aawws61:OPEN-ccsess10,COLOR40FF00;
aawws80:OPEN-ccsess11,COLORGREEN;
aawws100:OPEN-ccsess12,NODRAW,COLORGREEN;
ccsess13:=1/3*(REF(LOW,2)+REF(OPEN,2)+REF(HIGH,2));
ccsess14:=1/3*(REF(LOW,1)+REF(CLOSE,1)+REF(HIGH,1));
{vvssss1:MA(0.45*(ccsess13+ccsess14),2),COLORYELLOW;
vvssss3:MA(0.56*(ccsess13+ccsess14),2),COLORYELLOW;};
顶:=85;
中:=50;
底:=20;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VARA:=IF(VAR9 100,VAR9-100,0);
VARB:=HHV(HIGH,34);
AA:=VARA*2;
BB:=EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
CC:SMA(VAR5,20,1),colorred;
CC1:SMA(CC,5,1),colorgreen;
STICKLINE(CC CC1,CC,CC1,1,0),colorred;
STICKLINE(CC1 CC,CC,CC1,1,0),colorgreen;
出击:IF((CROSS(CC,CC1)AND(CC1 顶)),80,0),colorred;
DRAWICON(CC REF(CC,1)ANDREF(CC,1) REF(CC,2)ANDCC CC1,100,2);
DRAWICON(CROSS(CC1,CC),100,15);
超准好用通达信做t神器指标公式截图