以下是同花顺决策B副图指标
同花顺决策B副图指标
源码
N:=6;M1:=3;M2:=2;M3:=10;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,M1,1) ,LINETHICK1 , colorblue;D:SMA(K,M2,1) ,LINETHICK1 , colorred;SHELL:90 ,LINETHICK2 , colorred; 买点1:IF (LOW<=HHV(HIGH ,M3 )*0.905 AND D<=22,80,3),LINETHICK2 , COLOR00CC33;买点2:IF (LOW<=LLV(LOW ,M3) AND D<=40,30,0),LINETHICK2 , COLOR009933;买点3:LOW<=LLV(LOW ,M3)*0.905*0.905+0.20 ,LINETHICK2 , colorred; 买点5:IF (LOW<=LLV(LOW ,M3)*0.86+0.20 AND D<=40,60,2),LINETHICK2 , COLOR009933;卖点:IF (HIGH>=LLV(LOW ,M3)*1.1382 AND D>=70,90,0),LINETHICK2 , colorred;卖点1:IF (HIGH>=LLV(LOW ,M3)*1.1382*1.1382 AND D>=76,95,0),LINETHICK2 , COLOR0099CC ;卖点2:IF (HIGH>=LLV(LOW ,M3)*1.1382*1.1382*1.1382 AND D>=85,95,0),LINETHICK2 , COLOR0099CC ;DRAWICON(LOW<=HHV(HIGH ,M3 )*0.86+0.20,买点5,1),COLOR00CC33;DRAWICON(LOW<=HHV(HIGH ,M3 )*0.905+0.1,买点1,1),COLOR00CC33;DRAWICON(LOW<=HHV(HIGH ,M3 )*0.905*0.905+0.1,买点1,1),COLOR00CC33;DRAWICON(HIGH>=LLV(LOW ,M3)*1.1382+0.10 ,卖点,2),LINETHICK2 , colorred;DRAWICON(HIGH>=LLV(LOW ,M3)*1.1382*1.1382-0.15 ,卖点1,2),LINETHICK2 , colorred;DRAWICON(HIGH>=LLV(LOW ,M3)*1.1382*1.1382*1.1382-0.15 ,卖点2,2),LINETHICK2 , colorred;
评论(0)