首先恭喜雷没来呀同学的火炎出击获得精华贴加赏,可惜公式源码里一大堆无用的代码,还木子什么把人搞的一塌糊涂,云里雾也
我在这对此公式作出终极优化,并保证效果是一致的,以示本人公式的功力(免得某些小丑不懂装懂还老说别人的不是),欢迎大家对比参详
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
晶红买入:=(REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1);
火炎0:=(晶红买入 AND (CLOSE > EMA(CLOSE,7)));
火炎1:=EMA(CLOSE,2)-EMA(CLOSE,55);
火炎2:=EMA(火炎1,13);
火炎3:=2*(火炎1-火炎2);
火炎4:=POW(火炎3,3)*0.1+POW(火炎3,1);
火炎6:=CROSS(火炎4,0);
火炎7:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
火炎8:=IF((CLOSE > OPEN),(火炎7 * (HIGH - LOW)),IF((CLOSE < OPEN),(火炎7 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
火炎9:=IF((CLOSE > OPEN),(0 - (火炎7 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (火炎7 * (HIGH - LOW))),(0 - (VOL / 2))));
火炎10:=(((火炎8 + (火炎9 * 2)) * 3000) / FINANCE(7));
火炎11:=(火炎6 AND (火炎10 > 0.5));
火炎出击:=(火炎0 AND 火炎11);
火炎出击晶红柱:STICKLINE(火炎出击,0,1,2.7,0),COLORFF00FF;