最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把通达信的量能饱和度改写成大智慧的

    正文概述    2024-04-14 09:25:42  

    九毛八公式指标

    请老师帮忙把通达信的量能饱和度改写成大智慧的,先谢谢了 {N(20,1,100);} 量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100); STICKLINE(((CLOSE > 0) AND ISLASTBAR),20,121,6,1),COLORFFFFFF; STICKLINE(((量能饱和度 <= 5) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLORFFFFFF; STICKLINE((((量能饱和度 > 5) AND (量能饱和度 <= 20)) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLORCCFF88; STICKLINE((((量能饱和度 > 20) AND (量能饱和度 <= 40)) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLORFF00FF; STICKLINE(((量能饱和度 > 40) AND ISLASTBAR),21,(20 + 量能饱和度),5,0),COLOR0000FF; {SAT:=(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26); 饱和度:IF(SAT>1,1,SAT)*100,COLORYELLOW; STICKLINE(C>0 AND ISLASTBAR=1,5,100,10,1),COLORWHITE; 量能≤5:STICKLINE(饱和度<=5 AND ISLASTBAR=1,5,饱和度+20,6,0),COLORRED; 量能5~80:STICKLINE((饱和度>5 AND 饱和度< 80) AND ISLASTBAR=1,5,饱和度+8,6,0),COLOR5290FF; 量能80~97:STICKLINE((饱和度>80 AND 饱和度< 97) AND ISLASTBAR=1,5,饱和度,6,0),COLORFFCC00; 量能≥97:STICKLINE(饱和度>=97 AND ISLASTBAR=1,5,饱和度,8,0),COLORGREEN; DRAWTEXT(ISLASTBAR=1 AND 饱和度,0,'量能饱和度:'+饱和度),COLORFFCCFF; 5,POINTDOT,COLORFFEEBB; 97,POINTDOT,COLORGREEN;}; 参数 n 最小 1.00 最大 100.00 缺省 8.96

    公式模块:

    n:=8.96;

    量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100); STICKLINE(((CLOSE > 0) AND BARSTATUS=2),20,121,6,1),COLORFFFFFF; STICKLINE(((量能饱和度 <= 5) AND BARSTATUS=2),21,(20 + 量能饱和度),5,0),COLORFFFFFF; STICKLINE((((量能饱和度 > 5) AND (量能饱和度 <= 20)) AND BARSTATUS=2),21,(20 + 量能饱和度),5,0),COLORCCFF88; STICKLINE((((量能饱和度 > 20) AND (量能饱和度 <= 40)) AND BARSTATUS=2),21,(20 + 量能饱和度),5,0),COLORFF00FF; STICKLINE(((量能饱和度 > 40) AND BARSTATUS=2),21,(20 + 量能饱和度),5,0),COLOR0000FF; {SAT:=(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26); 饱和度:IF(SAT>1,1,SAT)*100,COLORYELLOW; STICKLINE(C>0 AND BARSTATUS=2,5,100,10,1),COLORWHITE; 量能≤5:STICKLINE(饱和度<=5 AND BARSTATUS=2,5,饱和度+20,6,0),COLORRED; 量能5~80:STICKLINE((饱和度>5 AND 饱和度< 80) AND BARSTATUS=2,5,饱和度+8,6,0),COLOR5290FF; 量能80~97:STICKLINE((饱和度>80 AND 饱和度< 97) AND BARSTATUS=2,5,饱和度,6,0),COLORFFCC00; 量能≥97:STICKLINE(饱和度>=97 AND BARSTATUS=2,5,饱和度,8,0),COLORGREEN; DRAWTEXT(BARSTATUS=2 AND 饱和度,0,'量能饱和度:'+饱和度),COLORFFCCFF; 5,POINTDOT,COLORFFEEBB; 97,POINTDOT,COLORGREEN;};

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把通达信的量能饱和度改写成大智慧的 加入收藏