lmx1:=WINNER(CLOSE)*100;
lmx2:=100-lmx1;
lmx3:=ABS(lmx1-lmx2);
TD:=Backset(ISLASTBAR,1);
P:=SYSPARAM(1);
STICKLINE(TD,lmx3[P],0,3,0),COLORMAGENTA,shift2,align0,PXUP20;
STICKLINE(TD,lmx2[P],0,3,0 ),COLORCYAN,shift1,align0,PXUP20;
{www.gupang.com 股旁网_飞狐股票指标公式}
STICKLINE(TD,lmx1[P],0,3,0),COLORRED,shift3,align0,PXUP20;
DRAWTEXT(TD AND lmx1,lmx1[P],'牛'),COLORRED,shift3,align0,PXUP30;
DRAWTEXT(TD AND lmx2,lmx2[P],'熊'),COLORCYAN,shift1,align0,PXUP30;
DRAWTEXT(TD AND lmx3,lmx3[P],'马'),COLORMAGENTA,shift2,align0,PXUP30;
202108211211.jpg
|