最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 有朋远来提到的”重心”公式改成通达信的

    正文概述    2024-04-14 09:40:01  

    九毛八公式指标

    先谢谢了!!!! 重心:=AMOUNT/(V*100); 两日重心:=(SUM(AMOUNT,2))/(SUM((V*100),2)); 三日重心:=(SUM(AMOUNT,3))/(SUM((V*100),3)); 四日重心:=(SUM(AMOUNT,4))/(SUM((V*100),4)); 上日重心:=ref(重心,1); 上两日重心:=ref(两日重心,1); 上三日重心:=ref(三日重心,1); 上四日重心:=ref(四日重心,1); 前日重心:=ref(重心,2); 前两日重心:=ref(两日重心,2); 前三日重心:=ref(三日重心,2); 前四日重心:=ref(四日重心,2); DRAWTEXTREL(0,100,'■今日重心:'+重心),COLORGREEN; DRAWTEXTREL(85,100,'■两日重心:'+两日重心),COLOR0099ef; DRAWTEXTREL(0,150,'■三日重心:'+三日重心),COLORGREEN; DRAWTEXTREL(85,150,'■四日重心:'+四日重心),COLOR0099ef; DRAWTEXTREL(185,100,'■上日重心:'+上日重心),COLORGREEN; DRAWTEXTREL(270,100,'■上两日重心:'+上两日重心),COLOR0099ef; DRAWTEXTREL(185,150,'■上三日重心:'+上三日重心),COLORGREEN; DRAWTEXTREL(270,150,'■上四日重心:'+上四日重心),COLOR0099ef; DRAWTEXTREL(370,100,'■前日重心:'+前日重心),COLORGREEN; DRAWTEXTREL(455,100,'■前两日重心:'+前两日重心),COLOR0099ef; DRAWTEXTREL(370,150,'■前三日重心:'+前三日重心),COLORGREEN; DRAWTEXTREL(455,150,'■前四日重心:'+前四日重心),COLOR0099ef;

    公式模块:

    重心:=AMOUNT/(V*100);

    两日重心:=(SUM(AMOUNT,2))/(SUM((V*100),2)); 三日重心:=(SUM(AMOUNT,3))/(SUM((V*100),3)); 四日重心:=(SUM(AMOUNT,4))/(SUM((V*100),4)); 上日重心:=REF(重心,1); 上两日重心:=REF(两日重心,1); 上三日重心:=REF(三日重心,1); 上四日重心:=REF(四日重心,1); 前日重心:=REF(重心,2); 前两日重心:=REF(两日重心,2); 前三日重心:=REF(三日重心,2); 前四日重心:=REF(四日重心,2); 高点:=REFDATE(HHV(H,140),DATE); DRAWTEXT(CURRBARSCOUNT-129,高点,'■今日重心:'),COLORGREEN; DRAWNUMBER(CURRBARSCOUNT-121,高点,重心),COLORGREEN; DRAWTEXT(CURRBARSCOUNT-129,高点*0.98,'■两日重心:'),COLOR0099EF; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.98,两日重心),COLOR0099EF; DRAWTEXT(CURRBARSCOUNT-129,高点*0.96,'■三日重心:'),COLORGREEN; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.96,三日重心),COLORGREEN; DRAWTEXT(CURRBARSCOUNT-129,高点*0.94,'■四日重心:'),COLOR0099EF; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.94,四日重心),COLOR0099EF; DRAWTEXT(CURRBARSCOUNT-129,高点*0.92,'■上日重心:'),COLORGREEN; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.92,上日重心),COLORGREEN; DRAWTEXT(CURRBARSCOUNT-129,高点*0.90,'上两日重心:'),COLOR0099EF; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.90,上两日重心),COLOR0099EF; DRAWTEXT(CURRBARSCOUNT-129,高点*0.88,'上三日重心:'),COLORGREEN; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.88,上三日重心),COLORGREEN; DRAWTEXT(CURRBARSCOUNT-129,高点*0.86,'上四日重心:'),COLOR0099EF; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.86,上四日重心),COLOR0099EF; DRAWTEXT(CURRBARSCOUNT-129,高点*0.84,'前日重心:'),COLORGREEN; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.84,前日重心),COLORGREEN; DRAWTEXT(CURRBARSCOUNT-129,高点*0.82,'前两日重心:'),COLOR0099EF; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.82,前两日重心),COLOR0099EF; DRAWTEXT(CURRBARSCOUNT-129,高点*0.80,'前三日重心:'),COLORGREEN; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.80,前三日重心),COLORGREEN; DRAWTEXT(CURRBARSCOUNT-129,高点*0.78,'前四日重心:'),COLOR0099EF; DRAWNUMBER(CURRBARSCOUNT-121,高点*0.78,前四日重心),COLOR0099EF;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 有朋远来提到的”重心”公式改成通达信的 加入收藏