请问怎样把大智慧公式指标转换成通达信公式指标?

生命线:MA(CLOSE,3),COLORRED;工作线:EMA(CLOSE,9),COLORGREEN;AA:=REF(H,N)=HHV(H,2*N+1);AAA:=F... 生命线:MA(CLOSE,3),COLORRED;
工作线:EMA(CLOSE,9),COLORGREEN;
AA:=REF(H,N)=HHV(H,2*N+1);
AAA:=FILTER(AA,N);
BB:=BACKSET(AAA,N+1);
CC1:=FILTER(BB,N);
CC:=CC1 OR BARSTATUS=2;
AA2:=REF(L,N)=LLV(L,2*N+1);
AAA2:=FILTER(AA2,N);
BB2:=BACKSET(AAA2,N+1);
CC22:=FILTER(BB2,N);
CC2:=CC22 AND NOT(CC1);
EA:=BACKSET(CC,REF(BARSLAST(CC2),1)+1);
EB:=EA>REF(EA,1);
EE:=BACKSET(EB,2);
FF1:=EE>REF(EE,1);
EE2:=BACKSET(FF1 AND COUNT(CC,REF(BARSLAST(CC2),1)+2)=0,REF(BARSLAST(CC2),1)+2);
FF2:=EE2>REF(EE2,1);
EE3:=BACKSET(FF2 AND COUNT(CC,REF(BARSLAST(CC2),1)+2)=0,REF(BARSLAST(CC2),1)+2);
FF3:=EE3>REF(EE3,1);
JS:=IF(CC,COUNT(CC2,REF(BARSLAST(CC),1)+1),0);
G1:=IF(JS=1 AND CC,BARSLAST(FF1),0);
GA:=IF(CC AND REF(L,BARSLAST(FF1))>=REF(L,BARSLAST(FF2)),BARSLAST(FF2),BARSLAST(FF1));
G2:=IF(JS=2 AND CC,GA,0);
G3:=IF(JS>=3 AND CC,IF(CC AND REF(L,GA)>=REF(L,BARSLAST(FF3)),BARSLAST(FF3),GA),0);
GG:=G1+G2+G3;
JA:=BACKSET(CC,GG);
JB:=JA>REF(JA,1);
JJ:=BACKSET(JB,2);
LD:=JJ>REF(JJ,1);
LD1:=LD OR BARSTATUS=2;
HEA:=BACKSET(LD1,REF(BARSLAST(CC),1)+1);
HEB:=HEA>REF(HEA,1);
HEE:=BACKSET(HEB,2);
HFF1:=HEE>REF(HEE,1);
HEE2:=BACKSET(HFF1 AND COUNT(LD1,REF(BARSLAST(CC),1)+2)=0,REF(BARSLAST(CC),1)+2);
HFF2:=HEE2>REF(HEE2,1);
HEE3:=BACKSET(HFF2 AND COUNT(LD1,REF(BARSLAST(CC),1)+2)=0,REF(BARSLAST(CC),1)+2);
HFF3:=HEE3>REF(HEE3,1);
HJS:=IF(LD1,COUNT(CC1,REF(BARSLAST(LD1),1)+1),0);
HG1:=IF(HJS=1 AND LD1,BARSLAST(HFF1),0);
HGA:=IF(LD1 AND REF(H,BARSLAST(HFF1))<=REF(H,BARSLAST(HFF2)),BARSLAST(HFF2),BARSLAST(HFF1));
HG2:=IF(HJS=2 AND LD1,HGA,0);
HG3:=IF(HJS>=3 AND LD1,IF(LD1 AND REF(H,HGA)<=REF(H,BARSLAST(HFF3)),BARSLAST(HFF3),HGA),0);
HGG:=HG1+HG2+HG3;
HJA:=BACKSET(LD1,HGG);
HJB:=HJA>REF(HJA,1);
HJJ:=BACKSET(HJB,2);
HD:=HJJ>REF(HJJ,1);
X1:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);
X2:=X1>REF(X1,1);
Y1:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);
Y2:=Y1>REF(Y1,1);
Z1:=IF(BARSLAST(X2)<BARSLAST(Y2),X2,Y2);
Z2:=IF(BARSLAST(X2)<BARSLAST(Y2),L,H);
DRAWLINE(Z1,Z2,BARSTATUS=2,C,0),POINTDOT,COLORFF9900;
UU:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
DRAWLINE(XX,L,VV,L,1),COLOR00FFFF;
UU2:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
DRAWLINE(XX2,H,VV2,H,1),COLOR00FFFF;
DRAWICON(HD AND XX2,H*1.01,10),ALIGN1;
DRAWICON(LD AND XX,L*1.01,9),ALIGN1;
高1:REF(H,BARSLAST(VV2)),POINTDOT,COLOR99FF66,LINETHICK3;
高2:REF(H,BARSLAST(XX2)),POINTDOT,COLORFF66FF,LINETHICK3;
低1:REF(L,BARSLAST(VV)),POINTDOT,COLOR99FF66,LINETHICK3;
低2:REF(L,BARSLAST(XX)),POINTDOT,COLORFF66FF,LINETHICK3;
OK:=MA(O,5);
CG:=MA(C,10);
PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);
PDD:=IF(OK<REF(OK,1) AND CG<REF(CG,1),1,0);
PDM:=IF(PDU=0 AND PDU=0,1,0);
Z1:=MA(C,M);
ZX:=REF(Z1,M/2+1);
顶选:CROSS(C,ZX),LINETHICK0;
LIFE:=(MA(C,5)+MA(C,10))/2;
VAR1:=(2*C+H+L)/4;
SNOOK:=MA(VAR1,99)*0.91;
展开
 我来答
