買賣信號副圖公式 N:=13;M:=19;M1:=3;A:=5; VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; VAR2:=SMA(VAR1,M1,1); 主力: SMA(VAR2,M1,1); VAR3:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100; VAR4:=SMA(VAR3,M1,1); VAR5:=SMA(VAR4,M1,1); 空方: SMA(VAR5,M1,1); 多方: SMA(主力,M1,1); 高線:85; 底線:9; DRAWTEXT(空方>76.5 AND CROSS(主力,多方),多方*1.15,'進(jìn)'); DRAWTEXT(空方>56 AND 空方<=76 AND CROSS(主力,多方),主力,'留意'); DRAWTEXT(空方<45 AND 主力>78 AND 多方>78 AND CROSS(多方,主力),多方,'跑'),COLORGREEN ; DRAWTEXT(CROSS(空方,78.5),空方,'關(guān)注'),COLORRED ; DRAWTEXT(CROSS(空方,85),空方,'重點(diǎn)關(guān)注'),COLORWHITE ; 趨勢:=SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1); 判斷:=SMA(趨勢,3,1); DRAWICON(CROSS(趨勢,判斷),判斷,1); DRAWICON(CROSS(趨勢,90),90,2); VAR11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR21:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),10,1); VAR31:=EMA(VAR21,10); VAR41:=LLV(LOW,33); VAR51:=EMA(IF(LOW<=VAR41,VAR31,0),3); 主力進(jìn)場:IF(VAR51>REF(VAR51,1),VAR51,0),COLORRED,NODRAW; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORRED; 洗盤:IF(VAR51<REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW; STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLORGREEN; 逃頂:CROSS(82,RSI); STICKLINE( 逃頂,逃頂,20,5,0),COLORFF5500; STICKLINE( 逃頂,逃頂,30,3,0),COLORFF8800; STICKLINE( 逃頂,逃頂,30,2,0),COLORFFAA00; STICKLINE( 逃頂,逃頂,30,1,0),COLORFFCC00; D1:=(C+L+H)/3; D2:=EMA(D1,6); D3:=EMA(D2,5); BBUY:=CROSS(D2,D3); DRAWICON(BBUY,(LOW *1),1); VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VARR1),HIGH,15); DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW; 趨勢線:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , COLORBLUE; 見底信號:=10,COLORRED; 買點(diǎn)準(zhǔn)備: IF(趨勢線<=10,50,0),COLORMAGENTA; 買入: IF(CROSS(趨勢線,見底信號),70,0),COLORRED;
|