2822| 1
|
请教,来个高手帮忙写个通达信副图指标,感谢!! |
30爱心果
最佳答案N:=20;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
TJ1:=EXIST(CROSS(MA5,MA10),N)
AND EXIST(CROSS(MA5,MA30),N)
AND EXIST(CROSS(MA10,MA30),N);
D1:=BARSLAST(CROSS(MA5,MA10)) - BARSLAST(CROSS(MA5,MA30)) > 1;
D2:=BARSLAST(CROSS(MA5,MA30)) - BARSLAST(CROSS(MA10,MA30)) > 1;
TJ2:=EXIST(C < MA30,D2);
D3:=BARSLAST( C < MA30);
TJ3:=EXIST(C > MA30,D3);
{XG:TJ1 AND ...
| ||
| ||
|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号
GMT+8, 2024-11-24 02:50 , Processed in 0.153931 second(s), 21 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.