值此“兩旦”來(lái)臨之際,發(fā)個(gè)小指標(biāo),祝大家節(jié)日快樂(lè)! 大智慧源碼:
趨勢(shì)強(qiáng)弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK; 個(gè)股趨勢(shì):3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1)-2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1); 大盤趨勢(shì):3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1); 大盤危險(xiǎn):大盤趨勢(shì)>80; FILLRGN(大盤趨勢(shì),80,大盤趨勢(shì)>80); 個(gè)股危險(xiǎn):個(gè)股趨勢(shì)>80; FILLRGN(個(gè)股趨勢(shì),80,個(gè)股趨勢(shì)>80); 持股:個(gè)股趨勢(shì)>ref(個(gè)股趨勢(shì),1)and 大盤趨勢(shì)>ref(大盤趨勢(shì),1),colorred; 持幣:個(gè)股趨勢(shì)<ref(個(gè)股趨勢(shì),1),color00ff00; PARTLINE(個(gè)股趨勢(shì),個(gè)股趨勢(shì)>ref(個(gè)股趨勢(shì),1)and 大盤趨勢(shì)>ref(大盤趨勢(shì),1),RGB(250,0,0),個(gè)股趨勢(shì)<ref(個(gè)股趨勢(shì),1),RGB(0,250,0)),LINETHICK2; 預(yù)警:STICKLINE(CROSS(大盤趨勢(shì),個(gè)股趨勢(shì))and 個(gè)股趨勢(shì)<3 or LONGCROSS(個(gè)股趨勢(shì),0,3),0,20,6,0),COLORRED; 地板價(jià):IF(COUNT(個(gè)股趨勢(shì)<0,3)=3 AND 個(gè)股趨勢(shì)>ref(個(gè)股趨勢(shì),1),10,0),COLORFF0000,LINETHICK2; 通達(dá)信的
{看大做小} 趨勢(shì)強(qiáng)弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK; 個(gè)股趨勢(shì):3*SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1) -2*SMA(SMA((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,20,1),15,1),COLOR00DDDD; 大盤趨勢(shì):3*SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1) -2*SMA(SMA((INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34))*100,20,1),15,1),COLORDD22DD; 大盤危險(xiǎn):大盤趨勢(shì)>80,COLOR00FF00,NODRAW; STICKLINE(大盤趨勢(shì)>80,大盤趨勢(shì),80,3,0),COLOR00FF00; 個(gè)股危險(xiǎn):個(gè)股趨勢(shì)>80,COLOR888888,NODRAW; DRAWBAND(個(gè)股趨勢(shì),RGB(80,80,80),80,RGB(0,0,0)); IF(1,大盤趨勢(shì),大盤趨勢(shì)),COLORDD22DD; IF(1,個(gè)股趨勢(shì),個(gè)股趨勢(shì)),COLOR00DDDD; 持幣:IF(個(gè)股趨勢(shì)<REF(個(gè)股趨勢(shì),1),個(gè)股趨勢(shì),DRAWNULL),LINETHICK2,COLORFFFF00; 持股:IF(個(gè)股趨勢(shì)>REF(個(gè)股趨勢(shì),1) AND 大盤趨勢(shì)>REF(大盤趨勢(shì),1),個(gè)股趨勢(shì),DRAWNULL),LINETHICK2,COLORRED; 預(yù)警:CROSS(大盤趨勢(shì),個(gè)股趨勢(shì)) AND 個(gè)股趨勢(shì)<3 OR LONGCROSS(個(gè)股趨勢(shì),0,3),COLORFF55FF,NODRAW; STICKLINE(CROSS(大盤趨勢(shì),個(gè)股趨勢(shì))AND 個(gè)股趨勢(shì)<3 OR LONGCROSS(個(gè)股趨勢(shì),0,3),0,20,1,0),COLORFF55FF; 地板價(jià):IF(COUNT(個(gè)股趨勢(shì)<0,3)=3 AND 個(gè)股趨勢(shì)>REF(個(gè)股趨勢(shì),1),10,0),COLORFF6000,LINETHICK2; |
|