一个副图公式,信号比较多,大柱子出现就是信号。
源码:
RV3:=REF(L,1);
MA58:=MA(C,58);
LV30:=LLV(L,30);
VAR1:=EMA(HHV(H,500),21);
VAR2:=EMA(HHV(H,250),21);
VAR3:=EMA(HHV(H,90),21);
VAR4:=EMA(LLV(L,500),21);
VAR5:=EMA(LLV(L,250),21);
VAR6:=EMA(LLV(L,90),21);
VAR7:=EMA((VAR40.96+VAR50.96+VAR60.96+VAR10.558+VAR20.558+VAR30.558)/6,21);
VAR8:=EMA((VAR41.25+VAR51.23+VAR61.2+VAR10.55+VAR20.55+VAR30.65)/6,21);
VAR9:=EMA((VAR41.3+VAR51.3+VAR61.3+VAR10.68+VAR20.68+VAR30.68)/6,21);
VARA:=EMA((VAR73+VAR82+VAR9)/6*1.738,21);
VARC:=SMA(ABS(L-RV3),3,1)/SMA(MAX(L-RV3,0),3,1)100;
VARD:=EMA(IF(C1.35<=VARA,VARC*10,VARC/10),3);
VARF:=HHV(VARD,30);
VARE:=IF(MA58,1,0);
DRAWTEXT_FIX(C>O,0.01,0.9,0,’SGZBK.TOP’),COLORYELLOW;
资金入场:=EMA(IF(L<=LV30,(VARD+VARF*2)/2,0),3)/618*VARE;
见底:IF(FILTER(资金入场>1,5) AND REF(资金入场,1)<=0.5,1,DRAWNULL),COLORFF00AA,NODRAW;
STICKLINE(见底,0,8,4,0),COLORFF00AA;
STICKLINE(见底,8,5,4,0),COLORRED;
指标仅供参考,不作投资依据。