请教老师当量能饱和度为100时怎样在主图K线上用笑脸或箭头显示?谢谢! 原来在副图上使用的量能饱和度源码: VOLUME:=VOL,VOLSTICK; MAVOL1:=MA(VOLUME,M1); MAVOL2:=MA(VOLUME,M2); 绿低量:=13; 蓝低量:=55; 灰低量:=100; N1:=21; SAT:=((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)))*100; 量能饱和:IF(SAT100,100,SAT)),DOTLINE,COLORWHITE,LINETHICK1;
爱约股解答:
SAT:=((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)))*100;
量能饱和:=IF(SAT<-20,-20,IF(SAT>100,100,SAT)),DOTLINE,COLORWHITE,LINETHICK1;
DRAWICON(量能饱和=100,L*0.98,1);