红宝石,金叉是买入信号(通达信公式 副图 源码 测试图)
公式的源码是:{红宝石副图} 红宝石: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:=OPEN60 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; 公式的用法: