飞狐顾比均线主图指标

 

源码

K1:=EMA(C,3);
K2:=EMA(C,5);
K3:=EMA(C,8);
K4:=EMA(C,13);
K5:=EMA(C,15);
K6:=EMA(C,30);
K7:=EMA(C,35);
K8:=EMA(C,40);
K9:=EMA(C,45);
K10:=EMA(C,50);
K11:=EMA(C,60);
PARTLINE(k1>ref(k1,3),k1),Color0000FF;
PARTLINE(k1<ref(k1,3),k1),Color00FF00;
PARTLINE(k2>ref(k2,3),k2),Color0000FF;
PARTLINE(k2<ref(k2,3),k2),Color00FF00;
PARTLINE(k3>ref(k3,3),k3),Color0000FF;
PARTLINE(k3<ref(k3,3),k3),Color00FF00;
PARTLINE(k4>ref(k4,3),k4),Color0000FF;
PARTLINE(k4<ref(k4,3),k4),Color00FF00;
PARTLINE(k5>ref(k5,3),k5),Color0000FF;
PARTLINE(k5<ref(k5,3),k5),Color00FF00;
PARTLINE(k6>ref(k6,3),k6),Color0000FF;
PARTLINE(k6<ref(k6,3),k6),Color00FF00;
PARTLINE(k7>ref(k7,3),k7),Color0000FF;
PARTLINE(k7<ref(k7,3),k7),Color00FF00;
PARTLINE(k8>ref(k8,3),k8),Color0000FF;
PARTLINE(k8<ref(k8,3),k8),Color00FF00;
PARTLINE(k9>ref(k9,3),k9),Color0000FF;
PARTLINE(k9<ref(k9,3),k9),Color00FF00;
PARTLINE(k10>ref(k10,3),k10),Color0000FF;
PARTLINE(k10<ref(k10,3),k10),Color00FF00;
PARTLINE(k11>ref(k11,3),k11),Color0000FF;
PARTLINE(k11<ref(k11,3),k11),Color00FF00;
{HH:=HHV(H,0);LL:=LLV(l,0);
DRAWLINE(h=hh,hh,BARPOS=SYSPARAM(1),hh,1),coloryellow;
DRAWLINE(l=ll,ll,BARPOS=SYSPARAM(1),ll,1),color00ee00;
DRAWLINE(h=hh,(hh-ll)*0.809,BARPOS=SYSPARAM(1),(hh-ll)*0.809,1);
DRAWLINE(h=hh,(hh-ll)*0.618,BARPOS=SYSPARAM(1),(hh-ll)*0.618,1);
DRAWLINE(h=hh,(hh-ll)*0.500,BARPOS=SYSPARAM(1),(hh-ll)*0.500,1);
DRAWLINE(h=hh,(hh-ll)*0.382,BARPOS=SYSPARAM(1),(hh-ll)*0.382,1);
DRAWLINE(h=hh,(hh-ll)*0.191,BARPOS=SYSPARAM(1),(hh-ll)*0.191,1);
DRAWTEXT(c>0  and BARPOS=SYSPARAM(1),HH,'最高价:'+NUMTOSTR(hh,2)),coloryellow;
DRAWTEXT(c>0  and BARPOS=SYSPARAM(1),(hh-ll)*0.809,'最高价:'+NUMTOSTR((hh-ll)*0.809,2)),coloryellow;
{AA:=DAY<>REF(DAY,1) OR BARPOS=1;
A:=BARSLAST(AA)+1;
B:=SUM(C*V,a)/SUM(V,a);
EVERY(C>b,OPENMINUTES(TIME)=5);




来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图