有哪位高手能够帮忙将通达信缠论中枢公式改成KT交易师公式,谢谢了! MA1:MA(CLOSE,M1),COLORWHITE; MA2:MA(CLOSE,M2),COLORYELLOW; MA3:MA(CLOSE,M3),COLORMAGENTA; MA4:MA(CLOSE,M4),COLORGREEN; 顶底分型:=1; MACHINETIME1:=IF(MACHINETIME>0,MACHINETIME,TDXDLL5(92,H,L,C)*10000); DRAWTEXT_FIX((MACHINETIME1<=090000or machinetime1="">=150000) AND 板块显示>=1 AND ISLASTBAR,0,0.05,0,STRCAT(DYBLOCK,STRCAT(EXTERNSTR(0,88),STRCAT(IF(FGBLOCK!=DRAW,FGBLOCK,DRAWNULL),DRAWNULL)))),COLORFF00FF; DRAWTEXT_FIX((MACHINETIME1<=090000or machinetime1="">=150000) AND 板块显示>=1 AND ISLASTBAR,0,0.1,0,IF(FGBLOCK!=DRAWNULL,GNBLOCK,DRAWNULL)),COLORFF00FF; DRAWTEXT_FIX((MACHINETIME1>090000AND MACHINETIME1<150000) and="">=1 AND ISLASTBAR,0,0.0,0,STRCAT(DYBLOCK,STRCAT(EXTERNSTR(0,88),STRCAT(IF(FGBLOCK!=DRAWNULL,FGBLOCK,DRAWNULL),DRAWNULL)))),COLORFF00FF; DRAWTEXT_FIX((MACHINETIME1>090000AND MACHINETIME1<150000) and="">=1 AND ISLASTBAR,0,0.05,0,IF(FGBLOCK!=DRAWNULL,GNBLOCK,DRAWNULL)),COLORFF00FF; {股本市值} 总股本:=STRCAT(STRCAT("总股本: ",CON2STR(TOTALCAPITAL/1000000,2)),"亿"); 流通盘:=STRCAT(STRCAT(" 流通盘: ",CON2STR(CAPITAL/1000000,2)),"亿"); 市值:=STRCAT(STRCAT(" 流通市值: ",CON2STR((CAPITAL/1000000)*C,2)),"亿"); {} 每股公积金:=STRCAT(" 每股公积金:",CON2STR(FINANCE(18),2)); 每股未分利润:=STRCAT(" 每股未分利润:",CON2STR(FINANCE(32),2)); 每股净资产:=STRCAT(" 每股净资产:",CON2STR(FINANCE(34),2)); 市盈率:=STRCAT(" 市盈率: ",CON2STR(DYNAINFO(39),2)); 市净率:=STRCAT(" 市净率: ",CON2STR(C/FINANCE(34),2)); 每股收益:=STRCAT(" 每股收益: ",CON2STR(FINANCE(38),2)); 每股现金流:=STRCAT(" 每股现金流: ",CON2STR(FINANCE(25)/FINANCE(1),2)); 利润同比:=STRCAT(" 利润同比: ",CON2STR(FINANCE(43),2)); 收入同比:=STRCAT(" 收入同比: ",CON2STR(FINANCE(44),2)); 显示内容:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),市值),每股公积金),每股未分利润),每股净资产),市盈率),市净率),每股收益),每股现金流),利润同比),收入同比); {满足以上条件在左上角显示内容} VAR1:=TDXDLL5(1,H,L,C); VAR2:=TDXDLL5(2,H,L,笔类型); VAR3:=TDXDLL5(3,H,L,笔类型); VAR4:=TDXDLL5(4,H,L,C); ZSKSLAST:=TDXDLL5(8,H,L,C); ZSJSLAST:=TDXDLL5(7,H,L,C); ZSZD:=TDXDLL5(9,H,L,C); ZSZG:=TDXDLL5(10,H,L,C); ZSZZ:=TDXDLL5(11,H,L,0); BILAST:=TDXDLL5(13,H,L,C); DUANLAST:=TDXDLL5(12,H,L,C); DUANFX:=TDXDLL5(14,H,L,C); BLX:=IF(布林线>0,1,0); MID :MA(CLOSE,布林参数*BLX); UPPER: MA(MID + 2*STD(CLOSE,布林参数),BLX); LOWER: MA(MID - 2*STD(CLOSE,布林参数),BLX); STICKLINE(布林线=2 ,UPPER, MID,10,0),COLOR400080, LINETHICK1; STICKLINE(布林线=2 ,LOWER, MID,10,0),COLOR804000, LINETHICK1; STICKLINE(MOD(笔中枢,10)=3 AND DUANFX=-1 ,ZSZG, ZSZD,0,0),COLOR000044, LINETHICK1; STICKLINE(MOD(笔中枢,10)=3 AND DUANFX=1 ,ZSZG, ZSZD,0,0),COLOR004400, LINETHICK1; STICKLINE(MOD(笔中枢,10)=2 AND DUANFX=-1 ,REF(ZSZG,1), REF(ZSZD,1),10,0),COLOR004000, LINETHICK1; STICKLINE(MOD(笔中枢,10)=2 AND DUANFX=1 ,REF(ZSZG,1), REF(ZSZD,1),10,0),COLOR400080, LINETHICK1; DRAWLINE(画笔>=1 && VAR2=1 ,H,VAR2=-1,L,0),COLORRED; DRAWLINE(画笔>=1 && VAR2=-1,L,VAR2=1,H,0),COLORGREEN; DRAWLINE(笔中枢=2 && VAR2=1 ,H,VAR2=-1,L,0),COLORYELLOW; DRAWLINE(笔中枢=2 && VAR2=-1,L,VAR2=1,H,0),COLORYELLOW; DRAWLINE(笔中枢=3 && VAR2=1 ,H,VAR2=-1,L,0),COLORYELLOW,DOTLINE; DRAWLINE(笔中枢=3 && VAR2=-1,L,VAR2=1,H,0),COLORYELLOW,DOTLINE; DRAWLINE(画段>=1 && VAR3=1 ,H,VAR3=-1,L,0),COLORBLUE,LINETHICK2; DRAWLINE(画段>=1 && VAR3=-1,L,VAR3=1,H,0),COLORMAGENTA,LINETHICK2; DRAWLINE(画段=2 && VAR3=1 ,H,VAR3=-100,L,0),COLORBLUE,LINETHICK2; DRAWLINE(画段=2 && VAR3=-1,L,VAR3=100,H,0),COLORMAGENTA,LINETHICK2; DRAWLINE(画笔=2 && VAR2=1 ,H,VAR2=-10,L,0),COLOR0080FF,DOTLINE; DRAWLINE(画笔=2 && VAR2=-1,L,VAR2=10,H,0),COLOR0080FF,DOTLINE; TT:=(MA(HIGH,15)-MA(LOW,15))/200*周期位置; S3:=TDXDLL5(19,H,L,C); 买点概率:=IF(S3>15,S3,0); S4:=TDXDLL5(93,H,L,C); 卖点概率:=IF(S4>15,S4,0); DRAWNUMBER(H-REF(L,BILAST)>0AND MOD(笔参数,10)=1&& CURRBARSCOUNT=1,H+TT,BARSLAST(VAR2=-1)),COLORYELLOW; DRAWNUMBER(L-REF(H,BILAST)<0and 1="" 3="" currbarscount="1,L-TT,BARSLAST(VAR2=1)),COLORGREEN;" or="" zskslast="1" and="" duanfx="-1," zsjslast="1">=1 && ZSKSLAST=1, ZSZZ, ZSJSLAST=1, ZSZZ, 0), COLORYELLOW;} VAR19:=TDXDLL5(22,H,L,C); VAR22:=TDXDLL5(22,H,L,1); VAR23:=TDXDLL5(23,H,L,1); VAR24:=TDXDLL5(24,H,L,1); VAR25:=TDXDLL5(25,H,L,1); ZSLXZSJSLAST:=TDXDLL5(26,H,L,1); ZSLXZSKSLAST:=TDXDLL5(27,H,L,1); ZSLXZSZD:=TDXDLL5(28,H,L,1); ZSLXZSZG:=TDXDLL5(29,H,L,1); VAR30:=TDXDLL5(30,H,L,1); DRAWLINE((PERIOD==0 OR 段中枢=1) && VAR22=1 ,H,VAR22=-1,L,0),COLORFF00FF,LINETHICK2; DRAWLINE((PERIOD==0 OR 段中枢=1) && VAR22=-1,L,VAR22=1,H,0),COLORFF00FF,LINETHICK2; DRAWLINE((PERIOD==0 OR 段中枢=1) && ZSLXZSKSLAST=1, ZSLXZSZG, ZSLXZSJSLAST=1, ZSLXZSZG, 0), COLORMAGENTA, LINETHICK2; DRAWLINE((PERIOD==0 OR 段中枢=1) && ZSLXZSKSLAST=1, ZSLXZSZD, ZSLXZSJSLAST=1, ZSLXZSZD, 0), COLORMAGENTA, LINETHICK2; STICKLINE((PERIOD==0 OR 段中枢=1) && ZSLXZSKSLAST=1, ZSLXZSZG, ZSLXZSZD, 0.2, 0), COLORMAGENTA, LINETHICK2; STICKLINE((PERIOD==0 OR 段中枢=1) && ZSLXZSJSLAST=1, ZSLXZSZG, ZSLXZSZD, 0.2, 0), COLORMAGENTA, LINETHICK2; DRAWKLINE(H,O,L,C); {阳线上下影} STICKLINE(MOD(笔中枢,10)=2 AND CLOSE>=OPEN,CLOSE,HIGH,0,0), COLORRED; STICKLINE(MOD(笔中枢,10)=2 AND CLOSE>=OPEN,OPEN,LOW,0,0), COLORRED; {阴线上下影} STICKLINE(MOD(笔中枢,10)=2 AND CLOSE<OPEN,OPEN,HIGH,0,0), COLOR00EC00; STICKLINE(MOD(笔中枢,10)=2 AND CLOSE
DRAWRECTREL(0,965,130,999,RGB(0,0,1)),NOFRAME;