BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主動(dòng)買:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE<OPEN,BB*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)); 主買:=主動(dòng)買/10000,COLORRED,; 主動(dòng)賣:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-BB*(HIGH-LOW),0-VOL/2)); 主賣:=-主動(dòng)賣/10000,COLORGREEN; 空線:=MA(主賣,5),LINETHICK1,COLORWHITE; 啟線:=MA(主買,5),COLORYELLOW; DRAWBAND(啟線,RGB(255,0,0),空線, RGB(100,300,150)); VAREE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VAR122:=(HIGH+LOW+CLOSE)/3; VAR133:=(VAR122-MA(VAR122,14))/(0.015*AVEDEV(VAR122,14)); VAR144:=(VAR122-MA(VAR122,70))/(0.015*AVEDEV(VAR122,70)); VAR155:=IF(VAR133>=150 AND VAR133<200 AND VAR144>=150 AND VAR144<200,10,0); VAR166:=IF(VAR133<=-150 AND VAR133>-200 AND VAR144<=-150 AND VAR144>-200,-10,VAR155); VAR177:=(CLOSE-MA(CLOSE,133))/MA(CLOSE,133)*100; VAR188:=100-ABS(VAR177); VAR199:=IF(VAR188<90,VAR188,100); VAR1AA:=IF(VAREE>0,VAREE,0); VAR1BB:=IF(VAR144>=200 AND VAR133>=150,15,IF(VAR144<=-200 AND VAR133<=-150,-15,VAR166))+60; VAR1CC:=VAR1AA>48 AND VAR1BB>60 AND VAR199<100; STICKLINE(VAR1CC AND COUNT(VAR1CC,30)=1,(空線+(啟線-空線)*0.125),(空線+(啟線-空線)*0.75),1,0),COLORFFCC66; STICKLINE(C>MA(C,10),啟線,空線,0.00000005,1),COLORYELLOW; DRAWICON(VAR1CC AND COUNT(VAR1CC,30)=1,(空線+(啟線-空線)*0.4),2); 空頭線:MA(主賣,5),LINETHICK1,COLORWHITE;
啟動(dòng)線:MA(主買,5),COLORYELLOW; 洗盤線:MA(主買,35)COLORMAGENTA,LINETHICK1; 異動(dòng)線:MA(主買,135)COLORGREEN,LINETHICK1; 中線:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20; 藍(lán)柱:=SMA(中線,3,1),COLORSTICK; WW:=CROSS(啟動(dòng)線,空頭線) AND REF(啟動(dòng)線,1)<REF(異動(dòng)線,1) AND REF(啟動(dòng)線,1)>REF(洗盤線,1) ;
SS:=CROSS(啟動(dòng)線,空頭線) AND REF(啟動(dòng)線,1)<REF(洗盤線,1) AND REF(啟動(dòng)線,1)>REF(異動(dòng)線,1) ; YY:=CROSS(啟動(dòng)線,空頭線) AND REF(啟動(dòng)線,1)<REF(異動(dòng)線,1) AND REF(啟動(dòng)線,1)<REF(洗盤線,1) ; HH:=異動(dòng)線>洗盤線 AND CROSS(異動(dòng)線,啟動(dòng)線) AND CROSS(洗盤線,啟動(dòng)線) ; JJ:=洗盤線>異動(dòng)線 AND CROSS(異動(dòng)線,啟動(dòng)線) AND CROSS(洗盤線,啟動(dòng)線) ; ZZ:=洗盤線>異動(dòng)線 AND REF(CROSS(洗盤線,啟動(dòng)線),1) AND CROSS(異動(dòng)線,啟動(dòng)線) ; DD:=異動(dòng)線>洗盤線 AND REF(CROSS(異動(dòng)線,啟動(dòng)線),1) AND CROSS(洗盤線,啟動(dòng)線) ; QQ:=REF(異動(dòng)線,1)>REF(洗盤線,1) AND CROSS(空頭線,異動(dòng)線); GG:=REF(洗盤線,1)>REF(異動(dòng)線,1) AND CROSS(空頭線,洗盤線); TT:=洗盤線>異動(dòng)線 AND CROSS(啟動(dòng)線,異動(dòng)線) AND CROSS(啟動(dòng)線,洗盤線); LL:=異動(dòng)線>洗盤線 AND CROSS(啟動(dòng)線,異動(dòng)線) AND CROSS(啟動(dòng)線,洗盤線); TL:=洗盤線>異動(dòng)線 AND REF(CROSS(啟動(dòng)線,異動(dòng)線),1) AND CROSS(啟動(dòng)線,洗盤線); QG:=異動(dòng)線>洗盤線 AND REF(CROSS(啟動(dòng)線,洗盤線),1) AND CROSS(啟動(dòng)線,異動(dòng)線); DRAWICON(WW,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(SS,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(YY,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(TT,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(LL,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(TL,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(QG,(啟動(dòng)線+空頭線)/2,1 ); DRAWICON(QQ,異動(dòng)線,2);
DRAWICON(GG,洗盤線,2); DRAWICON(HH,洗盤線,2); DRAWICON(JJ,異動(dòng)線,2); DRAWICON(ZZ,異動(dòng)線,2); DRAWICON(DD,洗盤線,2); |
|