用法:紅箭頭和走牛出現(xiàn)買入
綠箭頭和星號(hào)出現(xiàn)賣出
短線BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORGREEN,LINETHICK2;
長(zhǎng)線EBBI:(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4,COLOR0000FF,LINETHICK2;
STICKLINE(CROSS(短線BBI,長(zhǎng)線EBBI),L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(CROSS(短線BBI,長(zhǎng)線EBBI),L-0.13,'走牛') ,COLORYELLOW;
VAR1:=CLOSE>ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR2:=ref(VAR1,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR3:=ref(VAR2,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VAR4:=ref(VAR3,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR5:=ref(VAR4,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VAR6:=ref(VAR5,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR7:=ref(VAR6,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VAR8:=ref(VAR7,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
{本文來(lái)至小牛網(wǎng) 028588.com}
VAR9:=ref(VAR8,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VARA:=ref(VAR9,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VARB:=ref(VARA,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VARC:=ref(VARB,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,O,3,1),COLORRED;{紅1}
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,H,H,0,0),COLORRED;{紅1};
VARD:=CLOSE<ref(CLOSE,1) AND CLOSE<ref(CLOSE,2);
VARE:=ref(VARD,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VARF:=ref(VARE,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR10:=ref(VARF,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VAR11:=ref(VAR10,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR12:=ref(VAR11,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
{內(nèi)容來(lái)至小牛炒股公式網(wǎng)}
VAR13:=ref(VAR12,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR14:=ref(VAR13,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VAR15:=ref(VAR14,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR16:=ref(VAR15,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
VAR17:=ref(VAR16,1) AND CLOSE<=ref(CLOSE,1) AND CLOSE>ref(CLOSE,2);
VAR18:=ref(VAR17,1) AND CLOSE>ref(CLOSE,1) AND CLOSE<=ref(CLOSE,2);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,O,3,0),COLORFFCC66;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,H,L,0,0),COLORFFCC66;
VAR19:=ref(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
STICKLINE(VAR19,ref(CLOSE,1),ref(CLOSE,2),3,1),COLORYELLOW;
{VAR19;}
VAR1A:=ref(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
{文章來(lái)至小牛網(wǎng) 028 588.com}
STICKLINE(VAR1A,H,O,4,2),COLORWHITE{98FD};
AAF:LLV(LOW,34),LINETHICK1,COLORWHITE;
BBF:IF(VAR19>0,MA(AAF,4)*1.06,MA(AAF,4)),LINETHICK1,COLORFFAAFF;
LC:=ref(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(RSI,11) ,L*0.99,1);
VAR27:=ref(CLOSE,1);
VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;
DRAWICON((IF(CROSS(76,VAR28),1,0)) OR CROSS(84,RSI),H*1.03,2);
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,'☆'),LINETHICK3 ;
VARA1:=((AMOUNT)/(VOL))/(100);
VARB1:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC1:=((SUM(AMOUNT,7))/(VARA1))/(100);
VARD1:=DMA(VARB1,(VOL)/(VARC1));
VARE1:=((CLOSE-VARD1)/(VARD1))*(100);
VARF1:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ1:=MA(VARE1,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
AA:=SMA(VARF1,3,1);
SS:=(ref(BIAS18,1)>=5) AND CROSS(VARJ1,VARE1) AND (AA>79);
{文章來(lái)至小牛網(wǎng) 028 588.com} DRAWTEXT(ref(BIAS18,1)>=5 AND CROSS(VARJ1,VARE1) AND AA>SS,H*1.02,'☆'),LINETHICK3,COLORGREEN;
{本文來(lái)至小牛網(wǎng) 028588.com}