附件是潜龙出击副图,装到通达信副图里显示的是龙头字样,供大家参考,希望对大家有所帮助
VARF:=TROUGHBARS(3,15,1)<4;
潜龙:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
0,COLORRED;
STICKLINE(FILTER(VARF=1,3) AND 潜龙<-10,50,0,15,1),COLORFF00FF;
STICKLINE(FILTER(VARF=1,3),50,0,5,0),COLOR00FF00;
DRAWTEXT(FILTER(VARF=1,3),25,"龙头"),COLORRED ;
STICKLINE(潜龙<-10,0,潜龙,0,0),COLORYELLOW;
STICKLINE(潜龙>10,0,潜龙,0,0),COLORRED;