最强选股战法推荐:
通达信线性回归通道主图未加密选股指标公式源码
源码正文:
UR:=6;LR:=6{XG51};
TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL){XG51};
TC2:=CONst(BArslAST(TC1=H))+1{XG51};
UP:CONST(IF(TC2=1,H,REF(H,TC2-1))){XG51};
BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL){XG51};
BC2:=CONST(BARSLAST(BC1=L))+1{XG51};
LL:CONST(IF(BC2=1,L,REF(L,BC2-1))){XG51};
LP:=CURRBARSCOUNT<=BC2 AND L=LL{XG51};
HP:=CURRBARSCOUNT<=TC2 AND H=UP{XG51};
STICKLINE(IF(BC2>TC2,HP,LP),LL,UP,0,0),COLOR628962{XG51};
STICKLINE(IF(BC2>TC2,LP,HP),LL,UP,0,0),COLOR628962{XG51};
NOD:=(IF(TC2>BC2,TC2,BC2)-IF(TC2>BC2,BC2,TC2)){XG51};
LR1:=FORCAST(C,NOD+1){XG51};
NP:IF(CURRBARSCOUNT<=maX(BC2,TC2),CONST(IF(MIN(TC2,BC2)=1,LR1,REF(LR1,MIN(TC2,BC2)-1))),DRAWNULL),POINTDOT,COLOR93BDA8{XG51};
LR2:=SLOPE(C,NOD+1){XG51};
LR3:=CONST(IF(MIN(TC2,BC2)=1,LR2,REF(LR2,MIN(TC2,BC2)-1))){XG51};
FP:NP-LR3*(NOD),POINTDOT,COLOR93BDA8{XG51};
EQU:(NP+FP)/2,POINTDOT,COLOR93BDA8{XG51};
AD:=Abs(NP-FP);{XG51};
DBL:=BARSLAST(BC1!=DRAWNULL)+1{XG51};
DBH:=BARSLAST(TC1!=DRAWNULL)+1{XG51};
BSP:=IF(BC2>TC2,DBL,DBH)-1{XG51};
LRL:=IF(NP>FP,FP+AD/NOD*BSP,FP-AD/NOD*BSP){XG51};
AT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND H>LRL,H,LRL){XG51};
AT2:=HHV(AT1-LRL,MAX(BC2,TC2)){XG51};
AT3:=CONST(BARSLAST(AT1-LRL=AT2)){XG51};
AT4:=CONST(IF(AT3=0,H,REF(H,AT3))){XG51};
AT5:=CONST(IF(AT3=0,AT1-LRL,REF(AT1-LRL,AT3))){XG51};
ATL:=LRL+AT5{XG51};
UT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC2) AND L<LRL,L,LRL){XG51};
UT2:=HHV(LRL-UT1,MAX(BC2,TC2)){XG51};
UT3:=CONST(BARSLAST(LRL-UT1=UT2)){XG51};
UT4:=CONST(IF(UT3=0,H,REF(H,UT3))){XG51};
UT5:=CONST(IF(UT3=0,LRL-UT1,REF(LRL-UT1,UT3))){XG51};
UTL:=LRL-UT5{XG51};
RH:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,ATL,CONST(REF(ATL,MIN(BC2,TC2)-11))){XG51};
RL:=IF(CURRBARSCOUNT>=MIN(BC2,TC2)-10,UTL,CONST(REF(UTL,MIN(BC2,TC2)-11))){XG51};
中轨:IF(NP>FP,IF(LRL<=RH,LRL,DRAWNULL),IF(LRL>=RL,LRL,DRAWNULL)),COLOR628962{XG51};
上轨:IF(NP>FP,IF(ATL<=RH,ATL,DRAWNULL),IF(ATL>=RL,ATL,DRAWNULL)),COLOR628962{XG51};
下轨:IF(NP>FP,IF(UTL<=RH,UTL,DRAWNULL),IF(UTL>=RL,UTL,DRAWNULL)),COLOR628962{X*G_5*1*C*N*{};
通达信买卖盘绝密未加密选股指标公式源码
源码正文:
A1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN)){XG51};
主动买盘:=IF(CLOSE>OPEN,A1*(HIGH-LOW),IF(CLOSE<OPEN,A1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORWHITE NODRAW{XG51};
主动卖盘:=IF(CLOSE>OPEN,A1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,A1*(HIGH-LOW),VOL/2)),COLORCYAN NODRAW{XG51};
买量L1:SUM((主动买盘-主动卖盘)/CAPITAL,1)*1000{XG51};
L2:SUM((主动买盘-主动卖盘)/CAPITAL,2)*1000{XG51};
L3:SUM((主动买盘-主动卖盘)/CAPITAL,3)*1000{XG51};
L4:SUM((主动买盘-主动卖盘)/CAPITAL,4)*1000{XG51};
L5:SUM((主动买盘-主动卖盘)/CAPITAL,5)*1000{XG51};
L6:SUM((主动买盘-主动卖盘)/CAPITAL,6)*1000{XG51};
L7:SUM((主动买盘-主动卖盘)/CAPITAL,7)*1000{XG51};
L8:SUM((主动买盘-主动卖盘)/CAPITAL,8)*1000{XG51};
L9:SUM((主动买盘-主动卖盘)/CAPITAL,9)*1000{XG51};
L10:SUM((主动买盘-主动卖盘)/CAPITAL,10)*1000{XG51};
L11:SUM((主动买盘-主动卖盘)/CAPITAL,11)*1000{XG51};
L12:SUM((主动买盘-主动卖盘)/CAPITAL,12)*1000{XG51};
L13:SUM((主动买盘-主动卖盘)/CAPITAL,13)*1000{XG51};
L14:SUM((主动买盘-主动卖盘)/CAPITAL,14)*1000{XG51};
L15:SUM((主动买盘-主动卖盘)/CAPITAL,15)*1000{X_G~5-1_C_N_{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7