没有套路!干脆直白分享一些通达信指标公式
公式名称:鹰眼判断[DZH]
A1:=C*2-REF(C,8.5/2);
A2:=REF(C,19/3)*2-C;
短期对称:=(A1+A2)/2;
关键点:=HHV(短期对称,27/2);
M1:=L*2-REF(H,27/2);
M2:=REF(H,27/2)*2-L;
M3:=(M1+M2)/2;
中期对称:=FORCAST(M3,21);
趋势判断:MA(M3,27*2),COLOR0000FF,NODRAW;
VAR5:=EMA((O+H+L+C)/4,233);
鹰派审美观:=VAR5+VAR5*6/100;
AMV0:=V*(O+C)/2;
朦胧才是美:=SUM(AMV0,45.5)/SUM(V,45.5);
CG:=MA(C,12.5);
FL:=HHV(CG,9);
FS:=CG-FL-CG;
{WWW.88GS.COM}
ZA5:=趋势判断-REF(趋势判断,1);
{大智慧版}
{DRAWICON(ZA5<0,趋势判断,1);
DRAWICON(ZA5>0,趋势判断,10);
DRAWICON(ZA5=0,趋势判断,2);}
{通达信版}
IF(ZA5<0,趋势判断,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4;
IF(ZA5>0,趋势判断,DRAWNULL),COLOR0000FF,POINTDOT,LINETHICK4;
IF(ZA5=0,趋势判断,DRAWNULL),COLOR00FFFF,POINTDOT,LINETHICK4;
{通用版}{WWW.88GS.COM}
{DRAWTEXT(ZA5<0,趋势判断,'●'),COLOR00FF00;
DRAWTEXT(ZA5>0,趋势判断,'●'),COLOR0000FF;
DRAWTEXT(ZA5=0,趋势判断,'●'),COLOR00FFFF;}
STICKLINE(C>=CG,O,C,2.5,0),COLOR0000FF;
STICKLINE(C>=CG,L,O,0,1),COLOR0000FF;
STICKLINE(C>=CG,C,H,0,1),COLOR0000FF;
STICKLINE(C<CG,C,O,2.5,0),COLOR00FF00;
STICKLINE(C<CG,O,L,0,0),COLOR00FF00;
STICKLINE(C<CG,H,C,0,0),COLOR00FF00;
H1:=HHVBARS(A1,13);
HB:=HHVBARS(A1,4.5);
短线判断:REF(短期对称,HB),COLORFFFF00;
中线判断:REF(M3,H1),COLOR00FFFF;
永不套牢
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
K:=BARSLAST(CURRBARSCOUNT=60);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0)),NODRAW;
DDA:=CONST(IF(ISLASTBAR=1,LLV(L,K),0)),NODRAW;
KJ:=GD-DDA;
一:IF(CURRBARSCOUNT<=5,DDA+KJ*0.1,DRAWNULL),COLORYELLOW,DOTLINE;
二: IF(CURRBARSCOUNT<=5,DDA+KJ*0.28,DRAWNULL),COLORYELLOW,DOTLINE;
三:IF(CURRBARSCOUNT<=5,DDA+KJ*0.41,DRAWNULL),COLORYELLOW,DOTLINE;
四:IF(CURRBARSCOUNT<=5,DDA+KJ*0.54,DRAWNULL),COLORYELLOW,DOTLINE;
五:IF(CURRBARSCOUNT<=5,DDA+KJ*0.62,DRAWNULL),COLORYELLOW,DOTLINE;
六:IF(CURRBARSCOUNT<=5,DDA+KJ*0.74,DRAWNULL),COLORYELLOW,DOTLINE;
七:IF(CURRBARSCOUNT<=5,DDA+KJ*0.88,DRAWNULL),COLORYELLOW,DOTLINE;
八:IF(CURRBARSCOUNT<=5,DDA+KJ*1,DRAWNULL),COLORYELLOW,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,一,' 一线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,二,' 二线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,三,' 三线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,四,' 四线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,五,' 五线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,六,' 六线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,七,' 七线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=1,八,' 八线'),COLOR00FFFF;
跟A7:=C-REF(C,1);
跟A8:=100*EMA(EMA(跟A7,6),6)/EMA(EMA(ABS(跟A7),6),6);
买:=LLV(跟A8,2)=LLV(跟A8,7) AND COUNT(跟A8<0,2) AND CROSS(跟A8,MA(跟A8,2));
跟庄买进:DRAWTEXT(FILTER(买=1,5),L*0.9999,'∠跟庄买进')COLORMAGENTA;
TA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=EMA(TA,13);
VAR8A:=REF(CLOSE,1)-REF(ATR,1);
永不套牢线:HHV(VAR8A,13), COLORCYAN;
DRAWTEXT(ISLASTBAR,永不套牢线,' 永不套牢线'), COLORWHITE;
N8:=STRCAT(CON2STR(YEAR,0),' 年 ');
Y8:=STRCAT(CON2STR(MONTH,0),' 月 ');
R8:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ8:=STRCAT(STRCAT(N8,Y8), R8);
SJ9:=STRCAT(STRCAT(N8,Y8), R8);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,1.02,0,SJ8),COLORYELLOW;
MA3:MA(CLOSE,M1);
MA5:MA(CLOSE,M2);
MA8:MA(CLOSE,M3);
MA13:MA(CLOSE,M4);
MA21:MA(CLOSE,M5);
MA34:MA(CLOSE,M6);
MA55:MA(CLOSE,M7);
MA89:MA(CLOSE,M8);
MA144:MA(CLOSE,M9);
MA233:MA(CLOSE,M10);
参数1-4设置
参数5-8设置
参数9-12设置
参数13-16设置