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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 有买卖点趋势指标(副图,源码,贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-9 14:26:43
有买卖点趋势指标(副图,源码,贴图)介绍

有买卖点趋势指标(副图,源码,贴图)

A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A2:=SMA(A1,3,1);
A3:=SMA(A2,3,1);
A4:=3*A2-2*A3;
X:=LLV(A4,2)=LLV(A4,8);
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX); DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
VAR3:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(VAR3,3,1) ;
D14:SMA(K13,3,1) ;
J13:=3*K13-2*D14;
VAR31:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:=SMA(VAR31,3,1) ;
D21:=SMA(K21,3,1) ;
VAR34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K34:=SMA(VAR34,3,1);
D34:=SMA(K34,3,1) ;
VAR55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:SMA(VAR55,5,1) ,COLORGREEN,LINETHICK1;
D55:SMA(K55,5,1),COLORFF9933;
J55:=3*K55-2*D55;
DIBU:= K13<20 AND D14<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;
TOBU:= K13>80 AND D14>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;
DRAWTEXT(CURRBARSCOUNT=110,90,'赵红卫'),COLORRED;
顶部:80,COLOR55AA77,LINETHICK1;
底部:20,COLOR55AA77,LINETHICK1;
中轴线:50,POINTDOT,COLORWHITE;
天线:100, POINTDOT,COLORWHITE;
底线:0, POINTDOT,COLORWHITE;
现价:=C;
VAR2:=LLV(LOW,10);
VAR33:=HHV(HIGH,25);
动力线:= EMA((CLOSE-VAR2)/(VAR33-VAR2)*4,4);
底部2:=0.2,COLOR70DB93;
关注:=0.5,COLORYELLOW;
数值:=动力线,COLORA8A8A8;
阶段底部:=CROSS(动力线,底部2);
STICKLINE(阶段底部,0.2,9,1,0),COLORRED;
DRAWICON(阶段底部,0,5);
阶段关注:=CROSS(动力线,关注);
STICKLINE(阶段关注,0.1,2,1,0),COLORMAGENTA;
阶段卖出:= 3.2,COLORC6C600;
BB:=3.5,COLOR0088FF;
清仓卖出:=3.5,COLORFF75FF;
清仓:=CROSS(清仓卖出,动力线);
STICKLINE(清仓,100,80,1,0),COLORBLUE;
短线卖出:=CROSS(阶段卖出,动力线);
STICKLINE(短线卖出,100,90,2,0),COLORGREEN;




 



gd17707

回复

举报

QQ|

GMT+8, 2024-10-7 18:28

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