联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search
你的位置:首页 > 公式动态 > 飞狐公式

多空优化

2017/5/8 9:44:55点击:

问:怎么每天都能免费收到这种原创好指标呢?

答:只需加微信:396950280关注朋友圈即可,天天更新!

公式源码:

趋势线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),colorF0F000;

买点准备:IF(趋势线<=10,12,0),LINETHICK2,colorFFFF;
主力持仓:LOW*2,LINETHICK1,color77FF;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
VAR13,color1;
STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),colorFF;
STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),colorFF00;
A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
A4:=HHVBARS(HIGH,50)
A5:=A1 AND A2>0.5 AND A3>0.3 AND A4;
A6:=COUNT(A5,20)=1;
抢反弹:IF(A6 AND A5,23,0),STICK,LINETHICK2,colorFFFF;
DRAWTEXT(抢反弹,35,'抢反弹'),colorBBFF;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:=EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:=EMA(VAR3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
抄底:IF(MB1,40,0),LINETHICK2,colorFFFFFF;
DRAWTEXT(抄底,62,'★'),colorFFFF;
DRAWTEXT(抄底,52,'抄底 '),colorFF00FF;
AA:=(CLOSE*2+HIGH+LOW+OPEN)/5;
A0:=MA(CLOSE,5);
A11:=(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3;
A12:=(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3;
A13:=(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3;
A14:=(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3;
A15:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
A16:=A15/4;
A17:=MAX(MAX(A11,A12),MAX(A13,A14));
A18:=MIN(MIN(A11,A12),MIN(A13,A14));
A19:=MIN(MIN(A11,A12),A13);
A10:=MAX(MAX(A11,A12),A13);
DRAWICON(A16>22.5 AND REF(A0,1)>REF(A0,2) AND A0
VAR31:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
操盘线2:=SMA(VAR31,5,1);
趋势线2:=SMA(操盘线2,3,1);
买入航标:IF(CROSS(操盘线2,趋势线2) AND 趋势线2<25,25,0),LINETHICK2,colorFF00FF;
DRAWTEXT(买入航标>0,30,'买'),PXUP2,colorFFFFFF;
卖出时间:IF(CROSS(趋势线2,操盘线2) AND 操盘线2>70,80,100),colorFF00;
DRAWTEXT(卖出时间<100,80,'卖'),PXUP2,colorFFFF88;
A11:=MA(CLOSE,5);
A12:=MA(CLOSE,10);
A13:=MA(CLOSE,20);
A14:=MA(CLOSE,30);
均线多头排列:IF(A11>A12 AND A12>A13 AND CROSS(A13,A14) AND ISUP,18,0),STICK,LINETHICK2,colorBBFF;
DRAWTEXT(A11>A12 AND A12>A13 AND CROSS(A13,A14) AND ISUP,35,'均线多头'),colorFFFF;