通達信牛股快線(xiàn)快錢(qián)副圖公式源碼
2019-05-15 14:57 綜投網(wǎng)
N:=9;M1:=3;M2:=3;P:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1),colorred,LINETHICK2;
D:=SMA(K,M2,1),COLOR00FF00;
JJ:=P*(3*D-2*K),COLOR00FF00;
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K<20;
MAICHU:= CROSS(D,K) AND D>80;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸籌:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORF00FF0;
快線(xiàn):(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;
慢線(xiàn):SMA(快線(xiàn),M1,1),colorred,LINETHICK2;
空:SMA(慢線(xiàn),M2,1),COLOR00FF00;
牛股:IF(BARSLAST(CROSS(慢線(xiàn),空))
STICKLINE(牛股,0,90,6,1),LINETHICK4,STICK,COLORFF937F;
BB:=IF(BARSLAST(CROSS(慢線(xiàn),快線(xiàn)))>=3 AND CROSS(快線(xiàn),慢線(xiàn)) AND 慢線(xiàn)<30,20,0);
買(mǎi):STICKLINE(BB,0,20,7,1),coloryellow;
AA:=IF(BARSLAST(CROSS(快線(xiàn),慢線(xiàn)))>=4 AND CROSS(慢線(xiàn),快線(xiàn)) AND 快線(xiàn)>50,20,0);
賣(mài):STICKLINE(AA,80,100,7,1),COLOR00FF00;
南方財富網(wǎng)微信號:南方財富網(wǎng)