#通達(dá)信#(三紅共振)(通達(dá)信公式 主圖 源碼 測試圖) 三紅共振,分中長短三線 本公式比較漂亮,發(fā)上來分享。 DRAWGBK(CLOSE>0,RGB(150,50,175),RGB(0,25,100),0,2,0); DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0,0,1),COLORCYAN; 賺錢軌道:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2; VAR1:=MA(CLOSE,20); DRAWBAND(賺錢軌道,RGB(155,50,50),VAR1,RGB(0,100,50)); IF(賺錢軌道<VAR1 OR CLOSE<賺錢軌道,賺錢軌道,DRAWNULL),COLORBLUE,LINETHICK2; 拉升線:IF(賺錢軌道>VAR1,VAR1,DRAWNULL),COLORMAGENTA,LINETHICK3; 下跌線:IF(賺錢軌道<=VAR1,VAR1,DRAWNULL),COLORLIBLUE,LINETHICK2; VAR2:=(CLOSE+HIGH+LOW+OPEN)/4; VAR3:=MA((CLOSE*2+HIGH)/3,5); VAR4:=MA((OPEN*2+HIGH)/3,5); VAR5:=MA((CLOSE+LOW*2)/3,5); VAR6:=MA((OPEN+LOW*2)/3,5); VAR7:=OPEN+(CLOSE-OPEN)/2; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,2.9,0),COLOR000099; STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,1.5,0),COLOR0000CC; STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,0.1,0),COLOR9966FF; STICKLINE(VAR3>=VAR4,CLOSE,OPEN,2.9,0),COLOR000099; STICKLINE(VAR3>=VAR4,CLOSE,OPEN,1.5,0),COLOR0000CC; STICKLINE(VAR3>=VAR4,CLOSE,OPEN,0.1,0),COLOR9966FF; STICKLINE(VAR3<VAR4 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,2.9,0),COLOR999900; STICKLINE(VAR3<VAR4 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,1.5,0),COLORCCCC00; STICKLINE(VAR3<VAR4 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,0.1,0),COLORFFFF66; STICKLINE(VAR3>=VAR4 AND CLOSE<VAR4,VAR7,MAX(OPEN,CLOSE),2.8,0),COLORMAGENTA; STICKLINE(CROSS(VAR3,VAR4),CLOSE,OPEN,2.8,0),COLORYELLOW; STICKLINE(VAR3<VAR4 AND (CROSS(CLOSE,VAR6) OR CROSS(VAR2,VAR6)),VAR7,MIN(CLOSE,OPEN),2.8,0),COLORWHITE; STICKLINE(CROSS(VAR4,VAR3) AND CLOSE<OPEN AND DMI.PDI<DMI.MDI,CLOSE,OPEN,2.8,0),COLORFF3300; VAR8:=REF(OPEN,1); {公式指標(biāo)網(wǎng) WWW.70822.COM 整理} VAR9:=SMA(MAX(OPEN-VAR8,0),6,1)/SMA(ABS(OPEN-VAR8),6,1)*100; VAR10:=REF(CLOSE,1); VAR11:=SMA(MAX(CLOSE-VAR10,0),6,1)/SMA(ABS(CLOSE-VAR10),6,1)*100; VAR12:=REF(HIGH,1); VAR13:=SMA(MAX(HIGH-VAR12,0),6,1)/SMA(ABS(HIGH-VAR12),6,1)*100; VAR14:=REF(LOW,1); ;#我要上微頭條##感謝頭條我要上熱門# |
|