公式的源码是:
{红宝石副图}
红宝石:3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),COLORFF6EC7,LINETHICK2;
X_1:=EMA(CLOSE,3)>EMA(CLOSE,10);
X_2:=EMA(CLOSE,10)>EMA(CLOSE,22);
X_3:=EMA(CLOSE,22)>EMA(CLOSE,48);
X_4:=MA(ROC,6);
X_5:=ROC-X_4<15.4;
发光:X_1 AND X_2 AND X_3 AND X_5,NODRAW;
X_6:=DRAWICON(CROSS(红宝石,62),68,1);
X_7:=DRAWICON(CROSS(红宝石,72),70,1);
X_8:=DRAWICON(CROSS(红宝石,66),72,1);
X_9:=DRAWICON(CROSS(红宝石,68),66,1);
X_10:=DRAWICON(CROSS(76,红宝石),70,2);
X_11:=DRAWICON(CROSS(68,红宝石),88,2);
X_12:=DRAWICON(CROSS(66,红宝石),80,2);
X_13:=DRAWICON(CROSS(64,红宝石),70,2);
低吸:IF(CROSS(红宝石,15),45,0) AND 发光;
DRAWTEXT(低吸,40,16),COLORWHITE;
红宝石2:MA(红宝石,9),COLORFF7F00,LINETHICK2;
起航:IF(CROSS(红宝石,MA(红宝石,6)) AND 红宝石2<45,红宝石2,0),COLOR4E2F2F,LINETHICK3;
X_14:=OPEN<MA(CLOSE,5) OR LOW<MA(CLOSE,5);
略重:IF(CROSS(红宝石,MA(红宝石,6)) AND 红宝石2>60 AND X_14 AND CLOSE>OPEN,红宝石2,0),COLOR32CD99,LINETHICK3;
X_15:=100*(WINNER(1.1*CLOSE)-WINNER(0.9*CLOSE));
X_16:=EMA(100-X_15,5);
X_17:=EMA(100*(1-WINNER(CLOSE)),8);
X_18:=X_16>X_15 AND X_16>X_17;
GET:发光 AND X_18,COLORD9D919,LINETHICK3;
公式的用法:
get是不同于前述各种信号的另一套衡量系统,它的提示,一般是表明股票有一段短期的上攻动力。由于此系统和均线以及前述信号不属于同一原理,因此均线,红宝石上穿和此结合判断个股走势尤为重要。当红宝石出现死叉情况,均线也出现死叉;或者红宝石的数值已经超过90%,代表一种高危状态,此时如果get仍然未曾关闭信号,但使用者应考虑适时出局,以避免获利回吐。