永发信息网

求助,把这个通达信公式改成东方财富软件能用的,谢谢

答案:2  悬赏:60  手机版
解决时间 2021-02-18 06:59
  • 提问者网友:心如荒岛囚我终老
  • 2021-02-17 19:57
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5), COLORBLUE ;

DRAWICON(CURRBARSCOUNT=M1,H*1.03,34);

DRAWICON(CURRBARSCOUNT=M2,H*1.03,35);

DRAWICON(CURRBARSCOUNT=M3,H*1.03,34);

DRAWICON(CURRBARSCOUNT=M4,H*1.03,35);

DRAWICON(CURRBARSCOUNT=M5,H*1.03,35);
求助,把这个通达信均线扣抵公式改成东方财富软件能用的,谢谢
最佳答案
  • 五星知识达人网友:掌灯师
  • 2021-02-17 21:02
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
MA60:MA(C,60);
MA120:MA(C,120);
MA250:MA(C,250);
DRAWICON(CURRBARSCOUNT=5,low,3);
DRAWICON(CURRBARSCOUNT=10,low,3);
DRAWICON(CURRBARSCOUNT=20,low,3);
DRAWICON(CURRBARSCOUNT=30,low,3);
DRAWICON(CURRBARSCOUNT=60,low,3);
DRAWICON(CURRBARSCOUNT=120,low,3);
DRAWICON(CURRBARSCOUNT=250,low,3);
均线型 主图
全部回答
  • 1楼网友:迷人又混蛋
  • 2021-02-17 22:19
highn:=10; aa:=ref(c,highn)=hhv(c,2*highn+1); qy:=backset(aa,highn+1); cc:=filter(qy,highn) and c=hhv(c,highn+1); ddd:=barslast(cc); gdts:=if(cc,currbarscount,0); dingbu:=if(ddd,ref(c,ddd),c); dingbu1:=ref(dingbu,ddd+1); dingbuts:=if(ddd,ref(gdts,ddd),gdts); gdcs1:=const(dingbuts); dingbuts1:=ref(dingbuts,ddd+10); lown:=10;aa1:=ref(l,lown)=llv(l,2*lown+1); qy1:=backset(aa1,lown+1); cc1:=filter(qy1,lown) and l=llv(l,lown+1); ddts:=if(cc1,currbarscount,0); dd1:=barslast(cc1); ddts1:=if(dd1,ref(ddts,dd1),ddts); ddcs1:=const(ddts1); gdcs2:=const(dingbuts1); dingbu2:=ref(dingbu1,ddd+1); ddts2:=ref(ddts1,dd1+1); ddcs2:=const(ddts2); ma5:ma(close,5),colorwhite; ma10:ma(close,10),coloryellow; ma20:ma(close,20),colormagenta; {短t} zz:=5; ac:=ref(c,zz)=hhv(c,2*zz+1); ad:=backset(ac,zz+1); ae:=filter(ad,zz) and c=hhv(c,zz+1); af:=barslast(ae);ag:=if(ae,currbarscount,0); ah:=if(af,ref(c,af),c); ai:=if(af,ref(ag,af),ag); al:=const(ai); 短t:drawline(currbarscount=al...highn:=10; aa:=ref(c,highn)=hhv(c,2*highn+1); qy:=backset(aa,highn+1); cc:=filter(qy,highn) and c=hhv(c,highn+1); ddd:=barslast(cc); gdts:=if(cc,currbarscount,0); dingbu:=if(ddd,ref(c,ddd),c); dingbu1:=ref(dingbu,ddd+1); dingbuts:=if(ddd,ref(gdts,ddd),gdts); gdcs1:=const(dingbuts); dingbuts1:=ref(dingbuts,ddd+10); lown:=10;aa1:=ref(l,lown)=llv(l,2*lown+1); qy1:=backset(aa1,lown+1); cc1:=filter(qy1,lown) and l=llv(l,lown+1); ddts:=if(cc1,currbarscount,0); dd1:=barslast(cc1); ddts1:=if(dd1,ref(ddts,dd1),ddts); ddcs1:=const(ddts1); gdcs2:=const(dingbuts1); dingbu2:=ref(dingbu1,ddd+1); ddts2:=ref(ddts1,dd1+1); ddcs2:=const(ddts2); ma5:ma(close,5),colorwhite; ma10:ma(close,10),coloryellow; ma20:ma(close,20),colormagenta; {短t} zz:=5; ac:=ref(c,zz)=hhv(c,2*zz+1); ad:=backset(ac,zz+1); ae:=filter(ad,zz) and c=hhv(c,zz+1); af:=barslast(ae);ag:=if(ae,currbarscount,0); ah:=if(af,ref(c,af),c); ai:=if(af,ref(ag,af),ag); al:=const(ai); 短t:drawline(currbarscount=al,c,islastbar,ref(c,al-1),1),dotline,colorcyan; t线:drawline(currbarscount=gdcs1,c,islastbar,ref(c,gdcs1-1),1),dotline,colorwhite; 过t:if(cross(c,t线),t线,drawnull),circledot,coloryellow; drawicon(cross(c,t线),l*0.98,7); drawicon(cross(t线,c),h*1.01,8); drawicon(cross(c,短t),l*0.98,7); drawicon(cross(短t,c),h*1.01,8); ------------------------------------------------- 注意:公式测试成功,但在财富通软件上显示的射线会与通达信不一样(向右下倾斜)。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