通达信稳坐泰山主图指标公式
2020/4/2 18:48:15
N1:=5;N2:=10;N3:=30;
MAA:=MA(CLOSE,N1);
MAB:=MA(CLOSE,N2);
MAC:=MA(CLOSE,N3);
MA1:MA(MA(CLOSE,N1),1);
MA2:MA(MA(CLOSE,N2),2);
MA3:MA(MA(CLOSE,N3),3);
买入:STICKLINE(CROSS(MA1,MA2),HIGH,LOW,0.5,1),COLOR00FF00;
STICKLINE(CROSS(MA1,MA2),OPEN,CLOSE,8,1),LINETHICK2,COLOR00FF00;
DRAWICON(CROSS(MA1,MA2),LOW-0.1,3);
加仓:STICKLINE(COUNT(CLOSE>MA3,1)=1 AND REF(CLOSE,3)<REF( REF(MA3,3),1),HIGH,LOW,0.5,1),COLORYELLOW;
STICKLINE(COUNT(CLOSE>MA3,1)=1 AND REF(CLOSE,3)<REF( REF(MA3,3),1),OPEN,CLOSE,5,1),COLORYELLOW;
DRAWTEXT(COUNT(CLOSE>MA3,3)=3 AND REF(CLOSE,3)<REF( REF(MA3,3),1),LOW,'加仓'),COLORF0F000;
{www.kanguba.com 看股吧_最新股票指标公式}
卖出:STICKLINE(CROSS(MA2,MA1),HIGH,LOW,0.5,1),COLORE66878;
STICKLINE(CROSS(MA2,MA1),OPEN,CLOSE,6,0),LINETHICK2,COLORE66878;
DRAWICON(CROSS(MA2,MA1),HIGH+0.1,4);
看股吧公 式 www.kanguba.co m
其它股票公式列表