CS1:=8; CS2:=21;
//{波段快}
XAXX_1:=(CLOSE-LLV(LOW,CS1))/(HHV(HIGH,CS1)-LLV(LOW,CS1))*100;
XAXX_2:=(HHV(HIGH,CS2)-CLOSE)/(HHV(HIGH,CS2)-LLV(LOW,CS2))*100;
强弱:=SMA(SMA(XAXX_2,3,1),3,1),colorcyan,LINETHICK2;
多空:=EMA(XAXX_1,8),colorred;
//{波段慢.波段小卫生}
XAM_1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
XAM_2:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
强弱慢:=SMA(SMA(XAM_2,3,1),3,1),colorcyan,LINETHICK2;
多空慢:=EMA(XAM_1,8),colorred;
//{波段超快 分析家公式网 www.fxjgsw.com}
CK1:=4;
CK2:=9;
XACK_1:=(CLOSE-LLV(LOW,CK1))/(HHV(HIGH,CK1)-LLV(LOW,CK1))*100;
XACK_2:=(HHV(HIGH,CK2)-CLOSE)/(HHV(HIGH,CK2)-LLV(LOW,CK2))*100;
超快强弱:=SMA(SMA(XACK_2,3,1),3,1),colorcyan,LINETHICK2;
超快:超快强弱,LINETHICK1,colorred;
波段:=强弱慢,LINETHICK2,colorwhite;
STICKLINE(强弱>85,95,85,10,0),COLOR4080FF,LINETHICK2;
STICKLINE(强弱<15,10,0,10,0),COLOR808080,LINETHICK1;
波段慢:强弱慢,LINETHICK2,colorwhite;
波段快:强弱,LINETHICK2,colorcyan;
//
X_1:=20;
X_2:=(CLOSE-LLV(LOW,X_1))/(HHV(HIGH,X_1)-LLV(LOW,X_1))*100;
X_3:=SMA(X_2,5,1);
X_4:=SMA(X_3,3,1);
X_5:=3*X_3-2*X_4;
X_6:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
X_7:=SMA(X_6,13,8);
X_8:=CEILING(SMA(X_7,13,8)),coloryellow;
角度快:=ATAN((超快强弱/REF(超快强弱,1)-1)*100)*180/3.1416,colorwhite;
STICKLINE(REF(角度快,1)>60 AND 角度快>0 AND 角度快<REF(角度快,1) AND X_8<30,60,40,4,0),colormagenta;
STICKLINE(REF(角度快,1)<-60 AND 角度快<0 AND 角度快>REF(角度快,1),-40,-20,4,0),colorlicyan;
波段角度:角度快,coloryellow;
|
