通達信股票公式之狀元獻寶
2013-07-25 15:03 南方財富網(wǎng)
狀元獻寶(源碼 附圖)
指標(biāo)來自于論壇,適合個股波段操作(單邊下跌除外),出現(xiàn)信號及時跟進。
源碼:
A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A2:=SMA(A1,3,1);
A3:=SMA(A2,3,1);
A4:=3*A2-2*A3;
X:=LLV(A4,2)=LLV(A4,8);
狀元郎:=CROSS(A4,REF(A4+0.01,1)) AND X AND A4<20;
STICKLINE(狀元郎,58,55,14,0),COLORYELLOW;
STICKLINE(狀元郎,57,56,12,0),COLORCYAN;
STICKLINE(狀元郎,45,48,4,0),COLORWHITE;
STICKLINE(狀元郎,53,50,9,0),COLOR0088DD;
STICKLINE(狀元郎,55,48,6,0),COLORLIRED;
STICKLINE(狀元郎,53,53,5,0),COLOR000000;
STICKLINE(狀元郎,52,52,3,0),COLOR000000;
STICKLINE(狀元郎,53,50,2,0),COLOR0077EE;
STICKLINE(狀元郎,53,50,1,0),COLOR0077EE;
STICKLINE(狀元郎,60,55,7,0),COLORRED;
STICKLINE(狀元郎,60,63,4,0),COLORRED;
狀元獻寶:IF(狀元郎,58,DRAWNULL),LINETHICK4,POINTDOT,COLORGREEN;
STICKLINE(狀元郎,20,17,16,0),COLORWHITE;
STICKLINE(狀元郎,22,20,12,0),COLORYELLOW;
STICKLINE(狀元郎,22,17,5,0),COLORBLACK;
STICKLINE(狀元郎,33,22,13,0),COLORRED;
STICKLINE(狀元郎,46,42,18,0),COLORMAGENTA;
STICKLINE(狀元郎,46,31,16,0),COLORRED;
STICKLINE(狀元郎,41,31,12,0),COLORBROWN;
STICKLINE(狀元郎,41,31,11,0),COLORRED;
STICKLINE(狀元郎,32,31,12,0),COLORYELLOW;
STICKLINE(狀元郎,35,33,8,0),COLOR00AAFF;
STICKLINE(狀元郎,49,49,1,0),COLOR0000EE};
DRAWICON(狀元郎,38,9);
DRAWICON(狀元郎,26,29);
選股公式:
A1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A2:=SMA(A1,3,1);
A3:=SMA(A2,3,1);
A4:=3*A2-2*A3;
X:=LLV(A4,2)=LLV(A4,8);
XG:CROSS(A4,REF(A4+0.01,1)) AND X AND A4<20;