通達信指標王之短中決策波段買賣主圖指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2021-04-29 來源:互聯網
通達信指標王之短中決策波段買賣主圖指標公式:
回歸斜率線A:=EMA(SLOPE(C,21)*20+C,42);
經典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
經典K:=SMA(經典RL,3,1); 經典D:=SMA(經典K,3,1); 經典J:=3*經典K-2*經典D;
MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));
MAHL2:=IF(EMA(C,2)>回歸斜率線A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}
MAHL3:=IF(EMA(C,2)>回歸斜率線A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}
MAHL4:DRAWBAND(MAHL2,RGB(105,32,32),MAHL3,RGB(0,154,154));
MAHL5:DRAWBAND(EMA(C,2),RGB(135,32,32),EMA(C,5),RGB(0,154,154));
MAHL6:DRAWBAND(EMA(C,2),RGB(135,32,32),EMA(C,9),RGB(0,154,154));
回歸斜率帶:DRAWBAND(回歸斜率線A,RGB(235,0,230),REF(回歸斜率線A,2),RGB(0,104,154));
{C>昨C紅K柱+C>O紅K柱 C>昨C紅K柱 C=昨C是跟白色 24線
C<昨C藍K柱+C>O紅K柱 C<昨C藍K柱}
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;
STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00;
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;{紅K};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;{紅K};
STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;
STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00;
STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000;
STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000;
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;
STICKLINE(CLOSE< REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;
經典KDJ買:IF(CROSS(經典K,經典D),(L-(H-L)/2),DRAWNULL),POINTDOT,LINETHICK6,COLOR0000FF;{高亮紅}
回歸斜率買:IF(CROSS(EMA(C,3),回歸斜率線A),(L-(H-L)/3),DRAWNULL),POINTDOT,COLOR0000FF;{高亮紅}
回歸斜率買_:DRAWICON(CROSS(EMA(C,3),回歸斜率線A),(L-(H-L)/3),1),{買};
回歸斜率賣:IF(CROSS(回歸斜率線A,EMA(C,2)),(H+(H-L)/3),DRAWNULL),POINTDOT,COLOR00CF00;{中綠}
賣:DRAWICON(CROSS(回歸斜率線A,EMA(C,2)),(H+(H-L)/3),2);
經典KDJ賣:IF(CROSS(經典D,經典K),(H+(H-L)/2),DRAWNULL),CROSSDOT,LINETHICK3,COLOR00CF00;{中綠};
通達信指標王之短中決策波段買賣主圖指標公式實例圖解:
通達信指標王之短中決策波段買賣主圖指標公式