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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 组合的波段底部(附图源码无未来)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 19:17:50
组合的波段底部(附图源码无未来)介绍

组合的波段底部(附图源码无未来)

N:=19;N1:=9;N2:=5;
TMD:=C-REF(C,1);
金线:20*EMA(EMA(TMD,N1),N1)/EMA(EMA(ABS(TMD),N1),N1),COLOR00AAAA,LINETHICK1;
银线:MA(金线,N2),COLORAAAAAA,LINETHICK1;
风险线:5,COLOR00AAAA,POINTDOT;
起步线:0,COLOR0000FF,LINETHICK1,POINTDOT;
抄底线:-5,COLOR00AA00,LINETHICK1,POINTDOT;
DRAWBAND(金线,RGB(110,80,52),银线,RGB(50,88,88));
DRAWICON(CROSS(金线,银线) AND 金线<-5,金线,1);

VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;
VAR4:=EMA(IF((C+L)/2*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7,COLOR006EFF;
VAR9:=EMA(CLOSE,5);
VAR10:=((C+L)/2-MA((C+L)/2,N))/MA((C+L)/2,N)*(-10);
VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);
VAR12:=EMA((C+L)/2,5)*(-1);
STICKLINE(VAR11>REF(VAR11,1),0,VAR11,2,-1),COLOR808000;
增减力度:VAR10*10,COLORBLUE,DOTLINE;
DRAWICON(CROSS(0,增减力度),-1,41);
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
STICKLINE(XL3,0,VAR8*2,2,1),COLORRED;
LC :=REF(C,1);
RSI1:=SMA(MAX(C-LC,0),12,1)/SMA(ABS(C-LC),12,1)*100-50,COLOR606000,LINETHICK1;
DRAWICON(CROSS(RSI1,增减力度),0,17),COLORWHITE;
金叉:=BARSLAST(FILTER(CROSS("KDJ.K","KD.D") AND "KDJ.D"<30,13));
吸筹天数:IF(金叉>0 AND 金叉<61,金叉,0),NODRAW,COLORMAGENTA;
 


 





 



gd15687

回复

举报

QQ|

GMT+8, 2024-12-27 03:47

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