最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把此公式改为可以加到K线上的交易系统公式

    正文概述    2024-04-14 08:40:16  

    九毛八公式指标

    公式模块:

    请老师把此公式改为可以加到k线上的交易系统公式 并且在线上有红箭头显示 谢谢

    买卖信号为 亮剑出击
    公式如下:
    N:=5; N1:=21;
    VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
    3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
    VAR2:=8,COLORGREEN,LINETHICK0;
    亮剑出击: IF(crOSS(VAR1,VAR2),8,0),STICK,COLORRED;
    DRAWICON(亮剑出击>0,8,23);
    磨剑霍霍: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;
    VARO5:=LLV(LOW,27);
    VARO6:=HHV(HIGH,34);
    VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
    建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;
    CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
    CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
    CD3:=SMA(SMA(CD2,3,1),3,1);
    CD4:=(CD3-SMA(CD1,9,1))-0.5;
    CD5:=IF(CD4>0.00,CD4,0.00);
    CD6:=REF(CD5,1);
    VAR81:=MA(C,9),COLORRED;
    空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
    减仓空仓:CROSS(CD6,CD5),COLORGREEN;
    DRAWICON(减仓空仓>0,113,2);
    VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
    VAR2A:=SMA(VAR1A,9,1)+100;
    VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    VAR4A:=SMA(VAR3A,3,1);
    VAR5A:=SMA(VAR4A,3,1)+100;
    VAR6A:=VAR5A-VAR2A;
    剑在手:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;
    波段至尊:IF(CROSS(剑在手,0.01),18,0),STICK,COLOR0000CC,LINETHICK2;
    DRAWICON(波段至尊>0,18,1);
    XG:=CROSS(剑在手,0.01);
    LC:=REF(CLOSE,1);
    rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    E:=CROSS(83,RSI);
    STICKLINE(REF(剑在手,1)<剑在手,剑在手,REF(剑在手,1),3,0),COLORRED;
    STICKLINE(REF(剑在手,1)>剑在手,剑在手,REF(剑在手,1),3,0),COLOR00FF00;
    红股绿银:0,COLORGREEN;

    N:=5; N1:=21;
    VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
    3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
    VAR2:=8,COLORGREEN,LINETHICK0;
    亮剑出击:=IF(CROSS(VAR1,VAR2),8,0),STICK,COLORRED;
    CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;
    CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));
    CD3:=SMA(SMA(CD2,3,1),3,1);
    CD4:=(CD3-SMA(CD1,9,1))-0.5;
    CD5:=IF(CD4>0.00,CD4,0.00);
    CD6:=REF(CD5,1);
    VAR81:=MA(C,9),COLORRED;
    空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;
    减仓空仓:=CROSS(CD6,CD5),COLORGREEN;

    ENTERLONG:亮剑出击 ; {多头买入}
    EXITLONG:减仓空仓 ; {多头卖出}

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把此公式改为可以加到K线上的交易系统公式 加入收藏