欢迎您访问投资者加油站-WWW.XG51.CN选股无忧网

尾盘超短线稳步登高 鲛海龙珠火箭加油低估价值难得一见空中加速哪吒闹海一剑封喉猛龙在天底部黄金神龙见首跟庄波段神龙甩尾

鱼跃龙门拔地而起底部起飞筹码突击阶段新高MACD金叉量能巨变深跌回弹小步上扬量价齐飞盘整突破超卖反转超级强势强势洗盘

软件书籍买点指标卖点指标买卖指标底部指标市场热点股票入门指标改编指标技巧通达信公式安装方法大智慧公式安装方法同花顺公式安装方法

多空指标

当前位置: 主页 > 指标专题大全 > 多空指标

飞狐一根多空线主图选股指标公式源码

来源:网络|编辑:小编|时间:2021-04-17|栏目:多空指标

飞狐一根多空线主图选股指标公式源码(图1)

飞狐一根多空线主图选股指标公式源码

源码正文:

DRAWGBK(C,COLORRGB(36,68,36),COLORRGB(100,100,100),1){XG51};
KLINE(O,H,L,C,0){XG51};
Fxc8:=C{XG51};
Ax8:=hhv(h,3){XG51};
Bx8:=llv(l,3){XG51};
ax18:=ma(H,3+1){XG51};
bx18:=ma(L,3+1){XG51};
axx18:=ema(h,3+1){XG51};
bxx18:=ema(l,3+1){XG51};
hh8:=cross(c,ax18){XG51};
ll8:=cross(bx18,c){XG51};
arh8:=ref(h,1){XG51};
arl8:=ref(l,1){XG51};
axxx18:=ema(h,3){XG51};
bxxx18:=ema(l,3){XG51};
hl8:=h{XG51};
Kk8:=h{XG51};
<%
Vc8=ffl.vardata("fxc8")
last=ubound(vc8)
vhh8=ffl.vardata("hh8")
vll8=ffl.vardata("ll8")
vhl8=ffl.vardata("hl8")
vhk8=ffl.vardata("Kk8")
vlk8=ffl.vardata("Kk8")
vax18=ffl.vardata("ax18")
vbx18=ffl.vardata("bx18")
VRax18=ffl.vardata("axxx18")
vrbx18=ffl.vardata("bxxx18")
for i8=2 to last
vhh8(i8)=0
vll8(i8)=0
if vc8(i8-1) <= vax18(i8-1)  and  vc8(i8) > vax18(i8)  then vhh8(i8)=1
if vc8(i8-1) >= vbx18(i8-1)  and  vc8(i8) < vbx18(i8) then vll8(i8)=1
next
for i8=2 to last
vhk8(i8)=0
vlk8(i8)=0
if vc8(i8-1) <= vrax18(i8-1)  and  vc8(i8) > vrax18(i8)  then vhk8(i8)=1
if vc8(i8-1) >= vrbx18(i8-1)  and  vc8(i8) < vrbx18(i8) then vlk8(i8)=1
next
th8=0
tl8=0
kh8=0
kl8=0
for i8=1 to last
if vhh8(i8)=1 then
th8=1
tl8=0
end if
if th8=1 and tl8=0 then vhl8(i8)=1
if vll8(i8)=1 then
th8=0
tl8=1
end if
if tl8=1 and th8=0 then vhl8(i8)=0
next
for i8=1 to last
if vhk8(i8)=1 then
kh8=1
kl8=0
end if
if kh8=1 and kl8=0 then vhk8(i8)=1
if vlk8(i8)=1 then
kh8=0
kl8=1
end if
if kl8=1 and kh8=0 then vhk8(i8)=0
next
ffl.vardata("hl8")=vhl8
ffl.vardata("Kk8")=vhk8
rem ffl.vardata("ll8")=vhl8
rem ffl.vardata("hh8")=vhl8
%&gt{XG51};
mm:=if(hl8=1,bx8,ax8),linethick1,colorblue{XG51};
mm1:=if(hl8=1,bx18,ax18),linethick1,colorgreen{XG51};
转:(mm+mm1)/2,PRECISION2,linethick1,COLORCYAN,linethick2{XG51};
partline(C>=转,转),PRECISION2,linethick2,COLORLIMAGENTA{X?G^5~1?C?N?{};

免责声明 | 联系我们 | 服务协议

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。

联系QQ:875328188 | 邮箱:875328188@qq.com

Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7