请高手转换成通达信指标公式

{MACD+TRIXA:85016B:165039P:185034n:15021m:1508}CC:=CLOSE;DIFF:(EMA(CC,A)-EMA(CC,B))*5... {MACD+TRIX A:8 50 16 B:16 50 39 P:18 50 34 n:1 50 21 m:1 50 8}
CC:=CLOSE ;
DIFF:(EMA(CC,A)-EMA(CC,B))*50;
DEA:EMA(DIFF,P);
MACD:2*(DIFF-DEA),ColorStick;
强弱分界:20,colorred,linethick1;
DRAWICON(CROSS(DIFF,DEA),DIFF-6,1);
DRAWICON(CROSS(DEA,DIFF),DIFF+6,2);
lkj:=(C+O+L+H)/4;
TR:=EMA(EMA(EMA(lkj,n),n),n);
TRIX:(TR-REF(TR,1))/REF(TR,1)*5000+20;
TRMA:MA(TRIX,m);
DRAWTEXT(CROSS(TRIX,TRMA),TRIX-7,'★'),color00ff00;
DRAWTEXT(CROSS(TRMA,TRIX),TRIX+7,'★'),coloryellow;
STICKLINE(TRIX >TRMA,TRIX,TRMA,6,0),COLORred;
多头区:0,colorred;
STICKLINE(TRIX <TRMA,TRIX,TRMA,6,0),COLOR00ff00;
空头区:0,color00ff00;
OP:STICKLINE(DIFF >DEA,DIFF,DEA,6,0),COLORyellow;
OL:STICKLINE(DIFF< DEA,DIFF,DEA,6,0),COLORblue;
{绿五星是TRIX的金*买入信号,黄五星是TRIX的死*买入信号,
红娃头是MACD的金*买入信号,绿娃头是MACD的死*卖出信号,}
谢谢xypeng888解答,但是输入公式之后提示:

当前公式 : 强弱分界 (指标画线公式)
错误句 :
DIFF:(EMA(CC,A)-EMA(CC,B))*50
详细信息 : 未知字符串 A
错误起始位置 : 92 ; 长度: 1
展开
 我来答
粗执象m
2010-09-01 · TA获得超过6097个赞
知道大有可为答主
回答量:6098
采纳率:67%
帮助的人:4250万
展开全部

{MACD+TRIX  A:8 50 16 B:16 50 39 P:18 50 34  n:1 50 21 m:1 50 8}

CC:=CLOSE ;

DIFF:(EMA(CC,A)-EMA(CC,B))*50;

DEA:EMA(DIFF,P);

MACD:2*(DIFF-DEA),ColorStick;

强弱分界:20,colorred,linethick1;

DRAWICON(CROSS(DIFF,DEA),DIFF-6,1);

DRAWICON(CROSS(DEA,DIFF),DIFF+6,2);

lkj:=(C+O+L+H)/4;

TR:=EMA(EMA(EMA(lkj,n),n),n);

TRIX:(TR-REF(TR,1))/REF(TR,1)*5000+20;

TRMA:MA(TRIX,m);

DRAWTEXT(CROSS(TRIX,TRMA),TRIX-7,'★'),color00ff00;

DRAWTEXT(CROSS(TRMA,TRIX),TRIX+7,'★'),coloryellow;

STICKLINE(TRIX >TRMA,TRIX,TRMA,6,0),COLORred;

多头区:0,colorred;

STICKLINE(TRIX <TRMA,TRIX,TRMA,6,0),COLOR00ff00;

空头区:0,color00ff00;

OP:STICKLINE(DIFF >DEA,DIFF,DEA,6,0),COLORyellow;

OL:STICKLINE(DIFF< DEA,DIFF,DEA,6,0),COLORblue;

{绿五星是TRIX的金*买入信号,黄五星是TRIX的死*买入信号}

{红娃头是MACD的金*买入信号,绿娃头是MACD的死*卖出信号} 

-------------------------------------------------------

就这样 

---------------------------------------

问题补充:谢谢xypeng888解答,但是输入公式之后提示:

当前公式 : 强弱分界 (指标画线公式)  

错误句 : 

DIFF:(EMA(CC,A)-EMA(CC,B))*50 

详细信息 : 未知字符串 A 

错误起始位置 : 92 ; 长度: 1

-----------------------------------------------

A:8 50 16 B:16 50 39 P:18 50 34  n:1 50 21 m:1 50 8

----------------------------------------------

上面的这些,你得填在参数表里呀,

刘国殇
2010-09-01 · TA获得超过2631个赞
知道大有可为答主
回答量:1001
采纳率:0%
帮助的人:1922万
展开全部
A:=16; B:=39; P:=34; N:=21; M:=8;
CC:=CLOSE ;
DIFF:(EMA(CC,A)-EMA(CC,B))*50;
DEA:EMA(DIFF,P);
MACD:2*(DIFF-DEA),ColorStick;
强弱分界:20,colorred,linethick1;
DRAWICON(CROSS(DIFF,DEA),DIFF-6,1);
DRAWICON(CROSS(DEA,DIFF),DIFF+6,2);
lkj:=(C+O+L+H)/4;
TR:=EMA(EMA(EMA(lkj,n),n),n);
TRIX:(TR-REF(TR,1))/REF(TR,1)*5000+20;
TRMA:MA(TRIX,m);
DRAWTEXT(CROSS(TRIX,TRMA),TRIX-7,'★'),color00ff00;
DRAWTEXT(CROSS(TRMA,TRIX),TRIX+7,'★'),coloryellow;
STICKLINE(TRIX >TRMA,TRIX,TRMA,6,0),COLORred;
多头区:0,colorred;
STICKLINE(TRIX <TRMA,TRIX,TRMA,6,0),COLOR00ff00;
空头区:0,color00ff00;
OP:STICKLINE(DIFF >DEA,DIFF,DEA,6,0),COLORyellow;
OL:STICKLINE(DIFF< DEA,DIFF,DEA,6,0),COLORblue;
{绿五星是TRIX的金*买入信号,黄五星是TRIX的死*买入信号}
{红娃头是MACD的金*买入信号,绿娃头是MACD的死*卖出信号}

----------------------------------------
<这个直接复制进去就行了>
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式