联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

均线18版本2

2016-7-16 18:24:35点击:

均线18:MA(CLOSE,18);

AA:=CLOSE>=均线18*1.01;
BB:=均线18>=REF(均线18,1);
DRAWICON(AA AND BB,均线18,1);
CC:=COUNT(CLOSE<=均线18*0.99,2)=2;
DD:=均线18<=REF(均线18,1);
DRAWICON(CC AND DD,均线18,2);
FF:=EMA(CLOSE,10);
MA15:=EMA(CLOSE,15);
DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.075),'▼拐点卖'),colorblue;
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.95),'▲拐点买'),colorred;
向上:IF(MA(C,18)>REF(MA(C,18),1),MA(C,18),DRAWNULL),colorred,LINETHICK2;
向下:IF(MA(C,18)<REF(MA(C,18),1),MA(C,18),DRAWNULL),colorgreen,LINETHICK2;
XX:=REF(MA(C,18),1)<REF(MA(C,18),2);
YY:=COUNT(XX,3)>=3;
ZZ:=MA(C,18)>REF(MA(C,18),1);
拐点:=ZZ AND YY;
DRAWTEXT(拐点,L*0.93,'★'),coloryellow;
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
买:ZIG(3,10);
卖:MA(买,2);
DRAWICON(CROSS(买,卖),L-CLOSE/15,"buy");
DRAWICON(CROSS(卖,买),H+CLOSE/15,"sell");
DRAWGBK(CLOSE>均线18),colorgray;
DRAWGBK(CLOSE<均线18),colorblack;