高量顶底公式
发布网友
发布时间:2022-04-26 09:16
我来回答
共1个回答
热心网友
时间:2022-06-26 13:18
VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
B0:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
AA:SMA(SMA(VAR2,2,1)+3,2,1),COLORRED,LINETHICK1;
浮筹:=EMA(B0,4),LINETHICK1,DOTLINE,COLORYELLOW;
BB:SMA(VAR1,3,1),COLORGREEN,LINETHICK1;
{背景}
STICKLINE(AA>BB,6,90,5,0),COLOR000044;
STICKLINE(BB>AA,6,90,5,0),COLOR422D00;
多方:SMA(SMA(VAR2,2,1)+3,2,1),COLOR0000FF,LINETHICK2;
空方:SMA(VAR1,3,1),COLORFFFF00,LINETHICK1,DOTLINE;
强势线:90,COLORMAGENTA,DOTLINE;
中轴线: 50,COLOR0080FF,DOTLINE;
弱势线:10,COLORLICYAN,DOTLINE;
STICKLINE(多方>强势线,多方,强势线,1,0),COLOR0000FF;
STICKLINE(多方<弱势线,多方,弱势线,1,0),COLOR0000FF;
STICKLINE(空方<弱势线,空方,弱势线,1,0),COLORGREEN;
STICKLINE(空方>强势线,空方,强势线,1,0),COLORGREEN;
LC:= REF(C,1);
VAR02:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR02),13,1)/SMA(MAX(LOW-VAR02,0),13,1)*100;
VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VAR7:=IF(LLV(LOW,56),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=EMA(CLOSE,5);
VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);
VAR12:=EMA(CLOSE,5)*(-1);
力度:=VAR10*5, COLORWHITE,LINETHICK2;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);
WR1:=-120*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40)),COLORGREEN;
超跌:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,60)*100*1.1;
买:力度>7 AND 超跌<-15.5 AND WR1<-100,COLOR3535FF,STICK,LINETHICK1;
DRAWTEXT(买>0,0.0,'买'),COLORFFFFFF;
DRAWICON(买>0,买,1 );