在同花顺加载指标,测试源代码老是出现缺少请问什么意思,怎么解决?

樊文莉 2019-11-05 21:28:00

推荐回答

第一个指标通达信直接可以用;功能-----公式系统-----公式管理器---新建写指标指标名,然后复制源码粘贴就可以DIFF:EMACLOSE,12-EMACLOSE,26;DEA:EMADIFF,9;MACD=2*DIFF-DEA;Zero:0;gj:=MAXC,O;STICKLINEMACD>0ANDMACD>=REFMACD,1,0,MACD,2,0,color0000ff;STICKLINEMACD>0ANDMACD=REFMACD,1,0,MACD,2,0,colorff00ff;STICKLINEMACDREFdea,1ANDREFdea,1CLOSEANDdiff>REFdiff,A1+1ANDgt;DRAWLINEA1=0,DEA,底背离,REFDEA,A1,0,colorred,LINETHICK2;DRAWLINE底背离,DEA,底背离,REFDEA,A1,0,colorred,LINETHICK2;DRAWTEXT底背离,REFDEA,A1*1.18,''底背离'',COLORFF00FF;H4:=HHVgj,4;gt2:=deaREFdea,2;A2:=BARSLASTREFgt2,1;顶背离:=REFH4,A2+1REFA0,1;A3:=BARSLASTA11;A4:=COUNTDEA>0ANDDIFF>0,A3=0;A5:=CROSSDIFF,DEA;A6:=BARSLASTA5;A7:=REFA6,A6+1+A6;A8:=DIFF+DEA/2;A9:=HIGH+LOW/2;A10:=A5ANDA7REFA8,A7ANDA90;DRAWTEXTA10,DIFF*0.95,''★金叉买入'',coloryellow;第二个指标修改为通达信的了TOTAL:=IFPERIOD=1,5,IFPERIOD=2,15,IFPERIOD=3,30,IFPERIOD=4,60,IFPERIOD=5,TOTALFZNUM,1;MTIME:=MODFROMOPEN,TOTAL;CTIME:=IFMTIME1,VOL*TOTAL/CTIME,DRAWNULL,NODRAW;STICKLINECURRBARSCOUNT=1ANDDYNAINFO8>1,VVOL,0,-1,-1,COLOR00C0C0;VOLUME:VOL,VOLSTICK;倍量:=VOL>=REFV,1*1.8ANDC>REFC,1;低量:=VOLREFV,1,3=3ANDCOUNTC>O,3=3;缩量涨:=COUNTC>REFC,1,2=2ANDCOUNTV=O,0,V,2,0,COLOR0000AA;STICKLINEC
齐晓宁2019-11-05 22:19:35

提示您:回答为网友贡献,仅供参考。

其他回答

  • 0,COLOR666666;DIF1:=EMAC,6-EMAC,13;DEA1:=EMADIF1,6,colorwhite;MACD1:=DIF1-DEA1*2;MAMACD1:=MAMACD1,2;DIF2:=EMAC,12-EMAC,26;DEA2:=EMADIF2,9,colorwhite;MACD2:=DIF2-DEA2*2;MAMACD2:=MAMACD2,2;DIF3:=EMAC,20-EMAC,60;DEA3:=EMADIF3,10,colorwhite;MACD3:=DIF3-DEA3*2;MAMACD3:=MAMACD3,2;DIF4:=EMAC,60-EMAC,120;DEA4:=EMADIF4,10,colorwhite;MACD4:=DIF4-DEA4*2;MAMACD4:=MAMACD4,2;DIF5:=EMAC,120-EMAC,250;DEA5:=EMADIF5,10,colorwhite;MACD5:=DIF5-DEA5*2;MAMACD5:=MAMACD5,2;DIF6:=EMAC,250-EMAC,500;DEA6:=EMADIF6,10,colorwhite;MACD6:=DIF6-DEA6*2;MAMACD6:=MAMACD6,2;A1:=DIF1>=REFDIF1,1;A2:=DIF2>=REFDIF2,1;A3:=DIF3>=REFDIF3,1;A4:=DIF4>=REFDIF4,1;A5:=DIF5>=REFDIF5,1;A6:=DIF6>=REFDIF6,1;B1:=DIF10ANDDIF6REFDIF6,1;//{牛市初期}A9:=DIF60ANDDIF6>REFDIF6,1;//{牛市成长期}A11:=DIF4<=REFDIF4,1;A12:=DIF5<=REFDIF5,1;STICKLINEA6,0,1,3,0,colorblue;STICKLINEA5,1,2,3,0,COLORDDDDDD;STICKLINEA4,2,3,3,0,colorred;STICKLINEA4ANDA3ANDA2,3,4,3,0,colormagenta;STICKLINEA4ANDA3ANDA2ANDA1,4,5,3,0,coloryellow;STICKLINEB6,0,1,3,0,COLOR333333;STICKLINEB5,1,2,3,0,COLOR444444;STICKLINEB4,2,3,3,0,COLOR666666;STICKLINEA6ORA5,7.5,8,3,0,COLOR339999;STICKLINEA6ORA5,7.5,8,1,0,COLOR33FFFF;STICKLINEB5ORB6,7.5,8,3,0,COLOR333333;STICKLINEB5ORB6,7.5,8,1,0,COLOR666666;STICKLINEA6ORA5ANDA4ANDA3ANDA2,7.5,8,3,0,COLOR993399;STICKLINEA6ORA5ANDA4ANDA3ANDA2,7.5,8,1,0,COLORFF00FF;STICKLINEB6ORB5ANDA4ANDA3ANDA2ANDA1,7.5,8,3,0,COLOR666600;STICKLINEB6ORB5ANDA4ANDA3ANDA2ANDA1,7.5,8,1,0,COLORFFFF00;测试通过,希望能够帮助你。
    边凌飞2019-11-05 23:02:18
  • 电脑告诉你  缺少分号于是,你听电脑的,加上分号,你试试,你应该将原码发出来,看,你应该是飞狐的公式,同花顺对大括号与飞狐有不同的作用,不要大括号包括他里面的文字-----那是说明文字或者将大括号改为  //   这样的两斜杠注意下图双斜杠的作用长阳真人 466231800回答如上。
    龙家铸2019-11-05 22:05:36
  • 测试了没问题阿,行8:缺少;是第8行缺分号这个标点符号的意思。
    车建侯2019-11-05 22:02:26

相关问答