同花顺播耕副图指标
源码
q:=10;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00FFFF,LINETHICK2;
趋势动向:=(趋势-REF(趋势,1)),COLORSTICK;
买入警戒:IF(趋势<=10,5,0),COLORFFFFFF;
买入信号: IF(CROSS(趋势,10),15,0),COLORFFFF80,LINETHICK2;
卖出警戒:IF(趋势>=90,90,100),COLORFFFFFF;
M:=EMA(C,1);
VAR4:=(LOW+HIGH+CLOSE)/10;
操作:=MA(VAR4,5),LINETHICK2,colorwhite;
拉升:=HHV(操作,13),colorred,LINETHICK1;
压力:=HHV(操作,60),colorred;
买卖:=LLV(操作,13),LINETHICK1,COLOR00FF00;
R:=IF((拉升-操作)>0,-10,0);
R1:=IF((操作-买卖)>0,10,0);
买上升:=R1*2,COLORSTICK;
卖下降:=R*2,COLORSTICK;
空间:=压力-操作,COLOR0000FF;
空比:=空间/CLOSE*100,COLORFFFF00;
卖出预警:=STICKLINE((空间=0 ),0,-5,2,0),COLOR00FFFF;
买入:IF(CROSS(买上升,1),3,0),COLOR0000FF,LINETHICK2;
卖出:IF(CROSS(-1,卖下降),-3,0),COLOR00FF00,LINETHICK2;
STICKLINE(买入=3,0,10,4,0),COLORFF00FF;
STICKLINE(卖出=-3,0,-10,4,0),COLOR00FF00;
BG1选股:IF(买入=3 AND 趋势<Q,28,0),COLOR0000FF,LINETHICK2;
BG1监控:IF(卖出=-3 AND 趋势>90,-28,0),COLOR00FFFF,LINETHICK2;