以下是通达信火云神焰副图指标公式
VAR1A:=EMA(HHV(HIGH,500),21);
VAR2A:=EMA(HHV(HIGH,250),21);
VAR3A:=EMA(HHV(HIGH,90),21);
VAR4A:=EMA(LLV(LOW,500),21);
VAR5A:=EMA(LLV(LOW,250),21);
VAR6A:=EMA(LLV(LOW,90),21);
VAR7A:=EMA((VAR4A*0.96+VAR5A*0.96+VAR6A*0.96+VAR1A*0.558+VAR2A*0.558+VAR3A*0.558)/6,21);
VAR8A:=EMA((VAR4A*1.25+VAR5A*1.23+VAR6A*1.2+VAR1A*0.55+VAR2A*0.55+VAR3A*0.65)/6,21);
VAR9A:=EMA((VAR4A*1.3+VAR5A*1.3+VAR6A*1.3+VAR1A*0.68+VAR2A*0.68+VAR3A*0.68)/6,21);
VARA:=EMA((VAR7A*3+VAR8A*2+VAR9A)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
VAR10:=IF(MA(CLOSE,58),1,0);
神焰:EMA(IF(LOW<=VARE,(VARD+VARF*2)/2,0),3)/618*VAR10,COLORYELLOW;
邪焰:STICKLINE(神焰>0 ,0 ,神焰 ,4 ,1);
㊣:神焰,COLORRED;
STICKLINE(神焰>0,0 ,㊣*1.2,8,0 ),COLOR00EEFF;
STICKLINE(神焰>0,0 ,㊣*0.8,8,0 ),COLOR00BBFF;
STICKLINE(神焰>0,0 ,㊣*0.6,8,0 ),COLOR0099FF;
STICKLINE(神焰>0,0 ,㊣*0.4,8,0 ),COLOR0066FF;
STICKLINE(神焰>0,0 ,㊣*0.2,8,0 ),COLOR0000FF;
评论(0)