通达信炒八跌指标公式

 

NCAAA2:=0.15;
NCZQD:=55;
NCAAA3:=0.20;
NCAAA4:=0.20;
NCAAA5:=0.20;
NCAAA6:=0.20;
NCAAA7:=0.20;
NCAAA8:=0.20;
V5NCAAA3:=0.10;
卖出线:=100,LINETHICK2;
阶段卖:= 90,LINETHICK2;
底部: 10,LINETHICK2;
0,LINETHICK2,COLORWHITE;
趋势0:SMA((L-LLV(LOW,NCZQD))/(HHV(HIGH,NCZQD)-LLV(LOW,NCZQD))*100,5,1),LINETHICK2,COLORGREEN;
NCAH2:=VALUEWHEN(crOSS(底部,趋势0),L-L*NCAAA2) ;
DRAWNUMBER(CROSS(底部,趋势0),50,L-L*NCAAA2),COLORLIMAGENTA;
NCAHL2:=VALUEWHEN(CROSS(底部,趋势0),L) ;
NCAL2:=IF(L<NCAH2,1,0);
NCAH3:=VALUEWHEN(CROSS(NCAH2,L),NCAH2-NCAH2*NCAAA3) ;
DRAWNUMBER(CROSS(NCAH2,L),50,NCAH2-NCAH2*NCAAA3),COLORWHITE;
NCAL3:=IF(L<NCAH3 AND L<NCAH2,1,0);
NCAH4:=VALUEWHEN(CROSS(NCAH3,L),NCAH3-NCAH3*NCAAA4) ;
DRAWNUMBER(CROSS(NCAH3,L),50,NCAH3-NCAH3*NCAAA4),COLORLICYAN;
NCAL4:=IF(L<NCAH4 AND L<NCAH3 AND L<NCAH2,1,0);
NCAH5:=VALUEWHEN(CROSS(NCAH4,L),NCAH4-NCAH4*NCAAA5) ;
DRAWNUMBER(CROSS(NCAH4,L),50,NCAH4-NCAH4*NCAAA5),COLORGREEN;
NCAL5:=IF(L<NCAH5 AND L<NCAH4 AND L<NCAH2 AND L<NCAH3,1,0);
NCAH6:=VALUEWHEN(CROSS(NCAH5,L),NCAH5-NCAH5*NCAAA6) ;
DRAWNUMBER(CROSS(NCAH5,L),50,NCAH5-NCAH5*NCAAA6),COLORBROWN;
NCAL6:=IF( L<NCAH6 AND L<NCAH5 AND L<NCAH4 AND L<NCAH2 AND L<NCAH3,1,0);
NCAH7:=VALUEWHEN(CROSS(NCAH6,L),NCAH6-NCAH6*NCAAA7) ;
DRAWNUMBER(CROSS(NCAH6,L),50,NCAH6-NCAH6*NCAAA7),COLORBROWN;
NCAL7:=IF( L<NCAH7 AND L<NCAH6 AND L<NCAH5 AND L<NCAH4 AND L<NCAH2 AND L<NCAH3,1,0);
NCAH8:=VALUEWHEN(CROSS(NCAH7,L),NCAH7-NCAH7*NCAAA8) ;
DRAWNUMBER(CROSS(NCAH7,L),50,NCAH7-NCAH7*NCAAA8),COLORBROWN;
NCAL8:=IF( L<NCAH8 AND L<NCAH7 AND L<NCAH6 AND L<NCAH5 AND L<NCAH4 AND L<NCAH2 AND L<NCAH3,1,0);
跌2:IF(趋势0<=10 AND NCAL2=1,-20,0),COLORLIMAGENTA,LINETHICK3;
跌3:IF(趋势0<=10 AND NCAL3=1,-30,0),COLORWHITE,LINETHICK3;
跌4:IF(趋势0<=10 AND NCAL4=1,20,0),COLORLICYAN,LINETHICK3;
跌5:IF(趋势0<=10 AND NCAL5=1,30,0),COLORGREEN,LINETHICK3;
跌6:IF(趋势0<=10 AND NCAL6=1,40,0),COLORBROWN,LINETHICK3;
跌7:IF(趋势0<=10 AND NCAL7=1,50,0),COLORLIBLUE,LINETHICK3;
跌8:IF(趋势0<=10 AND NCAL8=1,60,0),COLORLIGREEN,LINETHICK3;
VAR1G:=(((CLOSE / MA(CLOSE,40)) * 100) < 78);
VAR2G:=(((CLOSE / MA(CLOSE,60)) * 100) < 74);
VAR3G:=(HIGH > (LOW * 1.051));
VAR4G:=(VAR3G AND (COUNT(VAR3G,5) > 1));
AA:=IF((VAR4G AND (VAR1G OR VAR2G)),2,0);
BB:=C/REF(C,25)<=1.1;
CC:=(SMA(MAX(C-REF(C,2),0),7,1)/SMA(Abs(C-REF(C,2)),7,1)*100)<15;
V3:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
操盘线:=SMA(V3,2,1);
V5NCAH2:=VALUEWHEN(CROSS(23,操盘线),L-L*V5NCAAA3) ;
抄底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<REF(操盘线,2) AND 操盘线<23 AND L<V5NCAH2 ,1.5,0);
买就赢利:IF(BB AND AA AND CC AND 抄底,80,0) ,COLORYELLOW;
DRAWNUMBER(趋势0<=10 AND NCAL2=1 AND ISLASTBAR ,100 ,NCAHL2),COLORLIMAGENTA;
DRAWNUMBER(趋势0<=10 AND NCAL2=1 AND ISLASTBAR ,90 ,L),COLORLIMAGENTA;
DRAWNUMBER(趋势0<=10 AND NCAL2=1 AND ISLASTBAR ,80 ,(NCAHL2-L)/NCAHL2),COLORLIMAGENTA;
DRAWNUMBER(趋势0<=10 AND NCAL3=1 AND ISLASTBAR ,70 ,NCAH2),COLORWHITE;
DRAWNUMBER(趋势0<=10 AND NCAL3=1 AND ISLASTBAR ,60 ,L),COLORWHITE;
DRAWNUMBER(趋势0<=10 AND NCAL3=1 AND ISLASTBAR ,50 ,(NCAH2-L)/NCAH2),COLORWHITE;




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


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

