欢迎您访问投资者加油站-WWW.XG51.CN选股无忧网

尾盘超短线稳步登高 鲛海龙珠火箭加油低估价值难得一见空中加速哪吒闹海一剑封喉猛龙在天底部黄金神龙见首跟庄波段神龙甩尾

鱼跃龙门拔地而起底部起飞筹码突击阶段新高MACD金叉量能巨变深跌回弹小步上扬量价齐飞盘整突破超卖反转超级强势强势洗盘

软件书籍买点指标卖点指标买卖指标底部指标市场热点股票入门指标改编指标技巧通达信公式安装方法大智慧公式安装方法同花顺公式安装方法

支撑线指标

当前位置: 主页 > 指标专题大全 > 支撑线指标

通达信黄金分割压力和支撑画线主图选股指标公式源码

来源:网络|编辑:小编|时间:2021-05-24|栏目:支撑线指标

通达信黄金分割压力和支撑画线主图选股指标公式源码(图1)

通达信黄金分割压力和支撑画线主图选股指标公式源码

源码正文:

N1:=20{XG51};
N2:=10{XG51};
N3:=5{XG51};
AA:=REF(H,N1)=HHV(H,2*N1+1){XG51};
QY:=BacKSET(AA,N1+1){XG51};
CC:=FILTER(QY,N1) AND H=HHV(H,N1+1){XG51};
DDD:=BArslAst(CC){XG51};
GDTS:=IF(CC,CURRBARSCOUNT,0){XG51};
DINGBU:=IF(DDD,REF(H,DDD),H){XG51};
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS){XG51};
DINGBU1:=REF(DINGBU,DDD+1){XG51};
GDCS1:=CONST(DINGBUTS){XG51};
DINGBUTS1:=REF(DINGBUTS,DDD+1){XG51};
GDCS2:=CONST(DINGBUTS1){XG51};
DINGBU2:=REF(DINGBU1,DDD+1){XG51};
MM:=IF(CURRBARSCOUNT>GDCS2,0,1){XG51};
AA1:=REF(L,N1)=LLV(L,2*N1+1){XG51};
QY1:=BACKSET(AA1,N1+1){XG51};
CC1:=FILTER(QY1,N1) AND L=LLV(L,N1+1){XG51};
DD1:=BARSLAST(CC1){XG51};
DDTS:=IF(CC1,CURRBARSCOUNT,0){XG51};
YDB:=IF(DD1,REF(L,DD1),L){XG51};
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS){XG51};
DDCS1:=CONST(DDTS1){XG51};
ZDB:=REF(YDB,DD1+1){XG51};
DDTS2:=REF(DDTS1,DD1+1){XG51};
DDCS2:=CONST(DDTS2){XG51};
LAA:=REF(H,N2)=HHV(H,2*N2+1){XG51};
LQY:=BACKSET(LAA,N2+1){XG51};
LCC:=FILTER(LQY,N2) AND H=HHV(H,N2+1){XG51};
LDDD:=BARSLAST(LCC){XG51};
LGDTS:=IF(LCC,CURRBARSCOUNT,0){XG51};
LDINGBU:=IF(LDDD,REF(H,LDDD),H){XG51};
LDINGBUTS:=IF(LDDD,REF(LGDTS,LDDD),LGDTS){XG51};
LDINGBU1:=REF(LDINGBU,LDDD+1){XG51};
LGDCS1:=CONST(LDINGBUTS){XG51};
LDINGBUTS1:=REF(LDINGBUTS,LDDD+1){XG51};
LGDCS2:=CONST(LDINGBUTS1){XG51};
LDINGBU2:=REF(LDINGBU1,LDDD+1){XG51};
LMM:=IF(CURRBARSCOUNT>LGDCS2,0,1){XG51};
LAA1:=REF(L,N2)=LLV(L,2*N2+1){XG51};
LQY1:=BACKSET(LAA1,N2+1){XG51};
LCC1:=FILTER(LQY1,N2) AND L=LLV(L,N2+1){XG51};
LDD1:=BARSLAST(LCC1){XG51};
LDDTS:=IF(LCC1,CURRBARSCOUNT,0){XG51};
LYDB:=IF(LDD1,REF(L,LDD1),L){XG51};
LDDTS1:=IF(LDD1,REF(LDDTS,LDD1),LDDTS){XG51};
LDDCS1:=CONST(LDDTS1){XG51};
LZDB:=REF(LYDB,LDD1+1){XG51};
LDDTS2:=REF(LDDTS1,DD1+1){XG51};
LDDCS2:=CONST(LDDTS2){XG51};
DDYL2:=DRAWLINE(CURRBARSCOUNT=LGDCS2,H,CURRBARSCOUNT=LGDCS1,H,1) COLORRED{XG51};
DDZC2:=DRAWLINE(CURRBARSCOUNT=LDDCS2,L,CURRBARSCOUNT=LDDCS1,L,1) COLORRED{XG51};
ZGSTAR:=(DDYL2+DDZC2)/2{XG51};
ZGEND:=CONST((DDYL2+DDZC2)/2){XG51};
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);

