VAR55:=LLV(LOW,6); VAR66:=HHV(HIGH,6); VAR77:=(VAR66-VAR55)/10; VAR88:=SMA((CLOSE-VAR55)/VAR77,20,1); VARA:=3*VAR88-2*SMA(VAR88,3,1); AA:=MA(EMA(WINNER(C),3),3); 籌碼集中度:AA-0.5,COLORYELLOW; FILLRGN(籌碼集中度,0,籌碼集中度>0,RGB(155,50,50),籌碼集中度<0,RGB(83,135,68)); PARTLINE(籌碼集中度,籌碼集中度>REF(籌碼集中度,1),RGB(255,0,0),籌碼集中度<REF(籌碼集中度,1),RGB(0,0,255)),LINETHICK1; STICKLINE(籌碼集中度>=0.4,0.4,籌碼集中度,4,1),COLORCYAN; STICKLINE(籌碼集中度<=-0.4,-0.4,籌碼集中度,4,1),COLORYELLOW; 中線:EMA(AA-0.5,55),LINETHICK2,COLORYELLOW; PARTLINE(中線,中線>REF(中線,1),RGB(255,0,0),中線<REF(中線,1),RGB(0,0,255)),LINETHICK2; AB:=EMA(AA-0.5,6); AC:=CROSS(AA-0.5,AB) AND AB<=-0.3; AD:=CROSS(AB,AA-0.5) AND AB>=0.35; DRAWICON(AC,AB,7); DRAWICON(AD,AB,8); VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=LLV(LOW,13); VAR8:=HHV(HIGH,13); VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13); 奔牛: (EMA(0.382*REF(VAR9,2)+0.618*VAR9,6)-50)/100,COLORYELLOW,LINETHICK2; AAA:=EMA(奔牛,3); PARTLINE(奔牛,奔牛>REF(奔牛,1),RGB(0,255,255),奔牛<REF(奔牛,1)); DRAWICON(奔牛>=REF(奔牛,1) AND REF(奔牛,1)<=REF(奔牛,2),奔牛*0.95,1); DRAWICON(奔牛<=REF(奔牛,1) AND REF(奔牛,1)>=REF(奔牛,2),奔牛*1.05,2); DRAWICON(CROSS(AA-0.5,中線) AND AA-0.5<0,AB,23); A1:=BARSLAST(REF(CROSS(奔牛,AAA),1)); 底背離:=REF(CLOSE,A1+1)>CLOSE AND 奔牛>REF(奔牛,A1+1) AND CROSS(奔牛,AAA); STICKLINE(底背離,0,0.1,3,0),COLORMAGENTA; DRAWLINE(A1=0,AAA,底背離,AAA,0),COLORRED,LINETHICK4; A2:=BARSLAST(REF(CROSS(AAA,奔牛),1)); 頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(奔牛,A2+1)>奔牛 AND CROSS(AAA,奔牛); DRAWLINE(A2=0,AAA,頂背離,AAA,0),COLORGREEN,LINETHICK4; |
|