飞狐超级节气风暴副图指标

源码

Var1:=SMA((HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*200-125,5,1);
Var2:=SMA((CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200-105,5,1);
多头: Var1;
空头: Var2;
生死线: 0, POINTDOT;
Var3:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,34);
Var5:=HHV(HIGH,34);
Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,9);
Var7:=EMA((Var3-Var4)/(Var5-Var4)*100,31);
DRAWTEXT(CROSS(Var6,20) AND Var6>21,多头,'●买进');
DRAWTEXT(CROSS(Var6,80) AND Var6>75,多头,'●卖出');

a:=LSOLARTERM(date);
DRAWTEXT(a=1,0,'●小寒'),colorblue;
DRAWTEXT(a=2,0,'●大寒'),colorblue;
DRAWTEXT(a=3,0,'●立春'),colorblue;
DRAWTEXT(a=4,0,'●雨水'),colorblue;
DRAWTEXT(a=5,0,'●惊蛰'),colorblue;
DRAWTEXT(a=6,0,'●春分'),colorblue;
DRAWTEXT(a=7,0,'●清明'),colorblue;
DRAWTEXT(a=8,0,'●谷雨'),colorblue;
DRAWTEXT(a=9,0,'●立夏'),colorblue;
DRAWTEXT(a=10,0,'●小满'),colorblue;
DRAWTEXT(a=11,0,'●芒种'),colorblue;
DRAWTEXT(a=12,0,'●夏至'),colorblue;
DRAWTEXT(a=13,0,'●小暑'),colorblue;
DRAWTEXT(a=14,0,'●大暑'),colorblue;
DRAWTEXT(a=15,0,'●立秋'),colorblue;
DRAWTEXT(a=16,0,'●处暑'),colorblue;
DRAWTEXT(a=17,0,'●白露'),colorblue;
DRAWTEXT(a=18,0,'●秋分'),colorblue;
DRAWTEXT(a=19,0,'●寒露'),colorblue;
DRAWTEXT(a=20,0,'●霜降'),colorblue;
DRAWTEXT(a=21,0,'●立冬'),colorblue;
DRAWTEXT(a=22,0,'●小雪'),colorblue;
DRAWTEXT(a=23,0,'●大雪'),colorblue;
DRAWTEXT(a=24,0,'●冬至'),colorblue;



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

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图