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

同花顺斗破主力副图源码

发布时间:2017/11/15 6:33:35  浏览次数:

本指标不含未来函数,可看图操作,好用

VAR1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR3:=SUM(VAR1,5);
 VAR4:=SUM(VAR2,5);
 VAR5:=IF(VAR3>VAR4,(VAR3-VAR4)/VAR3,IF(VAR3=VAR4,0,(VAR3-VAR4)/VAR4));
 VAR6:=MA(VAR5,5);
 VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VARA:=SUM(VAR8,3);
 VARB:=SUM(VAR9,3);
 VARC:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VARD:=MA(VARC,3);
主力: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)), colorred;
 VARE:=HHV(CLOSE,2);
 VARF:=BARSLAST(VARE<REF(VARE,2));
 VAR10:=IF(VARF>=1,LLV(VARE,VARF),LOW);
 VAR11:=VAR10+VAR10*VARF*0.5/100;
 VAR12:=IF(VAR11<REF(VAR11,1),MA(LOW,3),VAR11);
 VAR13:=VAR10+VAR10*(VARF-1)*1.618/100;
斗破: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);
 VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR16:=SUM(VAR8,3);
 VAR17:=SUM(VAR9,3);
 VAR18:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VAR19:=MA(VARC,3);
买入或持股: STICKLINE(斗破>0,主力,0,2,0), colorred;
 VAR1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR1C:=SUM(VAR8,3);
 VAR1D:=SUM(VAR9,3);
 VAR1E:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VAR1F:=MA(VARC,3);
下跌→抛出: STICKLINE(斗破>0,主力,斗破,2,1), COLORF0F000;
 VAR20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR22:=SUM(VAR8,3);
 VAR23:=SUM(VAR9,3);
 VAR24:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VAR25:=MA(VARC,3);
观望: STICKLINE(斗破=0 AND 主力=0,0,1,4,1), colorblue;
 VAR26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR28:=SUM(VAR8,3);
 VAR29:=SUM(VAR9,3);
 VAR2A:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VAR2B:=MA(VARC,3);
植被: STICKLINE(斗破<主力,主力,斗破,1,0), COLOR00FF00;
 VAR2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR2E:=SUM(VAR8,3);
 VAR2F:=SUM(VAR9,3);
 VAR30:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VAR31:=MA(VARC,3);
 VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
 K: SMA(SMA(VAR32,2,1),2,1),COLOR00FF00 , ;
 D: SMA(SMA(SMA(VAR32,2,1),2,1),3,1), coloryellow;
 J: (3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1)), COLORF00FF0;
 VAR33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
 VAR34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
 VAR35:=SUM(VAR8,3);
 VAR36:=SUM(VAR9,3);
 VAR37:=IF(VARA>VARB,(VARA-VARB)/VARA,IF(VARA=VARB,0,(VARA-VARB)/VARB));
 VAR38:=MA(VARC,3);
 STICKLINE(REF(斗破,1)=0 AND 斗破>0,0,-1,2,0), colorred;
 DRAWTEXT(REF(主力,3)>0 AND REF(主力,2)>0 AND REF(主力,1)>0 AND 主力=0 AND REF(主力,1)>斗破,REF(主力,1),'调整'),coloryellow , ;


同花顺斗破主力副图源码

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

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