NCAAA2赋值:0.15
NCZQD赋值:55
NCAAA3赋值:0.20
NCAAA4赋值:0.20
NCAAA5赋值:0.20
NCAAA6赋值:0.20
NCAAA7赋值:0.20
NCAAA8赋值:0.20
V5NCAAA3赋值:0.10
卖出线赋值:100,线宽为2
阶段卖赋值: 90,线宽为2
输出底部: 10,线宽为2
0,线宽为2,画白色
输出趋势0:(最低价-NCZQD日内最低价的最低值)/(NCZQD日内最高价的最高值-NCZQD日内最低价的最低值)*100的5日[1日权重]移动平均,线宽为2,画绿色
NCAH2赋值:如果底部上穿趋势0,返回最低价-最低价*NCAAA2,否则返回上个输出值
当满足条件底部上穿趋势0时,在50位置书写数字,画淡洋红色
NCAHL2赋值:如果底部上穿趋势0,返回最低价,否则返回上个输出值
NCAL2赋值:如果最低价NCAH3赋值:如果NCAH2上穿最低价,返回NCAH2-NCAH2*NCAAA3,否则返回上个输出值
当满足条件NCAH2上穿最低价时,在50位置书写数字,画白色
NCAL3赋值:如果最低价NCAH4赋值:如果NCAH3上穿最低价,返回NCAH3-NCAH3*NCAAA4,否则返回上个输出值
当满足条件NCAH3上穿最低价时,在50位置书写数字,画淡青色
NCAL4赋值:如果最低价NCAH5赋值:如果NCAH4上穿最低价,返回NCAH4-NCAH4*NCAAA5,否则返回上个输出值
当满足条件NCAH4上穿最低价时,在50位置书写数字,画绿色
NCAL5赋值:如果最低价NCAH6赋值:如果NCAH5上穿最低价,返回NCAH5-NCAH5*NCAAA6,否则返回上个输出值
当满足条件NCAH5上穿最低价时,在50位置书写数字,画棕色
NCAL6赋值:如果最低价NCAH7赋值:如果NCAH6上穿最低价,返回NCAH6-NCAH6*NCAAA7,否则返回上个输出值
当满足条件NCAH6上穿最低价时,在50位置书写数字,画棕色
NCAL7赋值:如果最低价NCAH8赋值:如果NCAH7上穿最低价,返回NCAH7-NCAH7*NCAAA8,否则返回上个输出值
当满足条件NCAH7上穿最低价时,在50位置书写数字,画棕色
NCAL8赋值:如果最低价输出跌2:如果趋势0<=10ANDNCAL2=1,返回-20,否则返回0,画淡洋红色,线宽为3
输出跌3:如果趋势0<=10ANDNCAL3=1,返回-30,否则返回0,画白色,线宽为3
输出跌4:如果趋势0<=10ANDNCAL4=1,返回20,否则返回0,画淡青色,线宽为3
输出跌5:如果趋势0<=10ANDNCAL5=1,返回30,否则返回0,画绿色,线宽为3
输出跌6:如果趋势0<=10ANDNCAL6=1,返回40,否则返回0,画棕色,线宽为3
输出跌7:如果趋势0<=10ANDNCAL7=1,返回50,否则返回0,画淡蓝色,线宽为3
输出跌8:如果趋势0<=10ANDNCAL8=1,返回60,否则返回0,画淡绿色,线宽为3
VAR1G赋值:(((收盘价 / 收盘价的40日简单移动平均) * 100) < 78)
VAR2G赋值:(((收盘价 / 收盘价的60日简单移动平均) * 100) < 74)
VAR3G赋值:(最高价 > (最低价 * 1.051))
VAR4G赋值:(VAR3G AND (统计5日中满足VAR3G的天数 > 1))
AA赋值:如果(VAR4GAND(VAR1GORVAR2G)),返回2,否则返回0
BB赋值:收盘价/25日前的收盘价<=1.1
CC赋值:(收盘价-2日前的收盘价和0的较大值的7日[1日权重]移动平均/收盘价-2日前的收盘价的绝对值的7日[1日权重]移动平均*100)<15
V3赋值:(收盘价-10日内最低价的最低值)/(10日内最高价的最高值-10日内最低价的最低值)*100
操盘线赋值:V3的2日[1日权重]移动平均
V5NCAH2赋值:如果23上穿操盘线,返回最低价-最低价*V5NCAAA3,否则返回上个输出值
抄底赋值:如果操盘线>1日前的操盘线ANDREF(操盘线,1)<2日前的操盘线AND操盘线<23ANDL输出买就赢利:如果BBANDAAANDCCAND抄底,返回80,否则返回0 ,画黄色
当满足条件趋势0<=10ANDNCAL2=1ANDISLASTBAR时,在100位置书写数字,画淡洋红色
当满足条件趋势0<=10ANDNCAL2=1ANDISLASTBAR时,在90位置书写数字,画淡洋红色
当满足条件趋势0<=10ANDNCAL2=1ANDISLASTBAR时,在80位置书写数字,画淡洋红色
当满足条件趋势0<=10ANDNCAL3=1ANDISLASTBAR时,在70位置书写数字,画白色
当满足条件趋势0<=10ANDNCAL3=1ANDISLASTBAR时,在60位置书写数字,画白色
当满足条件趋势0<=10ANDNCAL3=1ANDISLASTBAR时,在50位置书写数字,画白色

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

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