同花顺指标能否修改成博易能用的 [博易POBO]
咨询内容:
同花顺指标能否修改成博易能用的
close_list = []
high_list = []
low_list = []
VAR1 = []
VAR2 = []
VAR3 = []
VAR4 = []
for i in range(total):
close_list.append(get("close", i))
high_list.append(get("high", i))
low_list.append(get("low", i))
VAR1.append((close_list[i] - LLV(low_list, 36, i)) / (HHV(high_list, 36, i)- LLV(low_list, 36, i)) * 100)
VAR2.append(SMA(VAR1, 3, 1, i))
VAR3.append(SMA(VAR2, 3, 1, i))
save("波", VAR3[-1], i)
VAR4.append(SMA(VAR3, 3, 1, i))
save("段", VAR4[-1], i)
draw.curve("波", 12);
draw.curve("段", 13);
VAR6 = [i for i in CROSS(VAR3, VAR4) if VAR3[i] < 20 ]
for i in VAR6:
text(VAR3[i], i, "抄底", 15)
save("抄底柱", VAR3[i] + 5, i)
draw.stick("抄底柱", 13, 2)
VAR7 = [i for i in CROSS(VAR4, VAR3) if VAR3[i] > 80 ]
for i in VAR7:
text(VAR4[i], i, "逃项", 13)
save("逃项柱", VAR4[i], i)
draw.stick("逃项柱", 10, 2)
VAR8 = [i for i in CROSS(VAR2, VAR3) if VAR3[i] > 80 and VAR3[i] > VAR4[i]]
for i in VAR8:
save("Unkown", VAR2[i], i)
draw.stick("Unkown", 1, 2)
high_list = []
low_list = []
VAR1 = []
VAR2 = []
VAR3 = []
VAR4 = []
for i in range(total):
close_list.append(get("close", i))
high_list.append(get("high", i))
low_list.append(get("low", i))
VAR1.append((close_list[i] - LLV(low_list, 36, i)) / (HHV(high_list, 36, i)- LLV(low_list, 36, i)) * 100)
VAR2.append(SMA(VAR1, 3, 1, i))
VAR3.append(SMA(VAR2, 3, 1, i))
save("波", VAR3[-1], i)
VAR4.append(SMA(VAR3, 3, 1, i))
save("段", VAR4[-1], i)
draw.curve("波", 12);
draw.curve("段", 13);
VAR6 = [i for i in CROSS(VAR3, VAR4) if VAR3[i] < 20 ]
for i in VAR6:
text(VAR3[i], i, "抄底", 15)
save("抄底柱", VAR3[i] + 5, i)
draw.stick("抄底柱", 13, 2)
VAR7 = [i for i in CROSS(VAR4, VAR3) if VAR3[i] > 80 ]
for i in VAR7:
text(VAR4[i], i, "逃项", 13)
save("逃项柱", VAR4[i], i)
draw.stick("逃项柱", 10, 2)
VAR8 = [i for i in CROSS(VAR2, VAR3) if VAR3[i] > 80 and VAR3[i] > VAR4[i]]
for i in VAR8:
save("Unkown", VAR2[i], i)
draw.stick("Unkown", 1, 2)
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 您好,此类指标无法修改。 来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容