飞狐玄黄寻底Ⅰ/玄黄寻底Ⅱ副图指标
源码
{玄黄寻底Ⅰ}
N1:=5;
HLP:=WINNER(CLOSE);
{以今天收盘价计算的获利盘比例}
CJ:=VOL/CAPITAL;
{今日换手率}
CM:=CJ/HLP;
{今日换手率/以今天收盘价计算的获利盘比例,意义是在当前
比例获利盘的前提下,换手是在增大还是减小}
寻底指标:IF(HLP
{在获利盘小于N/100时的换手是在增大还是减小}
{涉及本指标准确度的主要有:winner函数本身,股本数据的准确性等。}
drawtext(寻底指标,0.2,'关注!!!'),coloryellow;
{玄黄寻底Ⅱ}
P:=10;M:=5;N:=10;
Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
Var2:=REF(Var1,1);
Var3:=SMA(MAX(Var1-Var2,0),P,1)/SMA(ABS(Var1-Var2),P,1)*100;
寻底指标1:IF(COUNT(Var3<20,N)>=1 AND COUNT(Var1=LLV(Var1,M),M)>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND VOL>REF(VOL,1),1,0),stick,linethick3,colorred;
drawtext(寻底指标1,0.2,'关注!!!'),coloryellow;