顶底指标 和谐源码分享

 2022-10-14 15:02:33    通达信指标网  

 {公式名称: 顶底指标}

 
VAR1:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=VAR2;
VAR4:=SMA(VAR2,2,1);
J1:3*VAR2-2*VAR4,COLORA67D3D;
VAR5:=MA(J1,3);
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,21);
VAR8:=HHV(HIGH,21);
SK:EMA((VAR6-VAR7)/(VAR8-VAR7)*100,8),COLORWHITE;
SD:EMA(0.667*REF(SK,1)+0.333*SK,1),COLORCYAN;
VAR9:=3*SK-2*SD;
50,POINTDOT,COLORRED;
70,POINTDOT,COLORRED;
90,COLORWHITE;
WWW:VAR9<20,COLORRED;
IF(WWW,0,20),COLORRED;
IF(SD>=REF(SD,1),SD,DRAWNULL),COLORRED;

IF(J1>=REF(J1,1),J1,DRAWNULL),COLORRED;


  •  标签:  

原文链接:https://www.tdxzb.com/?id=665

本文版权:如无特别标注,本站文章均为原创。

相关文章

服务热线

18020657357

微信客服

微信客服