最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 趋势为先指标 (源码)

    正文概述    2024-04-07 23:14:24  
    qj1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
    qj2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-qj0);
    qj3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
    qj4:=IF(HIGH=LOW,1,qj0-MIN(CLOSE,OPEN));
    qj5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
    qj6:= macd.diff macd.dea and macd.dea
    qj7:= kdj.k kdj.d and kdj.d
    qj8:= macd.diff macd.dea
    qj9:= kdj.k kdj.d and kdj.k
    特大:qj4*qj5,LINETHICK0,PRECIS0;大单:qj3*qj5,LINETHICK0,PRECIS0;
    中单:qj1*qj5,LINETHICK0,PRECIS0;小单:qj2*qj5,LINETHICK0,PRECIS0;
    {九毛八股票公式指标网 全网优质指标下载平台www.9m8.cn}
    w1:=SUM(大单,N)+SUM(特大,N);w2:=SUM(小单,n)+SUM(中单,n);
    量振1:=特大 大单 and 大单
    量振2:=特大 小单 and 大单
    标振1:=qj6 and qj7;
    标振2:=qj8 and qj9;
    a:=w1-w2;a0:=IF(a 0,a,0);b0:=IF(a 0,a,0);
    STICKLINE(a0,0,a0,8,0),Color000044;
    STICKLINE(a0,0,a0,5,0),Color000088;
    STICKLINE(a0,0,a0,3,0),Color0000aa;
    STICKLINE(a0,0,a0,1,0),Color0000cc;
    STICKLINE(b0,0,-b0,8,0),Color004400;
    STICKLINE(b0,0,-b0,5,0),Color008800;
    STICKLINE(b0,0,-b0,3,0),Color00aa00;
    STICKLINE(b0,0,-b0,1,0),Color00cc00;
    周趋势:ma(a,5),ColorFFFFFF,PRECIS0,LAYER0;
    平滑值:wma(周趋势,5),Color00FFFF,PRECIS0,LAYER0;
    买:量振1 and 标振1 and 周趋势 平滑值,Color0000FF,LINETHICK0;
    卖:量振2 and 标振2 and 周趋势 平滑值,Color00FF00,LINETHICK0;
    VERTLINE(买,1),COLORff00ff;
    VERTLINE(卖,1),COLOR00ff00;

    大智慧趋势为先指标公式


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 趋势为先指标 (源码) 加入收藏