龙听期货论坛's Archiver

C
+
+


 微信: QQ:

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

大智慧仿天狼50指标公式源码-改进版净资产收益率ROE[大智慧公式]

大智慧仿天狼50指标公式源码-改进版净资产收益率ROE
[code]
refLINE:0;
三季:=PFFINON(1002,2009,1001);
中期:=PFFINON(1002,2009,0801);
一季:=PFFINON(1002,2009,0401);
末期:=PFFINON(1002,2009,0301);
去年:=PFFINON(1002,2008,1001);
去三:=PFFINON(1002,2008,0801);
去中:=PFFINON(1002,2008,0401);
去一:=PFFINON(1002,2008,0301);

DRAWTEXTREL(0,998,' R O E');
DRAWTEXTREL(0,999,'时间');
PERCENTBAR(三季,中期),COLORFF0000;
PERCENTBAR(中期,一季),COLOREC7000;
PERCENTBAR(一季,末期),COLORDDAE00;
PERCENTBAR(末期,去年),COLORAAAF00;
PERCENTBAR(去年,去三),COLORAAAF00;
PERCENTBAR(去三,去中),COLORAAAF00;
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(50,998,NUMTOSTRN(去三,2)),COLORGREEN;
DRAWTEXTREL(60,998,NUMTOSTRN(去中,2)),COLORGREEN;
DRAWTEXTREL(70,998,NUMTOSTRN(去一,2)),COLORGREEN;
DRAWTEXTREL(10,999,'三季'),COLORFFFF00;
DRAWTEXTREL(20,999,'中期'),COLORFFFF00;
DRAWTEXTREL(30,999,'一季'),COLORFFFF00;
DRAWTEXTREL(40,999,'末期'),COLORFFFF00;
DRAWTEXTREL(50,999,'去三'),COLORFFFF00;
DRAWTEXTREL(60,999,'去中'),COLORFFFF00;
DRAWTEXTREL(70,999,'去一'),COLORFFFF00;
[/code]

页: [1]