桃子味的加应子
2024-11-29 12:46:11
最佳回答
飞狐的vcdma源码如下: long(34,20,100),short(8,5,40),m(5,2,60) input:long(34,20,100),short(8,5,40),m(5,2,60); diff : tma(ema(vol/100,short) - ema(vol/100,long),0.85,0.15); dea : ema(diff,m); macd : 3*(diff-dea),linethick0,coloryellow; stickline(macd>ref(macd,1) and macd>0,0,macd,5,0),colorred; stickline(macd<=ref(macd,1) and macd>0,0,macd,5,0),colorgray; stickline(macd>ref(macd,1) and macd<0,0,macd,5,0),colormagenta; stickline(macd<=ref(macd,1) and macd<0,0,macd,5,0),color10c110; dd1:=ref(macd,1);dd2:=ref(macd,2); xf:=macd>dd1 and dd1<dd2 and dd1<0; p1:=barslast(ref(xf,1))+2; drawicon(every(macd<0,p1) and dd1>ref(macd,p1) and macd>dd1 and dd1<dd2,macd-3,12); drawicon(every(macd<0,p1) and dd1>ref(macd,p1) and macd>dd1 and dd1<dd2 and c<ref(c,p1),macd-7,11); 20210311