最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 牛股指标改成出现‘ 有主力’字样时选出股

    正文概述    2024-04-14 08:02:34  

    九毛八公式指标

    公式模块:

    请老师将牛股指标公式改成选股的公式,当出现 粉红色‘ 有主力’字样时选出股,谢谢
    这是公式源码:
    中线:=9;
    B:=IF((DATE <= 108880515),EMA(CLOSE,5) - EMA(CLOSE,10),0);
    A:=IF((DATE <= 108088515),EMA(B,中线),0);
    VAR29:=(((-100))*(HHV(CLOSE,10) - CLOSE))/(HHV(CLOSE,10) - LLV(LOW,10)) + 100;
    VAR32:=REF(A,1);
    VAR33:=A;
    VAR34:=VAR33 - VAR32;
    短买:=(IF(crOSS(B,A) AND (B < 0) AND (A < (-0.2)) AND (VAR29 > 45) AND (VAR34 > 0) ,100,0))*(1);

    VAR81:=100 - (3)*(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1)) + (2)*(SMA(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));
    VAR82:=100 - (3)*(SMA(((OPEN - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1)) + (2)*(SMA(SMA(((OPEN - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));
    VAR83:=(VAR81 < REF(VAR82,1)) AND (vol > REF(VOL,1)) AND (CLOSE > REF(CLOSE,1));
    有主力:IF(VAR83 AND (COUNT(VAR83,30) = 1),100,0),Linethick1,COLORff00ff;
    DRAWTEXT((有主力 = 100),110,'有主力'),COLORff00ff,ALIGN2;

    VAR81:=100 - (3)*(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1)) + (2)*(SMA(SMA(((CLOSE - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));
    VAR82:=100 - (3)*(SMA(((OPEN - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1)) + (2)*(SMA(SMA(((OPEN - LLV(LOW,75))/(HHV(HIGH,75) - LLV(LOW,75)))*(100),20,1),15,1));
    VAR83:=(VAR81 < REF(VAR82,1)) AND (VOL > REF(VOL,1)) AND (CLOSE > REF(CLOSE,1));
    有主力:=IF(VAR83 AND (COUNT(VAR83,30) = 1),100,0);
    SELECT 有主力 = 100;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 牛股指标改成出现‘ 有主力’字样时选出股 加入收藏