用法:出現(xiàn)紅色飄帶可以考慮買進(jìn),黃色飄帶出現(xiàn)就要出貨。在具體的應(yīng)用過程中還要觀察紅袖的角度、寬度、是否在0軸線上運(yùn)行以及藍(lán)色塊等因素。我不會設(shè)什么需要回復(fù)才見全部源碼,大家都很忙的,也不需要各位費(fèi)時來回復(fù)等,只盼望如果有人研究并應(yīng)用該指標(biāo)的話,有空就回來發(fā)表一下使用的心得體會,很多股票指標(biāo)都是好的,就看如何應(yīng)用,我是練武術(shù)的,我知道同樣的招數(shù)在不同的拳手中使用能夠發(fā)出不同的威力,股票指標(biāo)也是如此,大家只有多研究,多交流才能提高自己的水平。 紅袖添香源碼: VAR1:=(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50)); VAR2:=SMA(VAR1,47,1)+10; VAR3:=(CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48)); VAR4:=SMA(VAR3,3,1); VAR5:=SMA(VAR4,3,1)+10; DDDD:=VAR5-VAR2; STICKLINE(REF(DDDD,1)<DDDD,DDDD,REF(DDDD,1),8,1),COLORBLUE; STICKLINE(REF(DDDD,1)>DDDD,DDDD,REF(DDDD,1),8,1),COLORYELLOW; DRAWICON(CROSS(DDDD,REF(DDDD,1)),DDDD-0.1,1); DRAWICON(CROSS(REF(DDDD,1),DDDD),REF(DDDD,1)+0.1,2); DIFF:(EMA(CLOSE,10)-EMA(CLOSE,20))*0.7,LINETHICK1,COLORRED; DEAF:EMA(DIFF,8),LINETHICK1,COLORGREEN;MACD1:=(DIFF-DEAF),COLORSTICK; DRAWBAND(DIFF,RGB(250,100,100),DEAF,RGB(0,0,0)); SHORT:=5; LONG:=26; MID:=2; DIF:(EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)),LINETHICK1,COLORYELLOW; DEA:EMA(DIF,MID); DRAWBAND(DIF,RGB(250,0,0),DEA,RGB(200,180,280)); MACD:=(DIF-DEA)*2,COLORSTICK; 向下:=IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN,LINETHICK2; DRAWICON(CROSS(DIF,DEA) AND DIF>REF(DIF,1) AND DEA<0,DIF,0); 趨勢線:=MACD1,LINETHICK2,COLORCYAN; 判斷:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8); STICKLINE(FILTER(CROSS(判斷,趨勢線)=1 OR 判斷>REF(判斷,1),10) AND 判斷<25 ,0,0.02,4,0),COLORRED; STICKLINE(FILTER(判斷<REF(判斷,1)AND 判斷>65,5),0,0.02,4,0),COLORGREEN; MA5:=EMA(C,3); MA13:=EMA(C,13); UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),0),COLOR0000FF; DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),0),COLOR00FF00; HR:=HHV(HIGH,55); HRY:=LLV(LOW,55); HRY11:=HR*HRY; HRY33:=SQRT(HRY11); TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33; DRAWTEXT(TJ2,-0.01,'金牛'),COLOR00FFFF; 0; 當(dāng)前紅袖天數(shù):BARSLASTCOUNT(DIF>=DEA),NODRAW;
|