文华期货5日10日20日均线指标公式源码
MAJ1:MA(C,5);
MAJ2:MA(C,10);
MAJU:MA(C,20);
AA:BACKSET(CROSSDOWN(MAJ1>MAJ2&&MAJU>MAJ2,0.4)&&EXIST(CROSS(MAJ1,MAJU),BARSLAST(CROSS(MAJ1>MAJ2&&MAJU>MAJ2,0.5))+1),BARSLAST(CROSS(MAJ1>MAJ2&&MAJU>MAJ2,0.5))+1),NODRAW;
BB:BACKSET(CROSSDOWN(MAJ1<MAJ2&&MAJU<MAJ2,0.4)&&EXIST(CROSSDOWN(MAJ1,MAJU),BARSLAST(CROSS(MAJ1<MAJ2&&MAJU<MAJ2,0.5))+1),BARSLAST(CROSS(MAJ1<MAJ2&&MAJU<MAJ2,0.5))+1),NODRAW;
FILLRGN(AA&& MAJ1>MAJ2&&MAJU>MAJ2, MAJ2,MIN(MAJ1,MAJU) ,COLORRED );
FILLRGN(BB&& MAJ1<MAJ2&&MAJU<MAJ2, MAJ2,MAX(MAJ1,MAJU) ,COLORGREEN );
DRAWKLINE1(H,O,L,C);
原文地址:https://blog.csdn.net/wh6qxkj0088/article/details/140153274
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!