最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 编个“全仓”出现时的选股公式

    正文概述    2024-04-14 09:39:27  

    九毛八公式指标

    全仓买入源码:请老师编个“全仓”出现时的选股公式 N:=21; M:=5; 天:400,POINTDOT,COLORBLUE,LINETHICK4; 海:100,POINTDOT,COLORRED,LINETHICK4; TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),N); TL:=SUM(IF(CLOSEREF(VAR1,1); WLT1:=W AND WL1; WLT2:=W AND WL2; TJ1:=FILTER(WLT1,5); TJ2:=FILTER(WLT2,8); STICKLINE(TJ1,0,80,4,0),COLOR000099; STICKLINE(TJ1,0,80,2,0),COLOR0000BB; STICKLINE(TJ1,0,80,1,0),COLOR0000DD; STICKLINE(TJ1,0,80,0.3,0),COLOR0000FF; DRAWTEXT(TJ1,83,'全仓'),COLOR00FFFF; STICKLINE(TJ2,0,50,4,0),COLOR990099; STICKLINE(TJ2,0,50,2,0),COLORBB00BB; STICKLINE(TJ2,0,50,1,0),COLORDD00DD; STICKLINE(TJ2,0,50,0.3,0),COLORFF00FF; DRAWTEXT(TJ2,53,'追买'),COLOR00FFFF; SAL1:CROSS(VAR1,VAR0) AND VAR1>250; SAL2:VAR0>400; SAL:FILTER(SAL1 OR SAL2,5); DRAWICON(SAL,VAR0,15);

    公式模块:

    N:=21; M:=5;

    TH:=SUM(IF(CLOSE>REF(CLOSE,1),vol,0),N); TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),N); TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N); VAR0:=100*(TH*2+TQ)/(TL*2+TQ); VAR1:=MA(VAR0,M); W:=crOSS(VAR0,VAR1); WL1:=VAR1<100; WLT1:=W AND WL1; 全仓:FILTER(WLT1,5);

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 编个“全仓”出现时的选股公式 加入收藏