最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 日月同辉改成大智慧

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

    九毛八公式指标

    DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA1:=EMA(DIF1,9); MACD1:=2*(DIF1-DEA1),STICK; MACD2:=EMA(MACD1,3); STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.5,0),COLOR0000AA; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1.2,0),COLOR0000CC; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.6,0),COLOR0000DD; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.1,0),COLORRED; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.5,0),COLOR00AA00; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1.2,0),COLOR00CC00; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.6,0),COLOR00DD00; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.1,0),COLORGREEN; STICKLINE(MACD10,0,MACD1,2.5,0),COLORAAAAAA; STICKLINE(MACD10,0,MACD1,1.2,0),COLORCCCCCC; STICKLINE(MACD10,0,MACD1,0.6,0),COLORDDDDDD; STICKLINE(MACD10,0,MACD1,0.1,0),COLORFFFFFF; STICKLINE(MACD1=0 OR MACD1<=0,0,0,50,1),COLORWHITE; DIF:DIF1,COLOR33FF33; DEA:DEA1,COLORYELLOW; MACD:MACD1,NODRAW,COLORMAGENTA; 强:IF(DIF1>=DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK2; 金叉1:=CROSS(DIF1,DEA1); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)); K:SMA(RSV,3,1),COLORFFFFFF; D:SMA(K,3,1),COLOR00FFFF; J:3*K-2*D,COLOR363670; 强1:IF(J>=K,J,DRAWNULL),COLORFF00FF,LINETHICK2; 金叉2:=CROSS(J,K); DRAWICON(金叉1 AND 金叉2,J,17); DRAWTEXT(REF(MACD1,1)>0 AND MACD1<0,MACD1-0.01,'1'); DRAWTEXT(REF(MACD1,2)>0 AND REF(MACD1,1)<0 and macd1<0,macd1-0.01,'2'); drawtext(ref(macd1,3)>0 AND REF(MACD1,2)<0 and ref(macd1,1)<0 macd1<0,macd1-0.01,'3'); drawtext(ref(macd1,4)>0 AND REF(MACD1,3)<0 and ref(macd1,2)<0 ref(macd1,1)<0 macd1<0,macd1-0.01,'4'); drawtext(ref(macd1,5)>0 AND REF(MACD1,4)<0 and ref(macd1,3)<0 ref(macd1,2)<0 ref(macd1,1)<0 macd1<0,macd1-0.01,'5'); drawtext(ref(macd1,6)>0 AND REF(MACD1,5)<0 and ref(macd1,4)<0 ref(macd1,3)<0 ref(macd1,2)<0 ref(macd1,1)<0 macd1<0,macd1-0.01,'6'); drawtext(ref(macd1,7)>0 AND REF(MACD1,6)<0 and ref(macd1,5)<0 ref(macd1,4)<0 ref(macd1,3)<0 ref(macd1,2)<0 ref(macd1,1)<0 macd1<0,macd1-0.01,'7'); drawtext(ref(macd1,1)<0 macd1>0,MACD1+0.01,'1'),COLOR00FFFF; DRAWTEXT(REF(MACD1,2)<0 and ref(macd1,1)>0 AND MACD1>0,MACD1+0.01,'2'),COLOR00FFFF; DRAWTEXT(REF(MACD1,3)<0 and ref(macd1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'3'),COLOR00FFFF; DRAWTEXT(REF(MACD1,4)<0 and ref(macd1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'4'),COLOR00FFFF; DRAWTEXT(REF(MACD1,5)<0 and ref(macd1,4)>0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'5'),COLOR00FFFF; DRAWTEXT(REF(MACD1,6)<0 and ref(macd1,5)>0 AND REF(MACD1,4)>0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'6'),COLOR00FFFF; DRAWTEXT(REF(MACD1,7)<0 and ref(macd1,6)>0 AND REF(MACD1,5)>0 AND REF(MACD1,4)>0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'7'),COLOR00FFFF;

    公式模块:

    DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA1:=EMA(DIF1,9); macd1:2*(DIF1-DEA1),STICK; MacD2:=EMA(MACD1,3); STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,8,0),COLOR0000AA; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,5,0),COLOR0000CC; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,3,0),COLOR0000DD; STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,8,0),COLOR00AA00; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,5,0),COLOR00CC00; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,3,0),COLOR00DD00; STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORGREEN; STICKLINE(MACD1<MACD2 AND MACD1>0,0,MACD1,8,0),COLORAAAAAA; STICKLINE(MACD1<MACD2 AND MACD1>0,0,MACD1,5,0),COLORCCCCCC; STICKLINE(MACD1<MACD2 AND MACD1>0,0,MACD1,3,0),COLORDDDDDD; STICKLINE(MACD1<MACD2 AND MACD1>0,0,MACD1,1,0),COLORFFFFFF; STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,8,0),COLORAAAA00; STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,5,0),COLORCCCC00; STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,3,0),COLORDDDD00; STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,1,0),COLORFFFF00; STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE; DIF:DIF1,COLOR33FF33; DEA:DEA1,COLORYELLOW; MACD:MACD1,linethick0,COLORMAGENTA; PARTLINE(DIF1,DIF1>=DEA1,RGB(250,0,0)),LINETHICK2; 金叉1:=crOSS(DIF1,DEA1); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)); K:SMA(RSV,3,1),COLORFFFFFF; D:SMA(K,3,1),COLOR00FFFF; J:3*K-2*D,COLOR363670; PARTLINE(J,J>=K,RGB(160,0,90)),LINETHICK2; 金叉2:=CROSS(J,K); DRAWICON(金叉1 AND 金叉2,J,1),ALIGN0,LAYER1; DRAWTEXT(REF(MACD1,1)>0 AND MACD1<0,MACD1-0.01,'1'); DRAWTEXT(REF(MACD1,2)>0 AND REF(MACD1,1)<0 AND MACD1<0,MACD1-0.01,'2'); DRAWTEXT(REF(MACD1,3)>0 AND REF(MACD1,2)<0 AND REF(MACD1,1)<0 AND MACD1<0,MACD1-0.01,'3'); DRAWTEXT(REF(MACD1,4)>0 AND REF(MACD1,3)<0 AND REF(MACD1,2)<0 AND REF(MACD1,1)<0 AND MACD1<0,MACD1-0.01,'4'); DRAWTEXT(REF(MACD1,5)>0 AND REF(MACD1,4)<0 AND REF(MACD1,3)<0 AND REF(MACD1,2)<0 AND REF(MACD1,1)<0 AND MACD1<0,MACD1-0.01,'5'); DRAWTEXT(REF(MACD1,6)>0 AND REF(MACD1,5)<0 AND REF(MACD1,4)<0 AND REF(MACD1,3)<0 AND REF(MACD1,2)<0 AND REF(MACD1,1)<0 AND MACD1<0,MACD1-0.01,'6'); DRAWTEXT(REF(MACD1,7)>0 AND REF(MACD1,6)<0 AND REF(MACD1,5)<0 AND REF(MACD1,4)<0 AND REF(MACD1,3)<0 AND REF(MACD1,2)<0 AND REF(MACD1,1)<0 AND MACD1<0,MACD1-0.01,'7'); DRAWTEXT(REF(MACD1,1)<0 AND MACD1>0,MACD1+0.01,'1'),COLOR00FFFF; DRAWTEXT(REF(MACD1,2)<0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'2'),COLOR00FFFF; DRAWTEXT(REF(MACD1,3)<0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'3'),COLOR00FFFF; DRAWTEXT(REF(MACD1,4)<0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'4'),COLOR00FFFF; DRAWTEXT(REF(MACD1,5)<0 AND REF(MACD1,4)>0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'5'),COLOR00FFFF; DRAWTEXT(REF(MACD1,6)<0 AND REF(MACD1,5)>0 AND REF(MACD1,4)>0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'6'),COLOR00FFFF; DRAWTEXT(REF(MACD1,7)<0 AND REF(MACD1,6)>0 AND REF(MACD1,5)>0 AND REF(MACD1,4)>0 AND REF(MACD1,3)>0 AND REF(MACD1,2)>0 AND REF(MACD1,1)>0 AND MACD1>0,MACD1+0.01,'7'),COLOR00FFFF;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 日月同辉改成大智慧 加入收藏