把飞狐公式改成通达信的,并对主力出现红箭头选股

2017-07-22 14:03:00来源:本站整理浏览:154

把飞狐公式改成通达信的,并对主力出现红箭头选股, 谢谢!

{飞狐公式源码}
DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIFF,M);
:=2*(DIFF-DEA);
STICKLINE(>0,0,,8,0),colorFF;
VAR9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
VAR12:=SMA(VAR11,3,1);
主力出现:IF(CROSS(VAR11,VAR12) AND VAR11<40,0.9,0),LINETHICK2,colorFF;
STICKLINE(主力出现,0,0.5,8,0),colorFF;
STICKLINE(主力出现,0.45,0.6,2,0),colorFF;
XS:=MA(CLOSE,33);
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV45:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
RSV225:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
K1:=SMA(RSV9,3,1);
K2:=SMA(RSV45,15,1);
K3:=SMA(RSV225,45,1);
DK3:=(K3-REF(K3,1))*50;
DK2:=(K2-REF(K2,1))*10;
DTA:=REF(K2,1)-REF(K3,1);
DK23:=(K2-DTA-K3)*30;
DK1:=K1-REF(K1,1);
WW:=MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND CLOSE>MA(CLOSE,30);
J1:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,8);
VAR5:=EMA(VAR4,5);
VAR6:=MA(CLOSE,3)*0.589;
VAR7:=REF(CLOSE,2)*0.865;
VAR8:=REF(CLOSE,13)*0.772;
VAR9:=MIN(VAR7,VAR8);
VAR10:=100*VOL/CAPITAL;
VAR11:=MA(CLOSE,13);
VAR12:=-100*(HHV(HIGH,17)-CLOSE)/(HHV(HIGH,17)-LLV(LOW,17));
VAR13:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);
VAR12:=-100*(HHV(HIGH,17)-CLOSE)/(HHV(HIGH,17)-LLV(LOW,17));
VAR12=0 AND DATE<1050630,LINETHICK2,colorFF;
VAR15:=REF(CLOSE,13)*0.772;
VAR16:=MIN(VAR7,VAR8);
VAR17:=100*VOL/CAPITAL;
VAR18:=100*VOL/CAPITAL;
VAR19:=MA(CLOSE,13);
VAR21:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);
VAR20:=-100*(HHV(HIGH,17)-CLOSE)/(HHV(HIGH,17)-LLV(LOW,17));
启动提款机:VAR20=0;
V1:=EMA(CLOSE,S)-EMA(CLOSE,P);
V2:=EMA(V1,M);
V3:=2*(V1-V2);
MA20:=MA(CLOSE,20)>REF(MA(CLOSE,20),1);
V4:=CROSS(V1,V2) AND COUNT(CROSS(V2,V1),20)=1 AND V1>0;
V5:=ALL(MA20,20);
空中加油:V4 AND V5,LINETHICK2,colorFFFF;


 





公式网www.gpxiazai.com解答:


主力出现
VAR9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
VAR12:=SMA(VAR11,3,1);
CROSS(VAR11,VAR12) AND VAR11<40;

副图
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
:=2*(DIFF-DEA);
STICKLINE(>0,0,,2,0),COLORRED;
VAR9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
VAR12:=SMA(VAR11,3,1);
主力出现:IF(CROSS(VAR11,VAR12) AND VAR11<40,0.9,0),LINETHICK2;
STICKLINE(主力出现,0.45,0.6,2,0),COLORMAGENTA;
STICKLINE(主力出现,0.45,0.6,2,0),COLORMAGENTA;
XS:=MA(CLOSE,33);
RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV45:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
RSV225:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100;
K1:=SMA(RSV9,3,1);
K2:=SMA(RSV45,15,1);
K3:=SMA(RSV225,45,1);
DK3:=(K3-REF(K3,1))*50;
DK2:=(K2-REF(K2,1))*10;
DTA:=REF(K2,1)-REF(K3,1);
DK23:=(K2-DTA-K3)*30;
DK1:=K1-REF(K1,1);
WW:=MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND CLOSE>MA(CLOSE,30);
J1:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,8);
VAR5:=EMA(VAR4,5);
VAR6:=MA(CLOSE,3)*0.589;
VAR7:=REF(CLOSE,2)*0.865;
VAR8:=REF(CLOSE,13)*0.772;
VAR09:=MIN(VAR7,VAR8);
VAR16:=MIN(VAR7,VAR8);
VAR17:=100*VOL/CAPITAL;
VAR18:=100*VOL/CAPITAL;
VAR19:=MA(CLOSE,13);
VAR21:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);
VAR20:=-100*(HHV(HIGH,17)-CLOSE)/(HHV(HIGH,17)-LLV(LOW,17));
启动提款机:VAR20=0;
V1:=EMA(CLOSE,12)-EMA(CLOSE,26);
V2:=EMA(V1,9);
V3:=2*(V1-V2);
MA20:=MA(CLOSE,20)>REF(MA(CLOSE,20),1);
V4:=CROSS(V1,V2) AND COUNT(CROSS(V2,V1),20)=1 AND V1>0;
V5:=EVERY(MA20,20);
空中加油:V4 AND V5,LINETHICK2,COLORFFFF00;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式