以下是同花顺火眼金星指标公式源码和使用说明
同花顺火眼金星指标公式源码:
P1:=28;P2:=32;P3:=35;P4:=5;
VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
警戒:=(P1)/(10);
减仓:=(P2)/(10);
卖出:=(P3)/(10);
买入:=(P4)/(10);
动力:=EMA(((CLOSE-VAR1)/(VAR2-VAR1))*(4),4);
追涨:IF(crOSS(动力,警戒),警戒-0.2,警戒),circledot,Linethick7,CoLorF00FF0;
警戒,circledot,Linethick7,CoLor000000;
减磅:IF(CROSS(动力,减仓),减仓-0.2,减仓),circledot,Linethick7,CoLorF0F000;
减仓,circledot,Linethick7,CoLor000000;
出局:IF(CROSS(动力,卖出),卖出-0.2,卖出),circledot,Linethick7,CoLor0000FF;
卖出,circledot,Linethick7,CoLor000000;
买入线:买入,POINTDOT,CoLorFFFf10;
警戒线:警戒,POINTDOT,CoLorFFFFFF;
动力线:动力,Linethick1,CoLor10FF10;
买进:IF(CROSS(动力线,0.5),1.8,0),Stick,CoLor00FFFF;
IF(CROSS(动力线,0.5),1.8,0),circledot,CoLor00FFFF;
IF(CROSS(动力线,0.5),1.5,0),circledot,CoLor00FFFF;
IF(CROSS(动力线,0.5),1.3,0),CoLor00FFFF;
IF(CROSS(动力线,0.5),0,0),circledot,CoLor000000;
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100;
Var3:=SMA(MAX(CLOSE-Var1,0),13,1)/SMA(ABS(CLOSE-Var1),13,1)*100;
Var4:=SMA(MAX(Var1-CLOSE,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100;
Var5:=SMA(MAX(Var1-CLOSE,0),13,1)/SMA(ABS(CLOSE-Var1),13,1)*100;
Var6:=BARSCOUNT(CLOSE);
火眼金星:Var2 25ANDVar3 30ANDVar6 35,COLORSTICK;
0-ABS(Var4 25ANDVar5 30ANDVar6 35),COLORSTICK;
A:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
Q:=A*1.03;
JC1:=crOSS(MA(C,10),MA(C,5))ANDMA(C,10) MA(C,20)ANDMA(C,20) MA(C,30)
ANDMA(C,10) MA(C,60)ANDMA(C,10) MA(C,120)ANDC
XG:Q 20ANDREF(Q,1) 20ANDJC1;
同花顺火眼金星指标公式截图