同花顺资金流公式(乾坤线指标公式)

基金开户 2023-02-06 13:34基金知识www.xyhndec.cn
  • 哪位大侠帮忙把同花顺主力资金进出场公式放到 选股指标,要大资金进场黄和大资金进场红两个选股指标,
  • 求同花顺成交量公式!
  • 求高手给写个同花顺的选股公式;今日资金流入最多的股票。多谢!
  • 请高手把同花顺分时资金进出公式,加条资金差均线,非常感谢,谢谢。
  • 在同花顺里如何编写这样一个公式?
  • 谁有东方财富金融终端的趋势DK线公式源码?
  • 请大侠写出股价上穿乾坤线,乾坤线显示为红色的选股公式,谢谢!
  • 1、哪位大侠帮忙把同花顺主力资金进出场公式放到 选股指标,要大资金进场黄和大资金进场红两个选股指标,

    ZLCM:=EMA(WINNER(CLOSE)70,3);
    SHCM:=EMA((WINNER(CLOSE1.1)-WINNER(CLOSE0.9))80,3);
    ZZLKP:=ZLCM/(ZLCM+SHCM)100;
    ZZLJJ:=EMA(ZZLKP,89);
    ZJLRQD:=ZZLKP-ZZLJJ;
    AA:=EMA(ZJLRQD,3);
    BB:=EMA(AA,5);
    主力资金进场:=IF(CROSS(AA,BB),1,0);
    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
    VAR3:=EMA(VAR2,10);
    VAR4:=LLV(LOW,33);
    VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5);
    大资金进场黄:=VAR5>REF(VAR5,1) AND C>O;
    主力资金进场 OR 大资金进场黄;

    2、求同花顺成交量公式!

    REF(V,7)>REF(V,7+1)1.7 AND REF(C,7)>REF(O,7);
    {含义“7天前的量”大于“8天前的量的1.7倍”且7天前收的是阳线。其中“7”这个天数可根据需要自己修改};

    3、求高手给写个同花顺的选股公式;今日资金流入最多的股票。多谢!

    使用动态显示牌,点击流入资金排序即可,不用写公式!

    4、请高手把同花顺分时资金进出公式,加条资金差均线,非常感谢,谢谢。

    A:=SUBSAMEDAY(&MONEY);

    IF(FORMATTIME(1)<1)

    RETURN;

    b:=SUBSAMEDAY(&NEW);

    资金流出:-SUM(IF(b<0,A,0),0),COLORFFFFFF;

    资金流入:SUM(IF(b>0,A,0),0),COLOR00FFFF;

    资金差:资金流入+资金流出,COLORFFFFFF;

    资金差均线:MA(资金差,15),COLORFFFF00;/这里的15自己可改成你想按多少分钟来计算平均数的分钟数/

    5、在同花顺里如何编写这样一个公式?

    昨天跌幅为3%-5%: REF(CLOSE,1)/REF(CLOSE,2)>0.95 AND REF(CLOSE,1)/REF(CLOSE,2)<0.97
    其它类似,关键是函数REF(CLOSE,n)的用法

    6、谁有东方财富金融终端的趋势DK线公式源码?

    QKX
    乾坤线:=3(2EMA(LLV((OPEN+HIGH+LOW+2CLOSE)/5,8),13)-(OPEN+HIGH+LOW+2CLOSE)/5)-2(SMA(2EMA(LLV((OPEN+HIGH+LOW+2CLOSE)/5,8),13)-(OPEN+HIGH+LOW+2CLOSE)/5,9,1));
    DK:=乾坤线;
    A5:MA(CLOSE,5);
    A10:MA(CLOSE,10);
    A20:MA(CLOSE,20);
    A30:MA(CLOSE,30);
    SMX:(MA(CLOSE,30)+MA(CLOSE,72))/2,LINETHICK2,colorFF;
    A60:MA(CLOSE,60),LINEDOT;
    A120:MA(CLOSE,120),LINEDOT;
    A250:MA(CLOSE,250),LINEDOT,colorFF;
    STICKLINE(CLOSE>DK,OPEN,CLOSE,8,1),colorFF;
    STICKLINE(CLOSE>DK AND CLOSE<OPEN,OPEN,CLOSE,8,0),colorFF;
    STICKLINE(CLOSE=DK,OPEN,CLOSE,8,1),colorFF;
    STICKLINE(CLOSE>DK,LOW,OPEN,0.8,1),colorFF;
    STICKLINE(CLOSE=DK,LOW,OPEN,0.8,1),colorFF;
    STICKLINE(CLOSE>DK,CLOSE,HIGH,0.8,1),colorFF;
    STICKLINE(CLOSE=DK,CLOSE,HIGH,0.8,1),colorFF;
    STICKLINE(CLOSE<DK AND CLOSE>OPEN,CLOSE,OPEN,8,1),colorFF00;
    STICKLINE(CLOSE<DK AND CLOSE<=OPEN,CLOSE,OPEN,8,0),colorFF00;
    STICKLINE(CLOSE<DK,OPEN,LOW,0.8,0),colorFF00;
    STICKLINE(CLOSE<DK,CLOSE,HIGH,0.8,0),colorFF00;
    VAR13:=(CLOSE-OPEN)/OPEN100;
    VAR14:=REF(CLOSE,1);
    VAR15:=(SMA(MAX(CLOSE-VAR14,0),6,1))/(SMA(ABS(CLOSE-VAR14),6,1))100;
    VAR16:=COUNT(VAR15<59,20)>=1;
    VAR17:=(CLOSE-MA(CLOSE,32))/STD(CLOSE,32)100;
    VAR18:=EMA(VAR17,3);
    VAR19:=MA(CLOSE,5);
    VAR20:=SUM(VOL,20)/CAPITAL;
    VAR21:=MA(VAR20,1);
    VAR22:=MA(VAR20,20);
    VAR23:=BARSLAST(CROSS(VAR21,VAR22));
    VAR24:=(CLOSE-OPEN)/OPEN;
    VAR25:=(MA(CLOSE,60)-MA(CLOSE,5))/MA(CLOSE,5);
    VAR30:=BACKSET(REF(CLOSE,2)/REF(OPEN,2)<=0.9 AND REF(OPEN,1)<REF(CLOSE,2) AND (ABS(REF(OPEN,1)-REF(CLOSE,1)))/REF(CLOSE,1)<=0.05 AND CLOSE/OPEN>=1.08 AND CLOSE>REF(CLOSE,2),1);
    VAR32:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)100;
    VAR33:=(CLOSE-REF(CLOSE,30))/REF(CLOSE,30)100;
    VAR34:=OPEN/REF(CLOSE,1)>=1-2/100 AND CLOSE/OPEN>=1+3/100;
    VAR35:=VOL/MA(VOL,5)>1;
    VAR36:=REF(CLOSE,1);
    VAR37:=(SMA(MAX(CLOSE-VAR36,0),6,1))/(SMA(ABS(CLOSE-VAR36),6,1))100;
    VAR38:=(CLOSE-VAR36)/VAR36100;
    VAR39:=COUNT(VAR37<23,23);
    VAR40:=(CLOSE-OPEN)/OPEN100;
    VAR41:=REF(CLOSE,1);
    VAR42:=(SMA(MAX(CLOSE-VAR41,0),2,1))/(SMA(ABS(CLOSE-VAR41),2,1))100;
    VAR43:=COUNT(VAR42<20,20)>=1;
    VAR47:=LLV(LOW,18);
    VAR48:=HHV(HIGH,18);
    VAR49:=EMA((CLOSE-VAR47)/(VAR48-VAR47)100,13);
    VAR50:=VAR13>7 AND VAR16 OR VAR38>6 AND VAR39>=1 AND VAR34 AND VAR35 AND VAR33<6;
    VAR101:=DRAWTEXT((VAR17>-100 AND VAR17>REF(VAR17,1) AND REF(VAR17,1)>REF(VAR17,2) AND REF((HHV(HIGH,3)-LLV(LOW,3))/LLV(LOW,3),1)<=3/50 AND CLOSE>=REF(HHV(HIGH,3),1) AND BARSCOUNT(CLOSE)>80 AND VAR19>REF(VAR19,1) AND CLOSE>REF(CLOSE,1) AND VOL/240>MA(VOL,100)/240 AND CLOSE>OPEN(1+3/100) AND CLOSE<MA(CLOSE,30)1.3 OR VAR40>9 AND VAR43 OR VOL/240>MA(VOL,100)/240 AND CLOSE>OPEN(1+7/100) AND CLOSE<MA(CLOSE,5)1.5 OR VAR50) AND EMA(0.618REF(VAR49,1)+0.382VAR49,3)<40,LOW0.98,'←出击');
    VAR102:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN1.04;
    VAR103:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
    VAR104:=VAR102 AND VAR103;
    VAR105:=DRAWTEXT(VAR104,LOW0.98,'B');
    VAR106:=DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2STD(CLOSE,20)),HIGH1.02,'S');
    LL:=REF(CLOSE,2);
    MM:=(SMA(MAX(CLOSE-LL,0),6,1))/(SMA(ABS(CLOSE-LL),6,1))100;
    DB:=IF(MM<REF(MM,1) AND MM>79,MM,0);
    DRAWTEXT(DB AND CLOSE<MA(CLOSE,3),HIGH1.02,'S'),colorFF00;
    DRAWTEXTEX(CLOSE,1,1,50,'总股本:'+NUMTOSTR(FINANCE(1)/10000,2)+'亿'+' 流通A股:'+NUMTOSTR(FINANCE(7)/10000,2)+'亿'+' 每股收益:'+NUMTOSTR(FINANCE(33),2)+' 净资产收益率:'+NUMTOSTR(FINANCE(37),2)+' 净资产:'+NUMTOSTR(FINANCE(34),2)+' 公积金:'+NUMTOSTR(FINANCE(18),2)+' 市盈率:'+NUMTOSTR(DYNAINFO(39),2)),color808080;
    DRAWTEXTEX(CLOSE,1,1,100,'主营业务增长率:'+NUMTOSTR(FINANCE(53),2)+'%'+' 税后利润增长率:'+NUMTOSTR(FINANCE(54),2)+'%'+' 净资产增长率:'+NUMTOSTR(FINANCE(55),2)+'%'),color808080;
    DRAWTEXTEX(CLOSE,1,1,200,'上涨家数:'+NUMTOSTR(INDEXADV,0)+' 下跌家数:'+NUMTOSTR(INDEXDEC,0)),color808080;
    DRAWTEXTEX(CLOSE,1,1,150,'股东权益比率:'+NUMTOSTR(FINANCE(36),2)+'%'),color808080;
    DRAWTEXTEX(CLOSE,1,1,250,'获利比率:'+NUMTOSTR(WINNER(CLOSE)100,2)+'%'),color808080;
    DRAWTEXTEX(CLOSE,1,1,0,'所属板块:'+BLKNAME),color808080;
    DRAWTEXTEX(CLOSE,1,1,300,'五日换手:'+NUMTOSTR(SUM(VOL/CAPITAL100,5),2)+'%'),color808080;
    DRAWTEXTEX(CLOSE,1,1,350,'五日涨跌:'+NUMTOSTR((CLOSE-REF(CLOSE,4))/REF(CLOSE,5)100,2)+'%'),color808080;
    DRAWTEXTEX(CLOSE,1,1,400,'今日阻力价位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2REF(CLOSE,1))/52-REF(LOW,1),2)),colorFFFFFF;
    DRAWTEXTEX(CLOSE,1,1,450,'今日支撑价位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2REF(CLOSE,1))/52-REF(HIGH,1),2)),colorFFFFFF;
    DRAWTEXTEX(CLOSE,1,1,500,'今日上升突破价位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2REF(CLOSE,1))/5+REF(HIGH,1)-REF(LOW,1),2)),colorFFFFFF;
    DRAWTEXTEX(CLOSE,1,1,550,'今日下跌破位价位:'+NUMTOSTR((REF(HIGH,1)+REF(LOW,1)+REF(OPEN,1)+2REF(CLOSE,1))/5-(REF(HIGH,1)-REF(LOW,1)),2)),colorFFFFFF;
    DRAWTEXTEX(CLOSE,1,1,600,'次日阻力价位:'+NUMTOSTR((HIGH+LOW+OPEN+2CLOSE)/52-LOW,2)),color808080;
    DRAWTEXTEX(CLOSE,1,1,650,'次日支撑价位:'+NUMTOSTR((HIGH+LOW+OPEN+2CLOSE)/52-HIGH,2)),color808080;
    DRAWTEXTEX(CLOSE,1,1,700,'次日上升突破价位:'+NUMTOSTR((HIGH+LOW+OPEN+2CLOSE)/5+HIGH-LOW,2)),color808080;
    DRAWTEXTEX(CLOSE,1,1,750,'次日下跌破位价位:'+NUMTOSTR((HIGH+LOW+OPEN+2CLOSE)/5-(HIGH-LOW),2)),color808080;

    7、请大侠写出股价上穿乾坤线,乾坤线显示为红色的选股公式,谢谢!

    VAR1:=(HIGH+LOW+OPEN+CLOSE)/4;
    VAR3:=2EMA(LLV(VAR1,7),10)-VAR1;
    黄金线:=MA(3VAR1-2SMA(VAR1,2,1),12),coloryello;
    乾坤线:=3VAR3-2SMA(VAR3,10,1),colreen;
    X2:=C; X3:=黄金线;
    XG1:CROSS(C,黄金线) AND CROSS(黄金线,乾坤线);
    XG2:=CROSS(C,黄金线) OR CROSS(黄金线,乾坤线);
    {只需将XG1和XG2后的= 换一下,就实现用1或者用2的选择。仅供参考。}

    Copyright@2015-2025 www.xyhndec.cn 牛炒股 版权所有