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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信芙蓉出水一周20%主副图源码


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

以下是通达信芙蓉出水一周20%主副图源码

DRAWGBK(CURRBARSCOUNT=1, RGB(110,600,108),RGB(88,120,100),0,'',0);DRAWGBK(CURRBARSCOUNT=1, RGB(110,600,108),RGB(88,120,100),0,'',0);AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));DRAWKLINE(HIGH,OPEN,LOW,CLOSE);短线:VAR1,COLORWHITE;中线:VAR6,COLORYELLOW;下跌:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORGREEN;N1:=5;N2:=7;N3:=11;EM1:=EMA(C,N1),COLORWHITE;EM2:=EMA(C,N2),COLORRED;EM3:=EMA(C,N3),COLORGREEN;TJ:=BETWEEN(EM2,EM1,EM3);MA20:MA(C,20)LINETHICK3;IF(MA20>REF(MA20,1),MA20,DRAWNULL)COLORRED,LINETHICK3;{www.goodgupiao.com}立桩量:=FILTER(TJ=0,5);{芙蓉出水} MA200:=EMA(CLOSE,20); MA400:=EMA(CLOSE,40); MA600:=EMA(C,60); AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400)); BB:=REF(COUNT(C<MA600,AA)=AA,1); CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3; 芙蓉出水:=BB AND CC; STICKLINE(芙蓉出水,C,O,2,0),COLORYELLOW;DRAWTEXT(芙蓉出水,L-L*0.0005,'芙蓉出水'),COLORYELLOW;

{芙蓉出水副图}
MA200:=EMA(CLOSE,20);
MA400:=EMA(CLOSE,40);
MA600:=EMA(C,60);
AA:=BARSLAST(MA400>MA600 AND (MA200=MA400 OR MA200>MA400));
BB:=REF(COUNT(C<MA600,AA)=AA,1);
CC:=CROSS(C,MA600) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:=BB AND CC;
STICKLINE(芙蓉出水,C,O,2,0),COLORYELLOW;
DRAWTEXT(芙蓉出水,L-L*0.0005,'芙蓉出水'),COLORYELLOW;




回复

举报

QQ|

GMT+8, 2024-11-19 10:31

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