以下是通达信五里主升副图指标
通达信五里主升副图指标
源码
M:=55;N:=120;
A1:PPART(M)*100,COLORFF00FF;{M日前那部分成本占总成本的比例}
B1:MA(A1,N),COLOR0000FF;
AA1:=CROSS(5,A1);
AA2:=CROSS(0,A1);
AA3:=CROSS(-50,A1);
AA5:=CROSS(-100,A1);
AA4:=CROSS(-150,A1);
AA6:=CROSS(-200,A1);
AA7:=CROSS(50,A1);
TJ:=AA1 OR AA1 OR AA3 OR AA4 OR AA5 OR AA6 OR AA7;
TJ1:=CROSS(B1,A1);
DRAWICON(TJ,A1,23);
DRAWICON(TJ1,A1,26);