般若若愚
高粉答主

2015-11-11 · 说的都是干货,快来关注
知道大有可为答主
回答量:7051
采纳率:60%
帮助的人:3103万
展开全部

N:=10;

生命线:MA(CLOSE,3),COLORRED;

工作线:EMA(CLOSE,9),COLORGREEN;

AA:=REF(H,N)=HHV(H,2*N+1);

AAA:=FILTER(AA,N);

BB:=BACKSET(AAA,N+1);

CC1:=FILTER(BB,N);

CC:=CC1 OR BARSTATUS=2;

AA2:=REF(L,N)=LLV(L,2*N+1);

AAA2:=FILTER(AA2,N);

BB2:=BACKSET(AAA2,N+1);

CC22:=FILTER(BB2,N);

CC2:=CC22 AND NOT(CC1);

EA:=BACKSET(CC,REF(BARSLAST(CC2),1)+1);

EB:=EA>REF(EA,1);

EE:=BACKSET(EB,2);

FF1:=EE>REF(EE,1);

EE2:=BACKSET(FF1 AND COUNT(CC,REF(BARSLAST(CC2),1)+2)=0,REF(BARSLAST(CC2),1)+2);

FF2:=EE2>REF(EE2,1);

EE3:=BACKSET(FF2 AND COUNT(CC,REF(BARSLAST(CC2),1)+2)=0,REF(BARSLAST(CC2),1)+2);

FF3:=EE3>REF(EE3,1);

JS:=IF(CC,COUNT(CC2,REF(BARSLAST(CC),1)+1),0);

G1:=IF(JS=1 AND CC,BARSLAST(FF1),0);

GA:=IF(CC AND REF(L,BARSLAST(FF1))>=REF(L,BARSLAST(FF2)),BARSLAST(FF2),BARSLAST(FF1));

G2:=IF(JS=2 AND CC,GA,0);

G3:=IF(JS>=3 AND CC,IF(CC AND REF(L,GA)>=REF(L,BARSLAST(FF3)),BARSLAST(FF3),GA),0);

GG:=G1+G2+G3;

JA:=BACKSET(CC,GG);

JB:=JA>REF(JA,1);

JJ:=BACKSET(JB,2);

LD:=JJ>REF(JJ,1);

LD1:=LD OR BARSTATUS=2;

HEA:=BACKSET(LD1,REF(BARSLAST(CC),1)+1);

