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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力潜入公式


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

以下是通达信主力潜入公式

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; J1:=REVERSE(J); AA:=REF(MA(C,1),10)>REF(MA(C,60),10); 买点:CROSS(J,J1) AND AA; STICKLINE(买点,0,30,6,0),COLORBLUE; STICKLINE(买点,30,60,4,0),COLORWHITE; STICKLINE(买点,60,80,2,0),COLORYELLOW; DRAWTEXT(买点,70,'主力潜入'),COLORRED; {主力进出场} VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF; 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00; VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1); VAR13:=EMA(VAR12,10); VAR14:=HHV(H,33); VAR15:=EMA(IF(H>=VAR14,VAR13,0),3); 冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR550055; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.6,0 ),COLOR770077; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.1,0 ),COLOR990099; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0 ),COLORBB00BB; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.9,0 ),COLORDD00DD; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.3,0 ),COLORFF00FF; 主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0 ),COLORYELLOW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0),COLOR005555; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2.6,0),COLOR007777; STICKLINE(VAR15<REF(VAR5,1),0,VAR15,2.1,0),COLOR009999; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.3,0),COLOR00FFFF; A1:=REF(CLOSE,2); A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; 波段介入点:IF(A2<19,19,0)COLORWHITE;





回复

举报

QQ|

GMT+8, 2024-11-17 20:34

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