相關標簽:
隨手做了一個輔助看盤可用,部分作手喜歡用多日K,非全部,看球看盤不亦樂乎有點疲憊,未優化未完善,有BUG,有畫線之未來函數,不用請丟棄!
N:=3;{參數可自行根據需要取用k線的天數調整}
A:=MOD(BARSCOUNT(C#DAY),N);
NEXTK:(N-A),NODRAW;
LL:=REFX(LLV(L,A+1),BARSNEXT(A=N-1 OR ISLASTBAR));
DRAWNUMBER(BACKSET(ISLASTBAR,A+1),LL,NEXTK);
三收:IF(NEXTK=1,C#DAY,DRAWNULL)NODRAW;
{STICKLINE(三收=C,三收,三收*0.98,0,0)COLORWHITE;}
DRAWTEXT(三收#DAY=C,三收,'←')COLORMAGENTA;
{DRAWNUMBER(三收#DAY=C,三收,三收)COLORMAGENTA;}
DRAWLINE(三收#DAY=C,REF(三收,BARSLAST(三收)),PERIOD<5 ,三收,0)COLORBLUE;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'
程序化交易模型'),COLORRED;
