同花顺买卖航标副图指标
源码
VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
操盘线:SMA(VAR1,5,1),LINETHICK2,colorred;
趋势线:SMA(操盘线,3,1),LINETHICK2,coloryellow;
买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线<25,50,0) ,LINETHICK2,colorred;
DRAWTEXT(买入航标>0,50,'买入'),LINETHICK1,colorred;
卖出时间:IF(CROSS(趋势线,操盘线)AND 操盘线>70,80,100),colorgreen;
DRAWTEXT(卖出时间<100,80,'卖出'),LINETHICK1,COLOR00FF00;