峰回路转-精品通达信指标公式源码分享

通达信免费指标 04-07 阅读:198 评论:0

image.png

N:=9;M1:=3;M2:=8;WN:=5;WM1:=3;WM2:=13;MN:=20;


RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;


A:=SMA(RSV,M1,1);


B:=SMA(A,M2,1);


E:=A-B;


K:A;


D:B;


J:E;


DRAWICON(CROSS(K,D),D,1);


DRAWICON(CROSS(D,K),D,2);


X:80;


Y:20;


Z:50;


WRSV:=(CLOSE-LLV(LOW,WN))/(HHV(HIGH,WN)-LLV(LOW,WN))*100;


WAA:=SMA(WRSV,WM1,1);


WB:=SMA(WAA,WM2,1);


WE:=WAA-WB;


WK:WAA,NODRAW;


WD:WB,NODRAW;


WJ:WAA-WB,NODRAW;


MRSV:=(CLOSE-LLV(LOW,MN))/(HHV(HIGH,MN)-LLV(LOW,MN))*100;


MAA:=SMA(MRSV,5,1);


MB:=SMA(MAA,13,1);


ME:=MAA-MB;


MK:MAA,NODRAW;


MD:MB,NODRAW;


MJ:MAA-MB,NODRAW;


STICKLINE(MJ>0,MK,MD,9,1),COLORRED;


STICKLINE(MJ<0,MK,MD,9,1),COLORGREEN;


STICKLINE(WJ>0,WK,WD,4,0),COLORMAGENTA;


STICKLINE(WJ<0,WK,WD,4,0),COLORLIGREEN;


版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服