以下是同花順股票買賣點(diǎn)公式 簡單易懂(無源碼的請下載附件導(dǎo)入)
源碼
MA(CLOSE,5),coloryellow;
中期牛熊線:MA(CLOSE,10),colorwhite;
A01:=(C-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3));
A11:=SMA(A01,2,1);
A21:=SMA(A11,2,1);
A31:=3*A11-2*A21 ;
A41:=2*A31-0.5;
生命線:=C*(1-(A41-A21)/15),colorred,LINETHICK1;
DRAWTEXT(CROSS(84,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100),H*1.068,'逃頂'),colorwhite ;
阻力:= PEAK(1,5,1),colorgreen,LINETHICK2;
支撐:= TROUGH(2,5,1),coloryellow,LINETHICK;
DRAWTEXT(REF(支撐,1)>(支撐),LOW*0.98,'搶反彈'),coloryellow;
DRAWTEXT(REF(支撐,1)<(支撐),LOW*0.98,'買入'),coloryellow;
DRAWTEXT(REF(阻力,1)>(阻力),H*1.038,'逃'),coloryellow;
DRAWTEXT(REF(阻力,1)<(阻力),H*1.038,'快賣'),coloryellow;
H,LINETHICK,coloryellow;
H,LINETHICK,coloryellow;
H,LINETHICK,coloryellow;
H,LINETHICK,coloryellow;
M20均線:MA(CLOSE,20),colorgreen;
M60均線:MA(CLOSE,60),colorred;
聯(lián)系客服