以下是文华《伊凡多空》模型源码(无源码的请下载附件导入)
《伊凡多空》模型 源码:
[N,1.000000,100.000000,4.000000]
[STEP,0.010000,0.100000,0.020000]
[MVALUE,0.010000,1.000000,0.200000]
SARLINE:=SAR(N,STEP,MVALUE),CIRCLEDOT;
WIN:=PUBU(CLOSE,0),COLORWHITE;
LOSE:=PUBU(CLOSE,2),COLORLIGHTRED;
DRAWTEXT( CROSS(WIN,LOSE),WIN,'多');
DRAWTEXT( CROSS(LOSE,WIN),WIN,'空');
STICKLINE(LOSE<WIN,LOSE,WIN,COLORMAGENTA,0);
STICKLINE(LOSE>WIN,LOSE,WIN,COLORBLUE,0);
|