通達(dá)信飛龍?jiān)谔熘笜?biāo)公式(主圖 源碼 貼圖)
【源碼】 MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50; G1:=IF(-MMS>95,0,20); UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1); KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100)); KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100); 趨勢(shì)線:=EMA(((KS / 10) + EMA(CLOSE,10)),3); AA:=-100*(趨勢(shì)線-CLOSE)/趨勢(shì)線; AC:=(EMA(AA,5) ); SSL:=EMA(CLOSE,3); MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55); MM:=MA(MMV,1);{ STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;} SA:=(MM*0.985); SS:=(MA(CLOSE,5)); DD:=(MA(CLOSE,13)); GG:=(MA(CLOSE,21)); 天界:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF; {IF(SSL<MM,天界,DRAWNULL),LINETHICK2,COLORFFFFFF;} 能量線:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4))); 上開(kāi):=O; 上收:=C; 上高:=H; 上低:=L; JJ:=(上開(kāi)+上高+上低)/3; A:=EMA(JJ,4); 黃金線:=A,COLORYELLOW,LINETHICK1; B:=REF(A,1); {STICKLINE(((SSL<MM)),銀河線,黃金線,0.01,0),COLORFFFF00;} VA1:=EMA(上收,8); VA2:=EMA(上收,20); DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★') ,LINETHICK2,COLORRED; DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★'),COLORBLUE; DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 黃金線>REF(黃金線,1),VA1*0.97,'★'),COLOR00FF00; 選手A:=MA(上收,3); 孤煙A:=MA(REF(HHV(上收,6),1),3); 孤泉A:=MA(REF(LLV(上收,3),1),3); T1:=MA(上收,20)>=REF(MA(上收,20),1); T2:=CROSS(選手A,孤泉A) AND 孤煙A/孤泉A>100/100 AND T1; T3:=CROSS(孤煙A,選手A) AND 孤煙A/孤泉A>100/100; 選手:=MA(上收,2); 孤煙:MA(REF(HHV(上收,30),1),2),COLORYELLOW,LINETHICK2; 孤泉:MA(REF(LLV(上收,30),1),2),COLORBLUE,LINETHICK2; T4:=CROSS(選手,孤泉) AND 孤煙/孤泉>110/100; T5:=CROSS(孤煙,選手) AND 孤煙/孤泉>110/100; VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); {DRAWTEXT(VAR3 >=VAR4 ,孤煙,'--中期好'),COLOR00FFFF; DRAWTEXT(VAR3<VAR4 ,孤煙,'--中期壞'),COLORF0F000; DRAWTEXT(A>B ,孤泉,'--短期好'),COLOR00FFFF; DRAWTEXT(A<B ,孤泉,'--短期壞'),COLORF0F000;} DRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR3<40 AND UOO>0,LOW*0.96,'★'),COLORF00FF0; {STICKLINE(C>=O,C,O,5,0),COLORRED; STICKLINE(C>=O,H,L,0,0),COLORYELLOW; STICKLINE(C<=O,C,O,5,0),COLORGREEN; STICKLINE(C<=O,H,L,0,0),COLORFFFF00; };聯(lián)系客服