「翔博精选指标」金山钻石底,准无未来函数,有副图和预警
2020-06-18原创 编 辑:翔博软件
特别准,源码分享,无未来函数,有副图和预警指标
{公式名称: 金山钻石底}
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR2:=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);
VAR10:=REF(VAR9,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:=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);
VAR19:=REF(VAR18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR20:=REF(VAR19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR21:=REF(VAR20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR22:=REF(VAR21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR23:=REF(VAR22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR24:=REF(VAR23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR25:=REF(VAR24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR26:=REF(VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18 OR VAR19 OR VAR20 OR VAR21 OR VAR22 OR VAR23 OR VAR24 OR VAR25,1) AND VAR2;
VAR27:=REF(LOW,1);{分析家公式网 www.zbsir.com}
VAR28:=SMA(ABS(LOW-VAR27),3,1)/SMA(MAX(LOW-VAR27,0),3,1)*100;
VAR29:=EMA(IF(CLOSE*1.3,VAR28*10,VAR28/10),3);
VAR30:=LLV(LOW,13);
VAR31:=HHV(VAR29,13);
VAR32:=IF(MA(CLOSE,34),1,0);
VAR33:=EMA(IF(LOW<=VAR30,(VAR29+VAR31*2)/2,0),3)/618*VAR32;
VAR34:=IF(VAR33>100,100,VAR33);
VAR35:=MA(CLOSE,30);
VAR36:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
VAR37:=(EMA(VAR36,3)-50)*2;
VAR38:=VAR37>REF(VAR37,1) AND REF(VAR37,1)<REF(VAR37,2) AND REF(VAR37,1)<(-60);
钻石:VAR38 AND (VAR26 OR REF(VAR26,1)) AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN AND CLOSE/REF(CLOSE,1)<1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE<1.07*VAR35 AND VAR1<(-0.2) AND VAR34>1;