股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信浅V形态指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-6-4 09:11:05

SHORT:=20; LONG:=40; MID:=60; MA5:=MA(C,5); MA10:=MA(C,10); MA20:=MA(C,20); MA30:=MA(C,30); MA55:=MA(C,55); FT1:=CLOSE>OPEN AND CLOSE>MA(CLOSE,SHORT) AND CLOSE>MA(CLOSE,LONG) AND CLOSE>MA(CLOSE,MID); FT2:=FT1 AND OPEN<MA(CLOSE,LONG) AND OPEN<MA(CLOSE,MID); FT3:=(MA(CLOSE,5)+MA(CLOSE,9)+MA(CLOSE,13)+MA(CLOSE,17))/4; FT4:=(MA(CLOSE,1)+MA(CLOSE,4)+MA(CLOSE,7)+MA(CLOSE,11))/4; 反弹:FT2 AND C/REF(C,1)>1 AND (CLOSE-OPEN)>0.0618*CLOSE AND FT4>FT3,NODRAW; AHC1:=CLOSE*vol; AHC2:=EMA((expma(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34); AHC3:=1.0668*AHC2; 黑马1号:crOSS(C,AHC3) AND REF(C,1)*1.07-C<0.007 AND C>O*0.5,NODRAW; DIX:=O<MA5 AND O<MA10 AND O<MA20 AND L<MA30 AND L<MA55; GAOX:=C>MA5 AND C>MA10 AND H>MA20 AND H>MA30 AND H>MA55; 穿线王:DIX AND GAOX,NODRAW; VA6:=(CLOSE+HIGH+LOW)/3; VA8:=LLV(LOW,34); VARB:=HHV(HIGH,34); VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13); VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2); VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4); VAR8:=LLV(LOW,34); VAR11:=HHV(HIGH,34); B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8); YB1:=(WINNER((CLOSE)*(0.9)))*(100); YB2:=(WINNER((HIGH)*(0.9)))*(100); YB3:=(WINNER((LOW)*(0.9)))*(100); 旱地拔葱:IF(CROSS(VARC,EMA(VARD,1)) AND VARC>VARD AND VARC<55 AND C>O,1,0),NODRAW; HT:=HHVBARS(H,15); LT:=LLVBARS(L,15); DF1:=(REF(C,LT)-REF(C,HT+1))/REF(C,HT+1)*100; TJ:=C>=REF(C,HT); VAR1:=HT>LT AND DF1<-5 AND COUNT(TJ,HT+1)=1 AND TJ; TDC:=BARSSINCEN(VAR1,29); 得安天下:=(黑马1号+穿线王+旱地拔葱)>0; 浅V形态:反弹 AND 得安天下 AND TDC>1 AND TDC<12,COLORRED; STICKLINE(浅V形态>0,15,浅V形态*0.6,3,0),COLORBLUE; STICKLINE(浅V形态>0,15,浅V形态*1.05,1,0),COLOR0099CC; DRAWTEXT(浅V形态,浅V形态*2,' 浅'),COLORLIMAGENTA; DRAWTEXT(浅V形态,浅V形态*2,' V'),COLORLIMAGENTA;








回复

举报

QQ|

GMT+8, 2024-11-16 17:36

快速回复 返回顶部 返回列表