最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • -鳄鱼线分形-请老师帮修改成通达信使用的

    正文概述    2024-04-14 09:18:24  

    九毛八公式指标

    这个是飞狐版的鳄鱼线加分形的指标。请老师帮忙修改成通达信使用的。谢谢。 源码: Var1:=(H+L)/2; 上唇:REF(SMA(Var1,5,1),3),COLORGREEN,LINEDOT; 牙齿:REF(SMA(Var1,8,1),5),COLORRED,LINEDOT; 下颚:REF(SMA(Var1,13,1),8),COLORBLUE,LINEDOT; Var1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3); Var2:=CROSS(Var1,0.9); Var3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3); Var4:=CROSS(Var3,0.9); drawicon(Var2,HIGH*1.01,4),Color00E40E; drawicon(Var4,LOW*0.99,5),Color00E40E; Var5:=IF(Var2,HIGH,IF(Var4,LOW,0)); {POLYLINE(Var5,Var5),Colorff00ff;} Var6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOWREF(LOW,1) AND HIGH>REF(HIGH,1),3); Var8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGHREF(LOW,1) AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)REF(LOW,1) AND HIGH>REF(HIGH,1),3); VarA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOWREF(LOW,1) AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)

    公式模块:

    VAR11:=(H+L)/2;

    上唇:REF(SMA(VAR11,5,1),3),COLORGREEN; 牙齿:REF(SMA(VAR11,8,1),5),COLORRED; 下颚:REF(SMA(VAR11,13,1),8),COLORBLUE; VAR1:=BacKSET(REF(HIGH,2)=HHV(HIGH,5),3); VAR2:=crOSS(VAR1,0.9); VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3); VAR4:=CROSS(VAR3,0.9); DRAWICON(VAR2,HIGH*1.01,4),COLOR00E40E; DRAWICON(VAR4,LOW*0.99,5),COLOR00E40E; VAR5:=IF(VAR2,HIGH,IF(VAR4,LOW,0)); {POLYLINE(VAR5,VAR5),COLORFF00FF;} VAR6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW<REF(LOW,1) AND HIGH<REF(HIGH,1),3); VAR7:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3); VAR8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1) AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),3); VAR9:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3); VARA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW<REF(LOW,1) AND HIGH<REF(HIGH,1),3); VARB:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1) AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),3); 上向分形: REF(HIGH,BArslAST(VAR2)), POINTDOT,COLOREA91B5; STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),5,0),COLOR000099; 向下分形: REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR3791B5; STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),5,0),COLOR000099;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » -鳄鱼线分形-请老师帮修改成通达信使用的 加入收藏