龙听期货论坛's Archiver

龙听 发表于 2018-12-24 15:22

大智慧财富增加率BMC-WIR指标公式源码[大智慧公式]

[b]大智慧财富增加率BMC-WIR指标公式源码[/b]
[b][code]
refLINE:0;
最新:=PFFINON(1001,2009,1001);
上1季:=PFFINON(1001,2009,0801);
上2季:=PFFINON(1001,2009,0401);
上3季:=PFFINON(1001,2009,0301);
上4季:=PFFINON(1001,2008,1001);
DRAWTEXTREL(0,998,' R O E');
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;
DRAWTEXTREL(10,999,'最新'),COLORFFFF00;
DRAWTEXTREL(20,999,'上1季'),COLORFFFF00;
DRAWTEXTREL(30,999,'上2季'),COLORFFFF00;
DRAWTEXTREL(40,999,'上3季'),COLORFFFF00;
[/code]
[/b]

龙听 发表于 2018-12-24 15:23

{财富增加率BMC-WIR}--修改版[code]
refLINE:0;
三季:=PFFINON(1001,2009,1001);
中期:=PFFINON(1001,2009,0801);
一季:=PFFINON(1001,2009,0401);
末期:=PFFINON(1001,2009,0301);
去年:=PFFINON(1001,2008,1001);
DRAWTEXTREL(0,998,' R O E');
DRAWTEXTREL(0,999,'时 间');
PERCENTBAR(三季,中期),COLORFF0000;
PERCENTBAR(中期,一季),COLOREC7000;
PERCENTBAR(一季,末期),COLORDDAE00;
PERCENTBAR(末期,去年),COLORAAAF00;
DRAWTEXTREL(10,998,NUMTOSTRN(三季,2)),COLORGREEN;
DRAWTEXTREL(20,998,NUMTOSTRN(中期,2)),COLORGREEN;
DRAWTEXTREL(30,998,NUMTOSTRN(一季,2)),COLORGREEN;
DRAWTEXTREL(40,998,NUMTOSTRN(末期,2)),COLORGREEN;
DRAWTEXTREL(10,999,'三季'),COLORFFFF00;
DRAWTEXTREL(20,999,'中期'),COLORFFFF00;
DRAWTEXTREL(30,999,'一季'),COLORFFFF00;
DRAWTEXTREL(40,999,'末期'),COLORFFFF00;
[/code]

页: [1]