通达信金牛暴起后市看涨副图 指标源码 附图

AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
GUP1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
GUP2:=SMA(GUP1,3,1);
GUP3:=SMA(GUP2,3,1);
GUP4:=SMA(GUP3,3,1);
波:=GUP3,COLORWHITE;
段:=GUP4,COLORYELLOW;
GUP7:=CROSS(GUP4,GUP3) AND GUP3>80;
STICKLINE(FILTER(GUP7,5)=1,0,90,1,0),COLORGREEN ;
DRAWTEXT(FILTER(GUP7,5)=1,70,'卖'),LINETHICK1,COLORFFCC66;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,COLORBLUE;
GUP8:=CROSS(GUP2,GUP3) AND GUP3>80 AND GUP3>GUP4;
GUP9:=CROSS(趋势,GUP2) AND 趋势<20 AND 趋势<段;
分批卖出:STICKLINE(GUP8,50,90,1,0),COLOR008360,LINETHICK3;
分批买入:STICKLINE(GUP9,40,0,1,0),COLOR000080,LINETHICK3;
90,COLORGREEN ;
0,COLORYELLOW ;
GUP01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
GUP02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
GUP03:=CROSS(GUP02,GUP01);
GUP04:=REF(GUP02,2)<REF(GUP02,1) AND GUP02<REF(GUP02,1);
GUP05:=COUNT(GUP03,7)>0 AND GUP04;
GUP06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUP07:=SMA(ABS(LOW-GUP06),13,1)/SMA(MAX(LOW-GUP06,0),10,1);
GUP08:=EMA(GUP07,10);
GUP09:=EMA(C,5);
GUP10:=LLV(LOW,33);
GUP11:=EMA(IF(LOW<=GUP10,GUP09,0),3)*40;
GUP12:=IF(GUP11>100,GUP11*0.312,GUP11);
资金入场:GUP02,COLORRED;
GUB1:=REF(LOW,1);
GUB2:=SMA(ABS(LOW-GUB1),13,1)/SMA(MAX(LOW-GUB1,0),13,1)*4;
GUB3:=EMA(GUB2,13);
GUB4:=LLV(LOW,34);
GUB5:=EMA(IF(LOW<=GUB4,GUB3,0),3);
GUB6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB8:=GUB6<REF(GUB7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
散户:STICKLINE(GUB5>REF(GUB5,1),0,GUB5,0.5,0),COLORGREEN,LINETHICK1;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,0,18,0.5,0),COLORBLUE,LINETHICK3;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,18,36,0.5,0),COLORFF7700,LINETHICK3;
STICKLINE(GUB8 AND COUNT(GUB8,30)=1,36,60,1,0),COLORYELLOW;
DRAWTEXT(GUB8 AND COUNT(GUB8,30)=1,90,'主力进场★'),COLORYELLOW;
RE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
R12:=(HIGH+LOW+CLOSE)/3;
R13:=(R12-MA(R12,14))/(0.015*AVEDEV(R12,14));
R14:=(R12-MA(R12,70))/(0.015*AVEDEV(R12,70));
R15:=IF(R13>=150 AND R13<200 AND R14>=150 AND R14<200,10,0);
R16:=IF(R13<=-150 AND R13>-200 AND R14<=-150 AND R14>-200,-10,R15);
R17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
R18:=100-ABS(R17);
R19:=IF(R18<90,R18,100);
R1A:=IF(RE>0,RE,0);
R1B:=IF(R14>=200 AND R13>=150,15,IF(R14<=-200 AND R13<=-150,-15,R16))+60;
R1C:=R1A>48 AND R1B>60 AND R19<100;
DRAWTEXT(R1C AND COUNT(R1C,25)=1,80,'分批出货'),LINETHICK1,COLORFFCC66;
STICKLINE(R1C AND COUNT(R1C,25)=1,90,60,0.5,0),COLORFFCC66;
GUP3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
GUP4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (GUP3AA>0),91,0);
金牛:=(FILTER((GUP4AA>90),45)) AND C>MA(C,20),COLORYELLOW;
STICKLINE(金牛,150,0,4,0),COLOR000099;
STICKLINE(金牛,150,0,2,0),COLOR0000BB;
STICKLINE(金牛,150,0,1,0),COLOR0000DD;
STICKLINE(金牛,150,0,0.9,0),COLOR0000FF;
DRAWTEXT(金牛>0,130,'金牛暴起'),COLOR00C5FF;
DRAWTEXT_FIX(1,0,100,0,'★金牛暴起后市看涨'),COLORYELLOW;



来函数检测结果如下:
该公式没有未来函数


解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