LLAA:=REF(H,N3)=HHV(H,2*N3+1){XG51};
LLQY:=BACKSET(LLAA,N3+1){XG51};
LLCC:=FILTER(LLQY,N3) AND H=HHV(H,N3+1){XG51};
LLDDD:=BARSLAST(LLCC){XG51};
LLGDTS:=IF(LLCC,CURRBARSCOUNT,0){XG51};
LLDINGBU:=IF(LLDDD,REF(H,LLDDD),H){XG51};
LLDINGBUTS:=IF(LLDDD,REF(LLGDTS,LLDDD),LLGDTS){XG51};
LLDINGBU1:=REF(LLDINGBU,LLDDD+1){XG51};
LLGDCS1:=CONST(LLDINGBUTS){XG51};
LLDINGBUTS1:=REF(LLDINGBUTS,LLDDD+1){XG51};
LLGDCS2:=CONST(LLDINGBUTS1){XG51};
LLDINGBU2:=REF(LLDINGBU1,LLDDD+1){XG51};
LLMM:=IF(CURRBARSCOUNT>LGDCS2,0,1){XG51};
LLAA1:=REF(L,N3)=LLV(L,2*N3+1){XG51};
LLQY1:=BACKSET(LLAA1,N3+1){XG51};
LLCC1:=FILTER(LLQY1,N3) AND L=LLV(L,N3+1){XG51};
LLDD1:=BARSLAST(LCC1){XG51};
LLDDTS:=IF(LLCC1,CURRBARSCOUNT,0){XG51};
LLYDB:=IF(LLDD1,REF(L,LLDD1),L){XG51};
LLDDTS1:=IF(LLDD1,REF(LLDDTS,LLDD1),LDDTS){XG51};
LLDDCS1:=CONST(LLDDTS1){XG51};
LLZDB:=REF(LLYDB,LLDD1+1){XG51};
LLDDTS2:=REF(LLDDTS1,DD1+1){XG51};
LLDDCS2:=CONST(LLDDTS2){XG51};
GDYL3:=DRAWLINE(CURRBARSCOUNT=LLGDCS2,H,CURRBARSCOUNT=LLGDCS1,H,1) COLORBLUE{XG51};
DDZC3:=DRAWLINE(CURRBARSCOUNT=LLDDCS2,L,CURRBARSCOUNT=LLDDCS1,L,1) COLORBLUE{XG51};
LZGSTAR:=(GDYL3+DDZC3)/2{XG51};
LZGEND:=CONST((GDYL3+DDZC3)/2){XG51};
LSTARDAY:=IF(LLDDCS2<LLGDCS2,LLDDCS2,LLGDCS2){XG51};
GDYL1:=DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORWHITE{XG51};
DDZC1:=DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORWHITE;

长线压力:DDZC1+(GDYL1-DDZC1)*0.809,COLORWHITE{XG51};
长线支撑:DDZC1+(GDYL1-DDZC1)*0.191,COLORWHITE{XG51};
中线压力:DDZC2+(DDYL2-DDZC2)*0.809,COLORCYAN{XG51};
中线支撑:DDZC2+(DDYL2-DDZC2)*0.191,COLORCYAN{XG51};
短线压力:DDZC3+(GDYL3-DDZC3)*0.809,COLORYELLOW{XG51};
短线支撑:DDZC3+(GDYL3-DDZC3)*0.191,COLORYELLOW{XG51};
L中轨:DRAWLINE(CURRBARSCOUNT=LSTARDAY,LZGSTAR,ISLASTBAR,LZGEND,1),COLORBLUE{XG51};
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORRED{XG51};
长GDYL:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORWHITE,POINTDOT{XG51};
长DDZC:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORWHITE,POINTDOT{XG51};
中DDYL:DRAWLINE(CURRBARSCOUNT=LGDCS2,H,CURRBARSCOUNT=LGDCS1,H,1) COLORRED,POINTDOT{XG51};
中DDZC:DRAWLINE(CURRBARSCOUNT=LDDCS2,L,CURRBARSCOUNT=LDDCS1,L,1) COLORRED,POINTDOT{XG51};
短GDYL:DRAWLINE(CURRBARSCOUNT=LLGDCS2,H,CURRBARSCOUNT=LLGDCS1,H,1) COLORBLUE,POINTDOT{XG51};
短DDZC:DRAWLINE(CURRBARSCOUNT=LLDDCS2,L,CURRBARSCOUNT=LLDDCS1,L,1) COLORBLUE,POINTDOT{X=G.5?1=C=N={};

免责声明 | 联系我们 | 服务协议

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。

联系QQ:875328188 | 邮箱:875328188@qq.com

Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7