请高手帮忙把大智慧主图指标改成通达信的

Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;A1:(EMA(Var1,14)+EMA(Var1,14)+EMA(Var1,14)+EMA(Var1,1... Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(Var1,14)+EMA(Var1,14)+EMA(Var1,14)+EMA(Var1,14))/4,ColorFF8000;
PARTLINE(A1,A1>=REF(A1,1),RGB(255,0,0),A1<=REF(A1,1),RGB(0,100,250)),LINETHICK1;
A2: EMA(A1,3);
PARTLINE(A2,A2>=REF(A2,1),RGB(255,70,20),A2<=REF(A2,1),RGB(0,100,250)),LINETHICK1;
A3: EMA(A2,4);
PARTLINE(A3,A3>=REF(A3,1),RGB(255,90,40),A3<=REF(A3,1),RGB(0,100,250)),LINETHICK1;
MA1:EMA(CLOSE,4),ColorC0C0C0,linethick1;
PARTLINE(mA1,mA1>=REF(mA1,1),RGB(255,0,0),mA1<=REF(mA1,1),RGB(50,210,20)),LINETHICK1;
MA2:EMA(CLOSE,5),ColorC0C0C0;
PARTLINE(mA2,mA2>=REF(mA2,1),RGB(255,0,0),mA2<=REF(mA2,1),RGB(50,210,20)),LINETHICK1;
MA3:EMA(CLOSE,6),ColorC0C0C0;
PARTLINE(mA3,mA3>=REF(mA3,1),RGB(255,0,0),mA3<=REF(mA3,1),RGB(50,210,20)),LINETHICK1;
A55:EMA(A1,18);
PARTLINE(A55,A55>=REF(A55,1),RGB(255,0,0),A55<=REF(A55,1),RGB(250,20,200)),LINETHICK1;
A56:EMA(A55,3);
PARTLINE(A56,A56>=REF(A56,1),RGB(255,0,0),A56<=REF(A56,1),RGB(250,20,200)),LINETHICK1;
A57:EMA(A55,5);
PARTLINE(A57,A57>=REF(A57,1),RGB(255,0,0),A57<=REF(A57,1),RGB(250,20,200)),LINETHICK1;
请把以上大智慧主图指标改成通达信主图指标,谢谢
展开
 我来答
般若若愚
高粉答主

2011-02-21 · 说的都是干货,快来关注
知道大有可为答主
回答量:7051
采纳率:60%
帮助的人:3209万
展开全部
{通达信测试通过,与大智慧一模一样}
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14)+EMA(VAR1,14))/4,COLORFF8000;
IF(A1>=REF(A1,1),A1,DRAWNULL),COLORRED,LINETHICK1;
IF(A1<=REF(A1,1),A1,DRAWNULL),COLORFF0000,LINETHICK1;
A2: EMA(A1,3);
IF(A2>=REF(A2,1),A2,DRAWNULL),COLOR0044FF,LINETHICK1;
IF(A2<=REF(A2,1),A2,DRAWNULL),COLORFF0000,LINETHICK1;
A3: EMA(A2,4);
IF(A3>=REF(A3,1),A3,DRAWNULL),COLOR0044FF,LINETHICK1;
IF(A3<=REF(A3,1),A3,DRAWNULL),COLORFF0000,LINETHICK1;
MA1:EMA(CLOSE,4),COLORC0C0C0,LINETHICK1;
IF(MA1>=REF(MA1,1),MA1,DRAWNULL),COLOR0000FF,LINETHICK1;
IF(MA1<=REF(MA1,1),MA1,DRAWNULL),COLOR00AA00,LINETHICK1;
MA2:EMA(CLOSE,5),COLORC0C0C0;
IF(MA2>=REF(MA2,1),MA2,DRAWNULL),COLOR0000FF,LINETHICK1;
IF(MA2<=REF(MA2,1),MA2,DRAWNULL),COLOR00AA00,LINETHICK1;
MA3:EMA(CLOSE,6),COLORC0C0C0;
IF(MA3>=REF(MA3,1),MA3,DRAWNULL),COLOR0000FF,LINETHICK1;
IF(MA3<=REF(MA3,1),MA3,DRAWNULL),COLOR00AA00,LINETHICK1;
A55:EMA(A1,18);
IF(A55>=REF(A55,1),A55,DRAWNULL),COLOR0000FF,LINETHICK1;
IF(A55<=REF(A55,1),A55,DRAWNULL),COLORFF00FF,LINETHICK1;
A56:EMA(A55,3);
IF(A56>=REF(A56,1),A56,DRAWNULL),COLOR0000FF,LINETHICK1;
IF(A56<=REF(A56,1),A56,DRAWNULL),COLORFF00FF,LINETHICK1;
A57:EMA(A55,5);
IF(A56>=REF(A57,1),A57,DRAWNULL),COLOR0000FF,LINETHICK1;
IF(A56<=REF(A57,1),A57,DRAWNULL),COLORFF00FF,LINETHICK1;
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式