请高手帮忙编写一个大智慧公式

公式是通达信的,请高手帮忙转编成大智慧能用的公式,积分悬赏,非常感谢。公式如下:
DIFF:EMA(CLOSE,12)-EMA(CLOSE,27);
DEA:EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;
STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR00AAFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00BBFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00CCFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.65,0 ),COLOR00DDFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00EEFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.55,0 ),COLOR00FFFF;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4 ,0 ),COLOR0000AA;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0011BB;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR0022CC;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.65 ,0 ),COLOR0033DD;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0044EE;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.55 ,0 ),COLOR0055FF;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORAA00BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORBB11BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORCC22BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.65,0 ),COLORDD33BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLOREE44BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFF55BB;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORFFAA00;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB11;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORFFCC22;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.65 ,0 ),COLORFFDD33;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFEE44;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFFFF55;
IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;
IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK1;
IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;
IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,-0.18,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,-0.1, 低位金叉),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,-0.18,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA*1.04,13) ;
DRAWTEXT(二次金叉,-0.1, 二次金叉),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.13,6,0),COLOR00FF00;
DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
DRAWTEXT(底背离,0.1, 底背离),COLOR00FF00;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;

DIFF:EMA(CLOSE,12)-EMA(CLOSE,27);DEA:EMA(DIFF,9);MACD:=2*(DIFF-DEA);
STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR00AAFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00BBFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00CCFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.65,0 ),COLOR00DDFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00EEFF;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.55,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4 ,0 ),COLOR0000AA;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0011BB;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR0022CC;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.65 ,0 ),COLOR0033DD;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0044EE;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.55 ,0 ),COLOR0055FF;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORAA00BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORBB11BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORCC22BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.65,0 ),COLORDD33BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLOREE44BB;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFF55BB;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORFFAA00;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB11;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORFFCC22;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.65 ,0 ),COLORFFDD33;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFEE44;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFFFF55;IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;
IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK1;IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;STICKLINE(低位金叉,0,-0.18,6,0),COLORYELLOW;
DRAWTEXT(低位金叉,-0.1,'低位金叉'),COLORYELLOW;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,-0.18,6,0),COLORFF00FF;DRAWICON(二次金叉,DEA*1.04,13) ;
DRAWTEXT(二次金叉,-0.1,'二次金叉'),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,0,0.13,6,0),COLOR00FF00;DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK2;
DRAWTEXT(底背离,0.1,'底背离'),COLOR00FF00;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK2;

(已测试)
温馨提示:内容为网友见解,仅供参考
无其他回答

请高手帮忙把以下通达信的公式改为大智慧的公式
AA3:=(ABS(VOL-REF(VOL,1))\/REF(VOL,1))<=0.05;STICKLINE(AA,0,V,1,0),COLORYELLOW;STICKLINE(AA1,0,V,1,0),COLOR00FF00;STICKLINE(AA2,0,V,1,0),COLORFF00FF;STICKLINE(AA3,0,V,1,0),COLORWHITE;MV1:MA(VOL,5);MV2:MA(VOL,10);MV3:MA(VOL,20);{ 你可以直接粘贴到...

请高手帮我编写一个大智慧公式
成交额:=V*C\/100;{万元} A2:=SUM((IF(((成交额\/8>20) AND (CLOSE>(REF(CLOSE,1))),成交额,0)),0);A3:=SUM((IF(((成交额\/8>20) AND (CLOSE<(REF(CLOSE,1))),成交额,0)),0);A4:=SUM((IF(((成交额\/8<20) AND (CLOSE>(REF(CLOSE,1))),成交额,0)),0);A5:=SUM...

请高手帮忙大智慧公式编写
净成交:SUM(IF(H>L,(C-O)\/(H-L)*V,SGN(C-REF(C,1))*V),0);PARTLINE( SMA(净成交,5,1),SMA(净成交,8,1)>=REF(SMA(净成交,8,1),1),RGB(255,0,0),SMA(净成交,8,1)<REF(SMA(净成交,8,1),1),RGB(0,255,255)),LINETHICK2;{这条线是送的} --- 看来你是老版大...

请高手改为大智慧公式 谢谢
P:=55;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;神:=EMA(财,M1);JJ:=DYNAINFO(11);BTJ11:=(C-JJ)\/JJ<-0.03;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ3:=CROSS(财,神) AND 财<-0.3;庄:= BTJ11 AND BTJ2 AND BTJ3;BTJ811:=FILTER(BTJ11 AND BTJ2 ...

大智慧只能输出一个选股条件,求高手帮忙改一下
HHJsjda,17)+2*REF(HHJsjda,18)+REF(HHJsjda,20))\/210;乖离率:=(C-HHJSJDB)\/HHJSJDB*100;NN:=BARSLAST(乖离率<15 and BETWEEN(zhangfu,9.5,10.5));XG:COUNT(乖离率<15 and BETWEEN(zhangfu,9.5,10.5),10)>=1and OPEN>REF(OPEN,nn)and 乖离率<5;(这样即可。已测试)

大智慧公式加个开盘价
PT:=REF(HIGH,1)-REF(LOW,1);CDP:=(HIGH+LOW+CLOSE)\/3;AH:=CDP+PT;AL:CDP-PT;NH:2*CDP-LOW;NL:=2*CDP-HIGH;DRAWTEXT(O<AL,O*0.99,'低开'),COLORFFFF00;

请高手编写一个大智慧2的公式,条件如下……
x1:=ma(c,120);xg:1.1*x1>=c and c>=0.9*x1;xg为1时就是符合你的条件,为0时不符合。

请大智慧公式高手帮忙给个代码
高:=hhv(c,LAST( m2<ref(m2,1))+2);低:=LLv(c,LAST( m2<ref(m2,1))+2);低天:=SUMBARS(LLv(c,LAST( m2<ref(m2,1))+1)=C , 1);选:(高-低)\/高*100>=10 AND (C-低)\/低*100<5 AND 低天<5 AND 低天>1;--- 看看信号,是不是你说的样子 ...

请高手帮忙将公式改为大智慧
DIF1:=EMA(CLOSE,2)-EMA(CLOSE,3);DEA1:=EMA(DIF1,4);AAA1:=(DIF1-DEA1)*2*60;起爆点:=AAA1-REF(AAA1,1);DRAWICON(CROSS(起爆点,18),LOW,1);

请高手帮忙编一个公式~大智慧的,成功的追加100分
1,相对于昨天收盘价 上涨:(C-REF(C,1))\/REF(C,1)*100>N;{N 是设定数} 下跌:(C-REF(C,1))\/REF(C,1)*100<-N;{N 是设定数} --- 2,相对于5天前收盘价 上涨:(C-REF(C,5))\/REF(C,5)*100>N;{N 是设定数} 下跌:(C-REF(C,5))\/REF(C,5)*100<-N;{N 是设定数} ...

相似回答
大家正在搜