指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:动态换手日周月表公式 飞狐动态周月指标 源码
动态换手日周月表
{动态换手数据引用}
日换手:=vol/capital*100;周换手:=sum(vol,5)/capital*100;月换手:=sum(vol,21)/capital*100;
{3行显示换手↑↓用}
dja:=日换手[sysparam(1)];dja1:=日换手[(sysparam(1)-1)];dj1:=if((dja>dja1),'↑','↓');
djb:=周换手[sysparam(1)];djb1:=周换手[(sysparam(1)-1)];dj2:=if((djb>djb1),'↑','↓');
djc:=月换手[sysparam(1)];djc1:=月换手[(sysparam(1)-1)];dj3:=if((djc>djc1),'↑','↓');
{7行图表部份}
p:=sysparam(1);
drawtext(c>0 and barstatus=2,-10,''),colorffff00,linethick1,align2; {表框下限}{48行}
drawtext(c>0 and barstatus=2, 60,'┏━━━┱────┬────┬────┐'),color00aaaa,linethick1,align2;
drawtext(c>0 and barstatus=2, 50,'┃ ┃ │ │ │'),color00aaaa,linethick1,align2;
drawtext(c>0 and barstatus=2, 40,'┠───╂────┼────┼────┤'),color00aaaa,linethick1,align2;
drawtext(c>0 and barstatus=2, 30,'┃ ┃ │ │ │'),color00aaaa,linethick1,align2;
drawtext(c>0 and barstatus=2, 20,'┗━━━┹────┴────┴────┘'),color00aaaa,linethick1,align2;
{第15行}
drawtext(c>0 and barstatus=2,50,'周期:日换手率: 周换手率:月换手率:'),colordedede,linethick1,align2;
drawtext(c>0 and barstatus=2,30,'值: '),colordedede,linethick1,align2;
{18行}
drawtext(c>0 and barstatus=2,30,numtostr(日换手[p],2)+dj1+' '),colorwhite,align2;
drawtext(c>0 and barstatus=2,30,numtostr(周换手[p],2)+dj2+' '),colorwhite,align2;
drawtext(c>0 and barstatus=2,30,numtostr(月换手[p],2)+dj3+' '),colorwhite,align2;
{各动态周期换手一目了然,方便观察使用.}
{}
>>>使用本站搜索工具可以找到更多“动态换手日周月表公式 飞狐动态周月指标 源码”