求高手编股价跌破或等于,ene下轨线的选股公式,通达信ene参数10 11 9
N:=11;M2:=9;LOWER:=(1-M2\/100)*MA(CLOSE,N);XG:C<=LOWER AND MACD.DIF>0 AND MACD.DEA>0;(感觉效果不太理想!)
怎么设置通信达月线MACD在0轴之上的选股公式
另外,MACD在0轴之上,不需要更改公式,在选股的条件设置里设置dif>0 and dea>0 and macd>0即可。对于想选取临界点(即刚刚0轴上金叉),需要修改一下公式 DIF:EMA(CLOSE,LONG)-EMA(CLOSE,SHORT);DEA:EMA(DIF,MID);MACD:(DIF-DEA)*2;xg:(CROSS(MACD,0) AND DIF>0 AND DEA>0) OR (REF...
求高手在“通达信”里帮忙编写个选股条件的公式。
RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=(3*K-2*D)<=0; {J值为负} CONDTION_A:=BARSLAST(J)>=1 AND BARSLAST(J)<=10; {J值在10日内出现负值} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);CONDTI...
求MACD在0轴以上的选股公式(通达信用),
{ MACD水面翻红金叉选股} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;{ MACD水面翻红金叉选股} DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;DIF>0 AND DEA>0 AND CROSS(MACD,0);{ MACD水面翻红金叉选股} DIF:=EMA(...
急!请高手帮忙写一个通信达的MACD指标公式。要求见问题补充,谢谢!
WA10:=EMA(((EMA(X01,26)+EMA(X01,27))+EMA(X01,28))\/3),2);WA11:=EMA(((EMA(X01,28)+EMA(X01,29))+EMA(X01,30))\/3),2);WA12:=EMA(((EMA(X01,30)+EMA(X01,31))+EMA(X01,32))\/3),2);BB:=(WA13+WA8+WA9+WA10+WA11+WA12)\/6;~DIF:(BB1-BB)\/BB*1000...
求一个通达信选股公式,只需要MACD在零轴附近的
{M 0 1 0.1} DIF:=ema(CLOSE,12)-ema(CLOSE,26);DEA:=ema(DIF,9);macd:=(DIF-DEA)*2;ABS(macd)<M;随便起个名字就可以了。你要求的,macd在±0.5之间,感觉有点大,默认值设的是0.1.
请高手帮忙写个通达信MACD在零轴之上形成金叉的选股公式,万分感谢...
12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; 距离范围:=RANGE(DEA,-0.2,0.2); {调整值:-0.2,0.2,扩大或缩小范围} XG:CROSS(DIF,DEA) AND 距离范围; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26) DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;XG:CROSS(MACD,...
请高手编写一个通达信的股价创新底,MACD的DIF值不再创新底的选股公式...
这就是macd底背离选股,网上很多这样的。DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);{以下计算交叉点距今的天数} D1:=BARSLAST(CROSS(DEA,DIFF));{本次死叉到今天的天数} D2:=REF(BARSLAST(CROSS(DEA,DIFF)),D1+1);{两次死叉之间的天数};A:LLV(DIFF,D1)>LLV(...
知道通达信这个指标源码,怎样编出这个指标的选股公式?
DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);W底选股:SSS-SSB=2 AND SSS>REF(SSS,1);N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VA...
请高手帮忙编写一个通达信多周期共振选股公式
RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;AA:CROSS(MA(C,5),MA(C,20)) AND CROSS("MACD.DIF","MACD.DEA") AND CROSS(J,K);注:今天只选出5只。