多空能量区提示买卖强弱指标公式[同花顺公式]
相关标签:
Var5:=LLV(LOW,75);Var6:=HHV(HIGH,75);Var7:=(Var6-Var5)/100;Var8:=SMA((CLOSE-Var5)/Var7,23,1);VarA:=3*Var8-2*SMA(Var8,13,1);趋势:=-(100-VarA)+100,color0099ff,linethick2;VARa:=(2*CLOSE+HIGH+LOW)/4;VARb:=LLV(LOW,23);VARc:=HHV(HIGH,23);VARd:=EMA((VARa-VARb)/(VARc-VARb)*100,13);VARe:=EMA(0.778*REF(VARd,1)+0.222*VARd,1);STICKLINE(VARd-VARe>0,VARd,VARe,8,0),colorwhite;STICKLINE(VARd-VARe<0,VARd,VARe,8,0),colorblue;top_varb:=PEAKBARS(3,15,1)<10;top_var:=IF(top_varb=1,2,0);top:=IF(top_var=2,2,0);top_f:=IF(top>REF(top,1),50,150),colorgreen,linethick2;DRAWTEXT(top_f=50,73,'←清'),colorgreen;STICKLINE(top_f=50,90,65,8,0),colorgreen;做多能量线:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,colorred;做空能量线:=SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),colorgreen,LINETHICK2;短线通道:15,colorblue;强弱分界:45,colorwhite;短线顶部:85,colorblue;VAR1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;VAR2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;VAR3:=SMA(VAR2,13,8);能量值:SMA(VAR3,13,8),coloryellow;空方:=SMA(VAR1,21,8),colorcyan;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容