通达信支撑位主图指标公式

通达信简简单单赚钱主图指标公式

通达信支撑位主图指标公式:

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;

通达信定乾坤主图指标公式