好的中線(xiàn)自用指標(100天,漲幅100%,成功率94.51%)(源碼含DZH2,tdx)
絕好的中線(xiàn)自用指標(100天,漲幅100%,成功率達95%以上)
公式編制思路:利用均線(xiàn)和MACD確定底部區域和啟動(dòng)點(diǎn)
公式源碼:(主圖)
A1:=3*eMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*eMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A2:=LLV(L,21);
a3:LLV(L,30);
a4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
a6:ma(c,20);
dif:="macd.diff"(12,26,9);
dea:="macd.dea"(12,26,9);
基礎:=( dif<-0.1 and dif>dea),COLORyellow;
中線(xiàn)買(mǎi)入:CROSS(A1,a4)AND (A5-a4)>40 and 基礎,COLORred;
STICKLINE(CROSS(A1,a4)AND (A5-a4)>40 and 基礎 ,a3,a3*1.2,4,0),COLORred;
STICKLINE( 基礎,a3,a3*1.1,4,0),COLORyellow;
選股公式源碼:
A1:=3*eMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*eMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
a4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
dif:="macd.diff"(12,26,9);
dea:="macd.dea"(12,26,9);
基礎:=( dif<-0.1 and dif>dea);
中線(xiàn):CROSS(A1,a4)AND (A5-a4)>40 and 基礎;