通达信支撑位主图公式,无未来

2015-10-21 19:55:00来源:本站整理浏览:243

通达信支撑位主图公式,无未来

源码

N:=13;
M:=55;
P:=3;
 RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
 RSV2:=(CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*100;
 J1:=3*SMA(RSV1,P,1)-2*SMA(SMA(RSV1,P,1),P,1);
 J2:=3*SMA(RSV2,P,1)-2*SMA(SMA(RSV2,P,1),P,1);
支撑位:IF(CROSS(J1,J2),LOW,REF(LOW,BARSLAST(CROSS(J1,J2)))),POINTDOT;
STICKLINE( CROSS(J1,J2),LOW,REF(LOW,BARSLAST(CROSS(J1,J2))),9,0),COLORRED;
压力位:IF(CROSS(J2,J1),HIGH,REF(HIGH,BARSLAST(CROSS(J2,J1)))),POINTDOT;
STICKLINE( CROSS(J2,J1),HIGH,REF(HIGH,BARSLAST(CROSS(J2,J1))),9,0),COLORGREEN;
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式