股神必勝
{ 股神必勝 }
{INPUT:N(13,1,100),M(55,1,100),P(3,1,100); }
n:=13;
m:=55;
p:=3;
DRAWGBKLAST(L,STRIP(RGB(0,0,205),RGB(47,79,79),0));
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
RSV2:=(CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100;
J1:=3*SMA(RSV1,P,1)-2*SMA(SMA(RSV1,P,1),P,1);
J2:=3*SMA(RSV2,P,1)-2*SMA(SMA(RSV2,P,1),P,1);
支撐位:IF(CROSS(J1,J2),LOW,REF(LOW,BARSLAST(CROSS(J1,J2))));
壓力位:IF(CROSS(J2,J1),HIGH,REF(HIGH,BARSLAST(CROSS(J2,J1))));
YC_VAR1:=EMA(CLOSE,5);
YC_VAR2:=EMA(CLOSE,10);
YC_VAR3:=EMA(CLOSE,20);
YC_VAR4:=EMA(CLOSE,30);
YC_VAR5:=(YC_VAR1+YC_VAR2+YC_VAR3+YC_VAR4)/4;
YC_VAR6:=(YC_VAR5-REF(YC_VAR5,15))/REF(YC_VAR5,15)*100;
YC_買(mǎi)進(jìn):=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
買(mǎi)進(jìn)條件:CROSS(CLOSE,YC_買(mǎi)進(jìn)) AND YC_買(mǎi)進(jìn)>REF(YC_買(mǎi)進(jìn),1),LINETHICK0;
YC_加倉(cāng):=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
加倉(cāng)條件:CROSS(CLOSE,YC_加倉(cāng)) AND YC_加倉(cāng)>REF(YC_加倉(cāng),1),LINETHICK0;
YG_回?fù)?=SMA(HIGH,21,2) * 1.05;
YG_賣(mài)出:=(CLOSE < REF(CLOSE,1) AND HIGH > YG_回?fù)? AND CLOSE < YG_回?fù)?
(南方財(cái)富網(wǎng)SOUTHMONEY.COM)