最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺红入灰出指标公式

    正文概述    2024-04-14 14:03:22  

    源码

    N:=21;
    VAR1:=HHV(HIGH,9)-LLV(LOW,9);
    VAR2:=HHV(HIGH,9)-CLOSE;
    VAR3:=CLOSE-LLV(LOW,9);
    VAR4:=VAR2/VAR1*100-70;
    VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
    VAR6:=(2*CLOSE+HIGH+LOW)/4;
    VAR7:=SMA(VAR3/VAR1*100,3,1);
    VAR8:=LLV(LOW,34);
    VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
    VARA:=IF(VAR9>100,VAR9-100,0);
    VARB:=HHV(HIGH,34);
    AA:= VARA*2;
    BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);
    VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);
    CC:= SMA(VAR5,20,1);
    VARD:=SMA(AA,2,1)-AA;
    VARE:=EMA(0.667*REF(BB,1)+0.333*BB,2)-BB;
    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>N,VAR6A-N,0),COLORFFFFFF;
    LC:=REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
    E:=CROSS(83,RSI);
    STICKLINE( E,E,55,1,0),COLOR00FFFF;
    DRAWTEXT(E,50,' 逃顶'),COLORFF9966;
    STICKLINE(REF(提前抄底,1)<提前抄底,提前抄底,REF(提前抄底,1),5,0),COLORFF00FF;
    STICKLINE(REF(提前抄底,1)>提前抄底,提前抄底,REF(提前抄底,1),5,0),COLORFFCC66;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺红入灰出指标公式 加入收藏