通達信分享自用多年的主圖指標公式
基本概況:
- 指標類別: 通達信指標
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯(lián)網
- 指標日期: 2017-08-02 00:00:00
內容介紹:
通達信分享自用多年的主圖指標公式:
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA20:=MA(CLOSE,20);
FL:HHV(MA20,10);
FS:MA20-(FL-MA20);
MA120:MA(CLOSE,120),LINETHICK2,COLORFF00FF;
MA250:MA(CLOSE,250),LINETHICK3,COLORFFFF00;
乖離線:=((C-REF(MA20,1))/20+MA20)*1.20;
TT1:=CROSS(MA20,MA120) AND CROSS(MA20,MA250) AND V>REF(V,1);
TT2:=MA20>REF(MA20,2) AND V>REF(V,1) AND CROSS(C,MA20);
STICKLINE(TT1,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(TT1,L-0.13,'金叉'),COLORYELLOW;
STICKLINE(CROSS(C,MA120) AND CROSS(C,MA250) AND CROSS(C,MA20),L,L-0.09,3,0),COLORYELLOW;
DRAWTEXT(CROSS(C,MA120) AND CROSS(C,MA250) AND CROSS(C,MA20),L-0.25,'并線開花'),COLORYELLOW;
STICKLINE(TT2,L-0.02,L-0.09,3,0),COLORYELLOW;
DRAWTEXT(TT2,L-0.18,'買點1'),COLORYELLOW;
STICKLINE(CROSS(C,乖離線),H,H+0.09,4,0),COLOR00FF00;
DRAWTEXT(CROSS(C,乖離線) ,H+0.13,'賣點'),COLOR00FF00;
STICKLINE(MA250>=REF(MA250,1) AND MA20>=REF(MA20,1) AND CROSS(C,MA250),L,L-0.09,4,0),COLORFFCC66;
DRAWTEXT(MA250>=REF(MA250,1) AND MA20>=REF(MA20,1) AND CROSS(C,MA250),L-0.13,'牛象'),COLORFFCC66;
STICKLINE(MA120>=REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V>REF(V,1),L-0.04,L-0.09,3,0),COLORFF00FF;
DRAWTEXT(MA120>=REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V>REF(V,1),L-0.13,'買點2'),COLORFF00FF;
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=((3 * K24) - (2 * D24));
U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);
L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));
RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));
RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));
RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));
DRAWTEXT(FILTER(((((((((OPEN > MA120) AND (MA20 < MA120)) AND (LOW <= MA120)) AND ((MA20 - REF(MA20,1)) > 0)) AND (CLOSE > OPEN)) AND ((MA120 - REF(MA120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= MA120)),15),LOW,'★120跳馬');
{DRAWTEXT(C>REF(C,1) AND MA(C,5)>MA(C,10) AND MA(C,20)>MA(C,60)
AND REF(MA(C,20),1)>REF(MA(C,60),1) AND MA(C,60)>REF(MA(C,60),1) AND FL>MA(C,60)
AND FS>MA(C,60) AND FL=FS AND REF(FL,1)>REF(FS,1) ,FS,'買入' ),COLORYELLOW;}
RSV2:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
通達信分享自用多年的主圖指標公式
K2:=SMA(RSV2,12,1);
D2:=SMA(K2,12,1);
E2:=EMA(D2,6);
AA1:=E2>REF(E2,1);
XG:=REF(AA1,1)=0 AND AA1;
DRAWICON(XG,L*0.95,11);
現(xiàn)價線:DYNAINFO(7),DOTLINE,COLORYELLOW;