联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

公平交易策略模型

2016/11/25 20:07:42点击:

 k:=DATE;

IF (k>=20171201)
RETURN 0;
Var5:=LLV(LOW,75);
Var6:=HHV(HIGH,75);
Var7:=(Var6-Var5)/100;
Var8:=SMA((CLOSE-Var5)/Var7,23,1);
VAR9:=3*Var8-2*SMA(Var8,13,1);
波动圆周率:-(100-VAR9)+100,COLORFF9D00;
//color0099ff
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,9,0),colorred;
STICKLINE(VARd-VARe<0,VARd,VARe,9,0),colorligreen;
投资者信心红绿柱:VARd-VARe,nodraw,colorblue;
VReady:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
direction:=EMA(VReady,3);
V12:=(direction-REF(direction,1))/REF(direction,1)*100;
STICKLINE(V12<=-20,-2,2,8,0),ColorFF00FF;
sell_v:=2*(EMA((C*2+H+L)/4*10,13)-EMA((C*2+H+L)/4*10,34)-EMA(EMA((C*2+H+L)/4*10,13)-EMA((C*2+H+L)/4*10,34),5))*5.5;
sell_p:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
STICKLINE(EMA(sell_p,1)>90,100,95,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;
//www.88gs.com
牛熊分界:45,POINTDOT,linethick1,colorgray;
价值区:15,colorgray,DOTLINE;
风险区:70,colorgray,DOTLINE;
膨胀区:90,colorgray,DOTLINE;
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;
投资信心指数:EMA(VARe,3),colorwhite;
空方:=SMA(VAR1,21,8),colorcyan;
公平交易布局区域:IF(CROSS(VARd,VARe) AND VARd<22,45,0),STICK,colormagenta,linethick2;
DRAWTEXT(公平交易布局区域,0,'公平交易布局区域'),colormagenta;