通达信超买超卖买卖主图指标公式
通达信超买超卖买卖主图指标公式:
P1:=5;P2:=10;P3:=20;P4:=30;
MA1:MA(CLOSE,P1);
MA2:MA(CLOSE,P2);
MA3:MA(CLOSE,P3);
MA4:MA(CLOSE,P4);
卖出线:=98;
阶段卖:=96;
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA
(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
底部:=10;
买入警戒:STICKLINE(趋势<=10,HIGH,LOW,0.5,0),LINETHICK2,COLOR00FF00;
STICKLINE(趋势<=10,OPEN,CLOSE,5,1),LINETHICK2,COLOR00FF00;
卖出警戒:STICKLINE(趋势>=阶段卖,HIGH,LOW,0.5,0),COLORYELLOW;
STICKLINE(趋势>=阶段卖,OPEN,CLOSE,6,1),LINETHICK2,COLORYELLOW;
DRAWTEXT((CROSS(趋势,底部)),(LOW * 0.96),'买入'),COLORYELLOW;DRAWTEXT((CROSS(趋势,底部)),(LOW * 0.99),'●'),COLOR4440FF;
通达信超买超卖买卖主图指标公式实例图解:
通达信超买超卖买卖主图指标公式