把这个能量公式改成飞狐的
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));HSL:=IF(C!=O,QJJ*(C-O),0)/100;攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(EMA(EMA(攻击,3),3),3);0,POINTDOT,COLORWHITE;B1:SUM(LLJX,1),COLORCYAN;B2:SUM(LLJX,2),COLORCYAN;B3:SUM(LLJX,3),COLORCYAN;B4:SUM(LLJX,4),COLORCYAN;B5:SUM(LLJX,5),COLORCYAN;B6:SUM(LLJX,6),COLORCYAN;B7:SUM(LLJX,7),COLORCYAN;B8:SUM(LLJX,8),COLORCYAN;B9:SUM(LLJX,9),COLORCYAN;B10:SUM(LLJX,10),COLORCYAN;A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED;A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED;T1:(VOL*240/FROMOPEN>=REF(V,1)*1.95)*1200,COLORYELLOW;

解答:

 QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

HSL:=IF(C<>O,QJJ*(C-O),0)/100;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(EMA(EMA(攻击,3),3),3);
0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN;
B2:SUM(LLJX,2),COLORCYAN;
B3:SUM(LLJX,3),COLORCYAN;
B4:SUM(LLJX,4),COLORCYAN;
B5:SUM(LLJX,5),COLORCYAN;
B6:SUM(LLJX,6),COLORCYAN;
B7:SUM(LLJX,7),COLORCYAN;
B8:SUM(LLJX,8),COLORCYAN;
B9:SUM(LLJX,9),COLORCYAN;
B10:SUM(LLJX,10),COLORCYAN;
A1:PARTLINE(B1>REF(B1,1),B1),COLORRED;
A2:PARTLINE(B2>REF(B2,1),B2),COLORRED;
A3:PARTLINE(B3>REF(B3,1),B3),COLORRED;
A4:PARTLINE(B4>REF(B4,1),B4),COLORRED;
A5:PARTLINE(B5>REF(B5,1),B5),COLORRED;
A6:PARTLINE(B6>REF(B6,1),B6),COLORRED;
A7:PARTLINE(B7>REF(B7,1),B7),COLORRED;
A8:PARTLINE(B8>REF(B8,1),B8),COLORRED;
A9:PARTLINE(B9>REF(B9,1),B9),COLORRED;
A10:PARTLINE(B10>REF(B10,1),B10),COLORRED;
T1:(VOL*240/OPENMINUTES(CURRENTTIME)>=REF(V,1)*1.95)*1200,COLORYELLOW;

选股票看什么指标最好 >股票指标网