飞狐超级节气矛盾副图指标

源码

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;
Var02:=LLV(LOW,5);
Var03:=HHV(HIGH,10);
动力线:EMA((CLOSE-Var02)/(Var03-Var02)*4,13)*30,colorblue,linethick2;

Var1:=CLOSE-REF(CLOSE,1);
Var2:=IF(CLOSE-REF(CLOSE,1)>=0,Var1,0);
Var3:=REF(CLOSE,1)-CLOSE;
Var4:=IF(CLOSE-REF(CLOSE,1)<=0,Var3,0);
Var5:=SUM(Var2,8)/SUM(Var4,8);
Var6:=(1-1/(1+Var5))*100;
Var7:=LLV(LOW,50);
Var8:=HHV(HIGH,50);
Var9:=EMA(CLOSE,2);
VARB: EMA((Var9-Var7)/(Var8-Var7)*100,13),colorred,linethick3;
天线: 70, POINTDOT,linethick2,color0099ff;
地线: 20, POINTDOT,linethick2,colorcc9966;
中线:45,pointdot,linethick2,colorgreen;
Var13:=(REF(HIGH,1)+REF(LOW,1))/2;
Var14:=MA(CLOSE,20)+2*STD(CLOSE,20);
Var15:=FILTER(CROSS(Var13,Var14),4)*200;
DRAWTEXT(Var15,65,'短逃'),colorgreen;
Var16:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
Var17:=FILTER(CROSS(Var16,13),4);
Var18:=IF(Var16>90,50,100);
Var19:=FILTER(CROSS(Var18,Var16),4)*235;
DRAWTEXT(Var19,80,'见顶'),colorcyan;
PARTLINE(varb>ref(varb,1) and varb>20,varb),colorred,linethick3;
PARTLINE(varb<20,varb),coloryellow,linethick3;
PARTLINE(varb<ref(varb,1) and varb>20,varb),colorff9900,linethick3;




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

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

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

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