1.ͨ?通达通达???k?ߵױ??빫ʽԴ??
2.求通达信MACD红绿柱背离预警公式,我要的信k线底信底是MACD红绿柱相邻的两个红柱浪或绿柱浪出现底背离的,或者顶背离
3.哪位老师有通达信MACD柱体背离的背离背离写出0在源码指标公式分享一个,真心感谢
4.求通达信选股公式 ,公式月线KDJ底背离
ͨ?源码成品视频w灬源码1688???k?ߵױ??빫ʽԴ??
这就是macd底背离选股,网上很多这样的指标五阴反包指标源码。DIFF := EMA(CLOSE,通达通达) - EMA(CLOSE,);
DEA := EMA(DIFF,9);
{ 以下计算交叉点距今的天数}
D1:=BARSLAST(CROSS(DEA,DIFF));{ 本次死叉到今天的天数}
D2:=REF(BARSLAST(CROSS(DEA,DIFF)),D1+1);{ 两次死叉之间的天数};
A:LLV(DIFF,D1)>LLV(DIFF,D2+D1)
&&LLV(C,D1)
&&CROSS(DIFF,DEA);
{ 条件1:最近一次死叉之后的最小DIFF值大于倒数第二次死叉之后的最小DIFF值
条件2:最近一次死叉之后的最低收盘价低于最近两次死叉之间的最低收盘价
条件3:今天MACD金叉};
求通达信MACD红绿柱背离预警公式,我要的信k线底信底是MACD红绿柱相邻的两个红柱浪或绿柱浪出现底背离的,或者顶背离
DIF:=EMA(CLOSE,背离背离SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
底背离:C<=LLV(C,) AND MACD>LLV(MACD,) AND MACD>=REF(MACD,1);
别忘了把参数加上,SHORT是公式,LONG是源码,MID是指标9
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2,COLORSTICK;
顶背离:C>=LLV(C,) AND MACD<LLV(MACD,) AND MACD<=REF(MACD,1);
哪位老师有通达信MACD柱体背离的指标公式分享一个,真心感谢
DIFF := EMA(CLOSE,通达通达深圳溯源码燕窝的种类) - EMA(CLOSE,);
DEA : =EMA(DIFF,9);
MACD : =2*(DIFF-DEA);
DD:=C=HHV(C,);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
FF:=C=LLV(C,);
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
底背离:(FF AND GG AND DEA> LLV(DEA,))*DEA;
参考资料:
/f?kw=%B9%C9%C6%B1%B9%AB%CA%BD%D7%A8%BC%D2求通达信选股公式 ,月线KDJ底背离
A1:=BARSLAST(REF(CROSS(KDJ.K#MONTH,信k线底信底KDJ.D#MONTH),1));月底背离:REF(CLOSE,A1+1)>C AND KDJ.K#MONTH>REF(KDJ.K#MONTH,A1+1) AND CROSS(KDJ.K#MONTH,KDJ.D#MONTH);