随手做了一个辅助看盘可用,部分作手喜欢用多日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;