HEB:=HEA>REF(HEA,1);

HEE:=BACKSET(HEB,2);

HFF1:=HEE>REF(HEE,1);

HEE2:=BACKSET(HFF1 AND COUNT(LD1,REF(BARSLAST(CC),1)+2)=0,REF(BARSLAST(CC),1)+2);

HFF2:=HEE2>REF(HEE2,1);

HEE3:=BACKSET(HFF2 AND COUNT(LD1,REF(BARSLAST(CC),1)+2)=0,REF(BARSLAST(CC),1)+2);

HFF3:=HEE3>REF(HEE3,1);

HJS:=IF(LD1,COUNT(CC1,REF(BARSLAST(LD1),1)+1),0);

HG1:=IF(HJS=1 AND LD1,BARSLAST(HFF1),0);

HGA:=IF(LD1 AND REF(H,BARSLAST(HFF1))<=REF(H,BARSLAST(HFF2)),BARSLAST(HFF2),BARSLAST(HFF1));

HG2:=IF(HJS=2 AND LD1,HGA,0);

HG3:=IF(HJS>=3 AND LD1,IF(LD1 AND REF(H,HGA)<=REF(H,BARSLAST(HFF3)),BARSLAST(HFF3),HGA),0);

HGG:=HG1+HG2+HG3;

HJA:=BACKSET(LD1,HGG);

HJB:=HJA>REF(HJA,1);

HJJ:=BACKSET(HJB,2);

HD:=HJJ>REF(HJJ,1);

X1:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);

X2:=X1>REF(X1,1);

Y1:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);

Y2:=Y1>REF(Y1,1);

Z1:=IF(BARSLAST(X2)<BARSLAST(Y2),X2,Y2);

Z2:=IF(BARSLAST(X2)<BARSLAST(Y2),L,H);

DRAWLINE(Z1,Z2,BARSTATUS=2,C,0),POINTDOT,COLORFF9900;

UU:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);

VV:=UU>REF(UU,1);

WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);

XX:=WW>REF(WW,1);

DRAWLINE(XX,L,VV,L,1),COLOR00FFFF;

UU2:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

DRAWLINE(XX2,H,VV2,H,1),COLOR00FFFF;

DRAWICON(HD AND XX2,H*1.01,2);

DRAWICON(LD AND XX,L*1.01,1);

高1:REF(H,BARSLAST(VV2)),POINTDOT,COLOR99FF66,LINETHICK3;

高2:REF(H,BARSLAST(XX2)),POINTDOT,COLORFF66FF,LINETHICK3;

低1:REF(L,BARSLAST(VV)),POINTDOT,COLOR99FF66,LINETHICK3;

低2:REF(L,BARSLAST(XX)),POINTDOT,COLORFF66FF,LINETHICK3;

OK:=MA(O,5);

CG:=MA(C,10);

PDU:=IF(OK>REF(OK,1) AND CG>REF(CG,1),1,0);

PDD:=IF(OK<REF(OK,1) AND CG<REF(CG,1),1,0);

PDM:=IF(PDU=0 AND PDU=0,1,0);

M:=10;

Z1A:=MA(C,M);

ZX:=REF(Z1A,M/2+1);

顶选:CROSS(C,ZX),NODRAW;

LIFE:=(MA(C,5)+MA(C,10))/2;

VAR1:=(2*C+H+L)/4;

SNOOK:=MA(VAR1,99)*0.91;

更多追问追答
追问
感谢。不好意思,感少复制了一句INPUT: N(4,1,100),M(255,1,255);
追答
N:=4;M:=255;
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
深圳市鹏芯集成电路有限公司
2023-06-12 广告
反推原理图是指根据设计或制造要求,通过反向推导出电路或系统的电气连接和信号传输路径的过程。以下是一些常见的反推原理图的绘制软件和工具:1. Adobe Photoshop:这是一款强大的图像处理软件,可以用于创建和编辑各种图像文件,包括原理... 点击进入详情页
本回答由深圳市鹏芯集成电路有限公司提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式