通达信指标公式源码 适合新手的指标 主图指标
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4, COLOR0099FF,LINETHICK1;
YC:=FORCAST((C+L+H)/3,5);
上:=BBI+3*STD(BBI,10),COLORAACC66,LINETHICK1,POINTDOT;
下:=BBI-3*STD(BBI,10),COLORAACC66,LINETHICK1,POINTDOT;{COLORAAC C66}
惹人:BBI;
AAA:=(3*C+H+L+O)/6;
VAR155:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA ,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR255:=(HHV(VAR155,5)+HHV(VAR155,10)+HHV(VAR155,20))/3;
VAR355:=(LLV(VAR155,5)+LLV(VAR155,10)+LLV(VAR155,20))/3;
VAR455:=(HHV(VAR255,5)+HHV(VAR255,10)+HHV(VAR255,20))/3;
VAR555:=(LLV(VAR355,5)+LLV(VAR355,10)+LLV(VAR355,20))/3;
VAR655:=(LLV(VAR155,2)+LLV(VAR155,4)+LLV(VAR155,6))/3;
短线:=VAR155,COLORWHITE;
MA110:=MA(CLOSE,10),COLORYELLOW;
绿
降:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINE THICK1;
VAR1:=VOL*(O+C)/2;
生命线:=SUM(VAR1,7)/SUM(VOL,7),COLORFF00FF,LINETHICK1;
MW:=18;FL:=MA(CLOSE,MW)+ABS(MA(CLOSE,MW)-REF(MA(CLOSE,MW),1)) ,COLORRED;
FS:=MA(CLOSE,MW)+MA(CLOSE,MW)-REF(MA(CLOSE,MW),1),COLORGREEN, LINETHICK2;
岭:=IF(MA(CLOSE,MW) 筹码密集:=HHV(MA(H,13),13),COLORRED,LINETHICK1; TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF( CLOSE,1)-LOW))); ATR:=MA(TLAMSENR,13);VAR11A:=(REF(CLOSE,1)-REF(ATR,1)); 多:=(HHV(VAR11A,12)),LINETHICK1,COLOR0099FF;{COLOR0080FF} N:=20; MB:=MA(C,N); R:=C-MB; X1:=MA(R*R,N); X:=SQRT(X1); M5:=MA(C,5),COLORWHITE,LINETHICK1; M10:=MA(C,10),COLORYELLOW,LINETHICK1; M20:=MB,COLORMAGENTA,LINETHICK1;{COLOR9D7DE2} M26:=MA(C,10),COLORMAGENTA,LINETHICK1; M60:=MA(C,60),COLORGREEN,LINETHICK1; M120:=MA(C,120),COLORLIBLUE,LINETHICK2; 上轨:=MA(C,20) + 2*STD(CLOSE,20),COLORBLUE; 下轨:=MA(C,20) - 2*STD(CLOSE,20),COLORBLUE; 中轨:=MA(C,17),COLORWHITE,LINETHICK1; 上轨1:=MB+0.98*X,POINTDOT,LINETHICK1,COLORLIGRAY; 上轨2:=MB+1.96*X,,COLORGRAY,LINETHICK1; 下轨1:=MB-0.98*X,CIRCLEDOT,LINETHICK1,COLORLIGRAY; 下轨2:=MB-1.96*X,COLORGRAY,LINETHICK1; RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; RSV24:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; K24:=SMA(RSV24,3,1); D24:=SMA(K24,3,1); J24:=3*K24-2*D24; 压 力:=IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLORWHITE,POI NTDOT,LINETHICK2; 支 撑:=IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),COLORLIBLUE,POI NTDOT,LINETHICK2; 压力 位:=IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLORLIGRAY,PO INTDOT,LINETHICK4;