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

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

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

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

通达信公式

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

通达信大道至简RSI未加密选股指标公式源码

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

通达信大道至简RSI未加密选股指标公式源码

通达信大道至简RSI未加密选股指标公式源码

源码正文:

N:=5;N1:=23;N2:=25{XG51};
VAR1A:=(ema(C,12)-Ema(C,26))*100+50{XG51};
VAR2A:=EMA(VAR1A,9){XG51};
VAR3A:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10{XG51};
VAR4A:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100{XG51};
VAR5A:=SMA(VAR4A,13,8){XG51};
VAR6A:=SMA(VAR3A,21,8){XG51};
VAR7A:=MA(C,80)-MA(C,10)/7{XG51};
VAR8A:=EMA(C,5){XG51};
VAR9A:=MA((LLV(C,9))*1.1,14){XG51};
VAR10A:=2*VAR9A-VAR8A-C*0.1{XG51};
VAR11A:=IF(((VAR8A-VAR10A)*5>0),(POW((VAR8A-VAR10A)*5,2))/10,(-1*(POW((VAR8A-VAR10A)*(5),2)))/(10)){XG51};
VAR12A:=IF((VAR11A>0),VAR11A-0,12){XG51};
VAR13A:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(Abs(C-REF(C,2)),7,1)*100;
趋势:CEILING(SMA(VAR5A,13,8)),LINETHICK2,COLOR0000FF{XG51};
看底:IF((趋势-VAR6A<(-65)),1,6),COLOR00FF00{XG51};
顶峰:IF((趋势-VAR6A>85),95,100),COLORF0F000{XG51};
黄金区: DRAWICON(IF(VAR13A<15,15,0),13,12),COLORBLUE{XG51};
操盘线: MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORYELLOW{XG51};
AA1:="RSI.RSI1"(3,14,24),LINETHICK2,COLOR6295D6{XG51};
BB1:=REF("RSI.RSI1"(3,14,24),1),LINETHICK2,COLORFF9800{XG51};
上涨幅度RSI:IF((AA1-BB1)/BB1>N1/10,45,0),,LINETHICK2,COLORWHITE {XG51};
DRAWICON((AA1-BB1)/BB1>N1/10,45,5){XG51};
DRAWTEXT((AA1-BB1)/BB1>N1/10,40,'RSI出击'),COLORF00FF0{XG51};
VAR3:=INDEXC;
VAR4:=MA(VAR3,8);
VAR5:=MA(VAR3,22);
VAR6:=MA(VAR3,28);
VAR7:=MA(VAR3,73);
VAR8:=MA(VAR3,106);
VAR9:=VAR7<REF(VAR7,1) AND VAR8<REF(VAR8,1) AND VAR7<VAR8*0.98;
VARA:=VAR6>VAR4*1.11 AND VAR5>VAR4*1.095;
VARB:=VAR4>VAR3*0.95;
VARC:=VAR9 AND VARA AND VARB AND CLOSE/COst(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));
百分之百: IF(VARC*6,60,0),COLORBLUE;
DRAWICON(VARC*6>0,60,6);
DRAWTEXT(VARA*6>0,40,'100%获利'),COLORWHITE{XG51};
AA:="RSI.RSI1"(3,14,24){XG51};
BB:="RSI.RSI2"(3,14,24){XG51};
二线差RSI:IF((BB-AA)/AA>N,50,0),STICK,LINETHICK2,COLOR00FF00{X^G_5_1^C^N^{};

通达信大道至简RSI未加密选股指标公式源码

通达信布林神奇主图未加密选股指标公式源码

源码正文:

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_{};

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

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

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

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

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

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