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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信官人我还要指标公式宽衣解带源码


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

DIFF:=EMA(C,5)-EMA(C,20);DEA:=EMA(DIFF,10); macd:=500*(DIFF-DEA)/EMA(C,30), COLORRED ,POINTDOT; STICKLINE(MACD>=0,0,MACD,5,0) ,COLORRED; STICKLINE(MACD<=0,0,MACD,5,0) ,COLORLICYAN; VARE:=(REF(LOW,1))*(0.89999997); VARF:=(LOW)*(0.89999997); VAR10:=((VARF)*(vol)+(VARE)*(CAPITAL-VOL))/(CAPITAL); VAR11:=EMA(VAR10,30); VAR12:=CLOSE-REF(CLOSE,1); VAR13:=MAX(VAR12,0); VAR14:=Abs(VAR12); VAR15:=((SMA(VAR13,7,1))/(SMA(VAR14,7,1)))*(100); VAR16:=((SMA(VAR13,13,1))/(SMA(VAR14,13,1)))*(100); VAR17:=BARSCOUNT(CLOSE); VAR18:=((SMA(MAX(VAR12,0),6,1))/(SMA(ABS(VAR12),6,1)))*(100); VAR19:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100); VAR1B:=SMA((SMA(VAR1A,4,1)-50)*(2),3,1); VAR1C:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*(100); VAR1D:=SMA(VAR1C,4,1); VAR1E:=SMA(VAR1D,3,1); VAR1F:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100); VAR20:=(VAR18<=25) AND (VAR19<(-95)) AND (VAR1F>20) AND (VAR1B<(-30)) AND (VAR1E<30) AND (VAR11- CLOSE>=(-0.25)) AND (VAR15<22) AND (VAR16<28) AND (VAR17>50); A1:=crOSS(VAR20,0.5) AND (COUNT((VAR20=1),10)=1),COLOR00FFFF,LINETHICK2; 官人出现:IF(A1,50,0),COLOR00FFFF,LINETHICK2; 官人入门:IF(VAR20,40,0),COLORFFCC66,LINETHICK2; VAR26:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR27:=REVERSE(VAR26); VAR28:=SMA(VAR26,3,1); 快线:SMA(VAR28,3,1),COLOR0000FF; 慢线:SMA(快线,3,1),COLOR00FFFF; IF(CROSS(快线,慢线) AND (快线>30),快线+10,慢线), COLORYELLOW,LINETHICK1; 短卖:IF(CROSS(慢线,快线) AND (慢线>75),85,100),COLOR008000,LINETHICK2; DRAWTEXT(CROSS(慢线,快线) AND 快线>75,87,'解带 '),COLORWHITE; 金叉买:IF(CROSS(快线,慢线) AND (快线<40),35,0),COLOR0099FF,LINETHICK2; DRAWTEXT(CROSS(快线,慢线) AND 快线<30,25,'宽衣 '),COLORWHITE; STICKLINE(金叉买,0,20,8,0),COLORRED; STICKLINE(金叉买,18,35,2,0),COLORRED; STICKLINE(快线>慢线,快线,慢线,4,0),COLORWHITE; STICKLINE(快线<慢线,快线,慢线,4,0),COLOR00FF00; VARA:=IF(REF(L,1)<=LLV(L,120) AND HHV(C,120)/LLV(C,120)>1.25 AND C>O AND HIGH>LOW+0.04,4,0); 官人我还要:IF(VARA>0,40,0),COLORFF00FF,POINTDOT,{STICK,LINETHICK2}; STICKLINE(官人我还要,40,0,4,0),COLORFF00FF; V1:=AMOUNT/VOL/100;

V2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; V3:=SUM(AMOUNT,7)/V1/100; V4:=DMA(V2,VOL/V3); V5:=(CLOSE-V4)/V4*100; V6:=MA(V5,20)+STD(V5,20); bias21:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; STICKLINE(REF(BIAS21,1)>=5 AND CROSS(V6,V5) AND REF("kdj.J"(34,3,3),1)>80 AND REF("kdJ.J"(9,3,3),1)>80,90,85,6,0),COLOR00FF00;








回复

举报

QQ|

GMT+8, 2024-11-16 21:39

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