以下是通达信百花放方为春指标公式(无源码的请下载附件导入)
通达信百花放方为春指标公式
HJ_1:=MA(CLOSE,25)+MA(CLOSE,25)*20/100;
HJ_2:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
HJ_3:=SMA(HJ_2,3,1);
HJ_4:=SMA(HJ_3,3,1);
HJ_5:=3*HJ_3-2*HJ_4;
HJ_6:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
HJ_7:=SMA(HJ_6,3,1);
HJ_8:=SMA(HJ_7,3,1);
HJ_9:=3*HJ_7-2*HJ_8;
HJ_10:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
HJ_11:=SMA(HJ_10,3,1);
HJ_12:=SMA(HJ_11,3,1);
HJ_13:=3*HJ_11-2*HJ_12;
HJ_14:=IF(CROSS(HJ_13,HJ_5),HIGH,REF(HIGH,BARSLAST(CROSS(HJ_13,HJ_5))));
HJ_15:=CROSS(HJ_1,HJ_14) AND HJ_14/REF(HJ_14,1)<0.9;
HJ_16:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
HJ_17:=MA(HJ_16,6);
HJ_18:=100-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
HJ_19:=REF(COUNT(HJ_15,5),1)>0 AND CLOSE>OPEN;
CCC:FILTER(HJ_19,5) AND HJ_18<20 AND HJ_18>12;
{-----------------------------------}
65077495.jpg
|