飞狐期神決策期货公式
-
相关简介:飞狐期神決策期货公式 期神決策 {期神決策} draWGBK(1,COLORRGB(0,0,0),COLORRGB(0,0,0),0),colorFF0000; 多:=EMA(CLOSE,3); 空:=EMA(SLOPE(CLOSE,20)*20+CLOSE,42); 支撐價:LLV(LOW,19),LINETHICK2,colorFFFFFF; 壓力價:HHV(HIGH,19),LINETHICK2,colorFF; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10);
-
文章来源:股海网作者:股海网发布时间:2013-02-17浏览次数:
飞狐期神決策期货公式
期神決策
{期神決策}
draWGBK(1,COLORRGB(0,0,0),COLORRGB(0,0,0),0),colorFF0000;
多:=EMA(CLOSE,3);
空:=EMA(SLOPE(CLOSE,20)*20+CLOSE,42);
支撐價:LLV(LOW,19),LINETHICK2,colorFFFFFF;
壓力價:HHV(HIGH,19),LINETHICK2,colorFF;
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA21:=MA(CLOSE,21);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
STICKLINE(多>=空,LOW,HIGH,0,0),colorFF;
STICKLINE(多>=空,CLOSE,OPEN,8,0),colorAA;
STICKLINE(多>=空,CLOSE,OPEN,6,0),colorCC;
STICKLINE(多>=空,CLOSE,OPEN,4,0),colorDD;
STICKLINE(多>=空,CLOSE,OPEN,2,0),colorFF;
STICKLINE(多<空,CLOSE,OPEN,8,0),colorFF5B00;
STICKLINE(多<空,CLOSE,OPEN,6,0),colorFF6C00;
STICKLINE(多<空,CLOSE,OPEN,4,0),colorFF7B00;
STICKLINE(多<空,CLOSE,OPEN,2,0),colorFFBE00;
STICKLINE(多<空,HIGH,LOW,0,0),colorFFCC00;
STICKLINE(CROSS(多,空) OR CROSS(空,多),OPEN,CLOSE,3.5,0),colorFFFF;
BU:=CROSS(多,空);
SE:=CROSS(空,多);
DRAWICON(BU,LOW*0.999,4);
DRAWICON(SE,HIGH*1.001,5);
DRAWTEXT(BU,LOW*0.998,'多'),colorFF;
DRAWTEXT(SE,HIGH*1.002,'空'),colorFF00;
FO:=OPEN;
FH:=HIGH;
FL:=LOW;
FC:=CLOSE;
<%
vo=ffl.vardata("fo")
vh=ffl.vardata("fh")
vl=ffl.vardata("fl")
vc=ffl.vardata("fc")
last=ubound(vc)
vc(0)=(vh(0)+vl(0)+2*vc(0))/4
for i=1 to last
vo(i)=(vo(i-1)+vc(i-1))/2
if vo(i)>vh(i) then vh(i)=vo(i) else vh(i)=vh(i)
if vo(i)<vl(i) then vl(i)=vo(i) else vl(i)=vl(i)
vc(i)=(2*vc(i)+vh(i)+vl(i))/4
next
ffl.vardata("fo")=vo
ffl.vardata("fh")=vh
ffl.vardata("fl")=vl
ffl.vardata("fc")=vc
%>
KK:=IF(FC>=FO AND (FC>=REF(FC,1) OR REF(FC,1)>=REF(FO,1)),1,IF(FC<FO AND (FC<REF(FO,1) OR REF(FC,1)<REF(FO,1)),-1,0));
今日轉折:(FO+FC)/2,SHIFT1,LINETHICK0,colorFFFF;
明日轉折:=IF(KK=1,MIN(FC,FO),IF(KK=-1,MAX(FC,FO),IF(REF(KK,1)=1,MIN(FC,FO),IF(REF(KK,1)=-1,MAX(FC,FO),(FC+FO)/2))));
DRAWNUMBER(ISLASTBAR,今日轉折,今日轉折,2),SHIFT2,colorDDDDDD;
VARA:=REF(CLOSE,1);
VARE:=(SMA(MAX(CLOSE-VARA,0),6,1))/(SMA(ABS(CLOSE-VARA),6,1))*100;
DRAWTEXT(CROSS(85,VARE),HIGH,'☆漲多'),colorFFFF00;
VARF:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:=EMA((VARF-VAR4)/(VAR5-VAR4)*100,6);
VAR7:=EMA(0.667*REF(VAR6,1)+0.333*VAR6,4);
VAR8:=LLV(LOW,120);
VAR9:=HHV(HIGH,120);
VAR10:=VAR9-VAR8;
DRAWTEXT(IF((COUNT(CLOSE<REF(CLOSE,1),8))/8>0.3 AND COUNT(VAR6>VAR7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),LOW,'★跌深'),colorFF00FF;