通达信峰回路转副图公式源码

[复制链接]
查看99 | 回复0 | 2021-8-19 19:07:33 | 显示全部楼层 |阅读模式

以下是通达信峰回路转副图公式源码(无源码的请下载附件导入)

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;

75377505.gif

75377505.gif

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则