AA赋值:34日内最低价最低值
BB赋值:30日内最高价最高值
DD赋值:(EMA(((收盘价-AA)/(BB-AA))*(4),4))*(25)
谷赋值:(((DD-21日内DD最低值)/(21日内DD最高值-21日内DD最低值))*(4))*(25)
GUP1赋值:(收盘价-36日内最低价最低值)/(36日内最高价最高值-36日内最低价最低值)*100
GUP1的3日[1日权重]移动平均
GUP2的3日[1日权重]移动平均
GUP3的3日[1日权重]移动平均
波赋值:GUP3,画白色
段赋值:GUP4,画黄色
GUP7赋值:GUP4上穿GUP3 AND GUP3>80
STICKLINE(GUP7的5过滤=1,0,90,1,0),COLORGREEN
DRAWTEXT(GUP7的5过滤=1,70,'卖'), 线宽为1,COLORFFCC66
输出趋势:3*SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1)-2*SMA(SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1),3,1), 线宽为1, 画蓝色
GUP8赋值:GUP2上穿GUP3 AND GUP3>80 AND GUP3>GUP4
GUP9赋值:趋势上穿GUP2 AND 趋势<20 AND 趋势<段
当满足条件GUP8时,在50和90之间画柱状线
当满足条件GUP9时,在40和0之间画柱状线
90,COLORGREEN
0,画黄色
GUP01赋值:EMA((收盘价-25日内最低价最低值)/(25日内最高价最高值-25日内最低价最低值)*100,5)
GUP02赋值:(25日内最高价最高值-25日内最低价最低值)/EMA((收盘价-25日内最低价最低值),5)
GUP03赋值:GUP02上穿GUP01
GUP04赋值:2日前的GUP02<1日前的GUP02 AND GUP02<1日前的GUP02
GUP05赋值:统计7日满足GUP03的天数>0 AND GUP04
GUP06赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
GUP07赋值:SMA(最低价-GUP06的绝对值,13,1)/SMA(最低价-GUP06和0较大值,10,1)
GUP08赋值:GUP07的10日指数移动平均
GUP09赋值:C的5日指数移动平均
GUP10:=33日内最低价最低值
如果最低价<=GUP10返回GUP09否则返回0
如果GUP11>100返回GUP11*0.312否则返回GUP11
输出资金入场:GUP02,COLORRED
GUB1赋值:1日前的最低价
GUB2赋值:SMA(最低价-GUB1的绝对值,13,1)/SMA(最低价-GUB1和0较大值,13,1)*4
GUB3赋值:GUB2的13日指数移动平均
GUB4赋值:34日内最低价最低值
如果最低价<=GUB4返回GUB3否则返回0
GUB6赋值:100-3*SMA((收盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1)+2*SMA(SMA((收盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1),15,1)
GUB7赋值:100-3*SMA((开盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1)+2*SMA(SMA((开盘价-75日内最低价最低值)/(75日内最高价最高值-75日内最低价最低值)*100,20,1),15,1)
GUB8赋值:GUB6<1日前的GUB7 AND 成交量>1日前的成交量 AND 收盘价>1日前的收盘价
输出散户:STICKLINE(GUB5>1日前的GUB5,0,GUB5,0.5,0),COLORGREEN, 线宽为1
STICKLINE(GUB8 AND 统计30日满足GUB8的天数=1,0,18,0.5,0), 画蓝色, 线宽为3
STICKLINE(GUB8 AND 统计30日满足GUB8的天数=1,18,36,0.5,0),COLORFF7700, 线宽为3
STICKLINE(GUB8 AND 统计30日满足GUB8的天数=1,36,60,1,0),画黄色
DRAWTEXT(GUB8 AND 统计30日满足GUB8的天数=1,90,'主力进场★'),画黄色
RE赋值:MA(100*(收盘价-34日内收盘价最低值)/(34日内最高价最高值-34日内最低价最低值),5)-20
R12赋值:(最高价+最低价+收盘价)/3
R13赋值:(R12-R12的14日简单移动平均)/(0.015*AVEDEV(R12,14))
R14赋值:(R12-R12的70日简单移动平均)/(0.015*AVEDEV(R12,70))
如果R13>=150 AND R13<200 AND R14>=150 AND R14<200返回10否则返回0
如果R13<=-150 AND R13>-200 AND R14<=-150 AND R14>-200返回-10否则返回R15
R17赋值:(收盘价-收盘价的13日简单移动平均)/收盘价的13日简单移动平均*100
R18赋值:100-R17的绝对值
如果R18<90返回R18否则返回100
如果RE>0返回RE否则返回0
R1B赋值:IF(R14>=200 AND R13>=150,15,IF(R14<=-200 AND R13<=-150,-15,R16))+60
R1C赋值:R1A>48 AND R1B>60 AND R19<100
DRAWTEXT(R1C AND 统计25日满足R1C的天数=1,80,'分批出货'), 线宽为1,COLORFFCC66
STICKLINE(R1C AND 统计25日满足R1C的天数=1,90,60,0.5,0),COLORFFCC66
GUP3AA赋值:IF((收盘价>1日前的收盘价),88,0)
GUP4AA赋值:IF(((收盘价)/(1日前的收盘价)>1.05) AND ((最高价)/(收盘价)<1.01) AND (GUP3AA>0),91,0)
金牛赋值:(FILTER((GUP4AA>90),45)) AND C>C的20日简单移动平均,画黄色
当满足条件金牛时,在150和0之间画柱状线
当满足条件金牛时,在150和0之间画柱状线
当满足条件金牛时,在150和0之间画柱状线
当满足条件金牛时,在150和0之间画柱状线
当满足条件金牛>0时,在130和'金牛暴起'位置书写文字
当满足条件1时,在横轴0纵轴100位置书写文字

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:指标公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图