文華期貨第二個指标!用法不用解釋,導入一看便知,簡單。友情提示:高低位畫線方便判斷支撐與壓力,适合設置止盈止損!如果突破上壓力并站穩,短期謹慎做空。如果未破下支撐線,并在線上運行,注意短多機會!看盤需要根據自己喜歡的周期定!祝各位投資順利!!
H10:MA(H,10),DOT,RGB(120,0,80);
L10:MA(L,10),DOT,RGB(44,88,88);
JCH:=BARSLAST(CROSS(C,H10))+1;
SCH:=BARSLAST(CROSSDOWN(C,H10))+1;
JCL:=BARSLAST(CROSS(C,L10))+1;
SCL:=BARSLAST(CROSSDOWN(C,L10))+1;
1H:REF(HHV(MAX(O,C),JCH),SCH),RGB(120,0,80);
1L:REF(LLV(MIN(O,C),SCL),JCL),RGB(44,88,88);
JC1:=CROSS(C,H10),NODRAW;
JC2:=CROSS(C,L10),NODRAW;
SC1:CROSSDOWN(C,H10),NODRAW;
SC2:CROSSDOWN(C,L10),NODRAW;
JC1S:=REF(SUMBARS(JC2,1)
SC1S:=REF(SUMBARS(SC1,1)
N1:=HHVBARS(MAX(O,C),SUMBARS(JC1S,1));
N2:=LLVBARS(MIN(O,C),SUMBARS(SC1S,1)) ;
X1:BACKSET(SC1S,N1+1),NODRAW;
X2:BACKSET(JC1S,N2+1),NODRAW;
XX1:=CROSS(X1,0.5);
XX2:=CROSS(X2,0.5);
SX1:=MOD(COUNT(XX1,BARPOS),2)=0;
SX2:=MOD(COUNT(XX2,BARPOS),2)=0;
BJ1:=BACKSET(ISLASTBAR,SUMBARS(XX1,3));
BJ2:=BACKSET(ISLASTBAR,SUMBARS(XX2,3));
DRAWLINE1(BJ1&&CROSS(X1,0.5)&&SX1=0 ,MAX(O,C),BJ1&&CROSS(X1,0.5)&&SX1=1 ,MAX(O,C),0),COLORRED;
DRAWLINE1(BJ1&&CROSS(X1,0.5)&&SX1=1 ,MAX(O,C),BJ1&&CROSS(X1,0.5)&&SX1=0 ,MAX(O,C),0),COLORRED;
DRAWLINE1(BJ2&&CROSS(X2,0.5)&&SX2=0,MIN(O,C),BJ2&&CROSS(X2,0.5)&&SX2=1 ,MIN(O,C),0),COLORGREEN;
DRAWLINE1(BJ2&&CROSS(X2,0.5)&&SX2=1,MIN(O,C),BJ2&&CROSS(X2,0.5)&&SX2=0 ,MIN(O,C),0),COLORGREEN;
有話要說...