N:=20;P:=8;GJ:=(C+H+L+O)/4;阻:=L+(GJ-L)+(C-L);支:=L+(C-GJ);压力:REF(阻,1),NODRAW,COLOR00FF00;支撑:REF(支,1),NODRAW,COLORYELLOW;STICKLINE(ISLASTBAR,压力,压力,30,1),HICK1,COLOR00FF00;STICKLINE(ISLASTBAR,支撑,支撑,30,1),HICK1,COLORYELLOW;下档线:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100);RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDD:=((3*RRRSV)-(2*KKK));JJ12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100);RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3*RSV24)-(2*K24));顶部:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;决策:IF(ISLASTBAR,顶部,NULL),COLORMAGENTA;STICKLINE(ISLASTBAR,决策,决策,60,1),HICK2,COLORMAGENTA;底部:=LLV(HIGH,30),COLOR00FF00;超跌:IF(ISLASTBAR,底部,NULL),COLORRED;STICKLINE(ISLASTBAR,超跌,超跌,60,1),HICK2,COLORRED;风险参数:MA((MA(C,13)-MA(C,55))/MA(C,13)*100,1),NODRAW,COLORFFFF00;波:=ZIGZAG(3,P,1),COLORWHITE;涨天:BARSLASTCOUNT(波>REF(波,1)),NODRAW,COLORRED;VAR1:=(C-REF(C,涨天))/REF(C,涨天)*100;涨幅%:IF(涨天>0,VAR1,NULL),NODRAW;跌天:BARSLASTCOUNT(波<REF(波,1)),NODRAW,COLOR00FF00;VAR2:=(C-REF(C,跌天))/REF(C,跌天)*100;跌幅%:IF(跌天>0,VAR2,NULL),NODRAW;//{红}STICKLINE1(C>O,C,O,3,0),COLOR000077;STICKLINE1(C>O,C,O,2,0),COLOR000099;STICKLINE1(C>O,C,O,1,0),COLOR0000BB;STICKLINE1(C>O,H,L,0,0),COLOR0000FF;//{绿}STICKLINE1(C<O,C,O,3,0),COLOR007700;STICKLINE1(C<O,C,O,2,0),COLOR009900;STICKLINE1(C<O,C,O,1,0),COLOR00BB00;STICKLINE1(C<O,H,L,0,0),COLOR00FF00;//{浪}DRAWLINE1(H=HHV(H,6),H,L=LLV(L,6),L,0),H
最准确的指标期货指标公式文华财经指标期货多空进出场公式 来自淘豆网m.daumloan.com转载请标明出处.