N1:=9;N2:=5;
主力资金:=EMA(100*(C-LLV(LOW,20))/(HHV(H,20)-LLV(LOW,20)),3), COLORRED,LINETHICK2;
即将爆发线:=65,COLOR00FF00;
起爆线:=30,COLORWHITE,LINETHICK1;
TMD:=C-REF(C,1);
金线:=100*EMA(EMA(TMD,N1),N1)/EMA(EMA(ABS(TMD),N1),N1),COLORWHITE,LINETHICK1;
银线:=MA(金线,N2),COLOR00FF00,LINETHICK1;
STICKLINE(金线>银线 , 金线,银线 ,2.5,0),COLORRED,LINETHICK2;
STICKLINE(银线>金线,金线,银线,2.5,0),COLORGREEN,LINETHICK2;
爆发线:=30,COLORFF00FF,LINETHICK1;
起步线:=0,COLORWHITE,LINETHICK1;
{ 爱约股_通达信股票指标公式}
DRAWTEXT(CROSS(起爆线,主力资金),起爆线,'空仓') ,COLORYELLOW;
抄底线:=-25,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(金线,起步线),金线,'加仓') ,COLORWHITE;
DRAWTEXT(CROSS(金线,抄底线),金线,'半仓') ,COLORWHITE;

 

通达信加仓空仓指标公式