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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信金牌狙击手指标公式源码副图


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

Var1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3); STICKLINE(Var1>20 AND Var1<80,Var1,Var1,10,1),colorred; STICKLINE(Var1<ref(var1,1),Var1,Var1,10,1),colorffcc66; STICKLINE(Var1>80,Var1,Var1,8,1),color00ff00; STICKLINE(Var1<20,Var1,Var1,8,1),coloryellow; ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2); M1:=EMA(ABV,12); M2:=EMA(ABV,26); mtm:=CLOSE-REF(CLOSE,1); mms:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(Abs(MTM),6),6)); MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12)); MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26)); MMA:=c-ref(c,1); MMB:=100*ema(ema(MMA,9),9)/ema(ema(abs(MMA),9),9); MMC:=MA(MMB,5); A:=((VOL)/(CAPITAL))*(100); S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60)); Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60)); X:=1; V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5); V2:=REF(V1,1); V3:=MAX(V1-V2,0); V4:=ABS(V1-V2); V5:=SMA(V3,10,1); V6:=SMA(V4,10,1); V8:=COUNT(((V5)/(V6)<0.2),5); V9:=COUNT((LLV(V1,10)=V1),10); 主力进出:IF((MMS>REF(MMS,1) AND MMB>REF(MMB,1) ANDcrOSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),COLORWHITE,POINTDOT; 主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(MMB,MMC); STICKLINE(主力进出 OR 主进主轨,65,0,4,1),COLORWHITE; 精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2); 短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1); 中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1); 主进主买:=ABV>M2 AND MMB>MMC AND CROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1); 短中精:=精准买卖 OR 短线买点 OR 中线买点 OR 主进主买; 主力买卖:IF(短中精,60,0),COLORFF00FF,POINTDOT; STICKLINE(主力买卖,60,0,4,1),COLORFF00FF; 主力轨迹:IF(ABV>M2 AND MMS>MML AND CROSS(MMB,MMC) AND MMB>REF(MMB,1) AND MMC>REF(MMC,1),55,0),COLORFFCC66,POINTDOT; STICKLINE(主力轨迹,55,0,4,1),COLORFFCC66; 拉升在即:IF(S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y),50,0),COLORYELLOW,POINTDOT; STICKLINE(拉升在即,50,0,4,1),COLORYELLOW; 底部构成:IF(V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1) AND ABV>M2 AND MMB>MMC,45,0),COLOR00FF00,POINTDOT; STICKLINE(底部构成,45,0,4,1),COLOR00FF00; roc:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100; HSL:=100*VOL/CAPITAL; 冲击波:IF(CROSS(ROC,16) AND HSL>3.5,40,0),COLOR0099FF,POINTDOT; STICKLINE(冲击波,40,0,4,1),COLOR0099FF;








回复

举报

QQ|

GMT+8, 2024-11-17 03:52

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