股东增减指标源码[本指标要使用专业财务数据}[大智慧公式]
[code]{【股东增减】TOP指标源码[本指标要使用专业财务数据}
【股东增减】TOP指标公开公式、源码{完美版本}
refLINE:0;
最新:=PFFIN(4253,0)/10000;
上1季:=PFFIN(4253,1)/10000;
上2季:=PFFIN(4253,2)/10000;
上3季:=PFFIN(4253,3)/10000;
上4季:=PFFIN(4253,4)/10000;
DRAWTEXTREL(0,998,'人 数');
DRAWTEXTREL(0,999,'时 间');
PERCENTBAR(最新,上1季),COLORFF0000;
PERCENTBAR(上1季,上2季),COLOREC7000;
PERCENTBAR(上2季,上3季),COLORDDAE00;
PERCENTBAR(上3季,上4季),COLORAAAF00;
DRAWTEXTREL(10,998,NUMTOSTRN(最新,2)),COLORGREEN;
DRAWTEXTREL(20,998,NUMTOSTRN(上1季,2)),COLORGREEN;
DRAWTEXTREL(30,998,NUMTOSTRN(上2季,2)),COLORGREEN;
DRAWTEXTREL(40,998,NUMTOSTRN(上3季,2)),COLORGREEN;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10,999,'最新'),COLORFFFF00;
DRAWTEXTREL(20,999,'上1季'),COLORFFFF00;
DRAWTEXTREL(30,999,'上2季'),COLORFFFF00;
DRAWTEXTREL(40,999,'上3季'),COLORFFFF00;
[/code]
[attach]5820[/attach]
源码解析:
输出REFLINE:0
最新赋值:PFFIN(4253,0)/10000
上1季赋值:PFFIN(4253,1)/10000
上2季赋值:PFFIN(4253,2)/10000
上3季赋值:PFFIN(4253,3)/10000
上4季赋值:PFFIN(4253,4)/10000
DRAWTEXTREL(0,998,'人 数')
DRAWTEXTREL(0,999,'时 间')
PERCENTBAR(最新,上1季),COLORFF0000
PERCENTBAR(上1季,上2季),COLOREC7000
PERCENTBAR(上2季,上3季),COLORDDAE00
PERCENTBAR(上3季,上4季),COLORAAAF00
DRAWTEXTREL(10,998,NUMTOSTRN(最新,2)),画绿色
DRAWTEXTREL(20,998,NUMTOSTRN(上1季,2)),画绿色
DRAWTEXTREL(30,998,NUMTOSTRN(上2季,2)),画绿色
DRAWTEXTREL(40,998,NUMTOSTRN(上3季,2)),画绿色
DRAWTEXTREL(10,999,'最新'),COLORFFFF00
DRAWTEXTREL(20,999,'上1季'),COLORFFFF00
DRAWTEXTREL(30,999,'上2季'),COLORFFFF00
DRAWTEXTREL(40,999,'上3季'),COLORFFFF00
页:
[1]