通达信MACD火焰山指标公式
2021/2/21 18:04:12
HJ_01:=REF(LOW,1);
HJ_02:=SMA(ABS(LOW-HJ_01),3,1)/SMA(MAX(LOW-HJ_01,0),3,1)*100;
HJ_03:=EMA(IF(CLOSE*1.3,HJ_02*10,HJ_02/10),3);
HJ_04:=LLV(LOW,30);
HJ_05:=HHV(HJ_03,30);
HJ_06:=IF(MA(CLOSE,58),1,0);
火焰山:=EMA(IF(LOW<=HJ_04,(HJ_03+HJ_05*2)/2,0),3)/618*HJ_06;
吸筹:=IF(火焰山>100,1,火焰山/100);
紫气东来:STICKLINE(吸筹>-150 AND 火焰山>REF(火焰山,1),0,吸筹,4,1),COLORLIBLUE;
紫气东升:STICKLINE(吸筹>-150 AND 火焰山<REF(火焰山,1),0,吸筹,2,1),COLORYELLOW;
DIFF:=EMA(C,12)-EMA(C,26),COLORRED,LINETHICK2;
DEAA:=EMA(DIFF,9),COLORMAGENTA,LINETHICK2;
MACD:(DIFF-DEAA)*2,COLORSTICK;
{STICKLINE(MACD>0,0,MACD,1,0),COLORRED;}
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.5 ,0 ),COLOR0022CC;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0033DD;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2 ,0 ),COLOR0044EE;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0055FF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORRED;
STICKLINE(MACD<0,0,MACD,1,0),COLORFFFF00;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2,0),COLORMAGENTA;
DIF:EMA(C,12)-EMA(C,26),COLORWHITE,LINETHICK1;
DEA:EMA(DIF,9),COLORYELLOW,LINETHICK1;
海底火焰山:火焰山,COLORRED,NODRAW;
看 股吧公式 www. kanguba.com
其它股票公式列表