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

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

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

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

通达信公式

当前位置: 主页 > 通达信公式

通达信当下操作布林主图未加密选股指标公式源码

来源:网络|编辑:小编|时间:2021-12-26|栏目:通达信公式

通达信当下操作布林主图未加密选股指标公式源码

通达信当下操作布林主图未加密选股指标公式源码

源码正文:

MID:ma(CLOSE,21),COLORRED{XG51};
UPPER:MID + 1.96*stD(CLOSE,21),COLORBLUE{XG51};
LOWER:MID - 1.96*STD(CLOSE,21),COLORBLUE{XG51};
UP:MID + 2.58*STD(CLOSE,21),COLORFF00FF{XG51};
LOOW:MID - 2.58*STD(CLOSE,21),COLORFF00FF{XG51};
单边上升:=(C>MID){XG51};
单边下降:=(C<MID){XG51};
布林线开口:=UP-LOOW{XG51};
多头行情:=C>MA(C,5) AND MA(C,5)>MA(C,10){XG51};
股价在高位:=((C-LLV(C,30))/(HHV(C,30)-LLV(C,30))>0.6){XG51};
股价在低位:=((C-LLV(C,30))/(HHV(C,30)-LLV(C,30))<0.4){XG51};
布林线缩口:=((UPPER-MID)/MID<0.05);
STICKLINE(单边上升,MID,UP,6,0),COLOR330066{XG51};
STICKLINE(单边下降,LOOW,MID,6,0),COLOR545454{XG51};
DRAWTEXT(布林线缩口,MID,'▲'),COLORRED{XG51};
STICKLINE((OPEN >= CLOSE),OPEN,CLOSE,5,0),COLORGREEN{XG51};
STICKLINE((OPEN >= CLOSE),HIGH,LOW,0,0),COLORGREEN{XG51};
STICKLINE((OPEN < CLOSE),OPEN,CLOSE,5,0),COLORWHITE{XG51};
STICKLINE((OPEN < CLOSE),HIGH,LOW,0,0),COLORWHITE{XG51};
MID,COLORRED{XG51};
UPPER,COLORBLUE{XG51};
LOWER,COLORBLUE{XG51};
UP,COLORFF00FF{XG51};
LOOW,COLORFF00FF{XG51};
drawtext(单边上升 and ref(c,1)>ref(up,1) and c < up ,up*1.08,'减仓'),color00FF00{XG51};
drawtext(ref(布林线开口,1)=hhv(布林线开口,20) and 单边上升,up*1.08,'卖出'),colorwhite{XG51};
空仓:=(cross(mid,amount/v/100)){XG51};
drawtext(空仓,up*1.05,'空仓'),coloryellow{XG51};
drawtext(BArslAST(布林线缩口)=1 and c<ma(c,10),up*1.08,'一轮跌势起'),color00FF00{XG51};
适当建仓:=(单边上升 and FILTER(多头行情,20) and v>ma(v,3)){XG51};
drawtext(适当建仓,loow,'适当建仓'),colorred{XG51};
加仓:=(单边上升 and ref(c-mid,1)=llv(c-mid,5)){XG51};
drawtext(加仓 and BARSLAST(适当建仓)<BARSLAST(空仓),loow,'加仓'),colorff00ff{XG51};
一波行情起:=(BARSLAST(布林线缩口)<=3 and v>ma(v,3) and 股价在低位 and c>ref(c,1) and c>ma(c,10)){XG51};
drawtext(FILTER(一波行情起,5),lower,'一波行情起'),colorred{XG51};
一波跌势完:=(单边下降 and BARSLAST(ref(布林线开口,1)=hhv(布林线开口,50))<=5 and loow>ref(loow,1) and c <mid) and 股价在低位{XG51};
drawtext(FILTER(一波跌势完,5),lower,'抢反弹'){X~G!5-1~C~N~{};

通达信当下操作布林主图未加密选股指标公式源码

通达信简单画线主图未加密选股指标公式源码

源码正文:

A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=BacKSET(B1,3+1); D1:=FILTER(C1,3){XG51};
A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3){XG51};
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2; E2:=(HIGH+LOW)/2{XG51};
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLAstBAR OR BARSCOUNT(CLOSE)=1{XG51};
L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2){XG51};
X1:=REF(BArslAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)){XG51};
G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1){XG51};
L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1{XG51};
X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)){XG51};
G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1){XG51};
DRAWLINE(LD,L,HD,H,0),COLORRED,LINETHICK1,DOTLINE{XG51};
DRAWLINE(HD,H,LD,L,0),COLORRED,LINETHICK1,DOTLINE{XG51};
J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1){XG51};
DRAWLINE(J2,IF(HD,H,L),ISLASTBAR,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),COLORRED,LINETHICK1,DOTLINE{XG51};
A3:=H<REF(H,REF(BARSLAST(HD),1)+1){XG51};
B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARSLAST(HD),REF(BARSLAST(HD),1)+2)){XG51};
D3:=A3 AND B3 AND HD; E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2);
HH:=E3>REF(E3,1){XG51};
A4:=L>REF(L,REF(BARSLAST(LD),1)+1){XG51};
B4:=REF(L,REF(BARSLAST(LD),1)+1)<REF(L,REF(BARSLAST(LD),1)+2+REF(BARSLAST(LD),REF(BARSLAST(LD),1)+2)){XG51};
D4:=A4 AND B4 AND LD; E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2); LL:=E4>REF(E4,1){XG51};
DRAWICON(HH,H,2); DRAWICON(LL,L,1){XG51};
H3:=HH OR ISLASTBAR OR BARSCOUNT(C)=1;
X3:=REF(BARSLAST(H3),1)+1; F3:=BACKSET(H3 AND COUNT(LL,X3)>0,LLVBARS(IF(LL,L,POW(10,20)),X3)){XG51};
G3:=F3>REF(F3,1); I3:=BACKSET(G3,2); LZ:=I3>REF(I3,1);
L4:=LZ OR ISLASTBAR OR BARSCOUNT(C)=1{XG51};
X4:=REF(BARSLAST(L4),1)+1; F4:=BACKSET(L4 AND COUNT(HH,X4)>0,HHVBARS(IF(HH,H,-POW(10,20)),X4)){XG51};
G4:=F4>REF(F4,1); I4:=BACKSET(G4,2); HZ:=I4>REF(I4,1){XG51};
DRAWLINE(HZ,H,LZ,L,0),COLORCYAN,LINETHICK1{XG51};
DRAWLINE(LZ,L,HZ,H,0),COLORCYAN,LINETHICK1{XG51};
K1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); K2:=K1>REF(K1,1){XG51};
DRAWLINE(K2,IF(HZ,H,L),ISLASTBAR,C,0),COLORCYAN,LINETHICK1;
UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1){XG51};
VV:=UU>REF(UU,1){XG51};
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2){XG51};
XX:=WW>REF(WW,1){XG51};
DRAWLINE(XX,L,VV,L,1),COLORmaGENTA,LINETHICK1{XG51};
UU2:=BACKSET(ISLASTBAR,BARSLAST(HD)+1){XG51};
VV2:=UU2>REF(UU2,1){XG51};
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2){XG51};
XX2:=WW2>REF(WW2,1){XG51};
DRAWLINE(XX2,H,VV2,H,1),COLORLIMAGENTA,LINETHICK1{XG51};
AA:=BARSLAST(HD){XG51};
BB:=BARSLAST(LD){XG51};
DRAWNUMBER(LD,L*0.992,AA),COLORCYAN{XG51};
DRAWNUMBER(HD,H*1.013,BB),COLORWHITE{XG51};
STICKLINE(LD,1.015*H,0.98*L,0,-1),COLORBLUE{XG51};
{X.G*5.1.C.N.{};

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

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

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

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

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

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