公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 同花顺公式 > 正文 → 正文

同花顺黄金趋势公式

发布时间:2015/10/16 6:22:00  浏览次数:

同花顺黄金趋势公式

源码

 N:=5;M:=3;

趋势线:SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1)-(13),LINETHICK2,COLORF0F000;

判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);

强势区:判断>趋势线,COLOR9800FF;

STICKLINE(强势区,30,40,4,2),COLOR9800FF;

弱势区:判断<趋势线,COLORFF9933;

STICKLINE(弱势区,30,40,4,2),COLORFF9933;

STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,趋势线,趋势线+10,9,1),colorred;

STICKLINE(FILTER(判断,5),趋势线+5,趋势线+15,9,1),COLOR00FF00;

DRAWICON(FILTER(趋势线>=REF(趋势线,1)AND 趋势线<0,15),0,1);

VAR2:=1;

VAR3:=REF(HIGH,1)*1.1;

VAR4:=HIGH*1.1;

VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;

VAR6:=REF(LOW,1)*0.9;

VAR7:=LOW*0.9;

VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;

VAR9:=EMA(VAR8,30);

VARA:=EMA(VAR5,30);

VARB:=VARA-2;

VARC:=IF(CLOSE<=VAR9,VARB,VARA);

VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;

出手: STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),50,0,5,0),COLORCC9966;

赢: DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),55,'买入'),colorred;

VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;

卖出线: SMA(SMA(VARE,3,1),3,1),COLORFF6633;

买入线: 3*SMA(VARE,3,1)-2*卖出线,colorred;

DRAWICON(CROSS(90,买入线),90,2);

黄金点: STICKLINE(SMA(VARE,3,1)>卖出线,SMA(VARE,3,1),卖出线,4,0),COLOR1133FF;

-10;N:=5;M:=3;

趋势线:SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1)-(13),LINETHICK2,COLORF0F000;

判断:=(SMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,2,1)-8);

强势区:判断>趋势线,COLOR9800FF;

STICKLINE(强势区,30,40,4,2),COLOR9800FF;

弱势区:判断<趋势线,COLORFF9933;

STICKLINE(弱势区,30,40,4,2),COLORFF9933;

STICKLINE(FILTER(CROSS(判断,趋势线)=1 OR 判断>REF(判断,1),10) AND 判断<25 ,趋势线,趋势线+10,9,1),colorred;

STICKLINE(FILTER(判断,5),趋势线+5,趋势线+15,9,1),COLOR00FF00;

DRAWICON(FILTER(趋势线>=REF(趋势线,1)AND 趋势线<0,15),0,1);

VAR2:=1;

VAR3:=REF(HIGH,1)*1.1;

VAR4:=HIGH*1.1;

VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;

VAR6:=REF(LOW,1)*0.9;

VAR7:=LOW*0.9;

VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;

VAR9:=EMA(VAR8,30);

VARA:=EMA(VAR5,30);

VARB:=VARA-2;

//www.gszb.com

VARC:=IF(CLOSE<=VAR9,VARB,VARA);

VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17;

出手: STICKLINE(VARC-VARB=0 AND VAR2 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),50,0,5,0),COLORCC9966;

赢: DRAWTEXT(FILTER(VARC-VARB=0 AND CROSS((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,MA((EMA(EMA(EMA(CLOSE,N),N),N)-REF(EMA(EMA(EMA(CLOSE,N),N),N),1))/REF(EMA(EMA(EMA(CLOSE,N),N),N),1)*100,M)),4),55,'买入'),colorred;

VARE:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;

卖出线: SMA(SMA(VARE,3,1),3,1),COLORFF6633;

买入线: 3*SMA(VARE,3,1)-2*卖出线,colorred;

DRAWICON(CROSS(90,买入线),90,2);

黄金点: STICKLINE(SMA(VARE,3,1)>卖出线,SMA(VARE,3,1),卖出线,4,0),COLOR1133FF;

-10;
 

 

同花顺黄金趋势公式

资源下载链接   资源大小:7KB
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识