条形码副图指标公式 (源码 副图 使用说明)

[复制链接]
查看113 | 回复0 | 2022-7-13 07:31:44 | 显示全部楼层 |阅读模式
Var3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var4:=SMA(SMA(Var3,3,1),3,1);
Var5:=EMA(Var4,5);
Var6:=Var5;
Var7:=3*Var4-2*Var5;
Var8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(Var8,3,1),COLORBROWN;
D: SMA(K,3,1),COLORBLUE;
VarA:=LLV(LOW,36);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
VarD:=87.5;
趋势:VarC,COLORCYAN;
DRAWTEXT(IF(CROSS(VarD,趋势),87,0),85,'赚了'),COLORGREEN;
头部条形码:STICKLINE(VarC>90,100,90,7,0),COLORRED;
底部条形码:STICKLINE(VarC<10,0,10,7,0),COLORBROWN;
VarF:=SMA(Var3,20,1);
Var10:=SMA(VarF,15,1);
Var11:=(3*VarF+2*Var10)/4;
Var12:=REF(Var11,1);
Var13:=SMA(MAX(Var11-Var12,0),2,1)/SMA(ABS(Var11-Var12),2,1)*100;
Var14:=MA(Var13,10);
Var15:=IF(CROSS(Var14,90),25,0);
DRAWTEXT(CROSS(Var14,90),27,'强势整理'),COLORCYAN;

201062610265021844.png

201062610265021844.png

 

201062610271346612.rar

2.41 KB, 下载次数: 1

201062610271346612.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则