通达信分时T+0高抛底吸副图指标
通达信分时T+0高抛底吸副图指标
VAR1:=LLV(LOW,125);
VAR2:=HHV(HIGH,500);
操盘线: EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,30);
绝底:0.3,LINETHICK2,COLOR0000FF;
绝顶:3.6,LINETHICK2,COLORFF00FF;
分界:2,COLOR00FFFF;
DRAWTEXT(CROSS(操盘线,绝底),0.8,' 准备买!!!'), COLORYELLOW, ;
DRAWTEXT(CROSS(操盘线,绝顶),3.5,'出货'), COLORYELLOW, ;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,20),20)/EMA(EMA(ABS(A7),20),20);
SHORT:=90;
LONG:=250;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
买进:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1),STICK,COLORBLUE,COLORYELLOW;
DRAWTEXT(买进,0.5,'买进'),COLORYELLOW;
- 上一篇公式:通达信元旦礼物!分时有庄分时图副图源码贴图
- 下一篇公式:通达信出水芙蓉副图指标公式附图