STICKLINE(C>0,90,95,10,0),COLOR408000; STICKLINE(C>0,10,5,10,0),COLOR408000; HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3); DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71)); STICKLINE(C>0,90,10,10,0),COLOR000000; 風(fēng)險(xiǎn)值:HDY,COLORCYAN,LINETHICK1; 警示線:45,COLORBLACK,LINETHICK1,POINTDOT; DIF:EMA(CLOSE,9)-EMA(CLOSE,21), COLORBLACK; DEA:EMA(DIF,5) COLORBLACK; MACD:(DIF-DEA)*2,COLORRED; V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趨勢(shì)線: EMA(V11,3), COLORBLACK; V12:=(趨勢(shì)線-REF(趨勢(shì)線,1))/REF(趨勢(shì)線,1)*100; AA:=(趨勢(shì)線<=13) AND FILTER((趨勢(shì)線<=13),15); 買入股票: STICKLINE(趨勢(shì)線<=13 AND V12>13,0,50,5,0),COLOR0099FF; V1:=EMA(CLOSE,5)-EMA(CLOSE,340); V2:=EMA(V1,144); V3:(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,COLORBLACK; 賣出:-1*IF((CROSS(98.5,V3) AND V1>V2) AND COUNT(V3>97,3)=2,20,0)+90,COLORBLACK; 買入:IF(CROSS(V3,5) AND V1<V2,20,0)+10,COLOR0090FF; DRAWTEXT(CROSS(V3,5) AND V1<V2,25,''買入''),COLORFF00FF; DRAWTEXT(CROSS(98.5,V3) AND V1>V2,75,''賣出''),COLOR00FF00; |
|