网站首页 > 飞狐公式 正文
QQ交流群586838595 |
飞狐弄点钱玩指标公式
DRAWGBK(c>0,colorRGB(42,76,88),colorRGB(42,76,88),0);
jj:=(H+L+C)/3;qj0:=vol/IF(H=L,4,H-L);j:="kdj.j";
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(C,O)),qj0*(MIN(O,C)-L));
qj2:=IF(CAPITAL=0,qj0*(MIN(O,C)-L),qj0*(jj-MIN(C,O)));
qj3:=qj0*(H-MAX(O,C));qj4:=qj0*(MAX(C,O)-jj);
qj5:=qj1+qj2;qj6:=qj3+qj4;DD:=(qj5-qj6)/(qj5+qj6)*100;
DDX:=((qj1+qj2)-(qj3+qj4))/sum(vol,10)*100,colorwhite;
DDY:=((qj2+qj4)-(qj1+qj3))/sum(vol,10)*100,colorffff00;
DDZ:=DD*17;
弄点钱玩:cross(j,0) and ((ddx>0 and ddy>0) or DDZ>400),colorgreen,linethick1;
天数1:if(弄点钱玩=0,barslast(弄点钱玩>0),0),linethick0;
收益1:if(弄点钱玩=0,(H-REF(C,barslast(弄点钱玩>0)))/REF(C,barslast(弄点钱玩>0))*100,0),LINETHICK0;
平仓1:=if(弄点钱玩=0 and 收益1>=5,1,0),colorwhite;
平仓:if(平仓1=1 and sum(平仓1,天数1)=1,1,0),colorred;
收益2:=if(sum(平仓1,天数1)=0,收益1,if(平仓=1,收益1,0)),color107fff;
收益:if(天数1<21,收益2,0),color107fff;
PARTLINE(收益=0 and ref(收益,1)>=5,收益),linethick2,COLORred; >股票指标网QQ交流群586838595 |
猜你喜欢
- 2023-10-17 屏幕自适应定点均线(飞狐)
- 2023-10-17 主力轨迹+庄家出现+XG(飞狐)
- 2023-10-17 安全投机(飞狐)
- 2023-10-17 共振买卖(飞狐)
- 2023-10-17 江恩轮中轮(新画法)(飞狐)
- 2023-10-17 新版KDJ飞升马(飞狐)
- 2023-10-17 七剑下天山(飞狐)
- 2023-10-17 OSC (艾略特震荡器)(飞狐)
- 2023-10-17 买入安全区远离危险区(飞狐)
- 2023-10-17 熊市好用的选股(飞狐)