最强选股战法推荐:
通达信艾略特波浪划线主图未加密选股指标公式源码
源码正文:
X:=5{XG51};
D:=10{XG51};
M5:ma(C,X){XG51};
M10:MA(C,D){XG51};
T:=BArslAst(crOSS(M5,M10)){XG51};
ST:=BARSLAST(CROSS(M10,M5)){XG51};
T1:=SUMBARS(T=0,2){XG51};
T2:=SUMBARS(T=0,3){XG51};
ST1:=SUMBARS(ST=0,2){XG51};
ST2:=SUMBARS(ST=0,3){XG51};
H1:=IF(CONST(M5)>CONST(M10),HHV(H,T+1),REF(HHV(H,T+1),ST)){XG51};
L1:=IF(CONST(M5)<CONST(M10),LLV(L,ST+1),REF(LLV(L,ST+1),T)){XG51};
H2:=IF(CONST(M5)>CONST(M10),REF(HHV(H,T+1),ST),REF(HHV(H,T+1),ST1-1)){XG51};
L2:=IF(CONST(M5)<CONST(M10),REF(LLV(L,ST+1),T),REF(LLV(L,ST+1),T1-1)){XG51};
H3:=IF(CONST(M5)>CONST(M10),REF(HHV(H,T+1),ST1-1),REF(HHV(H,T+1),ST2-1)){XG51};
L3:=IF(CONST(M5)<CONST(M10),REF(LLV(L,ST+1),T1-1),REF(LLV(L,ST+1),T2-1)){XG51};
TJ1:=CONST(M5)>CONST(M10) AND CURRBARSCOUNT>=CONST(T2) AND CURRBARSCOUNT<=CONST(ST2) AND L=CONST(L3){XG51};
TJ2:=CONST(M5)>CONST(M10) AND CURRBARSCOUNT>=CONST(ST1) AND CURRBARSCOUNT<=CONST(T2) AND H=CONST(H3){XG51};
TJ3:=CONST(M5)>CONST(M10) AND CURRBARSCOUNT>=CONST(T1) AND CURRBARSCOUNT<=CONST(ST1) AND L=CONST(L2){XG51};
TJ4:=CONST(M5)>CONST(M10) AND CURRBARSCOUNT>=CONST(ST) AND CURRBARSCOUNT<=CONST(T1) AND H=CONST(H2){XG51};
TJ5:=CONST(M5)>CONST(M10) AND CURRBARSCOUNT>=CONST(T)+1 AND CURRBARSCOUNT<=CONST(ST)+1 AND L=CONST(L1){XG51};
TJ6:=CONST(M5)>CONST(M10) AND H=CONST(H1) AND CURRBARSCOUNT<=CONST(ST2){XG51};
TJ7:=CONST(M5)<CONST(M10) AND CURRBARSCOUNT>=CONST(ST2) AND CURRBARSCOUNT<=CONST(T2) AND H=CONST(H3){XG51};
TJ8:=CONST(M5)<CONST(M10) AND CURRBARSCOUNT>=CONST(T1) AND CURRBARSCOUNT<=CONST(ST2) AND L=CONST(L3){XG51};
TJ9:=CONST(M5)<CONST(M10) AND CURRBARSCOUNT>=CONST(ST1) AND CURRBARSCOUNT<=CONST(T1) AND H=CONST(H2){XG51};
TJ10:=CONST(M5)<CONST(M10) AND CURRBARSCOUNT>=CONST(T) AND CURRBARSCOUNT<=CONST(ST1) AND L=CONST(L2){XG51};
TJ11:=CONST(M5)<CONST(M10) AND CURRBARSCOUNT>=CONST(ST)+1 AND CURRBARSCOUNT<=CONST(T)+1 AND H=CONST(H1){XG51};
TJ12:=CONST(M5)<CONST(M10) AND L=CONST(L1)AND CURRBARSCOUNT<=CONST(T2){XG51};
DRAWLINE(TJ1,L,TJ2,H,0),COLORLIMAGENTA{XG51};
DRAWLINE(TJ2,H,TJ3,L,0),COLORLIMAGENTA{XG51};
DRAWLINE(TJ3,L,TJ4,H,0),COLORLIMAGENTA{XG51};
DRAWLINE(TJ4,H,TJ5,L,0),COLORLIMAGENTA{XG51};
DRAWLINE(TJ5,L,TJ6,H,0),COLORLIMAGENTA{XG51};
DRAWLINE(TJ7,H,TJ8,L,0),COLORCYAN{XG51};
DRAWLINE(TJ8,L,TJ9,H,0),COLORCYAN{XG51};
DRAWLINE(TJ9,H,TJ10,L,0),COLORCYAN{XG51};
DRAWLINE(TJ10,L,TJ11,H,0),COLORCYAN{XG51};
DRAWLINE(TJ11,H,TJ12,L,0),COLORCYAN{XG51};
HH:=CONST(MAX(MAX(H1,H2),H3)){XG51};
LL:=CONST(MIN(MIN(L1,L2),L3)){XG51};
Z:=(HH-LL)/2+LL{XG51};
DRAWLINE(TJ7,Z,ISLASTBAR,Z,0),COLORCYAN,DOTLINE{XG51};
DRAWTEXT(TJ7,CONST(Z)*1.01,VARCAT(VARCAT('中区价位:',VAR2STR(CONST(Z),2)),'元')),COLORCYAN{XG51};
HH1:=CONST(MAX(H1,MAX(H2,H3))){XG51};
LL1:=CONST(MIN(MIN(L1,L2),L3)){XG51};
Z1:=(HH1-LL1)/2+LL1{XG51};
DRAWLINE(TJ1,Z1,ISLASTBAR,Z1,0),COLORLIMAGENTA,DOTLINE{XG51};
DRAWTEXT(TJ1,CONST(Z)*1.01,VARCAT(VARCAT('中区价位:',VAR2STR(CONST(Z1),2)),'元')),COLORLIMAGENTA{XG51};
近高:H1,COLORLIMAGENTA,NODRAW{XG51};
近低:L1,COLORCYAN,NODRAW{XG51};
中高:H2,COLORLIMAGENTA,NODRAW{XG51};
中底:L2,COLORCYAN,NODRAW{XG51};
远高:H3,COLORLIMAGENTA,NODRAW{XG51};
远底:L3,COLORCYAN,NODRAW{X-G_5*1-C-N-{};
通达信四色宝塔箱体主图未加密选股指标公式源码
源码正文:
多:ema(CLOSE,20),COLORBLUE,LINETHICK2{XG51};
Ema2:=IF(多>=REF(多,1),多,DRAWNULL),COLORBLUE,LINETHICK2{XG51};
空:IF(REF(多,1)>多,多,DRAWNULL),COLORCYAN,LINETHICK2{XG51};
选手:=EMA(C,0){XG51};
箱顶:EMA(REF(HHV(C,150),1),1),LINETHICK3,COLORFFFFE5{XG51};
箱底:EMA(REF(LLV(C,120),1),1),LINETHICK3,COLORCYAN{XG51};
T4:=crOSS(选手,箱底) AND 箱顶/箱底>110/100{XG51};
T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100{XG51};
买线:=EMA(C,0){XG51};
卖线:=EMA(SLOPE(C,0)*20+C,0){XG51};
stICKLINE(买线>=卖线,HHV(H,0),LLV(L,0),0,0),
COLOR000000{XG51};
STICKLINE(买线<卖线,HHV(H,0),LLV(L,0),0,0),
COLOR000000{XG51};
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2){XG51};
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLOR0000FF{XG51};
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2){XG51};
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2){XG51};
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2){XG51};
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORC08000{XG51};
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1{XG51};
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE{XG51};
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD{XG51};
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0) ,COLOR00FF00{X_G-5~1_C_N_{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7