/*
DRAWSL(ISLASTBAR||REFX(BB1,1),支撑1,0,-TS4,0,COLORWHITE);
A:=HHV(H,11)=H AND H>REF(H,1);
ABB1:=FILTER(A,10);
BAA:=LLV(L,11)=L AND L<REF(L,1);
B1:=FILTER(BAA,10);
TS1:=BARSLAST(ABB1);
压力:REF(H,TS1),COLORGREEN,NODRAW;
DRAWSL(ISLASTBAR||REFX(ABB1,1),压力,0,-TS1,0,COLORGREEN);
TS2:=BARSLAST(B1);
RSI1:=SMA(MAX(C-A1,0),6,1)/SMA(ABS(C-A1),6,1)*100;
RSI2:=SMA(MAX(C-A1,0),12,1)/SMA(ABS(C-A1),12,1)*100;
RSI3:=SMA(MAX(C-A1,0),24,1)/SMA(ABS(C-A1),24,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
A4:=A2-LLV(A2,10);
A5:=(MA(A4,2)*3+A4*13)/16;
A6:=IF(A5>13,MA(A5,2),A5)/6;
压力:=HHV(MA(RSI2,3),12);
支撑:=LLV(MA(RSI2,3),12);
中间:(HHV(MA(RSI2,3),12)+LLV(MA(RSI2,3),12))/2,COLORRED,LINETHICK2;
STICKLINE(RSI2<支撑,中间,RSI2,2,0),COLORGREEN;
STICKLINE(RSI2>=支撑 AND RSI2<中间,中间,RSI2,2,0),COLORBLUE;
STICKLINE(RSI2>=中间 AND RSI2<压力,中间,RSI2,2,0),COLORRED;
STICKLINE(RSI2>=压力,中间,RSI2,2,0),COLORRED;
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS (RSI1,RSI2);
DRAWTEXT(B3,RSI2,'底背');
B1:=RSI1>=RSI2 AND RSI2>=RSI3;
S1:=RSI1<RSI2 AND RSI2<RSI3;
BS1:=NOT(RSI1>=RSI2 AND RSI2>=RSI3) AND NOT(RSI1<RSI2 AND RSI2<RSI3);
STICKLINE(B1,80,82,2,1),COLORRED;
STICKLINE(S1,80,82,2,1),COLORGREEN;
STICKLINE(BS1,80,82,2,1),COLORYELLOW;
I:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3);
R:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);
短逃:IF(I,0,1),COLORGREEN;
DRAWICON(短逃,10
文华财经指标公式源码期货波段多空点指标期货软件指标 来自淘豆网m.daumloan.com转载请标明出处.