macd火焰山 平滑异同平均 通达信副图指标 源码 贴图
网上很多类似的公式基本都加了密,不便于股友编辑引用,现将自己编辑集合的源码公式奉献,具体用法需要自己理解。
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;}{www.9m8.cn 九毛八公式指标网}
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;