请老师修改黄金分割线公式中的画线语句 [博易POBO]
咨询内容:
LL1:=LLV(L,M);
HHH:=H=HH1;
LLL:=L=LL1;
DRAWLINE(HHH, H,LLL,L,0),COLORGREEN;
DRAWLINE(LLL,L,HHH,H,0),COLORLIRED;
H191:=IF(N>M,(HH1-LL1)*0.191+LL1,HH1-(HH1-LL1)*0.191);
H236:=IF(N>M,(HH1-LL1)*0.236+LL1,HH1-(HH1-LL1)*0.236);
H382:=IF(N>M,(HH1-LL1)*0.382+LL1,HH1-(HH1-LL1)*0.382);
H5:=IF(N>M,(HH1-LL1)*0.5+LL1,HH1-(HH1-LL1)*0.5);
H618:=IF(N>M,(HH1-LL1)*0.618+LL1,HH1-(HH1-LL1)*0.618);
H809:=IF(N>M,(HH1-LL1)*0.809+LL1,HH1-(HH1-LL1)*0.809);
STICKLINE(ISLASTBAR,HH1,HH1,300,1),COLORRED;
STICKLINE(ISLASTBAR,H809,H809,300,1),COLORRED;
STICKLINE(ISLASTBAR,H618,H618,300,1),COLORRED;
STICKLINE(ISLASTBAR,H5,H5,300,1),COLORRED;
STICKLINE(ISLASTBAR,H382,H382,300,1),COLORRED;
STICKLINE(ISLASTBAR,H236,H236,300,1),COLORRED;
STICKLINE(ISLASTBAR,LL1,LL1,300,1),COLORRED;
<!-- 咨询内容:
M:=10;
HH1:=HHV(H,N);
LL1:=LLV(L,M);
HHH:=H=HH1;
LLL:=L=LL1;
DRAWLINE(HHH, H,LLL,L,0),COLORGREEN;
DRAWLINE(LLL,L,HHH,H,0),COLORRED;
H191:=IF(N>M,(HH1-LL1)*0.191+LL1,HH1-(HH1-LL1)*0.191);
H236:=IF(N>M,(HH1-LL1)*0.236+LL1,HH1-(HH1-LL1)*0.236);
H382:=IF(N>M,(HH1-LL1)*0.382+LL1,HH1-(HH1-LL1)*0.382);
H5:=IF(N>M,(HH1-LL1)*0.5+LL1,HH1-(HH1-LL1)*0.5);
H618:=IF(N>M,(HH1-LL1)*0.618+LL1,HH1-(HH1-LL1)*0.618);
H809:=IF(N>M,(HH1-LL1)*0.809+LL1,HH1-(HH1-LL1)*0.809);
STICKLINE(ISLASTBAR,HH1,HH1,300,1),COLORRED;
STICKLINE(ISLASTBAR,H809,H809,300,1),COLORRED;
STICKLINE(ISLASTBAR,H618,H618,300,1),COLORRED;
STICKLINE(ISLASTBAR,H5,H5,300,1),COLORRED;
STICKLINE(ISLASTBAR,H382,H382,300,1),COLORRED;
STICKLINE(ISLASTBAR,H236,H236,300,1),COLORRED;
STICKLINE(ISLASTBAR,LL1,LL1,300,1),COLORRED; 谢谢老师的修改。我还有一个问题。下图是上证60分图。我想从2733到3042画连线,我的画线公式:DRAWLINE(HHH,H,LLL,L,0),COLORGREEN; DRAWLINE(LLL,L,HHH,H,0),COLORRED;实现不了。请老师赐教。
来源 程序化久久网
请老师修改黄金分割线公式中的画线语句
HH1:=HHV(H,N);LL1:=LLV(L,M);
HHH:=H=HH1;
LLL:=L=LL1;
DRAWLINE(HHH, H,LLL,L,0),COLORGREEN;
DRAWLINE(LLL,L,HHH,H,0),COLORLIRED;
H191:=IF(N>M,(HH1-LL1)*0.191+LL1,HH1-(HH1-LL1)*0.191);
H236:=IF(N>M,(HH1-LL1)*0.236+LL1,HH1-(HH1-LL1)*0.236);
H382:=IF(N>M,(HH1-LL1)*0.382+LL1,HH1-(HH1-LL1)*0.382);
H5:=IF(N>M,(HH1-LL1)*0.5+LL1,HH1-(HH1-LL1)*0.5);
H618:=IF(N>M,(HH1-LL1)*0.618+LL1,HH1-(HH1-LL1)*0.618);
H809:=IF(N>M,(HH1-LL1)*0.809+LL1,HH1-(HH1-LL1)*0.809);
STICKLINE(ISLASTBAR,HH1,HH1,300,1),COLORRED;
STICKLINE(ISLASTBAR,H809,H809,300,1),COLORRED;
STICKLINE(ISLASTBAR,H618,H618,300,1),COLORRED;
STICKLINE(ISLASTBAR,H5,H5,300,1),COLORRED;
STICKLINE(ISLASTBAR,H382,H382,300,1),COLORRED;
STICKLINE(ISLASTBAR,H236,H236,300,1),COLORRED;
STICKLINE(ISLASTBAR,LL1,LL1,300,1),COLORRED;
<!-- 咨询内容:
附件 :
-->
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: N:=10;M:=10;
HH1:=HHV(H,N);
LL1:=LLV(L,M);
HHH:=H=HH1;
LLL:=L=LL1;
DRAWLINE(HHH, H,LLL,L,0),COLORGREEN;
DRAWLINE(LLL,L,HHH,H,0),COLORRED;
H191:=IF(N>M,(HH1-LL1)*0.191+LL1,HH1-(HH1-LL1)*0.191);
H236:=IF(N>M,(HH1-LL1)*0.236+LL1,HH1-(HH1-LL1)*0.236);
H382:=IF(N>M,(HH1-LL1)*0.382+LL1,HH1-(HH1-LL1)*0.382);
H5:=IF(N>M,(HH1-LL1)*0.5+LL1,HH1-(HH1-LL1)*0.5);
H618:=IF(N>M,(HH1-LL1)*0.618+LL1,HH1-(HH1-LL1)*0.618);
H809:=IF(N>M,(HH1-LL1)*0.809+LL1,HH1-(HH1-LL1)*0.809);
STICKLINE(ISLASTBAR,HH1,HH1,300,1),COLORRED;
STICKLINE(ISLASTBAR,H809,H809,300,1),COLORRED;
STICKLINE(ISLASTBAR,H618,H618,300,1),COLORRED;
STICKLINE(ISLASTBAR,H5,H5,300,1),COLORRED;
STICKLINE(ISLASTBAR,H382,H382,300,1),COLORRED;
STICKLINE(ISLASTBAR,H236,H236,300,1),COLORRED;
STICKLINE(ISLASTBAR,LL1,LL1,300,1),COLORRED; 谢谢老师的修改。我还有一个问题。下图是上证60分图。我想从2733到3042画连线,我的画线公式:DRAWLINE(HHH,H,LLL,L,0),COLORGREEN; DRAWLINE(LLL,L,HHH,H,0),COLORRED;实现不了。请老师赐教。
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容