潜龙出击副图公式
装到通达信副图里显示的是龙头字样,供大家参考
源码
VARF:=TROUGHBARS(3,15,1)
潜龙: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;