以下是通达信庄见愁指标源码测试图(无源码的请下载附件导入)
收:=WINNER(C)*100;
开:=WINNER(O)*100;
博弈:MAX(ABS(收-开),ABS(收-REF(收,1))),POINTDOT,COLORMAGENTA;
散筹:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),COLOR66FF00,LINETHICK2;
庄筹:EMA(WINNER(C)*70,5),COLORBLUE,LINETHICK2;
获利:EMA(WINNER(C)*100,3),COLOR7F00FF,LINETHICK2;
STICKLINE(庄筹>散筹,庄筹,散筹,0,0),COLORRED;
STICKLINE(收>REF(收,1),0,博弈,3,0),COLORFF3399;
STICKLINE(收< REF(收,1),0,博弈,0,0),COLORCYAN;
STICKLINE(CROSS(获利,庄筹) AND 庄筹<5,庄筹,20,3,1),COLORYELLOW;
918277423.png
|