九毛八公式指标
公式模块:
飞狐显示缺口源码缺口点位数字显示错误哪位帮忙改下,谢谢!
STICKLINE(LOW>REF(HIGH,1),LOW,REF(HIGH,1),50,1001),Color408080;
STICKLINE(REF(LOW,1)>HIGH,REF(LOW,1),HIGH,50,1001),Color808040;
DRAWTEXT(LOW>REF(HIGH,1),REF(HIGH,1),NUMTOSTR(REF(HIGH,1),2)+'-'+NUMTOSTR(LOW,2)),Color408080;
DRAWTEXT(REF(LOW,1)>HIGH,REF(LOW,1),NUMTOSTR(REF(LOW,1),2)+'-'+NUMTOSTR(HIGH,2)),Color808040;
sk:=LOW>REF(HIGH,1); xk:=REF(LOW,1)>HIGH;
STICKLINE(sk,LOW,REF(HIGH,1),30,1),Color408080;
STICKLINE(xk,REF(LOW,1),HIGH,30,1),Color808040;
DRAWTEXT(sk,l,'-'),Color009fff,PXDN10,SHIFT6; DRAWNUMBER(sk,l,l,2),Color009fff,PXDN10; DRAWNUMBER(sk,l,ref(h,1),2),Color009fff,PXDN10,SHIFT7;
DRAWTEXT(xk,h,'-'),Coloraaaaaa,PXDN10,SHIFT6; DRAWNUMBER(xk,h,ref(l,1),2),Coloraaaaaa,PXDN10; DRAWNUMBER(xk,h,h,2),Coloraaaaaa,PXDN10,SHIFT7;