迎财神 附图 源码
说明:该指标是指股价调整到相对低位,散户买入相对安全,适合个股抄底做反弹。日结、周线、月线选股皆适应。
附图源码:
A1:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
A2:=(MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),2));
A3:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
A4:=SMA(SMA(A3,3,1),3,1);
A5:=3*SMA(A3,3,1)-2*A4;
A6:=EMA(A5,5);
A7:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
A8:=((3*SMA((((C-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1))-(2*SMA(SMA((((C-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1),3,1)));
财神爷:=A2<3 AND A6<3 AND A7<8.5 AND A8<5;
DRAWTEXT(财神爷,50,' ★恭候财神★'),COLORMAGENTA;
DRAWTEXT(财神爷,35,' ★招财童郎★'),COLORYELLOW;
STICKLINE(财神爷,58,55,14,0),COLOR00CCCC;
STICKLINE(财神爷,57,56,12,0),COLOR009999;
STICKLINE(财神爷,45,48,4,0),COLOR0077AA;
STICKLINE(财神爷,54,50,10,0),COLOR0088DD;
STICKLINE(财神爷,55,48,6,0),COLOR00AAFF;
STICKLINE(财神爷,53,52,4,0),COLOR000000;
STICKLINE(财神爷,53,50,1,0),COLOR0077EE;
STICKLINE(财神爷,60,55,7,0),COLOR8800CC;
STICKLINE(财神爷,60,63,4,0),COLOR7700AA;
财神:IF(财神爷,58,DRAWNULL),LINETHICK4,POINTDOT,COLORYELLOW;
STICKLINE(财神爷,26,20,12,0),COLORFFFFFF;
STICKLINE(财神爷,33,25,14,0),COLOR8800CC;
STICKLINE(财神爷,46,32,16,0),COLORAA00DD;
STICKLINE(财神爷,37,34,8,0),COLOR00AAFF;
STICKLINE(财神爷,50,44,2,0),COLOR000000;
STICKLINE(财神爷,49,49,1,0),COLOR0000EE;
DRAWICON(财神爷,39,9);
选股公式:
A1:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
A2:=(MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),2));
A3:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
A4:=SMA(SMA(A3,3,1),3,1);
A5:=3*SMA(A3,3,1)-2*A4;
A6:=EMA(A5,5);
A7:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
A8:=((3*SMA((((C-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1))-(2*SMA(SMA((((C-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20)))*100),5,1),3,1)));
XG:A2<3 AND A6<3 AND A7<8.5 AND A8<5;
|