通達信金牛交易系統(tǒng)主圖指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 策略
- 畫線方法: 主圖
- 日期:2023-03-08 來源:互聯(lián)網(wǎng)
通達信金牛交易系統(tǒng)主圖指標(biāo)公式:
N:=2;M:=3;
PP:=(2*CLOSE+HIGH+LOW)/4;
QQ:=ABS(PP-MA(CLOSE,N*15));
AA:=QQ/MA(CLOSE,N*15);
N2:=(N-2)*15;
N3:=(N+2)*15;
N4:=(N+3)*15;
主趨勢線:DMA(PP,AA),LINETHICK2,COLORRED;
LQ:=主趨勢線*0.99;
主趨30:=DMA(PP,ABS(PP-MA(CLOSE,N2))/MA(CLOSE,N2)),LINETHICK1,COLORLIRED;
主趨90:=DMA(PP,ABS(PP-MA(CLOSE,N3))/MA(CLOSE,N3)),LINETHICK1,COLORMAGENTA;
主趨4:=DMA(PP,ABS(PP-MA(CLOSE,N4))/MA(CLOSE,N4)),LINETHICK1,COLORMAGENTA;
CC:=(CLOSE/主趨勢線);
MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);
MAAA:=((MA1-主趨勢線)/主趨勢線)/3;
TMP:=MA1-MAAA*MA1;
短期趨勢線:TMP,LINETHICK2,COLORMAGENTA;
QSX:IF(TMP<=主趨勢線,主趨勢線,DRAWNULL),LINETHICK2,COLORBLUE;
DQ2:IF(TMP<=REF(TMP,1),TMP,DRAWNULL),LINETHICK2,COLORWHITE;
DQSX:IF(TMP<=主趨勢線,TMP,DRAWNULL),LINETHICK2,COLORGREEN;
DQ3:IF(TMP>=REF(TMP,1) AND TMP<主趨勢線,TMP,DRAWNULL),LINETHICK2,COLORLIRED;
長期趨勢線:=EXPMEMA(CLOSE,45);
DRAWICON(CROSS(KDJ.J,0),HIGH*0.99,99);
DRAWICON(CROSS(100,KDJ.J),LOW*1.09,3);
{
DRAWTEXT(CROSS(TMP,主趨勢線),LOW,'開多'),COLORYELLOW;
DRAWTEXT(TMP<=REF(TMP,1) AND REF(TMP,2)>REF(TMP,1) AND TMP>主趨勢線,LOW,'平多'),COLORYELLOW;
DRAWTEXT(CROSS(主趨勢線,TMP),LOW,'開空'),COLORGREEN;
};
通達信金牛交易系統(tǒng)主圖指標(biāo)公式實例圖解:
通達信金牛交易系統(tǒng)主圖指標(biāo)公式