求将下面通达信公式换成同花顺的公式,并能顺利显示出来。谢谢!!

H1:=MAX(DYNAINFO(3),DYNAINFO(5));L1:=MIN(DYNAINFO(3),DYNAINFO(6));P1:=H1-L1;阻力:L1+P1*... H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;
现价:CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),COLORYELLOW;
DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'买'),COLORRED;{吸}
DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★卖'),COLOR00DD00;{抛};

日时转换:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;
VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));
牵引线:VAR1,COLORYELLOW,LINETHICK3;
强弱线:EMA(VAR1,日时转换),COLORWHITE;
趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,COLORRED;
止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,COLORGREEN;
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;
STICKLINE(冲击量=1,QZS,VAR1,1,0),COLORYELLOW;
DRAWICON(趋势关注=1,EMA(VAR1,60),13);
DRAWTEXT(趋势关注=1,EMA(VAR1,60),'转折'),COLORWHITE;
DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),COLORWHITE;

MA30:=EMA(CLOSE,30);
强弱:=EMA(CLOSE,900);
DRAWICON(CROSS(MA30,强弱),H,9);
展开
 我来答
般若若愚
高粉答主

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

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:L1+P1*7/8,COLOR00DD00;

支撑:L1+P1*0.5/8,COLOR00DD00;

现价:CLOSE,colorwhite,LINETHICK1;

STICKLINE(CROSS(支撑,现价),支撑,阻力,1,0),coloryellow;

DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'买'),colorred;//{吸}

DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★卖'),COLOR00DD00;//{抛};


//日时转换:=IF(PERIOD=5,120,240);

QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2;

VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;

VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;

VAR3:=(VAR1+VAR2)/2;

VAR4:=EMA(VAR3,30);

VAR5:=EMA(VAR3,60);

VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);

DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));

牵引线:VAR1,coloryellow,LINETHICK3;

//强弱线:EMA(VAR1,日时转换),colorwhite;

趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,colorred;

量价关注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,colorwhite;

冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,coloryellow;

//强势区:IF(VAR1>强弱线,1,DRAWNULL),NODRAW,colorred;

//止损区:IF(VAR1<强弱线,1,DRAWNULL),NODRAW,colorgreen;

STICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;

STICKLINE(冲击量=1,QZS,VAR1,1,0),coloryellow;

DRAWICON(趋势关注=1,EMA(VAR1,60),13);

DRAWTEXT(趋势关注=1,EMA(VAR1,60),'转折'),colorwhite;

DRAWTEXT(量价关注=1,EMA(VAR1,60),'L0V'),colorwhite;

MA30:=EMA(CLOSE,30);

强弱:=EMA(CLOSE,900);

DRAWICON(CROSS(MA30,强弱),H,9);

推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

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

类别

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

说明

0/200

提交
取消

辅 助

模 式