同花顺主图选股公式大全
精选500条同花顺指标公式
精选500条同花顺指标公式•同花顺彩色分时量柱指标公式0次阅读•同花顺波段圣手主图指标公式0次阅读•同花顺黑马出击指标公式0次阅读•同花顺RSI-CCI-KD指标公式0次阅读•同花顺大跌也赚指标公式0次阅读•同花顺顶底先知指标公式0次阅读•同花顺双底指标公式0次阅读•同花顺黑马初现指标公式0次阅读•同花顺顶底雷达指标公式0次阅读•同花顺准确极高指标公式0次阅读•同花顺精准买卖指标公式0次阅读•同花顺精k指标公式0次阅读•同花顺多空持仓指标公式0次阅读•同花顺波段操作指标公式0次阅读•同花顺彩色成交量指标公式0次阅读•同花顺背离王指标公式0次阅读•同花顺量能饱和度指标公式0次阅读•同花顺主力资金净流量指标公式0次阅读•同花顺筹码雷达指标公式0次阅读•同花顺超强ma指标公式0次阅读•同花顺专捕主升浪指标公式0次阅读•同花顺风险pk安全指标公式0次阅读•同花顺猎庄敢死队指标公式0次阅读•同花顺智能抄底指标公式0次阅读•同花顺多空操盘手主图指标公式0次阅读•同花顺放量买入选股指标公式0次阅读•同花顺神奇均线主图指标公式0次阅读•同花顺资金K线指标公式0次阅读•同花顺分级买卖分时指标公式0次阅读•同花顺DMI优化指标公式0次阅读•同花顺主力大户散户指标公式0次阅读•同花顺猎庄主图指标公式0次阅读•同花顺一阳穿四线指标公式0次阅读•同花顺黄线在上持股指标公式0次阅读•同花顺布林宝塔主图指标公式0次阅读•同花顺大资金活动指标公式0次阅读•同花顺主力控盘指标公式0次阅读•同花顺殷保华操盘线公式0次阅读•同花顺波段抄底公式0次阅读•同花顺抓涨停的公式0次阅读•同花顺非常直观判断个股强弱公式0次阅读•同花顺建仓指标公式0次阅读•同花顺价量MACD指标公式0次阅读•同花顺超强分时资金指标公式0次阅读•同花顺变色抄底KDJ指标公式0次阅读•同花顺免费ddx指标公式0次阅读•同花顺动力KDJ指标公式0次阅读•同花顺趋势强度指标公式0次阅读•同花顺MACD+OBV组合指标公式0次阅读•同花顺简易分时K线均线系统0次阅读•同花顺分时MACD指标公式0次阅读•同花顺成交量倍量柱显示0次阅读•同花顺红先锋选股指标公式0次阅读•同花顺和网页版媲美的K线版“A股BBD”(免费帐号)0次阅读•同花顺费氏时间周期指标公式0次阅读•同花顺年费3280元的大单净量指标公式0次阅读•同花顺升势行情指标公式0次阅读•同花顺股神工具指标公式0次阅读•同花顺黑马线指标公式0次阅读•同花顺精准买点指标公式0次阅读•同花顺大单净量K线指标公式0次阅读•同花顺出手必赢指标公式0次阅读•同花顺量能饱和指标指标公式0次阅读•同花顺庄家三步指标公式0次阅读•可以导入的麒麟趋势(同花顺)0次阅读•黄金底指标(同花顺)0次阅读•超级短线成功率100%(同花顺)0次阅读•价值连城(同花顺)0次阅读•精品黑马主图源码(同花顺)0次阅读•大道至简副图(同花顺)0次阅读•97% 准确率的买卖点(同花顺)0次阅读•同花顺精品波段指标公式0次阅读•同花顺豪情砰发主图指标公式0次阅读•同花顺一线定输赢指标公式0次阅读•同花顺一年十二倍指标公式0次阅读•同花顺一年十二倍指标公式2次阅读•同花顺快快逃顶指标公式0次阅读•同花顺买还是卖主图指标公式0次阅读•同花顺枪手指标公式0次阅读•同花顺小刀趋势分时指标公式0次阅读•同花顺小刀K线分时指标公式0次阅读•同花顺五星连珠指标公式0次阅读•同花顺欢畅看盘主图指标公式0次阅读•同花顺与庄共舞指标公式0次阅读•同花顺牛劲十足指标公式0次阅读•同花顺强势买入指标公式0次阅读•同花顺牛市操盘线主图指标公式0次阅读•同花顺生命线取舍主图指标公式0次阅读•同花顺漂亮趋势指标公式0次阅读•同花顺找底望顶指标公式0次阅读•同花顺锁牛股主图指标公式0次阅读•同花顺股市提款机主图指标公式0次阅读•同花顺成交量macd指标公式0次阅读•同花顺分时抓涨停指标公式0次阅读•同花顺短线胜手指标公式0次阅读•同花顺绝世交易指标公式0次阅读•同花顺资金变化指标公式0次阅读•同花顺超前MACD指标公式0次阅读•同花顺金牌逃顶指标公式0次阅读•同花顺庄影难逃指标公式0次阅读•同花顺动力线指标公式0次阅读•同花顺突破信号指标公式0次阅读•同花顺分时布林带指标公式0次阅读•同花顺逃顶买底指标公式0次阅读•同花顺组合成交量指标公式0次阅读•同花顺机构能量线指标公式0次阅读•同花顺生命线下建仓等暴涨主图指标公式0次阅读•同花顺分时主力资金指标公式0次阅读•同花顺130波段之王指标公式0次阅读•同花顺买卖决策指标公式0次阅读•同花顺绝杀指标公式0次阅读•同花顺海洋寻底指标公式0次阅读•同花顺获利纵横指标公式0次阅读•同花顺主力大户中户散户能量线指标公式0次阅读•同花顺绝佳买入指标公式0次阅读•同花顺空仓洗盘买点主图指标公式0次阅读•同花顺神奇线指标公式0次阅读•同花顺牛熊线指标公式0次阅读•同花顺分时买点指标公式0次阅读•同花顺建仓+加仓+逢高卖出波段指标公式0次阅读•同花顺火眼金星指标公式0次阅读•同花顺买卖主图指标公式0次阅读•同花顺天下无敌指标公式0次阅读•同花顺主力机密指标公式0次阅读•同花顺量能饱和指标公式0次阅读•同花顺抄底不败指标公式0次阅读•同花顺笑傲股林指标公式2次阅读•同花顺捕捉暴涨股指标公式0次阅读•同花顺主力吸筹指标公式0次阅读•同花顺包杨通道指标公式0次阅读•同花顺波段炒作指标公式0次阅读•同花顺好用的逃顶指标公式2次阅读•同花顺趋势精品指标公式0次阅读•同花顺庄家秘密指标公式0次阅读•同花顺星空断层指标公式0次阅读•同花顺箱体操作主图指标公式0次阅读•同花顺开合之神和选股指标公式0次阅读•同花顺操盘手BS线主图指标公式0次阅读•同花顺波段起飞指标公式0次阅读•同花顺波段首选主图指标公式0次阅读•同花顺攻击力指标公式0次阅读•同花顺机构入场指标公式0次阅读•同花顺波段买卖指标公式0次阅读•同花顺自动划线主图指标公式0次阅读•同花顺价值连城指标公式0次阅读•同花顺庄家主升浪指标公式0次阅读•同花顺权证专用分时macd指标公式0次阅读•同花顺BIAS三线粘合指标公式0次阅读•同花顺精品成交量指标公式0次阅读•同花顺长短线新战法指标公式0次阅读•同花顺一阳上穿三线主图指标公式0次阅读•同花顺多空预警指标公式0次阅读•同花顺超级MACD指标公式0次阅读•同花顺红金柱指标公式0次阅读•同花顺一号支撑线主图指标公式0次阅读•同花顺中线趋势指标公式0次阅读•同花顺非常准的趋势主图指标公式0次阅读•同花顺KDJ特好做波段指标公式0次阅读•同花顺RSI复合通道指标公式0次阅读•同花顺抓住涨停指标公式0次阅读•同花顺分时资金进出指标公式0次阅读•同花顺抄底专用指标公式0次阅读•同花顺B点买选股指标公式0次阅读•同花顺买卖线指标公式0次阅读•同花顺中线逃吧指标公式0次阅读•同花顺涨跌趋势指标公式0次阅读•同花顺K线二分位主图指标公式0次阅读•同花顺梦想成真指标公式0次阅读•同花顺MACD变色背离+金叉买入指标公式0次阅读•同花顺果断出击端庄窝指标公式0次阅读•同花顺波段密码指标公式0次阅读•同花顺次日必涨指标公式0次阅读•同花顺机构吸筹指标公式0次阅读•同花顺金兔抢钱选股指标公式0次阅读•同花顺兔年支撑主图指标公式0次阅读•同花顺趋势彩带主图指标公式0次阅读•同花顺惯性定律指标公式0次阅读•同花顺中线主图指标公式0次阅读•同花顺主力操盘轨迹指标公式0次阅读•同花顺背离主图指标公式0次阅读•同花顺小兔爱财指标公式0次阅读•同花顺兔子跑龙套选股指标公式0次阅读•同花顺跑赢大盘主图指标公式0次阅读•同花顺秘密买点指标公式0次阅读•同花顺红鸟庄家抄底王指标公式0次阅读•同花顺超级量能指标公式0次阅读•同花顺支撑压力主图指标公式0次阅读•同花顺短线阻击主图指标公式0次阅读•同花顺自用经典MACD指标公式0次阅读•同花顺无敌波段指标公式0次阅读•同花顺主控K线主图指标公式0次阅读•同花顺KDJ自动画出顶底背离指标公式0次阅读•同花顺资金入场监控器指标公式0次阅读•同花顺太极量指标公式0次阅读•同花顺最佳买点指标公式0次阅读•同花顺建仓主图指标公式0次阅读•同花顺主力建仓趋势指标公式0次阅读•同花顺主力雷达指标公式0次阅读•同花顺缠论分笔及中枢主图指标公式0次阅读•同花顺强弱对比指标公式0次阅读•同花顺派发区域指标公式0次阅读•同花顺赢天下指标公式0次阅读•同花顺OSC振荡器指标公式0次阅读•同花顺中继剑指指标公式0次阅读•同花顺黄金底指标公式0次阅读•同花顺资金趋势指标公式0次阅读•同花顺金典卖拐指标公式0次阅读•同花顺多方能量线指标公式0次阅读•同花顺老庄指标公式0次阅读•同花顺超级短赚指标公式0次阅读•同花顺BS看盘线主图指标公式0次阅读•同花顺大户散户看盘指标公式0次阅读•同花顺天天大发指标公式0次阅读•同花顺中短线傻瓜提示买卖指标公式0次阅读•同花顺短线快枪指标公式0次阅读•同花顺操盘频率指标公式0次阅读•同花顺买卖天机指标公式0次阅读•同花顺搏杀生命指标公式0次阅读•同花顺搏杀持股指标公式0次阅读•同花顺分时买卖点指标公式0次阅读•同花顺超短线打劫主图指标公式0次阅读•同花顺关键防线指标公式0次阅读•同花顺地量爆发指标公式0次阅读•同花顺顶低戒备指标公式0次阅读•同花顺跟到顶指标公式0次阅读•同花顺主散筹码指标公式0次阅读•同花顺大道至简主图指标公式0次阅读•同花顺超级短跑王指标公式0次阅读•同花顺波段老手主图指标公式0次阅读•同花顺火山喷发指标公式0次阅读•同花顺睿智主控k线主图指标公式0次阅读•同花顺虚拟成交量指标公式0次阅读•同花顺稳赚不赔指标公式0次阅读•同花顺黑马狂奔指标公式0次阅读•同花顺铁牛股主图指标公式0次阅读•同花顺八年抗战指标公式0次阅读•同花顺超买超卖指标公式0次阅读•同花顺趋势买入卖出指标公式0次阅读•同花顺放空段持股段变盘点指标公式0次阅读•同花顺主力建仓指标公式0次阅读•同花顺全仓止赢指标公式0次阅读•同花顺超级战神指标公式0次阅读•同花顺看盘炒个股指标公式0次阅读•同花顺超级短线王指标公式0次阅读•同花顺强弱比较指标公式0次阅读•同花顺散庄博弈指标公式0次阅读•同花顺淘金图指标公式0次阅读•同花顺黄金智能线主图指标公式0次阅读•同花顺黑马组合主图指标公式0次阅读•同花顺五线趋势指标公式0次阅读•同花顺趋势为先指标公式0次阅读•同花顺感恩波段指标公式0次阅读•同花顺长波启动指标公式0次阅读•同花顺任逍遥指标公式0次阅读•同花顺天下奇兵主图指标公式0次阅读•同花顺三道防线指标公式0次阅读•同花顺红绿灯指标公式0次阅读•同花顺波段王指标公式0次阅读•同花顺福林先知指标公式0次阅读•同花顺成交量操盘指标公式0次阅读•同花顺财运亨通指标公式0次阅读•同花顺风险猛虎主图指标公式0次阅读•同花顺DMI印象指标公式0次阅读•同花顺生命线下建仓等暴涨指标公式0次阅读•同花顺红入灰出指标公式0次阅读•同花顺神奇线主图指标公式0次阅读•同花顺打死也买指标公式0次阅读•同花顺智能辅助线指标公式0次阅读•同花顺主力解密指标公式0次阅读•同花顺∠45上升主图指标公式0次阅读•同花顺快马加鞭指标公式0次阅读•同花顺新编OBV指标公式0次阅读•同花顺顶底警戒指标公式0次阅读•同花顺主力进出指标公式0次阅读•同花顺底部构成指标公式0次阅读•同花顺千载回眸主图指标公式0次阅读•同花顺寻找金叉指标公式0次阅读•同花顺金牌黑马指标公式0次阅读•同花顺机构买点指标公式0次阅读•同花顺黑马出现指标公式0次阅读•同花顺超级短线指标公式0次阅读•同花顺量能布林指标公式0次阅读•同花顺控盘度指标公式0次阅读•同花顺多空博奕指标公式0次阅读•同花顺抄底王指标公式0次阅读•同花顺趋势强弱量度指标公式0次阅读•同花顺自用长短KDJ指标公式0次阅读•同花顺红买绿卖指标公式0次阅读•同花顺绝妙短线指标公式0次阅读•同花顺三线定乾坤主图指标公式0次阅读•同花顺绿色BS跟庄主图指标公式0次阅读•同花顺金龙飞天主图指标公式0次阅读•同花顺短线买点指标公式0次阅读•同花顺主力出入指标公式0次阅读•同花顺主力筹码指标公式0次阅读•同花顺底顶侦探指标公式0次阅读•同花顺主力监控指标公式0次阅读•同花顺找底指标公式0次阅读•同花顺超级波段王指标公式0次阅读•同花顺极品波段指标公式0次阅读•同花顺大资金秘诀指标公式0次阅读•同花顺主力能量线指标公式0次阅读•同花顺游龙戏凤指标公式0次阅读•同花顺捕捞季节指标公式0次阅读•同花顺66金叉指标公式0次阅读•同花顺太极量能指标公式0次阅读•同花顺海豹猎队指标公式0次阅读•同花顺操盘区指标公式0次阅读•同花顺看图淘金指标公式0次阅读•同花顺波段趋势指标公式0次阅读•同花顺超级波段指标公式0次阅读•同花顺子午线指标公式0次阅读•同花顺右侧操作指标公式0次阅读•同花顺六线理想主图指标公式0次阅读•同花顺黑马出动指标公式0次阅读•同花顺买卖雷达指标公式0次阅读•同花顺资金监控器指标公式0次阅读•同花顺主力持仓线指标公式0次阅读•同花顺龙腾四海指标公式0次阅读•同花顺跟庄建仓指标公式0次阅读•同花顺买方能量指标公式0次阅读•同花顺骑牛股超级选股指标公式0次阅读•同花顺波段之王指标公式0次阅读•同花顺三角酷寻庄搜索指标公式0次阅读•同花顺海豹偷鸡队指标公式0次阅读•同花顺资金入场指标公式0次阅读•同花顺趋势多空指标公式0次阅读•同花顺主力力道指标公式0次阅读•同花顺振幅通道指标公式0次阅读•同花顺止赢信号指标公式0次阅读•同花顺追涨选股指标公式0次阅读•同花顺喜登枝选股指标公式0次阅读•同花顺简单选股指标公式0次阅读•同花顺贼兔预警指标公式0次阅读•同花顺葵花宝典指标公式0次阅读•同花顺超级布林主图指标公式0次阅读•同花顺分水岭主图指标公式0次阅读•同花顺掌股专家之二军令如山指标公式0次阅读•同花顺掌股专家之一压力支撑主图指标公式0次阅读•同花顺目前态势指标公式0次阅读•同花顺极品买入指标公式0次阅读•同花顺趋势无敌指标公式0次阅读•同花顺战略趋势指标公式0次阅读•同花顺趋势买卖主图指标公式0次阅读•同花顺S散户原版指标公式0次阅读•同花顺易股铁底指标公式0次阅读•同花顺历史成交量指标公式0次阅读•同花顺股市剑客主图指标公式0次阅读•同花顺魔中之神主图指标公式0次阅读•同花顺奇效多空指标公式0次阅读•同花顺史上最牛MACD指标公式0次阅读•同花顺阶段底部指标公式0次阅读•同花顺多点共振指标公式0次阅读•同花顺稳步盈利10%指标公式0次阅读•同花顺斗天宫福指标公式0次阅读•同花顺枪手瞄准主图指标公式0次阅读•同花顺口水指标公式0次阅读•同花顺虎虎生威指标公式0次阅读•同花顺拉升资金指标公式0次阅读•同花顺航空发动机指标公式0次阅读•同花顺金巧巧选股指标公式0次阅读•同花顺一阳选股指标公式0次阅读•同花顺紫薇送福指标公式0次阅读•同花顺选股王主图指标公式0次阅读•同花顺斗天宫指标公式0次阅读•同花顺天马送福指标公式0次阅读•同花顺金字塔指标公式0次阅读•同花顺紫薇花开指标公式0次阅读•同花顺黄金矿指标公式0次阅读•同花顺洗盘结束选股指标公式0次阅读•同花顺多空线主图指标公式0次阅读•同花顺镇海神针指标公式0次阅读•同花顺涨停擒拿手指标公式0次阅读•同花顺核电站指标公式0次阅读•同花顺成本均线主图指标公式0次阅读•同花顺RSI买卖点指标公式0次阅读•同花顺主力买卖量指标公式0次阅读•同花顺紫风狂想曲主图指标公式0次阅读•同花顺资金净流量指标公式0次阅读•同花顺星空断层Ⅰ主图指标公式0次阅读•同花顺变色带MACD指标公式0次阅读•同花顺长短KDJ指标公式0次阅读•同花顺先胜魔道主图指标公式0次阅读•同花顺你老板指标公式0次阅读•同花顺空仓洗盘主图指标公式0次阅读•同花顺控盘趋势+选股指标公式0次阅读•同花顺底部提示+选股指标公式0次阅读•同花顺控盘趋势指标公式0次阅读•同花顺散户数量日线指标公式0次阅读•同花顺笔均量指标公式0次阅读•同花顺18日量价均线指标公式0次阅读•同花顺外星智慧指标公式0次阅读•同花顺市场动态指标公式0次阅读•同花顺三线开花主图指标公式0次阅读•同花顺次日涨指标公式0次阅读•同花顺主力筹码+散户筹码+锁仓筹码指标公式0次阅读•同花顺红色烛光选股指标公式0次阅读•同花顺航海家海洋追涨指标公式0次阅读•同花顺航海家捕捞季节指标公式0次阅读•同花顺航海家主力追踪指标公式0次阅读•同花顺航海家智能辅助2主图指标公式0次阅读•同花顺航海家智能辅助线1主图指标公式0次阅读•同花顺航海家水手突破指标公式0次阅读•同花顺金叉买入指标公式0次阅读•同花顺建仓洗盘指标公式0次阅读•同花顺多空操盘手指标公式0次阅读•同花顺太阳操盘线主图指标公式0次阅读•同花顺吸筹与冲顶指标公式0次阅读•同花顺短线是银指标公式0次阅读•同花顺春种秋收指标公式0次阅读•同花顺极品逃亡指标公式0次阅读•同花顺拐点买卖指标公式0次阅读•同花顺顶底强弱指标公式0次阅读•同花顺主力游资指标公式0次阅读•同花顺矿中金股指标公式0次阅读•同花顺再品KDJ指标公式0次阅读•同花顺追逐强势股指标公式0次阅读•同花顺大机构股市黄金线指标公式0次阅读•同花顺顶底管家指标公式0次阅读•同花顺买入时机指标公式0次阅读•动力指标---副图源码帖图0次阅读•收银台出现黄柱就是投资的时刻马上就可以收银了0次阅读•快炒双线金叉死叉买卖0次阅读•自用资金自己改编用的0次阅读•大资金表现―(源码、附图)0次阅读•MSD 分享一个好的指标0次阅读•神奇均线主图公式让你成为股市赢家0次阅读•一个极其简单又极其好用的指标0次阅读•持股持币分享自用的指标0次阅读•主力进出线跟踪主力的轨迹0次阅读•强弱红色持股,黄色观望,绿色持币0次阅读•尾盘抄底:一个我不大舍得分享的指标(无未来)0次阅读•神针买卖:有明星潜力的指标0次阅读•中线买入同花顺指标0次阅读•庄家试盘有未来函数的0次阅读•抄底必备炒股必备利器0次阅读•稳健波段:避免操作的杂音0次阅读•请问各位老师能否将同花顺指标改成通达信的?0次阅读•精确买卖点对于卖点更准确0次阅读•准确找顶指标会卖的是老子0次阅读•同花顺“走势分析”指标0次阅读•操盘趋势用过了我才发0次阅读•能量追踪副图源码贴图0次阅读•优化DMI 送给懂它的你0次阅读•稳重出手宝剑赠英雄,指标给知己0次阅读•同花顺公式庄洗筹码0次阅读•主力资金在进仓主力持仓0次阅读•压力主图0次阅读•波段进出副图源码0次阅读•同花顺黄线在上持股副图源码公式0次阅读•同花顺股市天机主图指标公式0次阅读•同花顺双飞乌鸦选股指标公式0次阅读•同花顺宁俊明135战法指标公式0次阅读•同花顺DMI高手指标公式0次阅读•同花顺突破信号提示指标公式0次阅读•同花顺庄家买点指标公式0次阅读•同花顺顶级买卖主图指标公式0次阅读•同花顺觅庄建仓指标公式0次阅读•同花顺当日主力数量+散户数量指标公式0次阅读•同花顺金牌短线指标公式0次阅读•同花顺主力追踪指标公式0次阅读•同花顺泰山MACD指标公式0次阅读•同花顺荷蒲阴阳线指标公式0次阅读•同花顺绝佳顶底指标公式0次阅读•同花顺小马出击指标公式0次阅读•同花顺最佳操作波段指标公式0次阅读•同花顺当日成交额指标公式0次阅读•同花顺最佳操盘手指标公式0次阅读•同花顺喝净庄家血指标公式0次阅读•同花顺股海淘金主图指标公式0次阅读•同花顺短线暴涨主图指标公式0次阅读•同花顺底部指标公式0次阅读•同花顺波段主图指标公式0次阅读•同花顺判断个股强弱指标公式0次阅读•同花顺简洁KDJ指标公式0次阅读•同花顺倍量柱指标公式0次阅读•同花顺大底来临选股指标公式0次阅读•同花顺龙牙波谱仪指标公式0次阅读•同花顺主力筹码+散户筹码+跟风资金进出指标公式0次阅读•同花顺模拟成交量指标公式0次阅读•同花顺股道趋势主图指标公式0次阅读•同花顺多空动力指标公式0次阅读•同花顺波段买卖王指标公式0次阅读•同花顺主力多空指标公式0次阅读•同花顺操盘神手五彩K线主图指标公式0次阅读•同花顺最佳套利主图指标公式0次阅读•同花顺操盘要点指标公式0次阅读•同花顺主力入货指标公式0次阅读•同花顺一枝花天干地支指标公式0次阅读•同花顺短线盈亏指标公式0次阅读•同花顺短中结合指标公式0次阅读•同花顺净吃庄血指标公式0次阅读。
同花顺选股指标公式
同花顺选股指标公式
同花顺是一款专业的股票投资分析软件,提供了丰富的选股指标公式帮助投资
者进行选股。
选股指标公式是根据股票市场的特点和交易规律总结出来的一套数学模型,通过对股票的财务数据、技术图形和市场行情等进行综合分析,帮助投资者筛选出具备较高潜力的股票。
同花顺的选股指标公式有很多,下面我为你介绍几种常用的指标。
1. MACD指标:MACD指标是一种趋势指标,它通过计算两个移动平均线的
差值和其移动平均线的差值的九日加权平均线的差值,判断股票的买卖时机。
MACD指标大于0时,表示股票处于多头市场,适合买入;而小于0时,表示股
票处于空头市场,适合卖出。
2. KDJ指标:KDJ指标是一种超买超卖指标,它通过计算当日收盘价和过去一
段时间内最高价和最低价的关系,判断股票的买卖时机。
KDJ指标的数值范围在0
至100之间,当K值大于D值时,说明股票处于超买状态,适合卖出;而K值小
于D值时,说明股票处于超卖状态,适合买入。
3. 布林带指标:布林带指标是一种波动率指标,它由三条轨道线组成,中轨线
是股票的中期趋势线,上轨线和下轨线则是根据股票的价格波动情况计算得出的。
当股价触及上轨线时,说明股票处于超买状态,适合卖出;而当股价触及下轨线时,说明股票处于超卖状态,适合买入。
以上仅是同花顺选股指标公式中的几个常用指标,投资者在进行选股操作时,
还可以根据自身的风险承受能力、投资目标等因素选择合适的指标配合使用。
同时,投资者需要注意,选股指标公式只是一种工具,不能完全依赖它进行投资决策,还需要结合其他因素,进行全面的分析和判断,以降低投资风险。
同花顺操作指标选股公式同花顺指标——K中行主图
同花顺指标——K中行(主图)标签:同花顺指标主图源码股票杂谈K中行主图源码:指数:INDEXC,NODRAW,Color1A1AFF ;ED1:=(-2*REF(C,2)+REF(C,1)+2*C);ED2:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C);ED3:=(-0.8*REF(C,4)-0.8*REF(C,3)-0.2*REF(C,2)+0.8*REF(C,1)+2*C);JF1:=EMA(EMA(ED1,3,1),3,1);JF2:=EMA(EMA(ED2,4,1),3,1);JF3:=EMA(EMA(ED3,4,1),4,1);M7:EMA(JF1,7,2),ColorFFFFFF;M14:EMA(JF1,14,2),ColorFF26FF;M25:EMA(JF1,25,2),ColorFFFF28;M40:EMA(JF1,40,2),Color00FF00;ED2:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C);JF2:=EMA(EMA(ED2,4,1),3,1);DRAWICON(CROSS(ED2,JF2),L/1.049,8);DRAWICON(CROSS(JF2,ED2),H*1.079,12);CROSS(ED2,JF2);MA3:=MA(C,3);X1:=REF(EMA(C,3),1);X2:=(EMA(C,3)-X1)/X1*100;N1:=BARSLAST(CROSS(X2,0));N2:=BARSLAST(CROSS(0,X2));X3:=CROSS(X2,0) OR CROSS(0,X2);STICKLINE(N1<N2,REF(MA3,N1),REF(MA3,N1),9,3),ColorFF0BFF,LINETHICK2; STICKLINE(N2<N1,REF(MA3,N2),REF(MA3,N2),9,3),ColorFFFFFF,LINETHICK2; VAR1:=(CLOSE+HIGH+LOW)/3;VAR2:=EMA(VAR1,8);VAR3:=REF(VAR2,1);STICKLINE(VAR2>VAR3,VAR2,VAR3,10,0),color00FFFF;STICKLINE(VAR2<VAR3,VAR2,VAR3,10,0),colorFF0000;STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),ColorFFFF1E;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),ColorFFFF1E;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,10,0 ),ColorA2A200;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),ColorBFBF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),ColorDDDD00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),ColorF7F700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),ColorFFFF0B;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),ColorFFFF26;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),ColorFFFF42;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,10,0) ,Color0000A6;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,Color0000C4;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,Color0000E1;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,Color0000F0;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,Color0909FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,Color1717FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,Color3E3EFF;var9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) ORREF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);STICKLINE(var9Q,C,(O+C)/2,10,0),ColorC60063;STICKLINE(var9Q,C,(O+C)/2,8,0),ColorDD006F;STICKLINE(var9Q,C,(O+C)/2,6,0),ColorF20079;STICKLINE(var9Q,C,(O+C)/2,5,0),ColorFF0B85;STICKLINE(var9Q,C,(O+C)/2,3,0),ColorFF1E8E;STICKLINE(var9Q,C,(O+C)/2,2,0),ColorFF2894;STICKLINE(var9Q,C,(O+C)/2,1,0),ColorFF4DA6;varaQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);STICKLINE(varaQ,C,(O+C)/2,10,0),ColorBE00BE;STICKLINE(varaQ,C,(O+C)/2,8,0),ColorDE00DE;STICKLINE(varaQ,C,(O+C)/2,6,0),ColorEC00EC;STICKLINE(varaQ,C,(O+C)/2,5,0),ColorEE00EE;STICKLINE(varaQ,C,(O+C)/2,3,0),ColorFF06FF;STICKLINE(varaQ,C,(O+C)/2,2,0),ColorFF33FF;STICKLINE(varaQ,C,(O+C)/2,1,0),ColorFF55FF;varbQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) ORREF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);STICKLINE(varbQ,C,(O+C)/2,10,0),ColorB6B6B6;STICKLINE(varbQ,C,(O+C)/2,8,0),ColorC5C5C5;STICKLINE(varbQ,C,(O+C)/2,6,0),ColorD5D5D5;STICKLINE(varbQ,C,(O+C)/2,5,0),ColorC6C6C6;STICKLINE(varbQ,C,(O+C)/2,3,0),ColorE7E7E7;STICKLINE(varbQ,C,(O+C)/2,2,0),ColorFFFFFF;STICKLINE(varbQ,C,(O+C)/2,1,0),ColorFFFFFF;varcQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);STICKLINE(varcQ,O,(O+C)/2,10,0),Color00A6A6;STICKLINE(varcQ,O,(O+C)/2,8,0),Color00C4C4;STICKLINE(varcQ,O,(O+C)/2,6,0),Color00DDDD;STICKLINE(varcQ,O,(O+C)/2,5,0),Color00F0F0;STICKLINE(varcQ,O,(O+C)/2,3,0),Color06FFFF;STICKLINE(varcQ,O,(O+C)/2,2,0),Color1EFFFF;STICKLINE(varcQ,O,(O+C)/2,1,0),Color46FFFF;vardQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);STICKLINE(vardQ,O,(O+C)/2,10,0),Color00A200;STICKLINE(vardQ,O,(O+C)/2,8,0),Color00BF00;STICKLINE(vardQ,O,(O+C)/2,6,0),Color00DD00;STICKLINE(vardQ,O,(O+C)/2,5,0),Color00F200;STICKLINE(vardQ,O,(O+C)/2,3,0),Color00FF00;STICKLINE(vardQ,O,(O+C)/2,2,0),Color1EFF1E;STICKLINE(vardQ,O,(O+C)/2,1,0),Color3EFF3E;C3:=REF(C,1);涨停:IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Color2DFFFF;STICKLINE(涨停,OPEN,CLOSE,10,0),Color00CACA;STICKLINE(涨停,OPEN,CLOSE,8,0),Color00E3E3;STICKLINE(涨停,OPEN,CLOSE,6,0),Color02FFFF;STICKLINE(涨停,OPEN,CLOSE,4,0),Color02FFFF;STICKLINE(涨停,OPEN,CLOSE,2,0),Color2DFFFF;跌停:IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0),Color33FF33;STICKLINE(跌停,OPEN,CLOSE,10,0),Color00B700;STICKLINE(跌停,OPEN,CLOSE,8,0),Color00D200;STICKLINE(跌停,OPEN,CLOSE,6,0),Color00EA00;STICKLINE(跌停,OPEN,CLOSE,4,0),Color0FFF0F;STICKLINE(跌停,OPEN,CLOSE,2,0),Color33FF33;x1:=(C+L+H)/3;bb14:=ATAN(EMA(x1,14)-REF(EMA(x1,14),1))*3.1416*10;ema8:=EMA(C,7);DRAWTEXT(FILTER(bb14>1 AND EMA(x1,14)>REF(EMA(x1,7),1),10), ema8,'∠45上升'),colorwhite;。
同花顺常用公式大全
同花顺编写选股公式的小技巧(含公式源码)1,30个交易日内,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的 2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)<0.3;3,两天内,累计下跌等于或超过20%选股.xg:(ref(c,2)-c)/c>0.2;4,股价是25天以来新低.xg:c5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c>ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。
2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。
3. KD指标产生黄金交叉,K线上穿D线。
4. KD交叉同时,KD指标中的D值要小于16。
BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。
xg:v/capital*100>3 and (c/ref(c,1)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10),4)=2;15,选出10天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。
同花顺软件条件选股公式
非实体穿透:5日/10日/30日/60日/120日或5日/10日/30日/60日/250日均线系统T1:=CLOSE>OPEN ANDMA(CLOSE,5)>low AND MA(CLOSE,5)<high ANDMA(CLOSE,10)>low AND MA(CLOSE,10)<high ANDMA(CLOSE,30)>low AND MA(CLOSE,30)<high ANDMA(CLOSE,60)>low AND MA(CLOSE,60)<high ANDMA(CLOSE,120)>low AND MA(CLOSE,120)<high;T2:=CLOSE>OPEN ANDMA(CLOSE,5)>low AND MA(CLOSE,5)<high ANDMA(CLOSE,10)>low AND MA(CLOSE,10)<high ANDMA(CLOSE,30)>low AND MA(CLOSE,30)<high ANDMA(CLOSE,60)>low AND MA(CLOSE,60)<high ANDMA(CLOSE,250)>low AND MA(CLOSE,250)<high;T1 or T2;(2)代码2:实体穿透:5日/10日/30日/60日/120日或5日/10日/30日/60日/250日均线系统把代码1:low改为open high改为close,具体入下:T1:=CLOSE>OPEN ANDMA(CLOSE,5)>open AND MA(CLOSE,5)<close ANDMA(CLOSE,10)>open AND MA(CLOSE,10)<close ANDMA(CLOSE,30)>open AND MA(CLOSE,30)<close ANDMA(CLOSE,60)>open AND MA(CLOSE,60)<close ANDMA(CLOSE,120)>open AND MA(CLOSE,120)<close;T2:=CLOSE>OPEN ANDMA(CLOSE,5)>open AND MA(CLOSE,5)<close ANDMA(CLOSE,10)>open AND MA(CLOSE,10)<close ANDMA(CLOSE,30)>open AND MA(CLOSE,30)<close ANDMA(CLOSE,60)>open AND MA(CLOSE,60)<close ANDMA(CLOSE,250)>open AND MA(CLOSE,250)<close;T1 or T2;一阳穿四线:C>Ref(C,5) and Cross(C,Ma(C,10)) and Cross(C,Ma(C,30)) andCross(C,Ma(C,60)) and Cross(C,Ma(C,120)) ,coloryellow ;一阳穿五线:C>Ref(C,5) and Cross(C,Ma(C,10)) and Cross(C,Ma(C,30)) and Cross(C,Ma(C,60)) and Cross(C,Ma(C,120))andCross(C,Ma(C,250)),colorred;要穿其它均线,修改公式中数字即可。
同花顺指标公式精选
同花顺指标公式精选01散户线散户线:(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100,ColorFFFF00,LINETHICK2; RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;庄家线:EMA(j,6),colorff00ff,LINETHICK2;02百万短线Var1:=(CLOSE*2+HIGH+LOW)/4;SK: EMA(Var1,13)-EMA(Var1,21);SD: EMA(SK,2);多方能量: 2*(SK-SD)*3.8, LINESTICK;空方能量: (-2)*(SK-SD)*3.8, LINESTICK;03趋势:趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA( SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),colorre d,Linethick2;买警: IF(趋势<=20,22,0);卖1: IF(趋势>=95,86,95);卖2: IF(趋势>=88,79,88);卖3: IF(趋势>=81,66,81);卖4: IF(趋势>=74,57,74);底部: 15;买警1: IF(趋势<=20,23,20);买进: IF(CROSS(趋势,底部),15,0);04趋势背离RSV:=(((C - LLV(L,21))/(HHV(H,21) - LLV(L,21)))*100); 趋势:MA(3*(SMA(RSV,6,1)) -2*(SMA(SMA(RSV,5,1),5,1)),2),Linethick2,coloryellow; A:=(O - LLV(L,89))/(HHV(H,89) - LLV(L,89))*100;VAR2:=3*SMA(A,20,1) - 2*SMA(SMA(A,20,1),15,1)- 100;背离:(FORCAST(((-1))*(VAR2),21)),Linethick2,Color9933FF;钱龙:DRAWTEXT((CROSS(背离,趋势)),背离,'●'),Color00FF00; DRAWTEXT((CROSS(趋势,背离)),背离,'●'),colorred;05买卖指示线VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLO SE,1))),25);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);B:=ZIG(3,50/5)*100,COLORWHITE;G:MA(B,2),COLORYELLOW;D:=CROSS(B,G)*1000,COLORRED;W:=CROSS(G,B)*1000,COLORBLUE;E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;MM:=A AND D AND VAR10 AND VAR14 ;DRAWTEXT(W=1000,B*1.05,'卖' ),COLOR00FF00; DRAWTEXT(D=1000,B*1.05,'买'),COLORRED;06买卖线V AR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;安全线: EMA(V AR1,55), CIRCLEDOT;K: SLOPE(EMA(V AR1,2),7)*15+V AR1;D: EMA(K,2);J: 2.8*K-1.8*D;买1: IF(CROSS(K,D) AND K<安全线,9.8,6);买2: IF(CROSS(K,安全线),9.8,6);买3: IF(CROSS(K,D) AND K>安全线,9.8,6);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);买4:IF((V7 AND COUNT(V7,3)=1),3,0),COLORFF00FF; DRAWTEXT(买4,10,'买4'),COLORFF00FF;最佳买入: ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) <REF(ZIG(3,10),2),COLORRED,LINETHICK2;DRAWTEXT(最佳买入=1,1.5,'入!'),COLORRED;止损: ZIG(0.5,10)<REF(ZIG(0.5,10),1) AND REF(ZIG(0.5,10),1)>REF (ZIG(0.5,10),2),COLORGREEN;DRAWTEXT(止损=1,1.5,'出!'),COLORGREEN;V AR3:=PEAKBARS(3,15,1)<10;V AR5:=IF(V AR3=1,2,0);顶:= IF(V AR5=2,2,0);逃命:IF(顶>REF(顶,1),10,0),COLORYELLOW;DRAWTEXT(逃命=10,10,'逃!'),COLORYELLOW;07量能V AR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;逃顶: 80;V AR2:=LLV(LOW,34);V AR3:=HHV(HIGH,34);SK: EMA((V AR1-V AR2)/(V AR3-V AR2)*100,13);SD: EMA(SK,3);{drawicon(sd,80,sd>80),ColorFFFF00;drawicon(sd,20,sd<20),COLOR00AAFF; }吸货: 20;楚河分界: 50;V AR4:=IF(CROSS(SK,SD),40,22);V AR5:=IF(CROSS(SD,SK),60,78);卖出: V AR5;买进: V AR4;08短线CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD: (EMA(CS,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;V AR4:=(1.1)*CLOSE;V AR5:=(0.9)*CLOSE;V AR6:=100*(WINNER(V AR4)-WINNER(V AR5));S1:2*EMA(100-V AR6,1),COLORYELLOW;S2:EMA(S1,9);S3:=MA(S2,9);条件:=CROSS(YJD,极弱) AND S1>S2;条件0:=CROSS(强势,YJD) AND S1<S2;DRA WICON(条件,极弱,5);DRAWICON(条件0,强势,6);09资金P:=5;R:=(AMOUNT / 1000000);R1:=IF(C>REF(C,1),R,IF(C<REF(C,1),(-1)*R,0));R3:=SUM(R1,13);資金監控K:(R3 * OPEN),POINTDOT,colorFFCC00;資金監控S:(R3 * CLOSE),POINTDOT,colorFFCC00;資金平衡位:MA(資金監控S,8),colorred;平衡A:MA(資金平衡位,5),colorwhite;STICKLINE((資金監控S >= REF(資金監控S,1)),REF(資金監控S,1),資金監控S,6,0),color0000FF;STICKLINE((資金監控S < REF(資金監控S,1)),REF(資金監控S,1),資金監控S,6,0),color00FF00;MA(資金監控S,P),color00FFFF;1、出击逃顶V ARa:=(2*CLOSE+HIGH+LOW)/4;V ARb:=LLV(LOW,34);V ARc:=HHV(HIGH,34);V ARd:=EMA((V ARa-V ARb)/(V ARc-V ARb)*100,13);V ARe:=EMA(0.667*REF(V ARd,1)+0.333*V ARd,2);STICKLINE(V ARd-V ARe>0,V ARd,V ARe,8,0),colorred;STICKLINE(V ARd-V ARe<0,V ARd,V ARe,8,0),COLOR00FF0F;生命:EMA(V ARe,5), colorgray;出击:IF(CROSS(V ARd,V ARe) AND V ARd>V ARe AND V ARd<18,20,0), STICK,colorred; DRAWICON(出击>0,5,1);卖出:IF(CROSS(V ARe,V ARd) AND V ARd,60,V ARe,88),POINTDOT,colorwhite; STICKLINE(CROSS(V ARe,V ARd) AND V ARd,60,V ARe,88,2,1),colorblue; DRAWICON(卖出<88,卖出,4);逃顶:90;2、顶底q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;q3:=SMA(q2, 9, 1);q4:=SMA(q3, 3, 1);长趋势:3*q3-2*q4,colorwhite,linethick3;趋势线:EMA(q3, 3),colorred,linethick3;DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '▼逢高派发'), Color00ff00,linethick5;▲逢低买入: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,'▲逢低买入'), Color00Ffff, linethick1;▲低买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'▲低买'),colorblue,linethick1;var3:=PEAKBARS(3,15,1)<10;var5:=IF(var3=1,2,0);顶:= IF(var5=2,2,0);顶a:IF(顶>REF(顶,1),50,0),colorgreen, linethick2;DRAWTEXT(顶a=50,45,'顶部'),color00ff00;3、红柱进仓A1:=EMA(C,12)-EMA(C,25);A2:=EMA(A1,6);主力:(A2>=0)*A2,colorwhite,LINETHICK0;STICKLINE(A2>=0,A2,0,5,0),colorwhite;STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;STICKLINE(A1<0,A1,0,5,0),COLORB00058;STICKLINE(A1>=0,A1,0,5,0),colorred;V AR8:=VOL>2*MA(VOL,30);V AR9:="DMI.ADX"(12,6);V ARA:="DMI.ADXR"(12,6);V ARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;V ARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);V ARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CL OSE,10),MA(CLOSE,5)));V ARF:=TROUGHBARS(3,15,1)<4;V AR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);V AR11:=IF(VARF=1,50,0);机构:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*1 00,3),colorwhite;STICKLINE(FILTER(V ARF=1,5) AND 机构<-10,50,0,15,0),colorred;STICKLINE(FILTER(V ARF=1,5),50,0,8,0),colorred;DRAWTEXT(FILTER(V ARF=1,3),25,'擎天柱'),colorred ;STICKLINE(机构<-10,0,机构,0.85,0),colorgreen;STICKLINE(机构>10,0,机构,0.95,0),coloryellow;4、奇准//N:=5; N1:=21;V AR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryell ow,LINETHICK1;V AR2:=8,colorgreen,LINETHICK0;小试牛刀: IF(CROSS(VAR1,V AR2),8,0),STICK,colorred;DRAWICON(小试牛刀>0,8,4);发现庄迹: IF(VAR1<=8,15,0),STICK,colorcyan,LINETHICK2;V ARO5:=LLV(LOW,27);V ARO6:=HHV(HIGH,34);V ARO7:=EMA((CLOSE-V ARO5)/(V ARO6-V ARO5)*4,4)*25;建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1))-0.5;CD5:=IF(CD4>0.00,CD4,0.00);CD6:=REF(CD5,1);V AR81:=MA(C,9),colorred;空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,colorgreen;减仓空仓:CROSS(CD6,CD5),colorgreen;DRAWICON(减仓空仓>0,113,5);V AR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;V AR2A:=SMA(V AR1A,9,1)+100;V AR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;V AR4A:=SMA(V AR3A,3,1);V AR5A:=SMA(V AR4A,3,1)+100;V AR6A:=V AR5A-V AR2A;端庄窝:=IF(VAR6A>N1,V AR6A-N1,0),COLORLIRED;果断出击:IF(CROSS(端庄窝,0.01),18,0),STICK,COLOR0000CC,LINETHICK2; DRAWICON(果断出击>0,18,4);XG:=CROSS(端庄窝,0.01);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),colorred; STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00; 红持绿空:0,colorgreen;5、卖出DY1:=(2*CLOSE+HIGH+LOW)/4;DY2:=LLV(LOW,34);DY3:=HHV(HIGH,34);BDC:EMA((DY1-DY2)/(DY3-DY2)*100,4),colorred;BDD:EMA((0.667*REF(BDC,1)+0.333*BDC),2),colorff9900;BDE:=EMA((DY1-DY2)/(DY3-DY2)*100,30);BDF:=EMA(BDE,5);DY4:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100; kw:=SMA(DY4,34,1),colorcccc22;dw:=SMA(kw,13,1);中期趋势:kw,coloryellow;DY5:=(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100; km:=SMA(DY5,89,1),color3366dd;dm:=SMA(kw,34,1);买:IF(CROSS(BDC,BDD) AND BDD<21,25,0),color00ff00;长期趋势:km,color00ff00;风险区:80,POINTDOT,colorff00ff;安全区:20,POINTDOT,color00ff00;STICKLINE(BDC>=BDD,BDC,BDD,4,0),colorred;STICKLINE(BDC<BDD,BDD,BDC,4,0),colorffff33;STICKLINE(BDE>=BDF,BDE,BDF,4,0),color555555;STICKLINE(BDE<BDF,BDF,BDE,4,0),colorff00ff;6、操盘手线买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(bu,LOW*0.999,'B'),colorred,linethick3;DRAWTEXT(bu,LOW,'﹉'),Color208FFF,LINETHICK3;DRAWTEXT(sel,HIGH,'﹉'),ColorFFFF00,LINETHICK3;DRAWTEXT(sel,HIGH*1.008,'S'),colorffff00,linethick3;STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred;STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc;STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),coloraaaa00;STICKLINE(买线<卖线,CLOSE,OPEN,4,0),colorbbbb00;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorcccc00;STICKLINE(买线<卖线,CLOSE,OPEN,2,0),coloreeee00;STICKLINE(买线<卖线,LOW,HIGH,1,0),colorffff00;STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff;指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1, ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;DRAWTEXT(CROSS(指导线,界),界,' ̄'),Colorffffff;DRAWTEXT(CROSS(界,指导线),界,' ̄'),Color00ffff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;G:=95;DRAWTEXT(CROSS(J,D),L*0.999,'▲'),Color00ffff,linethick4;DRAWTEXT(CROSS(J,D),L,' ̄'),Color00ffff;DRAWTEXT(CROSS(J,G),H*1.005,'▼'),Colorffff00,linethick4;DRAWTEXT(CROSS(J,G),H,' ̄'),Colorffff00;7、买卖预警Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA (SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(V ar5-MA(Var5,14))/(0.015*A VEDEV(Var5,14));Var7:=(V ar5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20, 1),15,1);VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20, 1),15,1);VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=Var11-CLOSE;Var13:=REF(CLOSE,1);Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;Var16:=BARSCOUNT(CLOSE);Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*1 00;Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1A:=(SMA(Var19,4,1)-50)*2;Var1B:=SMA(Var1A,3,1);Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1D:=SMA(Var1C,4,1);Var1E:=SMA(Var1D,3,1);Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);情报: Var3;天线: IF(VarB<90,VarB,100);红军: IF(Var1>0,Var1,0),colorred, LINESTICK;绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;导弹: Var20;预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60; STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0);//STICKLINE(var3);var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);Var22:=CLOSE;Var23:=红军>50 AND 预警系统>60 AND 天线=100;Var24:=红军>48 AND 预警系统>60 AND 天线<100;Var25:=绿军>38 AND 预警系统<55;Var26:=导弹>50 AND 天线<90;Var27:=REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var28:=REF(Var4,1) AND CLOSE=REF(绿军,1) AND DRAWTEXT(Var21 AND COUNT(Var21,30)=1,100,'上升通道,持股待长或高抛低吸!');DRAWTEXT(V ar22 AND COUNT(Var22,30)=1,90,'下降通道,小心无量阴跌!'); DRAWTEXT(V ar23 AND COUNT(Var23,30)=1,70,'上涨过急,需要调整,短线先抛出!'); DRAWTEXT(V ar24 AND COUNT(Var24,30)=1,80,'庄家出货,大跌在即,中线抛出!'); DRAWTEXT(V ar25 AND COUNT(Var25,30)=1,50,'不必杀跌,应有小反弹,跌停除外!'); DRAWTEXT(V ar26 AND COUNT(Var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外');DRAWTEXT(V ar27 AND COUNT(Var27,30)=1,40,'有大资金进场迹象,关注!'); DRAWTEXT(V ar28 AND COUNT(Var28,30)=1,20,'见顶回落');买入:IF(V AR27 AND COUNT(V AR27,30)=1,100,0),LINETHICK3,colorblue;8、买卖提示V ARb:=LLV(LOW,27);V ARc:=HHV(HIGH,34);V ARd:EMA((CLOSE-V ARb)/(V ARc-V ARb)*4,4)*25,colorred;建仓:IF((VARd<12),25,0),colorgreen;Va:=REF(CLOSE,1);Vb:=((SMA(MAX((CLOSE-Va),0),6,1)/SMA(ABS((CLOSE-Va)),6,1))*100);卖出:IF(CROSS(80,Vb),60,0),colorcyan,linethick2;DRAWTEXT(CROSS(80,Vb),40,'=出'),coloryellow;9、资金流入流出V AR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));买盘:=IF((CLOSE > OPEN),(V AR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(V AR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (V AR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘+ 卖盘);STICKLINE((买卖差< 0),0,买卖差,5,0),COLOR33FF33;0;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);V AR30:=MA(VOL,JY2);神比:=(买盘/ V AR30);鬼比:=(卖盘/ V AR30);V AR2:=(HIGH - LOW);V AR3:=ABS((OPEN - CLOSE));V AR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));V AR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);V AR6:=((V AR3 / V AR2) * VOL);V AR7:=((V AR4 / V AR2) * VOL);V AR8:=((V AR5 / V AR2) * VOL);V AR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));V ARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);V ARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60))); V ARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));V ARD:=REF(CLOSE,1);V ARE:=((SMA(MAX((CLOSE - V ARD),0),6,1) / SMA(ABS((CLOSE - V ARD)),6,1)) * 100);V AR40:=((IF((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE > OPEN)),V AR6,买盘) + 买盘) / 2);V AR41:=((IF(((VAR7 > V AR6) AND (V AR7 > V AR8)),V AR7,买盘) + 买盘) / 2);V AR42:=((IF(((VAR8 > V AR6) AND (V AR8 > V AR7)),V AR8,买盘) + 买盘) / 2);V AR50:=((IF((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE < OPEN)),V AR6,卖盘) + 卖盘) / 2);三日上攻:=MA((((V AR40 + V AR41) + V AR42) / 3),JY2);三日下攻:=MA(V AR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,5,1),COLOR0000FF;空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,5,1),COLOR00FF00;STICKLINE((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE > OPEN)),0,V AR6,4,0),COLOR00FFFF;STICKLINE((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE < OPEN)),0,V AR6,4,0),COLORFF0000;STICKLINE(((VAR8 > V AR6) AND (V AR8 > V AR7)),0,V AR8,4,0),COLORFFFFFF; STICKLINE(((VAR7 > V AR6) AND (V AR7 > V AR8)),0,V AR7,4,0),COLORFF00FF; STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2,0);STICKLINE((买盘> 0),买盘,0,2,0),COLOR0000FF;10、顶底q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;q3:=SMA(q2, 9, 1);q4:=SMA(q3, 3, 1);长趋势:3*q3-2*q4,colorwhite,linethick3;趋势线:EMA(q3, 3),colorred,linethick3;DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '▼逢高派发'), Color00ff00,linethick5;▲逢低买入: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND趋势线>1.3*长趋势,长趋势,'▲逢低买入'), Color00Ffff, linethick1;▲低买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND长趋势>1.3*趋势线,趋势线,'▲低买'),colorblue,linethick1;var3:=PEAKBARS(3,15,1)<10;var5:=IF(var3=1,2,0);顶:= IF(var5=2,2,0);顶a:IF(顶>REF(顶,1),50,0),colorgreen, linethick2;DRAWTEXT(顶a=50,45,'顶部'),color00ff00;11、资金VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘 + 卖盘);STICKLINE((买卖差 < 0),0,买卖差,5,0),COLOR33FF33;0;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);神比:=(买盘 / VAR30);鬼比:=(卖盘 / VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60))); VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30))); VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,买盘) + 买盘) / 2); VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,买盘) + 买盘) / 2);VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,买盘) + 买盘) / 2);VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,卖盘) + 卖盘) / 2); 三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);三日下攻:=MA(VAR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,5,1),COLOR0000FF;空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,5,1),COLOR00FF00;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),COLOR00FFFF; STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,4,0),COLORFF0000; STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,4,0),COLORFFFFFF;STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,4,0),COLORFF00FF;STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2,0);STICKLINE((买盘 > 0),买盘,0,2,0),COLOR0000FF;12、主力AVPRICE:=(((2)*(OPEN) + (2)*(CLOSE) + (2)*(HIGH) + (2)*(LOW))/(8));INDEXAVP:=(((2)*(INDEXH) + (2)*(INDEXL) + (2)*(INDEXO) + (2)*(INDEXC))/(8)); F:=(AVPRICE - REF(AVPRICE,1))/(REF(AVPRICE,1));F1:=(INDEXAVP - REF(INDEXAVP,1))/(REF(INDEXAVP,1));类比参数3:=(((SUM(F,10) + SUM(F1,10))/(10))*(1000));类比大盘参数:=IF((类比参数3 > 0),类比参数3,0);类比参数2:=IF((类比参数3 < 0),(-类比参数3),0);STICKLINE(类比参数2,150,150 - 类比参数2,11,0),Color008000;STICKLINE(类比大盘参数,150,150 - 类比大盘参数,11,0),ColorFF00FF;AA:=AVPRICE;BB:=((VOL)*((AA)*(2) - HIGH - LOW))/(HIGH - LOW);CC:=IF((HIGH = LOW) AND (AA < REF(AA,1)),((-1))*(VOL),VOL);A:=IF((HIGH = LOW),CC,BB);B:=SUM(A,11);BBD:=(((B)/((CAPITAL)*(11)))*(10000));BB1:=IF((BBD < 150) AND (BBD > (-150)),BBD,150);买方能量指标:=IF((BB1 > 0),BB1,0);STICKLINE((BB1 > 0),0,买方能量指标,5,0),coloryellow;STICKLINE((BB1 < 0),0,(-BB1),5,0),Color008000;A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16));A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11));A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6));A7:=(SUM((AVPRICE)*(VOL),7) - (AVPRICE)*(VOL))/(SUM(VOL,7) - VOL);A0:=((A11 - A16)/(AVPRICE))*(1000);A00:=IF((A0 > 50),50,IF((A0 < (-50)),(-50),A0));A1:=((A6 - A11)/(AVPRICE))*(1000);AA11:=IF((A1 > 50),50,IF((A1 < (-50)),(-50),A1));A2:=((((A6 - A7)/(A7))*(5))/(4))*(1000);A22:=IF((A2 > 50),50,IF((A2 < (-50)),(-50),A2));刻度线3:=(A00 + AA11 + A22);趋势线:=IF((刻度线3 > 0),刻度线3,0);兰刻度线:=IF((刻度线3 < 0),刻度线3,0);红柱线:趋势线,colorred;兰柱线:(-兰刻度线),colorblue;STICKLINE(趋势线,0,趋势线,3,0),colorred;STICKLINE(兰刻度线,0,(-兰刻度线),3,0),ColorFF0000;强弱分界:50,Color000080;13、买买var1:=1;趋势线:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOS E-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),colorred; var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*1.236;var8:=CLOSE/REF(CLOSE,1)>1.021;var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1>0.75AND var1<0.901,0.618,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND(var1E>=0.9OR var1E>0.76AND var1E<0.901AND var1D>5AND var1B>5) AND var1D>1.8 ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18<0.25AND var1B<=6AND var4*var1B>=1 ANDCLOSE<18.5,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23<0.161 AND REF(SK,3)AND REF(var22,1));//var25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) ANDMA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);14、进出MAV:=(C*2+H+L)/4;SK:=EMA(MAV,13) - EMA(MAV,34);SD:=EMA(SK,5); 中轴:0;空方主力 : (-2*(SK-SD))*3.8,COLOR00FF00;多方主力 : (2*(SK-SD))*3.8,colorred;15、私募A01:=DAYINTERST(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009)))); A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW ,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);Var2:=WMA(Var1,8);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=WMA(Var3,3)-10;(趋势>80);DRAWICON(CROSS(趋势,0),40,1);((A09 > 0AND (趋势<20OR趋势>REF(趋势,1)AND趋势<50))),colorFFFF00;机构建仓区:0,LINETHICK0,colorFFFF00;Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,5,0),colorcc9900;DRAWTEXT(FILTER(趋势<=13,15),50,'准备现金'),colorcc9900;STICKLINE(趋势<=13AND Var4>13,0,50,5,0),color0099ff;Var5:=FILTER((趋势<=13AND Var4>13),10);DRAWTEXT(Var5,60,'买入'),color0099ff;STICKLINE(趋势>=90AND Var4,0,30,5,0),colorgray;Var6:=FILTER((趋势>=90AND Var4),10);DRAWTEXT(Var6,40,'清仓'),colorddffdd;Var7:=LLV(LOW,30);Var8:=HHV(HIGH,30);Var9:=WMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;STICKLINE(Var9>90,100,105,10,2),colorred;Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'险'),Color00FF00;DRAWICON(CROSS(90,Var9),95,2);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:WMA(IF(LOW<=Var7 AND趋势<40,(Var11+Var12),0),3)/618,colorred,linethick2; STICKLINE(火焰山>0,0 ,火焰山*1.2,8,0 ),colorred;Var13:=(WMA(C,1)+WMA(C,3)+WMA(C,5)+WMA(C,7)+WMA(C,9))/5;Var14:=(WMA(C,2)+WMA(C,4)+WMA(C,6)+WMA(C,8)+WMA(C,10))/5;趋势线: 趋势,colorff0000;Var16:=MAX(WMA(Var13,2)-WMA(Var14,5),0)*200;Var17:=WMA(Var16,5);波浪峰:Var17,STICK,colorff00ff;STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;Var18:=WMA(趋势线,8);VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LL V(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var19:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV (LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var20:=VarF<REF(Var19,1) AND AMOUNT>REF(AMOUNT,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(Var20 AND COUNT(Var20,30)=1,40,'大资金活动'),linethick1,COLORff00ff;IF(CROSS(Var2,Var18) AND Var2<15,50,0),colorred;DRAWTEXT(CROSS(趋势线,Var2)AND趋势线>REF(趋势线,1)AND趋势线<50,50,'追涨'),COLORFF0000;16、出货VAR0:=DAYINTERST(5);VAR1:=BARSCOUNT(HIGH);VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);低位金叉跟进:=IF((VAR1 > 20),VAR2,0);VAR11:=IF((HIGH< VAR0),0,IF((LOW> VAR0),1,(((VAR0 - HIGH) + 0.009) / ((LOW- HIGH) + 0.009)))); AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);VAR12:=IF(C>1000,AAA,BBB);VAR3:=IF((((VAR12 > 0) AND (VAR12 > REF(VAR12,1))) AND (低位金叉跟进 >= 88)),VAR2,0);VAR4:=((3 * SMA((((CLOSE - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1),3,1)));VAR5:=EMA(VAR4,8);VAR6:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 *SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));VAR7:=(EMA(VAR6,3) - 10);A:=1.1*C;B:=0.9*C;B1:=100*(WINNER(A)-WINNER(B));C1:=MA(C,13)<REF(MA(C,13),1);D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));锁定筹码:=100-B1;锁定区:STICKLINE(锁定筹码>70AND C1,0,锁定筹码-65,8,0),COLOR0000FF;出仓区:STICKLINE(((VAR3>0) AND ((VAR7 < 20) OR ((VAR7 > REF(VAR7,1)) AND (VAR7 < 50)))),0,VAR3,8,0),colorgreen;明天买:IF(CROSS(锁定筹码,90)AND C1,锁定筹码-50,0),COLORBBEEFF,LINETHICK2;明天卖:IF(D1,VAR3+10,0),COLORFFAA00,LINETHICK2;17、多空VAR0:=(2*CLOSE+HIGH+LOW)/4;VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);短线:SMA(SMA(VAR2,2,1)+3,2,1),coloryellow;浮筹:EMA(B,4),LINETHICK2,colorgreen;空方:SMA(VAR1,3,1);DRAWICON(短线>浮筹,0,10);DRAWICON(短线<浮筹,0,11);浮筹1:浮筹+0.5,LINETHICK0;浮筹2:浮筹+1,LINETHICK0;浮筹3:浮筹+1.5,LINETHICK0;浮筹4:浮筹+2,LINETHICK0;。
同花顺股票跟着主力走指标公式
同花顺股票跟着主力走指标公式DRAWGBK(DATE>900101,STRIP(RGB(100,0,0),RGB(30,30,0),1 ));Var1:=EMA(HHV(HIGH,500),21);Var2:=REF(LOW,1);Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;Var4:=EMA(IF(CLOSE*1.3,Var3*10,Var3/10),3);Var5:=LLV(LOW,30);Var6:=HHV(Var4,30);Var7:=IF(MA(CLOSE,58),1,0);Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;Var9:=IF(Var8>100,100,Var8);VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);VarB:=REF(LOW,1);VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);VarE:=LLV(LOW,30);VarF:=HHV(VarD,30);Var10:=IF(MA(CLOSE,58),1,0);V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;V2:=2*ABS(V1);V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1),15,1));V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,20,1),15,1));V5:=(H+L+C)/3;V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);VA:=(C-MA(C,13))/MA(C,13)*100;VB:=100-ABS(VA);VE:=REF(L,1)*0.9;VF:=L*0.9;V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;V11:=EMA(V10,30);V12:=V11-C;V13:=REF(C,1);V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;V16:=BARSCOUNT(C);V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;V1A:=(SMA(V19,4,1)-50)*2;V1B:=SMA(V1A,3,1);V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;V1D:=SMA(V1C,4,1);V1E:=SMA(V1D,3,1);V1F:=(HHV(H,30)-C)/C*100;V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);准备拉升: EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;准备拉升: IF(准备拉升>0,准备拉升,0),STICK,linethick2, COLOR0000ff;今量: 准备拉升;A1:IF(准备拉升>0,今量*1.2,0),STICK,linethick5, COLOR0000ff;A2:IF(准备拉升>0,今量*0.8,0),STICK,linethick5, COLOR0066ff;A3:IF(准备拉升>0,今量*0.6,0),STICK,linethick5, COLOR0099ff;A4:IF(准备拉升>0,今量*0.4,0) ,STICK,linethick5,COLOR00ccff;A5:IF(准备拉升>0,今量*0.2,0) ,STICK,linethick5,COLOR00ffff;先知: (CLOSE-MA(CLOSE,25))/MA(CLOSE,25)*100, , colorff00ff;SSS:=(VAR3 AND VAR4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR5 AND VAR6 AND CROSS(VAR7,79) OR VARC AND CLOSE/COST(8)<=0.8)*100;抄底王:SSS>0,colorwhite,LINETHICK1;主力SK1:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), colormagenta,linethick2;均量SD1:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorgreen,linethick2;生命线:85,linethick1,coloryellow;生命禁区:75,linethick1,colorred;预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,主力SK1),15,IF(V7<=-200AND V6<=-150,-15,V9))+65);T2:=C; T3:=主力SK1>60 AND 预警系统>85 AND 生命线=95;T4:=主力SK1>48 AND 预警系统>85 AND 生命线<95;T5:=均量SD1<-38 AND 预警系统<85;T6:=抄底王>50 AND 生命线<90;T7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);DRAWTEXT(CROSS(主力SK1,生命禁区),60,'警惕!!'),colorcyan;DRAWTEXT(CROSS(主力SK1,生命禁区),85,'减磅'),ColorFF6800;DRAWTEXT(CROSS(主力SK1,生命禁区),75,'注意.SK1向上持有.向下立即卖出'),colorblue ;DRAWTEXT(T2 AND COUNT(T2,30)=1,55,'下降通道!'),COLOR00FFFF;DRAWTEXT(T3 AND COUNT(T3,30)=1,55,'上涨过急!'),COLOR00FFFF;DRAWTEXT(T4 AND COUNT(T4,30)=1,75,'庄家出货!'),COLOR00FFFF;DRAWTEXT(T5 AND COUNT(T5,30)=1,50,'有小反弹!'),COLOR00FFFF;DRAWTEXT(T6 AND COUNT(T6,30)=1,30,'抢反弹!'),COLOR00FFFF;DRAWTEXT(T7 AND COUNT(T7,30)=1,30,'资金进场!'),COLOR00FFFF; DRAWGBK(DATE>900101,STRIP(RGB(100,0,0),RGB(30,30,0),1));AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA( V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.99),'老鼠仓'),COLOR4080FF;同花顺跟着主力走指标公式实例图解:。
同花顺数字解盘主图指标公式
同花顺数字解盘主图指标公式同花顺数字解盘主图指标公式MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA60:MA(CLOSE,60);MA120:MA(CLOSE,120);LL:=REF(L,1);HH:=REF(H,1);SQK:=L>HH;XQK:=H<LL;早晨之星:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);黄昏之星:=REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1) > REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 ANDCLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2);长十字:=CLOSE=OPEN AND HIGH/LOW >1.03;垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE!=HIGH;早晨十字星:=REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1) < REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1) > REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2);射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5);倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5);锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5);吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5);穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1));乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1);曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1));十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1));平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001);大阳烛:=CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018;红三兵:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98;孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1) AND(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND(CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100;多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) ANDREF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) ANDREF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4);下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND REF(LOW,4)<REF(LOW,3) ANDREF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4);跳空缺口:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1);光脚阴线:=LOW=CLOSE AND HIGH!=LOW;光头阳线:=HIGH=CLOSE AND HIGH!=LOW;分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0;长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;十字星:=CLOSE=OPEN AND HIGH!=LOW;大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018;好友反攻:=(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002);倾盆大雨:=REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) AND C<REF(O,1);DRAWTEXT(长下影 OR 长上影 OR 倾盆大雨,H+H*0.02,IF(长上影,'长上影',IF(长下影,'长下影','倾盆大雨'))),colorgreen;DRAWTEXT(黄昏之星OR 早晨之星,IF(早晨之星,H,L),IF(黄昏之星,IF(十字星,'黄昏十字星','黄昏之星'),IF(十字星,'早晨十字星','早晨之星'))),colorgreen;DRAWTEXT(大阴烛 OR 大阳烛 OR 十字星,IF(大阴烛,L,H),IF(大阴烛,'大阴烛',IF(大阳烛,'大阳烛','十字星'))),colorcyan;DRAWTEXT(下跌三部曲OR 上升三部曲OR 长十字,H+H*0.03,IF(下跌三部曲,'下跌三部曲',IF(上升三部曲,'上升三部曲','长十字'))),colorred;DRAWTEXT(光脚阴线 OR 光头阳线 OR 跳空缺口,O,IF(光脚阴线,'光脚阴线',IF(光头阳线,'光头阳线','跳空缺口'))),colormagenta;DRAWTEXT(红三兵OR 三只乌鸦OR 分离,L+L*0.03,IF(红三兵,'红三兵',IF(三只乌鸦,'三乌鸦','分离'))),colorbrown;DRAWTEXT(红三兵 ,L+L*0.03,'红三兵'),colormagenta;DRAWTEXT(乌云盖顶OR 曙光初现OR 好友反攻,IF(乌云盖顶,H,L-L*0.01),IF(乌云盖顶,'乌云盖顶',IF(曙光初现,'曙光初现','好友反攻'))),COLORLIGRAY;DRAWTEXT(射击之星 OR 吊颈 OR 十字胎,IF(射击之星,H,L),IF(射击之星,'射击之星',IF(吊颈,'吊颈','十字胎'))),COLORLIBLUE;DRAWTEXT(锤头 OR 倒转锤头 OR 孕育线,IF(锤头,H,L),IF(锤头,'锤头',IF(倒转锤头,'倒转锤头','孕育线'))),COLORLIGREEN;DRAWTEXT(平顶OR 平底,IF(平顶,H,L),IF(平底,'平底','平顶')),COLORLICYAN;DRAWTEXT(穿头破脚OR 身怀六甲OR 双飞乌鸦,IF(穿头破脚,L,H+H*0.05),IF(穿头破脚,'穿头破脚',IF(身怀六甲,'身怀六甲','双飞乌鸦'))),COLORLIRED;DRAWTEXT(多方炮 OR 出水芙蓉,L-L*0.0005,IF(多方炮,'多方炮','出水芙蓉')),coloryellow;墓碑十字星:=H/MAX(C,O)>=1.04 AND MIN(C,O)/L<=1.003 AND BETWEEN(MAX(C,O)/MIN(C,O),1.005,1.001);吊颈线:=H/MAX(C,O)<=1.008 AND L/MIN(C,O)<=0.97 AND BETWEEN(MAX(C,O)/MIN(C,O),1.005,1.001);STICKLINE(墓碑十字星,O,O+(C-O)/3,4,0),COLOR0000FF;STICKLINE(吊颈线,O,O+(C-O)/3,4,0),COLOR008800;DRAWTEXT(墓碑十字星,L,'●墓碑'),colorwhite;DRAWTEXT(吊颈线,H*1.007,'●吊颈'),colorwhite;。
同花顺顶底买卖主图指标公式
同花顺顶底买卖主图指标公式同花顺顶底买卖主图指标公式Y1:IF(DATE>=1080630,EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),0),LIN ETHICK1,COLOR0000FF;y2:IF(DATE>=1080630,EMA(REF(Y1,1),3),0),LINETHICK1,COLOR00FF FF;w3:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),LINETHICK1,COL ORFF0000;AA:= MA(WINNER(CLOSE*0.95)*100,3);VAR83:= 1/WINNER(CLOSE);VAR84:= (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR85:= 100-ABS(VAR84);VAR86:= 3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR87:= 3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR88:= 100-VAR87;VAR89:= 100-VAR86;VAR90:= MA(WINNER(CLOSE*0.95)*100,3);VAR91:= IF(VAR83>5,IF(VAR83<100,VAR83,VAR85-10),0);VAR92:= MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VAR93:= 100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR94:= 100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR95:= VAR93<REF(VAR94,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);VARA:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:= SMA(VARA,3,1);VARC:= SMA(VARB,3,1);探索:= EMA(3*VARB-2*VARC,3);主力:= (-1)*(EMA(VAR89,1)-50)+50;Z1:= MA(主力,9);VARD:= (-1)*(EMA(VAR89,1)-50)+50;VARE:= (-1)*(EMA(VAR89,12)-50)+50;LCC:= REF(CLOSE,1);RSI1:= SMA(MAX(CLOSE-LCC,0),6,1)/SMA(ABS(CLOSE-LCC),6,1)*100;天涯:= IF(RSI1>93 OR AA>90 AND RSI1>80,80,100);苦海:= EMA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),6);ZS:= MA(探索,3);ZM:= MA(MA(探索,3),3);A11:= 3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);黑马线:= EMA(A11,5);A12:= (黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A4:= (CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;趋势线3:= MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);A5:= (HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;N:= 3;VAR1:= REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:= SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:= EMA(VAR2,10);VAR4:= LLV(LOW,33);VAR5:= EMA(IF(LOW<=VAR4,VAR3,0),5);VAR6:= REF(CLOSE,1);VAR7:= SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;VAR8:= LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;VAR9:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR10:= VAR8 AND VAR9;VAR11:= (2*CLOSE+HIGH+LOW)/4;VAR12:= LLV(LOW,13);VAR13:= HHV(HIGH,13);VAR14:= LLV(LOW,1)=LLV(LOW,35) AND DATE<=1080701 AND CLOSE>=OPEN*1.04;VAR15:= CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR16:= EMA((VAR11-VAR12)/(VAR13-VAR12)*100,13);VAR17:= ((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR18:= 1/WINNER(CLOSE);VAR19:= MA(CLOSE,13);VAR20:= 100-ABS((CLOSE-VAR19)/VAR19*100);VAR21:= LLV(LOW,75);VAR22:= HHV(HIGH,75);VAR23:= (VAR22-VAR21)/100;VAR24:= SMA((CLOSE-VAR21)/VAR23,20,1);VAR25:= SMA((OPEN-VAR21)/VAR23,20,1);VAR26:= 3*VAR24-2*SMA(VAR24,15,1);VAR27:= MA(HHV(HIGH,485),17);VAR28:= MA(HHV(HIGH,222),17);VAR29:= MA(HHV(HIGH,96),17);VAR30:= MA(LLV(LOW,485),17);VAR31:= MA(LLV(LOW,222),17);VAR32:= MA(LLV(LOW,96),17);VAR33:=MA((VAR30*0.96+VAR31*0.96+VAR32*0.96+VAR27*0.558+VAR 28*0.558+VAR29*0.558)/6,17);VAR34:=MA((VAR30*1.25+VAR31*1.23+VAR32*1.2+VAR27*0.55+VAR28* 0.55+VAR29*0.65)/6,17);VAR35:=MA((VAR30*1.3+VAR31*1.3+VAR32*1.3+VAR27*0.68+VAR28*0. 68+VAR29*0.68)/6,17);VAR36:= LLV(LOW,30);VAR37:= MA((VAR33*3+VAR34*2+VAR35)/6*1.738,17);VAR38:= IF(DATE>=1080630,VAR37,VAR37*DAY);VAR39:= LOW;VAR40:= REF(LOW,1);VAR41:= SMA(ABS(VAR39-VAR40),3,1)/SMA(MAX(VAR39-VAR40,0),N,1)*100;VAR42:=MA(IF(CLOSE*1.35<=VAR38,VAR41*10,VAR41/10),N);VAR43:= HHV(VAR42,30);VAR44:= 1080630;VAR45:= 3*VAR25-2*SMA(VAR25,15,1);VAR46:= 100-VAR45;VAR47:= IF(900101<DATE AND DATE<99991232,1,0);VAR49:= REF(LOW,1)*0.9;VAR50:= LOW*0.9;VAR51:= (VAR50*VOL+VAR49*(CAPITAL-VOL))/CAPITAL;VAR52:= EMA(VAR51,30);VAR53:= CLOSE-REF(CLOSE,1);VAR54:= MAX(VAR53,0);VAR55:= ABS(VAR53);VAR56:= SMA(VAR54,7,1)/SMA(VAR55,7,1)*100;VAR57:= SMA(VAR54,13,1)/SMA(VAR55,13,1)*100;VAR58:= BARSCOUNT(CLOSE);VAR59:=SMA(MAX(VAR53,0),6,1)/SMA(ABS(VAR53),6,1)*100;VAR60:= (-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR61:= (CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR62:= SMA((SMA(VAR61,4,1)-50)*2,3,1);VAR63:= (INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR64:= SMA(VAR63,4,1);VAR65:= SMA(VAR64,3,1);VAR66:= (HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR67:= VAR59<=25 AND VAR60<(-95) AND DATE<=1080701 AND VAR66>20 AND VAR62<(-30) AND VAR65<30 AND VAR52-CLOSE>=(-0.25) AND VAR56<22 AND VAR57<28 AND VAR58>50;VAR68:= (HIGH+LOW+CLOSE)/3;VAR69:= (VAR68-MA(VAR68,14))/(0.015*AVEDEV(VAR68,14));VAR70:= (VAR68-MA(VAR68,70))/(0.015*AVEDEV(VAR68,70));VAR71:= IF(VAR69>=150 AND VAR69<200 AND VAR70>=150 AND VAR70<200,10,0);VAR72:= IF(VAR69<=(-150) AND VAR69>(-200) AND VAR70<=(-150) AND VAR70>(-200),-10,VAR71);VAR73:= (CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VAR74:= REVERSE(VAR73);VAR75:= SMA(VAR73,3,1);绝佳买点:= IF(DATE<=VAR44,MA(IF(LOW<=VAR36,(VAR42+VAR43*2)/2,0), N),100000000);跑:= FILTER(REF(黑马线,1)>90 AND A12<0 AND DATE<=1080631,7);买线:= EMA(CLOSE,2);卖线:= EMA(SLOPE(CLOSE,21)*20+CLOSE,42);AA:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1);BB:=2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);位置:=(AA-BB);抄底:= CROSS(位置,10) AND DATE>=1080631;A1:= VOL=HHV(VOL,120);A2:= CLOSE/OPEN>1.05;TJ:= A1 AND A2;龙:= VAR10;买4:= VAR14;AA1:= AMOUNT/VOL AND DATE>=1080701;BB1:= LOW<AA1*0.9;CC1:= (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>1.2;DD1:= LOW<MA(CLOSE,5)*0.921;EE1:= VOL<MA(VOL,5)*1.5;FF1:= BB1 AND CC1 AND DD1 AND EE1;买3:= FILTER(FF1,3) AND DATE>=1080630;二十天最低跌幅:= HHV(CLOSE,20)/LLV(CLOSE,20);RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:= SMA(RSV,3,1);D:= SMA(K,3,1);J:= 3*K-2*D;X:= LLV(J,2)=LLV(J,8);买1:= CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND 二十天最低跌幅>=1.3 AND DATE<=1080630;长期底部:= LLV(HIGH,30);上:= SMA(LOW,5,2)*0.96;短期底部:= LLV(HIGH,30)*0.93;LC:= REF(CLOSE,1);RSI:= SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;大顶:= FILTER(VAR17>20 AND FILTER(VAR17<REF(VAR17,1),5) AND DATE<=1080701,5);VAR76:= (OPEN+LOW+HIGH+CLOSE)/4;MAN:= SMA(HIGH,21,2)*1.05;短底2:= EMA(VAR76,5);支撑:= HHV(短底2,60);VAR77:= (HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR78:= SMA(VAR77,5,1);VAR79:= SMA(VAR78,8,1);VAR80:= CROSS(VAR78,VAR79) AND VAR79<5;VAR81:= CLOSE>LLV(CLOSE,60)+0.3*LLV(CLOSE,60) AND VAR80;VAR82:= IF(CLOSE>1000,VAR80,VAR81);黑马起步:= VAR82;逃:= FILTER(HIGH>支撑AND CLOSE<支撑AND CLOSE/OPEN>0-1.06 AND CLOSE<OPEN,5) AND DATE<=1080701;逃命:= 黑马起步>0 AND DATE>=1080531;选逃:= FILTER(逃命 OR 逃 OR CROSS(84,RSI) OR 大顶,3) AND DATE>=1080701;上线:= SMA(CLOSE,6.5,1);下线:= SMA(CLOSE,13.5,1);WW:= DATE>=1080531;散户:= SMA(VAR75,3,1)*VAR47*WW;新庄:= SMA(散户,3,1)*VAR47*WW;高抛:= CROSS(新庄,散户) AND 新庄>75 AND DATE>=1080701;买入= CROSS(买线,卖线) AND DATE>=1080701;卖出:= CROSS(卖线,买线) AND DATE>=1080701;大黑马:= CROSS(趋势线3,0) AND 黑马线<40 AND DATE>=1080701;大买:= FILTER(绝佳买点>30000,5) AND DATE>=1080701;选底:= FILTER(LOW<=上AND HIGH>=短期底部AND CLOSE>=长期底部AND CLOSE/OPEN>1.03,3) AND DATE<=1080701;稳赚10买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 AND DATE>=1080701;大资金进场:= VAR95 AND COUNT(VAR95,30)=1 AND DATE<=1080701;STICKLINE(买线>=卖线AND DATE>=1080701,LOW,HIGH,1,0),COLOR0000FF;STICKLINE(买线>=卖线AND DATE>=1080701,CLOSE,OPEN,4.5,0),COLOR0000AA;STICKLINE(买线>=卖线AND DATE>=1080701,CLOSE,OPEN,4,0),COLOR0000CC;STICKLINE(买线>=卖线AND DATE>=1080701,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(买线>=卖线AND DATE>=1080701,CLOSE,OPEN,2,0),COLOR0000EE;STICKLINE(买线<卖线AND DATE>=1080701,CLOSE,OPEN,4.5,0),COLORAAAA00;STICKLINE(买线<卖线AND DATE>=1080701,CLOSE,OPEN,4,0),COLORBBBB00;STICKLINE(买线<卖线AND DATE>=1080701,CLOSE,OPEN,3,0),COLORCCCC00;STICKLINE(买线<卖线AND DATE>=1080701,CLOSE,OPEN,2,0),COLOREEEE00;STICKLINE(买线<卖线AND DATE>=1080701,LOW,HIGH,1,0),COLORFFFF00;选买:= FILTER(买3 OR 选底,3) AND COUNT(买1+买4+龙,3)>0 AND DATE>=1080701;STICKLINE(选买AND DATE>=1080701,CLOSE,HHV(HIGH,90)*0.94,0.3,0),COLORFF000 0;DRAWTEXT(选买AND DATE>=1080701,HHV(HIGH,90)*1,'稳赚'),COLORFF0000;DRAWTEXT(选买AND DATE>=1080701,HHV(HIGH,90)*0.97,'10%买'),COLORFF0000;DRAWTEXT(选逃,HIGH*1.04,'逃'),COLOR00FFFF;DRAWTEXT(买入,LOW*0.996,'买'),COLOR0000FF;DRAWTEXT(卖出,HIGH*1,'卖'),COLOR00FFFF;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.095,'大资金'),COLOR008000;DRAWTEXT(VAR95 AND COUNT(VAR95,30)=1,HIGH*1.06,'进场'),COLOR008000;DRAWTEXT(跑,HIGH*1.02,'跑'),COLOR00FFFF;DRAWTEXT(大黑马,LOW*0.98,'大黑马'),COLORFFFFFF;DRAWTEXT(CROSS(新庄,散户) AND 新庄>75,HIGH*1.04,'抛'),COLOR00FFFF;DRAWTEXT(大买,LOW*0.96,'大买'),COLOR0000FF;DRAWTEXT(IF(选底,100,0),LOW*0.995,'底'),COLOR399C71;VAR330:= DATE>1080621 AND (DAY=1 OR DAY=16);位置:= (CLOSE+REF(CLOSE,105))/2;。
同花顺选股公式
同花顺选股公式黑马草上飞HMCSFLCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>1.04;A5:=V/CAPITAL*100>2.8;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20OR BARSSINCE( ZTJ)=0);三金叉见底SJCJDnday := 5;down := CLOSE/LLV(LOW,60)<=1.2;pma1 := MA(CLOSE,5);pma2 := MA(CLOSE,10);vma1 := MA(VOL,5);vma2 := MA(VOL,10);diff := EMA(CLOSE,12) - EMA(CLOSE,26);dea := EMA(diff,9);ppday := BARSLAST(CROSS(pma1,pma2));vvday := BARSLAST(CROSS(vma1,vma2));macdday := BARSLAST(CROSS(diff,dea));SJCJD:= IF((ppday<=nday AND vvday<=nday AND macdday<=nday),1,0);买入就涨MRJZvar1:=1;趋势线: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),colorred;var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*1.236;var8:=CLOSE/REF(CLOSE,1)>1.021;var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1>0.75AND var1<0.901,0.618,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND (var1E>=0.9OR var1E>0.76AND var1E<0.901AND var1D>5AND var1B>5) AND var1D>1.8ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18<0.25AND var1B<=6AND var4*var1B>=1ANDCLOSE<18.5,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23<0.161ANDREF(SK,3)AND REF(var22,1))var25:=CLOSE/MA(CLOSE,3)>=1.05AND CLOSE=HHV(CLOSE,3) ANDMA(VOL,2)/MA(VOL,40)>=3AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);短线抄底DXCD3A3:=REF(CLOSE, 1.000);A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;A4<=20AND A5 <=49;--------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;----------------------------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;黄线抄底选股HXCDXGA3:=REF(CLOSE, 1.000);A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;A4<=20AND A5 <=49;选马趋势XMQS个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;DRAWTEXT(个股>85,95,'*');大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;DRAWTEXT(CROSS(个股,9),30,'-马'),color00ff00;高抛低吸GPDXMMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1) *100,1)+50;G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 -100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);x1:=EMA(((KS/ 10) + EMA(CLOSE,10)),3);AA:=-100*(x1-CLOSE)/x1;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) +CLOSE),55);MM:=MA(MMV,1);SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21)); x2:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;y1:=DMA(((CLOSE+ OPEN) / 2),(VOL / (SMA(VOL,4,1)*4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);x3:A,coloryellow,LINETHICK1;B:=REF(A,1);STICKLINE(((SSL<MM)),x2,x3,0.01,0),COLORFFFF00;VA1:=EMA(上收,8);VA2:=EMA(上收,20);选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A)AND 箱顶A/箱底A>100/100AND T1;T3:=CROSS(箱顶A,选手A) AND箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;T4:=CROSS(选手,箱底)AND 箱顶/箱底>110/100;T5:=CROSS(箱顶,选手) AND箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);MA20:=MA(C,20);MA30:=MA(C,30);QSXS:=MA20>MA30AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);ZF:=(C/REF(C,1)-1)*100;TDDF:=(L/REF(C,1)-1)*100<=-5AND(REF(HHV(H,5),1)/L-1)*100>=10;N1:=BARSLAST(CROSS(C,MA(C,5)));N2:=BARSLAST(CROSS(MA(C,5),C));HM:=IF(N1<N2,N1+1,0)*QSXS;z2:=HM=1AND ZF>=0AND C>O AND QSXS;KX1:=ZF<=-3ANDC<O;XDSJ:=BARSLAST(KX1);KX2:=ZF>=3AND C>O;JBY:=KX2 AND XDSJ<=2AND C>=REF(O*0.99,XDSJ) ANDZF>ABS(REF(ZF,XDSJ)*0.99);z3:=IF(FILTER(JBY,1) AND QSXS,5,0);DRAWTEXT(z2AND z3 ,LOW*0.99,'送钱来'),ColorFF0080;N:=5;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);建仓:CROSS(VAR1,8);主力动向zldxr:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;t:=BARSCOUNT(SHGZG);b:=SUM(r,t);主力持仓:b;n:=5;x2:=HHV(r,n);S:=STD(SHGZG,2)/1000000;S1:=-STD(SHGZG,2)/1000000;STICKLINE(r>0,r+b,b,2),colorred;STICKLINE(r<0,b,b+r,2),colorgreen;STICKLINE(s>0,x2+b,b+r*3,3),coloryellow;STICKLINE(s1<0,b+r*3,b-x2,3),coloryellow;IF(ISNULL(r))a=(ZDMR[-1]+BDMR[-1]);b=(ZDMC[-1]+BDMC[-1]);a3=SUM(a,n)/1000000;b3=SUM(b,n)/1000000;VOL1=SUM(VOL,n)/1000000;S3=STD(SHGZG,2)/10000;IF(a3>b3){y=a3-b3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}ELSE{y=b3-a3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}Var1:=(CLOSE+HIGH+LOW)/3;Var2:=EMA(EMA(EMA(Var1,1),13),21);控盘度: (Var2-REF(Var2,1))/REF(Var2,1)*1000;抄底大师CDDSVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;抄底:FILTER(VAR5,10)=1;不抄底,只抄底BCDZCDN1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100; VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:=VAR3;波:=VAR4;段:=VAR5;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;VAR8:=VAR7 AND VOL>REF(VOL,1)*2AND VOL>REF(MA(VOL,5),1)*2; XG:VAR6 OR (VAR7 AND COUNT(VAR7,10)=1);选股公式456XJGGSHdly1:=O/C[30]<0.7AND O==LLV(O,30);Hdly2:=C/O>1.03;Hdly3:=O/C[18]<0.83AND O==LLV(O,18);选股:(Hdly1 OR Hdly3) AND Hdly2;一起赚钱YQZQEMA13:=MA(CLOSE,13);EMA30:=EMA(CLOSE,30);EMA60:=EMA(CLOSE,60);EMA90:=EMA(CLOSE,90);AR1:=(EMA13 < EMA30) AND (EMA13 < EMA60) AND (EMA13 < EMA90); AR2:=BARSLAST(REF(CROSS(CLOSE,EMA13),1));AR3:=(EMA13 >= REF(EMA13,1));AR4:=AR1 AND AR2 AND AR3 AND CROSS(CLOSE,EMA13);黑马选股:AR4 AND FILTER(AR4,10);大黑马DHMVAR1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240); VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VARA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100; VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);固定筹码:EMA((VAR1-VAR3)/VAR3*VAR4,13);移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);多空对比:固定筹码-移动筹码, COLORSTICK;VAR13:=VAR7>=-0.035AND VAR7<=0.045ANDCLOSE>MA(CLOSE,5)AND CLOSE>MA(CLOSE,10) AND 多空对比>-100;大黑马:IF(VAR13 AND VAR12>7AND REF(VAR12,1)<0ANDVAR12-REF(VAR12,1)>9,1,0),LINETHICK3 ,COLOR00FFFF;STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,COLOR00FFFF;DRAWICON(大黑马,固定筹码*1.1,5);周线黑马ZXHMma7:=EMA(C,7);ma14:=EMA(C,14);aa:=CROSS(ma7,ma14) AND V>REF(V,1)*1.5;bb:=V>REF(V,1)*3;选股1:IF(aa,1,0);选股2:IF(bb,1,0);收敛三角形选股公式SLSJXY:=(H+L)/2;AO:=MA(Y,5)-MA(Y,34 );DU0:=CROSS(AO,0);UD0:=CROSS(0,AO);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)); JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0; JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0; JDU1:JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:JUD0 AND COUNT(JUD0,TUD0)=1;。
同花顺选股公式精选合辑
同花顺选股公式精选黑马草上飞HMCSFLCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>1.04;A5:=V/CAPITAL*100>2.8;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20OR BARSSINCE( ZTJ)=0);三金叉见底SJCJDnday := 5;down := CLOSE/LLV(LOW,60)<=1.2;pma1 := MA(CLOSE,5);pma2 := MA(CLOSE,10);vma1 := MA(VOL,5);vma2 := MA(VOL,10);diff := EMA(CLOSE,12) - EMA(CLOSE,26);dea := EMA(diff,9);ppday := BARSLAST(CROSS(pma1,pma2));vvday := BARSLAST(CROSS(vma1,vma2));macdday := BARSLAST(CROSS(diff,dea));SJCJD:= IF((ppday<=nday AND vvday<=nday AND macdday<=nday),1,0);买入就涨MRJZvar1:=1;趋势线: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),colorred;var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*1.236;var8:=CLOSE/REF(CLOSE,1)>1.021;var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1>0.75AND var1<0.901,0.618,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND (var1E>=0.9OR var1E>0.76AND var1E<0.901AND var1D>5AND var1B>5) AND var1D>1.8ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18<0.25AND var1B<=6AND var4*var1B>=1ANDCLOSE<18.5,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23<0.161ANDREF(SK,3)AND REF(var22,1))var25:=CLOSE/MA(CLOSE,3)>=1.05AND CLOSE=HHV(CLOSE,3) ANDMA(VOL,2)/MA(VOL,40)>=3AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);短线抄底DXCD3A3:=REF(CLOSE, 1.000);A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;A4<=20AND A5 <=49;--------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;----------------------------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;黄线抄底选股HXCDXGA3:=REF(CLOSE, 1.000);A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;A4<=20AND A5 <=49;选马趋势XMQS个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;DRAWTEXT(个股>85,95,'*');大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;DRAWTEXT(CROSS(个股,9),30,'-马'),color00ff00;高抛低吸GPDXMMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1) *100,1)+50;G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 -100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);x1:=EMA(((KS/ 10) + EMA(CLOSE,10)),3);AA:=-100*(x1-CLOSE)/x1;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) +CLOSE),55);MM:=MA(MMV,1);SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21)); x2:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;y1:=DMA(((CLOSE+ OPEN) / 2),(VOL / (SMA(VOL,4,1)*4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);x3:A,coloryellow,LINETHICK1;B:=REF(A,1);STICKLINE(((SSL<MM)),x2,x3,0.01,0),COLORFFFF00;VA1:=EMA(上收,8);VA2:=EMA(上收,20);选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100AND T1;T3:=CROSS(箱顶A,选手A) AND箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;T4:=CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:=CROSS(箱顶,选手) AND箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);MA20:=MA(C,20);MA30:=MA(C,30);QSXS:=MA20>MA30AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);ZF:=(C/REF(C,1)-1)*100;TDDF:=(L/REF(C,1)-1)*100<=-5AND(REF(HHV(H,5),1)/L-1)*100>=10;N1:=BARSLAST(CROSS(C,MA(C,5)));N2:=BARSLAST(CROSS(MA(C,5),C));HM:=IF(N1<N2,N1+1,0)*QSXS;z2:=HM=1AND ZF>=0AND C>O AND QSXS;KX1:=ZF<=-3ANDC<O;XDSJ:=BARSLAST(KX1);KX2:=ZF>=3AND C>O;JBY:=KX2 AND XDSJ<=2AND C>=REF(O*0.99,XDSJ) ANDZF>ABS(REF(ZF,XDSJ)*0.99);z3:=IF(FILTER(JBY,1) AND QSXS,5,0);DRAWTEXT(z2AND z3 ,LOW*0.99,'送钱来'),ColorFF0080;N:=5;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);建仓:CROSS(VAR1,8);主力动向zldxr:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;t:=BARSCOUNT(SHGZG);b:=SUM(r,t);主力持仓:b;n:=5;x2:=HHV(r,n);S:=STD(SHGZG,2)/1000000;S1:=-STD(SHGZG,2)/1000000;STICKLINE(r>0,r+b,b,2),colorred;STICKLINE(r<0,b,b+r,2),colorgreen;STICKLINE(s>0,x2+b,b+r*3,3),coloryellow;STICKLINE(s1<0,b+r*3,b-x2,3),coloryellow;IF(ISNULL(r))a=(ZDMR[-1]+BDMR[-1]);b=(ZDMC[-1]+BDMC[-1]);a3=SUM(a,n)/1000000;b3=SUM(b,n)/1000000;VOL1=SUM(VOL,n)/1000000;S3=STD(SHGZG,2)/10000;IF(a3>b3){y=a3-b3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}ELSE{y=b3-a3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}Var1:=(CLOSE+HIGH+LOW)/3;Var2:=EMA(EMA(EMA(Var1,1),13),21);控盘度: (Var2-REF(Var2,1))/REF(Var2,1)*1000;抄底大师CDDSVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;抄底:FILTER(VAR5,10)=1;不抄底,只抄底BCDZCDN1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100; VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:=VAR3;波:=VAR4;段:=VAR5;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;VAR8:=VAR7 AND VOL>REF(VOL,1)*2AND VOL>REF(MA(VOL,5),1)*2; XG:VAR6 OR (VAR7 AND COUNT(VAR7,10)=1);选股公式456XJGGSHdly1:=O/C[30]<0.7AND O==LLV(O,30);Hdly2:=C/O>1.03;Hdly3:=O/C[18]<0.83AND O==LLV(O,18);选股:(Hdly1 OR Hdly3) AND Hdly2;一起赚钱YQZQEMA13:=MA(CLOSE,13);EMA30:=EMA(CLOSE,30);EMA60:=EMA(CLOSE,60);EMA90:=EMA(CLOSE,90);AR1:=(EMA13 < EMA30) AND (EMA13 < EMA60) AND (EMA13 < EMA90); AR2:=BARSLAST(REF(CROSS(CLOSE,EMA13),1));AR3:=(EMA13 >= REF(EMA13,1));AR4:=AR1 AND AR2 AND AR3 AND CROSS(CLOSE,EMA13);黑马选股:AR4 AND FILTER(AR4,10);大黑马DHMVAR1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240); VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VARA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100; VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);固定筹码:EMA((VAR1-VAR3)/VAR3*VAR4,13);移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);多空对比:固定筹码-移动筹码, COLORSTICK;VAR13:=VAR7>=-0.035AND VAR7<=0.045ANDCLOSE>MA(CLOSE,5)AND CLOSE>MA(CLOSE,10) AND多空对比>-100;大黑马:IF(VAR13 AND VAR12>7AND REF(VAR12,1)<0ANDVAR12-REF(VAR12,1)>9,1,0),LINETHICK3 ,COLOR00FFFF;STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,COLOR00FFFF;DRAWICON(大黑马,固定筹码*1.1,5);周线黑马ZXHMma7:=EMA(C,7);ma14:=EMA(C,14);aa:=CROSS(ma7,ma14) AND V>REF(V,1)*1.5;bb:=V>REF(V,1)*3;选股1:IF(aa,1,0);选股2:IF(bb,1,0);收敛三角形选股公式SLSJXY:=(H+L)/2;AO:=MA(Y,5)-MA(Y,34 );DU0:=CROSS(AO,0);UD0:=CROSS(0,AO);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3));JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;JDU1:JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:JUD0 AND COUNT(JUD0,TUD0)=1;李雨青条件选股公式1小金角技巧即10日均价线与20日均价线走出圆弧底,10日均价线上叉20日均价线,并且20日均价线也是要勾头向上的,股价在交叉点上方附近,甚至交叉点下方,10日均价线与20日均价线向上开口角度越陡,后势上涨的潜力越大。
股票 操作指标 选股公式 同花顺指标——操盘主图
同花顺指标——操盘主图操盘主图源码:MA6:=EMA(CLOSE,6);MA21:EMA(CLOSE,21),ColorFF0FFF;PARTLINE(MA6,MA6>REF(MA6,1),RGB(250,250,10),MA6<=REF(MA6,1),RGB(0,0,250)),LI NETHICK2;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=3*K24-2*D24;压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLORFFFF1A,LINETHICK1; 支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),Color1EFFFF,LINETHICK1; 支撑价:LLV(LOW,34),Color006DDB,LINETHICK1;阻力价:HHV(HIGH,19),COLOR00FF33, LINETHICK1;MA6:=MA(C,6);X1:=REF(EMA(C,6),1);X2:=(EMA(C,6)-X1)/X1*100;N1:=BARSLAST(CROSS(X2,0));N2:=BARSLAST(CROSS(0,X2));X3:=CROSS(X2,0) OR CROSS(0,X2);STICKLINE(N1<N2,REF(MA6,N1),REF(MA6,N1),8,1),ColorFF15FF; STICKLINE(N2<N1,REF(MA6,N2),REF(MA6,N2),8,1),ColorFF8B17; qs1:=IF(C>MA(C,4),1,0);qs2:=IF(C<MA(C,4),-1,0);qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);qs:=qs1+qs2+qs3+qs4;STICKLINE((qs=-2 AND C<O),H,L,0,0),Color00FF00;STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,10,0),Color009500; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,8,0),Color00AA00; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,6,0),Color00BF00; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,4,0),Color00D500; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,2,0),Color00EA00;//绿STICKLINE((qs=-2 AND C>O),H,L,0,0),ColorFF00FF;STICKLINE((qs=-2 AND C>O),O,C,10,0),ColorBB00BB; STICKLINE((qs=-2 AND C>O),O,C,8,1),colorFF5BFF;STICKLINE((qs=-2 AND C>O),O,C,4,0),colorF900F9;STICKLINE((qs=-2 AND C>O),O,C,2,0),ColorFF11FF;//桔STICKLINE((qs=0 AND C<O),H,L,0,0),ColorFFFFFF;STICKLINE((qs=0 AND C<O),O,C,10,0),ColorCCCCCC;STICKLINE((qs=0 AND C<O),O,C,8,1),ColorDEDEDE;STICKLINE((qs=0 AND C<O),O,C,4,0),ColorF6F6F6;STICKLINE((qs=0 AND C<O),O,C,2,0),ColorFFFFFF;//白STICKLINE((qs=0 AND C>O),H,L,0,0),Color009FFF;STICKLINE((qs=0 AND C>O),O,C,10,0),Color009FFF;STICKLINE((qs=0 AND C>O),O,C,8,1),Color00B5FF;STICKLINE((qs=0 AND C>O),O,C,4,0),Color00E4FF;STICKLINE((qs=0 AND C>O),O,C,2,0),Color00FFFF;//黄STICKLINE((qs=2 AND C<O),H,L,0,0),ColorFFFF00;STICKLINE((qs=2 AND C<O),O,C,10,0),ColorAAAA00;STICKLINE((qs=2 AND C<O),O,C,8,1),ColorBFBF00;STICKLINE((qs=2 AND C<O),O,C,4,0),ColorD5D500;STICKLINE((qs=2 AND C<O),O,C,2,0),ColorEAEA00;//青STICKLINE((qs=2 AND C>O),H,L,0,0),Color0000FF;STICKLINE((qs=2 AND C>O),O,C,10,0),Color0000AA;STICKLINE((qs=2 AND C>O),O,C,8,0),Color0000BF;STICKLINE((qs=2 AND C>O),O,C,6,0),Color0000D5;STICKLINE((qs=2 AND C>O),O,C,4,0),Color0000EA;//红STICKLINE((qs=2 AND C>O),O,C,2,0),Color0000FF;AC:=AMOUNT/(VOL);YY:=MA(AC,9);LLL:=(C-YY)/YY*100;MIDC := MA(CLOSE,14);UPPERC:= MIDC + 2*STD(C,14);LOWERC:= MIDC - 2*STD(C,14);BBA:=(C-LOWERC)/(UPPERC-LOWERC);BBC:=FORCAST(BBA,3);LIFENGCYC:=(REF(LLL,1)<-15 AND REF(BBA,1)<0 AND LLL>REF(LLL,1));DRAWTEXT(LIFENGCYC>0,LOW*0.99,'▲'),colorffffff;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'▼'),ColorFFFFFF;。
【炒股必看】同花顺缠论分笔及中枢主图指标公式
同花顺缠论分笔及中枢主图指标公式KU1:=IF(HIGH=HHV(HIGH,3),1,0);KD1:=IF(LOW=LLV(LOW,3),1,0);UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0AND KU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1AND REF(KU1,1)=0 AND KU1=0)));DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0,REF(LOW,2),REF(LOW,2+BARSLAST(REF(KD1,2)=1AND REF(KD1,1)=0 AND KD1=0)));HV:=H>UL AND H>REF(H,1) ;LV:=L<DL AND L<REF(L,1) ;GP:=BARSLAST(HV);DP:=BARSLAST(LV);IP:=IF(GP=0,DP,GP)>3;HV1:=HV AND IP AND H>=HHV(H,BARSLAST(LV));LV1:=LV AND IP AND L<=LLV(L,BARSLAST(HV));DRAWLINE(LV1,LOW,HV1, HIGH,0),coloryellow,LINETHICK2;DRAWLINE(HV1,HIGH,LV1, LOW,0),colormagenta,LINETHICK2;///加入中枢判定//简化版N1:=10;N2:=10;DISP:=2;K:=1;P1:=PEAK(1,K*N1,1);P2:=PEAK(1,K*N1,2);WP1:=PEAKBARS(1,K*N1,1);WP2:=PEAKBARS(1,K*N1,2);T1:=TROUGH(2,K*N2,1);T2:=TROUGH(2,K*N2,2);WT1:=TROUGHBARS(2,K*N2,1);WT2:=TROUGHBARS(2,K*N2,2);TJ1:=P1>T1 AND P2>T2 ;ZD:=MAX(T1,T2);ZG:=MIN(P1,P2);LL:=MIN(T1,T2);HH:=MAX(P1,P2);TJ2:=FILTER(ZG>ZD,2);TJ3:=ZG=REF(ZG,BARSLAST(TJ2)) OR ZD=REF(ZD,BARSLAST(TJ2));TJ4:=TJ1 AND TJ2 AND NOT(TJ3);TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4), 1)));TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4), 1)));TJ7:=ZG>REF(ZG,REF(BARSLAST(TJ4),1)) AND ZD<REF(ZD,REF(BARSLAST(TJ4),1));TJ8:=TJ4 AND NOT(TJ5 OR TJ6 OR TJ7);ZSD:=IF(TJ8,ZD,REF(ZD,1));//,coloryellow;ZSG:=IF(TJ8,ZG,REF(ZG,1));//,colormagenta;ZSH:=IF(TJ8,HH,REF(HH,1));//,colorblue;ZSL:=IF(TJ8,LL,REF(LL,1));//,colorgreen;STICKLINE(TJ8,ZSH,ZSL,0,-1),colormagenta;STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),colormagenta;DRAWTEXT(DISP=2,ZSH,''),colorwhite;//中枢高中枢高:ZSG,colormagenta;POLYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),CIRCLEDOT,colormagenta;//中枢低:中枢低:ZSD,coloryellow;POLYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),CIRCLEDOT,coloryellow;//中枢最高:中枢最高:ZSH,colorred;POLYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,colorred;//中枢最低:中枢最低:ZSL,colorgreen;POLYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,colorgreen;//趋势高://QSGD1:POLYLINE(DISP=3,ZIG(1,K*N1)),colorblue;//趋势低://QSDD1:POLYLINE(DISP=3,ZIG(2,K*N2)),colorblue;MA5:MA(CLOSE,5),COLORFF00FF,Linethick1;//COLORFF00FF,LINETHICK2;命真好:=MA5>REF(MA5,1);命真坏:=MA5<REF(MA5,1);//判定:PARTLINE(MA5,命真好,coloryellow,命真坏,colorblue,MA5,COLORFF00FF),linethick3;//F1:IF(MA5<REF(MA5,1),MA5,NULL),colorwhite,LINETHICK2;。
同花顺主图选股公式大全
同花顺指标公式一. 操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;?MA10:MA(CLOSE,10),Color00BBBB;?MA21:MA(CLOSE,21),Color00AA00;?MA30:MA(CLOSE,30),Color990099;?MA60:MA(CLOSE,60),Color000088;?MA120:MA(CLOSE,120),Color777700;?买线:=ZIG(3,10);?卖线:=MA(买线,3);?BU:=CROSS(买线,卖线);?SEL:=CROSS(卖线,买线);?DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;? DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;?DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;?DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;?STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC;?STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00;?STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;? STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买卖点做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定..............................................二. 主力多空副图指标源码MAV:=(C*2+H+L)/4;SK:= EMA(MAV,13) - EMA(MAV,34);SD := EMA(SK,5);中轴:0;空方主力 : (-2*(SK-SD))*3.8,colorgreen;多方主力 : (2*(SK-SD))*3.8,colorred;指标用法:多方主力线从低位向上掉头且成交量有所放大,则为买入信号。
同花顺终极作品主图指标公式
同花顺终极作品主图指标公式MA5:MA(C,5),COLORFFFFFF,LINETHICK1;MA20:MA(C,20),COLORFF80FF,LINETHICK2;MA120:MA(C,120),colorcyan,LINETHICK2;角5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角20:ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416,nodraw,colorwhite;角120:=ATAN((MA120/REF(MA120,1)-1)*100)*180/3.1416,nodraw,colorwhite;涨幅:=(C-REF(C,1))/REF(C,1)*100;TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));乖离:=ABS((MA20-MA120)/MA20*100),NODRAW,colorwhite;涨:=IF(REF(CCI,1)<100,CCI>120,CCI>100);跌:=IF(REF(CCI,1)>-100,CCI<-120,CCI<-100);震荡:=涨=0 AND 跌=0;//BOLL线上:MA20+2*STD(CLOSE,20),COLOR0000FF,DOTLINE;下:MA20-2*STD(CLOSE,20),COLOR00FF00,DOTLINE;中上轨:上-(上-下)/6,COLORFFFF00,DOTLINE;中下轨:下+(上-下)/6,COLORFFFF00,DOTLINE;两格:=中上轨-MA20;//用不同颜色画不同行情的K线STICKLINE(涨=1,H,L,0,0),colorred;STICKLINE(涨=1 AND C>=O,C,O,10,1),colorred;STICKLINE(涨=1 AND C<O,C,O,10,0),colorred;STICKLINE(跌=1,H,L,0,0),COLORFF6400;STICKLINE(跌=1 AND C>=O,C,O,10,1),COLORFF6400;STICKLINE(跌=1 AND C<O,C,O,10,0),COLORFF6400;STICKLINE(震荡=1,H,L,0,0),coloryellow;STICKLINE(震荡=1 AND C>=O,C,O,10,1),coloryellow;STICKLINE(震荡=1 AND C<O,C,O,10,0),coloryellow;//不同周期K线界面显示IF(PERIODNAME<>"月线")IF(PERIODNAME<>"周线")IF(PERIODNAME<>"日线")IF(PERIODNAME<>"60分钟"){BT:=(L<=中下轨 AND 跌=0 AND LLV(L,3)>LLV(L,22) AND O-C<两格) OR (L<=下 AND 跌 AND LLV(L,3)>LLV(L,22) AND O-C<两格);ST:=(H>=中上轨 AND 涨=0 AND HHV(H,3)<HHV(H,22) AND C-O<两格) OR (H>=上 AND 涨 AND HHV(H,3)<HHV(H,22) AND C-O<两格);DRAWICON(BT,L,1);DRAWICON(ST,H,2);RETURN;}BX:=(L<=中下轨 AND 跌=0 AND LLV(L,3)>LLV(L,20) AND O-C<两格) OR (L<=下 AND 跌 AND LLV(L,3)>LLV(L,20) AND O-C<两格);SX:=(H>=中上轨 AND 涨=0 AND HHV(H,3)<HHV(H,20) AND C-O<两格) OR (H>=上 AND 涨 AND HHV(H,3)<HHV(H,20) AND C-O<两格);DRAWICON(BX,L,1);DRAWICON(SX,H,2);低吸:=(涨AND L<上AND HHV(CCI,3)=HHV(CCI,8)) OR (涨AND L<中上轨) OR (震荡AND C>MA20 AND 角20>IF(C>1000,8,20) AND L<=MA20+(上-下)/8) OR (角20>IF(C>1000,0,8) AND L<MA20-(上-下)/8) OR BX;高抛:=(跌 AND H>下 AND LLV(CCI,3)=LLV(CCI,8)) OR (跌 AND H>中下轨) OR (震荡 AND C<MA20 AND 角20<IF(C>1000,-8,-20) AND H>=MA20-(上-下)/8) OR (角20<IF(C>1000,0,-8) AND H>MA20+(上-下)/8) OR SX;观望:=低吸=0 AND 高抛=0;DRAWTEXT_FIX(ISLASTBAR,0.5,0.05,0,'<使用说明> -->'),colorred;DRAWTEXT_FIX(ISLASTBAR,0.57,0.05,0,'红色上涨,蓝色下跌,黄色震荡'),colorcyan;DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,0,'<使用说明> -->'),colorred;DRAWTEXT_FIX(ISLASTBAR,0.57,0.1,0,'当买点信号出现时,先用大一级别周期确认处于低吸区域,否则买点信号真实性偏弱)'),colorcyan;DRAWTEXT_FIX(ISLASTBAR AND BX,0.5,0.2,0,'<买点信号介入价格> -->'),colorred;DRAWNUMBER_FIX(ISLASTBAR AND BX,0.6,0.2,0,TOSTRING(IF(跌,下,中下轨),2)),colorcyan;DRAWTEXT_FIX(ISLASTBAR AND BX,0.62,0.2,0,'下方或附近'),colorred;DRAWTEXT_FIX(ISLASTBAR,0.5,0.15,0,"当前行情-->"),colorred;DRAWTEXT_FIX(ISLASTBAR AND 低吸,0.57,0.15,0,"当前行情处于低吸区"),colormagenta;DRAWTEXT_FIX(ISLASTBAR AND 高抛,0.57,0.15,0,"当前行情处于高抛区"),colormagenta;DRAWTEXT_FIX(ISLASTBAR AND 观望,0.57,0.15,0,"当前行情处于观望区,等待低吸或高抛"),colormagenta;。
同花顺指标公式
1,30个交易日内,股价跌幅达到一半的股票: xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的 2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)<0.3;3,两天内,累计下跌等于或超过20%选股. xg:(ref(c,2)-c)/c>0.2;4,股价是25天以来新低.xg:c5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1 )) and c>ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD 指标的参数设置为9;3;3。
2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。
3. KD指标产生黄金交叉,K线上穿D线。
4. KD交叉同时,KD指标中的D值要小于16。
BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE ,24)*100,colorff00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。
xg:v/capital*100>3 and(c/ref(c,1)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20日均线选股公式xg:ref(c,1)>ma(c,20) andcross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10),4)=2;15,选出10天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。
同花顺的选股公式
同花顺的选股公式 Document number:NOCG-YUNOO-BUYTT-UU986-1986UT同花顺选股公式同花顺选股公式黑马草上飞HMCSFLCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>;A5:=V/CAPITAL*100>;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20OR BARSSINCE( ZTJ)=0);三金叉见底SJCJDnday := 5;down := CLOSE/LLV(LOW,60)<=;pma1 := MA(CLOSE,5);pma2 := MA(CLOSE,10);vma1 := MA(VOL,5);vma2 := MA(VOL,10);diff := EMA(CLOSE,12) - EMA(CLOSE,26);dea := EMA(diff,9);ppday := BARSLAST(CROSS(pma1,pma2));vvday := BARSLAST(CROSS(vma1,vma2));macdday := BARSLAST(CROSS(diff,dea));SJCJD:= IF((ppday<=nday AND vvday<=nday AND macdday<=nday),1,0);买入就涨MRJZvar1:=1;趋势线: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*+50),colorred;var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*;var8:=CLOSE/REF(CLOSE,1)>;var9:=(HIGH-CLOSE)*<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1> AND var1<,,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND(var1E>= OR var1E> AND var1E< AND var1D>5AND var1B>5) AND var1D> ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18< AND var1B<=6AND var4*var1B>=1ANDCLOSE<,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23< AND REF(SK,3)AND REF(var22,1))var25:=CLOSE/MA(CLOSE,3)>= AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);短线抄底DXCD3A3:=REF(CLOSE, ;A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A4<=20AND A5 <=49;--------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;----------------------------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;黄线抄底选股HXCDXGA3:=REF(CLOSE, ;A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A4<=20AND A5 <=49;选马趋势XMQS个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;DRAWTEXT(个股>85,95,'*');大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;DRAWTEXT(CROSS(个股,9),30,'-马'),color00ff00;高抛低吸GPDXMMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 -100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);x1:=EMA(((KS/ 10) + EMA(CLOSE,10)),3);AA:=-100*(x1-CLOSE)/x1;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) +CLOSE),55);MM:=MA(MMV,1);SA:=(MM*;SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));x2:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;y1:=DMA(((CLOSE+ OPEN) / 2),(VOL / (SMA(VOL,4,1)*4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);x3:A,coloryellow,LINETHICK1;B:=REF(A,1);STICKLINE(((SSL<MM)),x2,x3,,0),COLORFFFF00;VA1:=EMA(上收,8);VA2:=EMA(上收,20);选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100AND T1;T3:=CROSS(箱顶A,选手A) AND箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;T4:=CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:=CROSS(箱顶,选手) AND箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);MA20:=MA(C,20); MA30:=MA(C,30);QSXS:=MA20>MA30AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);ZF:=(C/REF(C,1)-1)*100;TDDF:=(L/REF(C,1)-1)*100<=-5AND(REF(HHV(H,5),1)/L-1)*100>=10;N1:=BARSLAST(CROSS(C,MA(C,5)));N2:=BARSLAST(CROSS(MA(C,5),C));HM:=IF(N1<N2,N1+1,0)*QSXS;z2:=HM=1AND ZF>=0AND C>O AND QSXS;KX1:=ZF<=-3ANDC<O;XDSJ:=BARSLAST(KX1);KX2:=ZF>=3AND C>O;JBY:=KX2 AND XDSJ<=2AND C>=REF(O*,XDSJ) ANDZF>ABS(REF(ZF,XDSJ)*;z3:=IF(FILTER(JBY,1) AND QSXS,5,0);DRAWTEXT(z2AND z3 ,LOW*,'送钱来'),ColorFF0080;精准指标JZZBN:=5;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),,1);建仓:CROSS(VAR1,8);主力动向zldxr:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;t:=BARSCOUNT(SHGZG);b:=SUM(r,t);主力持仓:b;n:=5;x2:=HHV(r,n);S:=STD(SHGZG,2)/1000000;S1:=-STD(SHGZG,2)/1000000;STICKLINE(r>0,r+b,b,2),colorred;STICKLINE(r<0,b,b+r,2),colorgreen;STICKLINE(s>0,x2+b,b+r*3,3),coloryellow;STICKLINE(s1<0,b+r*3,b-x2,3),coloryellow;IF(ISNULL(r))a=(ZDMR[-1]+BDMR[-1]);b=(ZDMC[-1]+BDMC[-1]);a3=SUM(a,n)/1000000;b3=SUM(b,n)/1000000;VOL1=SUM(VOL,n)/1000000;S3=STD(SHGZG,2)/10000;IF(a3>b3){y=a3-b3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}ELSE{y=b3-a3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}Var1:=(CLOSE+HIGH+LOW)/3;Var2:=EMA(EMA(EMA(Var1,1),13),21);控盘度: (Var2-REF(Var2,1))/REF(Var2,1)*1000;强弱分界:= 0;抄底大师CDDSVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;抄底:FILTER(VAR5,10)=1;不抄底,只抄底BCDZCDN1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:=VAR3;波:=VAR4;段:=VAR5;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;VAR8:=VAR7 AND VOL>REF(VOL,1)*2AND VOL>REF(MA(VOL,5),1)*2;XG:VAR6 OR (VAR7 AND COUNT(VAR7,10)=1);选股公式456XJGGSHdly1:=O/C[30]< AND O==LLV(O,30);Hdly2:=C/O>;Hdly3:=O/C[18]< AND O==LLV(O,18);选股:(Hdly1 OR Hdly3) AND Hdly2;一起赚钱YQZQEMA13:=MA(CLOSE,13);EMA30:=EMA(CLOSE,30);EMA60:=EMA(CLOSE,60);EMA90:=EMA(CLOSE,90);AR1:=(EMA13 < EMA30) AND (EMA13 < EMA60) AND (EMA13 < EMA90);AR2:=BARSLAST(REF(CROSS(CLOSE,EMA13),1));AR3:=(EMA13 >= REF(EMA13,1));AR4:=AR1 AND AR2 AND AR3 AND CROSS(CLOSE,EMA13);黑马选股:AR4 AND FILTER(AR4,10);大黑马DHMVAR1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240); VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VARA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100; VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);固定筹码:EMA((VAR1-VAR3)/VAR3*VAR4,13);移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);多空对比:固定筹码-移动筹码, COLORSTICK;VAR13:=VAR7>= AND VAR7<= ANDCLOSE>MA(CLOSE,5)AND CLOSE>MA(CLOSE,10) AND多空对比>-100;大黑马:IF(VAR13 AND VAR12>7AND REF(VAR12,1)<0ANDVAR12-REF(VAR12,1)>9,1,0),LINETHICK3 ,COLOR00FFFF;STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,COLOR00FFFF;DRAWICON(大黑马,固定筹码*,5);周线黑马ZXHMma7:=EMA(C,7);ma14:=EMA(C,14);aa:=CROSS(ma7,ma14) AND V>REF(V,1)*;bb:=V>REF(V,1)*3;选股1:IF(aa,1,0);选股2:IF(bb,1,0);收敛三角形选股公式SLSJXY:=(H+L)/2;AO:=MA(Y,5)-MA(Y,34 );DU0:=CROSS(AO,0);UD0:=CROSS(0,AO);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)); JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0; JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0; JDU1:JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:JUD0 AND COUNT(JUD0,TUD0)=1;。
同花顺指标公式精选
同花顺指标公式精选01散户线散户线:(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100,ColorFFFF00,LINETHICK2; RSV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;庄家线:EMA(j,6),colorff00ff,LINETHICK2;02百万短线Var1:=(CLOSE*2+HIGH+LOW)/4;SK: EMA(Var1,13)-EMA(Var1,21);SD: EMA(SK,2);多方能量: 2*(SK-SD)*3.8, LINESTICK;空方能量: (-2)*(SK-SD)*3.8, LINESTICK;03趋势:趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA( SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),colorre d,Linethick2;买警: IF(趋势<=20,22,0);卖1: IF(趋势>=95,86,95);卖2: IF(趋势>=88,79,88);卖3: IF(趋势>=81,66,81);卖4: IF(趋势>=74,57,74);底部: 15;买警1: IF(趋势<=20,23,20);买进: IF(CROSS(趋势,底部),15,0);04趋势背离RSV:=(((C - LLV(L,21))/(HHV(H,21) - LLV(L,21)))*100); 趋势:MA(3*(SMA(RSV,6,1)) -2*(SMA(SMA(RSV,5,1),5,1)),2),Linethick2,coloryellow; A:=(O - LLV(L,89))/(HHV(H,89) - LLV(L,89))*100;VAR2:=3*SMA(A,20,1) - 2*SMA(SMA(A,20,1),15,1)- 100;背离:(FORCAST(((-1))*(VAR2),21)),Linethick2,Color9933FF;钱龙:DRAWTEXT((CROSS(背离,趋势)),背离,'●'),Color00FF00; DRAWTEXT((CROSS(趋势,背离)),背离,'●'),colorred;05买卖指示线VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLO SE,1))),25);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);VAR9:=(VAR8+REF(VAR8,15))/2;A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);B:=ZIG(3,50/5)*100,COLORWHITE;G:MA(B,2),COLORYELLOW;D:=CROSS(B,G)*1000,COLORRED;W:=CROSS(G,B)*1000,COLORBLUE;E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);VAR10:=F AND F<8;VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR12:=SMA(VAR11,3,1);VAR13:=SMA(VAR12,3,1);VAR14:=VAR13 AND VAR13<20;MM:=A AND D AND VAR10 AND VAR14 ;DRAWTEXT(W=1000,B*1.05,'卖' ),COLOR00FF00; DRAWTEXT(D=1000,B*1.05,'买'),COLORRED;06买卖线V AR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;安全线: EMA(V AR1,55), CIRCLEDOT;K: SLOPE(EMA(V AR1,2),7)*15+V AR1;D: EMA(K,2);J: 2.8*K-1.8*D;买1: IF(CROSS(K,D) AND K<安全线,9.8,6);买2: IF(CROSS(K,安全线),9.8,6);买3: IF(CROSS(K,D) AND K>安全线,9.8,6);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);买4:IF((V7 AND COUNT(V7,3)=1),3,0),COLORFF00FF; DRAWTEXT(买4,10,'买4'),COLORFF00FF;最佳买入: ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1) <REF(ZIG(3,10),2),COLORRED,LINETHICK2;DRAWTEXT(最佳买入=1,1.5,'入!'),COLORRED;止损: ZIG(0.5,10)<REF(ZIG(0.5,10),1) AND REF(ZIG(0.5,10),1)>REF (ZIG(0.5,10),2),COLORGREEN;DRAWTEXT(止损=1,1.5,'出!'),COLORGREEN;V AR3:=PEAKBARS(3,15,1)<10;V AR5:=IF(V AR3=1,2,0);顶:= IF(V AR5=2,2,0);逃命:IF(顶>REF(顶,1),10,0),COLORYELLOW;DRAWTEXT(逃命=10,10,'逃!'),COLORYELLOW;07量能V AR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;逃顶: 80;V AR2:=LLV(LOW,34);V AR3:=HHV(HIGH,34);SK: EMA((V AR1-V AR2)/(V AR3-V AR2)*100,13);SD: EMA(SK,3);{drawicon(sd,80,sd>80),ColorFFFF00;drawicon(sd,20,sd<20),COLOR00AAFF; }吸货: 20;楚河分界: 50;V AR4:=IF(CROSS(SK,SD),40,22);V AR5:=IF(CROSS(SD,SK),60,78);卖出: V AR5;买进: V AR4;08短线CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD: (EMA(CS,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;V AR4:=(1.1)*CLOSE;V AR5:=(0.9)*CLOSE;V AR6:=100*(WINNER(V AR4)-WINNER(V AR5));S1:2*EMA(100-V AR6,1),COLORYELLOW;S2:EMA(S1,9);S3:=MA(S2,9);条件:=CROSS(YJD,极弱) AND S1>S2;条件0:=CROSS(强势,YJD) AND S1<S2;DRA WICON(条件,极弱,5);DRAWICON(条件0,强势,6);09资金P:=5;R:=(AMOUNT / 1000000);R1:=IF(C>REF(C,1),R,IF(C<REF(C,1),(-1)*R,0));R3:=SUM(R1,13);資金監控K:(R3 * OPEN),POINTDOT,colorFFCC00;資金監控S:(R3 * CLOSE),POINTDOT,colorFFCC00;資金平衡位:MA(資金監控S,8),colorred;平衡A:MA(資金平衡位,5),colorwhite;STICKLINE((資金監控S >= REF(資金監控S,1)),REF(資金監控S,1),資金監控S,6,0),color0000FF;STICKLINE((資金監控S < REF(資金監控S,1)),REF(資金監控S,1),資金監控S,6,0),color00FF00;MA(資金監控S,P),color00FFFF;1、出击逃顶V ARa:=(2*CLOSE+HIGH+LOW)/4;V ARb:=LLV(LOW,34);V ARc:=HHV(HIGH,34);V ARd:=EMA((V ARa-V ARb)/(V ARc-V ARb)*100,13);V ARe:=EMA(0.667*REF(V ARd,1)+0.333*V ARd,2);STICKLINE(V ARd-V ARe>0,V ARd,V ARe,8,0),colorred;STICKLINE(V ARd-V ARe<0,V ARd,V ARe,8,0),COLOR00FF0F;生命:EMA(V ARe,5), colorgray;出击:IF(CROSS(V ARd,V ARe) AND V ARd>V ARe AND V ARd<18,20,0), STICK,colorred; DRAWICON(出击>0,5,1);卖出:IF(CROSS(V ARe,V ARd) AND V ARd,60,V ARe,88),POINTDOT,colorwhite; STICKLINE(CROSS(V ARe,V ARd) AND V ARd,60,V ARe,88,2,1),colorblue; DRAWICON(卖出<88,卖出,4);逃顶:90;2、顶底q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;q3:=SMA(q2, 9, 1);q4:=SMA(q3, 3, 1);长趋势:3*q3-2*q4,colorwhite,linethick3;趋势线:EMA(q3, 3),colorred,linethick3;DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '▼逢高派发'), Color00ff00,linethick5;▲逢低买入: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,'▲逢低买入'), Color00Ffff, linethick1;▲低买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'▲低买'),colorblue,linethick1;var3:=PEAKBARS(3,15,1)<10;var5:=IF(var3=1,2,0);顶:= IF(var5=2,2,0);顶a:IF(顶>REF(顶,1),50,0),colorgreen, linethick2;DRAWTEXT(顶a=50,45,'顶部'),color00ff00;3、红柱进仓A1:=EMA(C,12)-EMA(C,25);A2:=EMA(A1,6);主力:(A2>=0)*A2,colorwhite,LINETHICK0;STICKLINE(A2>=0,A2,0,5,0),colorwhite;STICKLINE(A2<0,A2,0,5,0),COLORD4FF7F;STICKLINE(A1<0,A1,0,5,0),COLORB00058;STICKLINE(A1>=0,A1,0,5,0),colorred;V AR8:=VOL>2*MA(VOL,30);V AR9:="DMI.ADX"(12,6);V ARA:="DMI.ADXR"(12,6);V ARB:=CLOSE>MA(CLOSE,30) AND CLOSE<MA(CLOSE,30)*1.04;V ARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);V ARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CL OSE,10),MA(CLOSE,5)));V ARF:=TROUGHBARS(3,15,1)<4;V AR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);V AR11:=IF(VARF=1,50,0);机构:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*1 00,3),colorwhite;STICKLINE(FILTER(V ARF=1,5) AND 机构<-10,50,0,15,0),colorred;STICKLINE(FILTER(V ARF=1,5),50,0,8,0),colorred;DRAWTEXT(FILTER(V ARF=1,3),25,'擎天柱'),colorred ;STICKLINE(机构<-10,0,机构,0.85,0),colorgreen;STICKLINE(机构>10,0,机构,0.95,0),coloryellow;4、奇准//N:=5; N1:=21;V AR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryell ow,LINETHICK1;V AR2:=8,colorgreen,LINETHICK0;小试牛刀: IF(CROSS(VAR1,V AR2),8,0),STICK,colorred;DRAWICON(小试牛刀>0,8,4);发现庄迹: IF(VAR1<=8,15,0),STICK,colorcyan,LINETHICK2;V ARO5:=LLV(LOW,27);V ARO6:=HHV(HIGH,34);V ARO7:=EMA((CLOSE-V ARO5)/(V ARO6-V ARO5)*4,4)*25;建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1))-0.5;CD5:=IF(CD4>0.00,CD4,0.00);CD6:=REF(CD5,1);V AR81:=MA(C,9),colorred;空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,colorgreen;减仓空仓:CROSS(CD6,CD5),colorgreen;DRAWICON(减仓空仓>0,113,5);V AR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;V AR2A:=SMA(V AR1A,9,1)+100;V AR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;V AR4A:=SMA(V AR3A,3,1);V AR5A:=SMA(V AR4A,3,1)+100;V AR6A:=V AR5A-V AR2A;端庄窝:=IF(VAR6A>N1,V AR6A-N1,0),COLORLIRED;果断出击:IF(CROSS(端庄窝,0.01),18,0),STICK,COLOR0000CC,LINETHICK2; DRAWICON(果断出击>0,18,4);XG:=CROSS(端庄窝,0.01);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),colorred; STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00; 红持绿空:0,colorgreen;5、卖出DY1:=(2*CLOSE+HIGH+LOW)/4;DY2:=LLV(LOW,34);DY3:=HHV(HIGH,34);BDC:EMA((DY1-DY2)/(DY3-DY2)*100,4),colorred;BDD:EMA((0.667*REF(BDC,1)+0.333*BDC),2),colorff9900;BDE:=EMA((DY1-DY2)/(DY3-DY2)*100,30);BDF:=EMA(BDE,5);DY4:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100; kw:=SMA(DY4,34,1),colorcccc22;dw:=SMA(kw,13,1);中期趋势:kw,coloryellow;DY5:=(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*100; km:=SMA(DY5,89,1),color3366dd;dm:=SMA(kw,34,1);买:IF(CROSS(BDC,BDD) AND BDD<21,25,0),color00ff00;长期趋势:km,color00ff00;风险区:80,POINTDOT,colorff00ff;安全区:20,POINTDOT,color00ff00;STICKLINE(BDC>=BDD,BDC,BDD,4,0),colorred;STICKLINE(BDC<BDD,BDD,BDC,4,0),colorffff33;STICKLINE(BDE>=BDF,BDE,BDF,4,0),color555555;STICKLINE(BDE<BDF,BDF,BDE,4,0),colorff00ff;6、操盘手线买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(bu,LOW*0.999,'B'),colorred,linethick3;DRAWTEXT(bu,LOW,'﹉'),Color208FFF,LINETHICK3;DRAWTEXT(sel,HIGH,'﹉'),ColorFFFF00,LINETHICK3;DRAWTEXT(sel,HIGH*1.008,'S'),colorffff00,linethick3;STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred;STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),color0000aa;STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),color0000cc;STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),color0000cc;STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),color0000ee;STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),coloraaaa00;STICKLINE(买线<卖线,CLOSE,OPEN,4,0),colorbbbb00;STICKLINE(买线<卖线,CLOSE,OPEN,3,0),colorcccc00;STICKLINE(买线<卖线,CLOSE,OPEN,2,0),coloreeee00;STICKLINE(买线<卖线,LOW,HIGH,1,0),colorffff00;STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff;指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1, ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;DRAWTEXT(CROSS(指导线,界),界,' ̄'),Colorffffff;DRAWTEXT(CROSS(界,指导线),界,' ̄'),Color00ffff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;G:=95;DRAWTEXT(CROSS(J,D),L*0.999,'▲'),Color00ffff,linethick4;DRAWTEXT(CROSS(J,D),L,' ̄'),Color00ffff;DRAWTEXT(CROSS(J,G),H*1.005,'▼'),Colorffff00,linethick4;DRAWTEXT(CROSS(J,G),H,' ̄'),Colorffff00;7、买卖预警Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA (SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(V ar5-MA(Var5,14))/(0.015*A VEDEV(Var5,14));Var7:=(V ar5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20, 1),15,1);VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20, 1),15,1);VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=Var11-CLOSE;Var13:=REF(CLOSE,1);Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;Var16:=BARSCOUNT(CLOSE);Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*1 00;Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1A:=(SMA(Var19,4,1)-50)*2;Var1B:=SMA(Var1A,3,1);Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1D:=SMA(Var1C,4,1);Var1E:=SMA(Var1D,3,1);Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);情报: Var3;天线: IF(VarB<90,VarB,100);红军: IF(Var1>0,Var1,0),colorred, LINESTICK;绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;导弹: Var20;预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60; STICKLINE(Var3>=REF(Var4,1),Var3,Var4,8,0);//STICKLINE(var3);var21:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);Var22:=CLOSE;Var23:=红军>50 AND 预警系统>60 AND 天线=100;Var24:=红军>48 AND 预警系统>60 AND 天线<100;Var25:=绿军>38 AND 预警系统<55;Var26:=导弹>50 AND 天线<90;Var27:=REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var28:=REF(Var4,1) AND CLOSE=REF(绿军,1) AND DRAWTEXT(Var21 AND COUNT(Var21,30)=1,100,'上升通道,持股待长或高抛低吸!');DRAWTEXT(V ar22 AND COUNT(Var22,30)=1,90,'下降通道,小心无量阴跌!'); DRAWTEXT(V ar23 AND COUNT(Var23,30)=1,70,'上涨过急,需要调整,短线先抛出!'); DRAWTEXT(V ar24 AND COUNT(Var24,30)=1,80,'庄家出货,大跌在即,中线抛出!'); DRAWTEXT(V ar25 AND COUNT(Var25,30)=1,50,'不必杀跌,应有小反弹,跌停除外!'); DRAWTEXT(V ar26 AND COUNT(Var26,30)=1,30,'坚决抢反弹,但巨量封跌停除外');DRAWTEXT(V ar27 AND COUNT(Var27,30)=1,40,'有大资金进场迹象,关注!'); DRAWTEXT(V ar28 AND COUNT(Var28,30)=1,20,'见顶回落');买入:IF(V AR27 AND COUNT(V AR27,30)=1,100,0),LINETHICK3,colorblue;8、买卖提示V ARb:=LLV(LOW,27);V ARc:=HHV(HIGH,34);V ARd:EMA((CLOSE-V ARb)/(V ARc-V ARb)*4,4)*25,colorred;建仓:IF((VARd<12),25,0),colorgreen;Va:=REF(CLOSE,1);Vb:=((SMA(MAX((CLOSE-Va),0),6,1)/SMA(ABS((CLOSE-Va)),6,1))*100);卖出:IF(CROSS(80,Vb),60,0),colorcyan,linethick2;DRAWTEXT(CROSS(80,Vb),40,'=出'),coloryellow;9、资金流入流出V AR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));买盘:=IF((CLOSE > OPEN),(V AR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(V AR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (V AR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘+ 卖盘);STICKLINE((买卖差< 0),0,买卖差,5,0),COLOR33FF33;0;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);V AR30:=MA(VOL,JY2);神比:=(买盘/ V AR30);鬼比:=(卖盘/ V AR30);V AR2:=(HIGH - LOW);V AR3:=ABS((OPEN - CLOSE));V AR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));V AR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);V AR6:=((V AR3 / V AR2) * VOL);V AR7:=((V AR4 / V AR2) * VOL);V AR8:=((V AR5 / V AR2) * VOL);V AR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));V ARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);V ARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60))); V ARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));V ARD:=REF(CLOSE,1);V ARE:=((SMA(MAX((CLOSE - V ARD),0),6,1) / SMA(ABS((CLOSE - V ARD)),6,1)) * 100);V AR40:=((IF((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE > OPEN)),V AR6,买盘) + 买盘) / 2);V AR41:=((IF(((VAR7 > V AR6) AND (V AR7 > V AR8)),V AR7,买盘) + 买盘) / 2);V AR42:=((IF(((VAR8 > V AR6) AND (V AR8 > V AR7)),V AR8,买盘) + 买盘) / 2);V AR50:=((IF((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE < OPEN)),V AR6,卖盘) + 卖盘) / 2);三日上攻:=MA((((V AR40 + V AR41) + V AR42) / 3),JY2);三日下攻:=MA(V AR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,5,1),COLOR0000FF;空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,5,1),COLOR00FF00;STICKLINE((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE > OPEN)),0,V AR6,4,0),COLOR00FFFF;STICKLINE((((VAR6 >= V AR7) AND (V AR6 >= V AR8)) AND (CLOSE < OPEN)),0,V AR6,4,0),COLORFF0000;STICKLINE(((VAR8 > V AR6) AND (V AR8 > V AR7)),0,V AR8,4,0),COLORFFFFFF; STICKLINE(((VAR7 > V AR6) AND (V AR7 > V AR8)),0,V AR7,4,0),COLORFF00FF; STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2,0);STICKLINE((买盘> 0),买盘,0,2,0),COLOR0000FF;10、顶底q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;q3:=SMA(q2, 9, 1);q4:=SMA(q3, 3, 1);长趋势:3*q3-2*q4,colorwhite,linethick3;趋势线:EMA(q3, 3),colorred,linethick3;DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '▼逢高派发'), Color00ff00,linethick5;▲逢低买入: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND趋势线>1.3*长趋势,长趋势,'▲逢低买入'), Color00Ffff, linethick1;▲低买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND长趋势>1.3*趋势线,趋势线,'▲低买'),colorblue,linethick1;var3:=PEAKBARS(3,15,1)<10;var5:=IF(var3=1,2,0);顶:= IF(var5=2,2,0);顶a:IF(顶>REF(顶,1),50,0),colorgreen, linethick2;DRAWTEXT(顶a=50,45,'顶部'),color00ff00;11、资金VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘 + 卖盘);STICKLINE((买卖差 < 0),0,买卖差,5,0),COLOR33FF33;0;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);神比:=(买盘 / VAR30);鬼比:=(卖盘 / VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60))); VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30))); VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,买盘) + 买盘) / 2); VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,买盘) + 买盘) / 2);VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,买盘) + 买盘) / 2);VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,卖盘) + 卖盘) / 2); 三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);三日下攻:=MA(VAR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,5,1),COLOR0000FF;空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,5,1),COLOR00FF00;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),COLOR00FFFF; STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,4,0),COLORFF0000; STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,4,0),COLORFFFFFF;STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,4,0),COLORFF00FF;STICKLINE((VOL > (MA(VOL,5) * 2.5)),0,VOL,2,0);STICKLINE((买盘 > 0),买盘,0,2,0),COLOR0000FF;12、主力AVPRICE:=(((2)*(OPEN) + (2)*(CLOSE) + (2)*(HIGH) + (2)*(LOW))/(8));INDEXAVP:=(((2)*(INDEXH) + (2)*(INDEXL) + (2)*(INDEXO) + (2)*(INDEXC))/(8)); F:=(AVPRICE - REF(AVPRICE,1))/(REF(AVPRICE,1));F1:=(INDEXAVP - REF(INDEXAVP,1))/(REF(INDEXAVP,1));类比参数3:=(((SUM(F,10) + SUM(F1,10))/(10))*(1000));类比大盘参数:=IF((类比参数3 > 0),类比参数3,0);类比参数2:=IF((类比参数3 < 0),(-类比参数3),0);STICKLINE(类比参数2,150,150 - 类比参数2,11,0),Color008000;STICKLINE(类比大盘参数,150,150 - 类比大盘参数,11,0),ColorFF00FF;AA:=AVPRICE;BB:=((VOL)*((AA)*(2) - HIGH - LOW))/(HIGH - LOW);CC:=IF((HIGH = LOW) AND (AA < REF(AA,1)),((-1))*(VOL),VOL);A:=IF((HIGH = LOW),CC,BB);B:=SUM(A,11);BBD:=(((B)/((CAPITAL)*(11)))*(10000));BB1:=IF((BBD < 150) AND (BBD > (-150)),BBD,150);买方能量指标:=IF((BB1 > 0),BB1,0);STICKLINE((BB1 > 0),0,买方能量指标,5,0),coloryellow;STICKLINE((BB1 < 0),0,(-BB1),5,0),Color008000;A16:=(SUM((AVPRICE)*(VOL),16))/(SUM(VOL,16));A11:=(SUM((AVPRICE)*(VOL),11))/(SUM(VOL,11));A6:=(SUM((AVPRICE)*(VOL),6))/(SUM(VOL,6));A7:=(SUM((AVPRICE)*(VOL),7) - (AVPRICE)*(VOL))/(SUM(VOL,7) - VOL);A0:=((A11 - A16)/(AVPRICE))*(1000);A00:=IF((A0 > 50),50,IF((A0 < (-50)),(-50),A0));A1:=((A6 - A11)/(AVPRICE))*(1000);AA11:=IF((A1 > 50),50,IF((A1 < (-50)),(-50),A1));A2:=((((A6 - A7)/(A7))*(5))/(4))*(1000);A22:=IF((A2 > 50),50,IF((A2 < (-50)),(-50),A2));刻度线3:=(A00 + AA11 + A22);趋势线:=IF((刻度线3 > 0),刻度线3,0);兰刻度线:=IF((刻度线3 < 0),刻度线3,0);红柱线:趋势线,colorred;兰柱线:(-兰刻度线),colorblue;STICKLINE(趋势线,0,趋势线,3,0),colorred;STICKLINE(兰刻度线,0,(-兰刻度线),3,0),ColorFF0000;强弱分界:50,Color000080;13、买买var1:=1;趋势线:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOS E-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),colorred; var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*1.236;var8:=CLOSE/REF(CLOSE,1)>1.021;var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1>0.75AND var1<0.901,0.618,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND(var1E>=0.9OR var1E>0.76AND var1E<0.901AND var1D>5AND var1B>5) AND var1D>1.8 ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18<0.25AND var1B<=6AND var4*var1B>=1 ANDCLOSE<18.5,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23<0.161 AND REF(SK,3)AND REF(var22,1));//var25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) ANDMA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);14、进出MAV:=(C*2+H+L)/4;SK:=EMA(MAV,13) - EMA(MAV,34);SD:=EMA(SK,5); 中轴:0;空方主力 : (-2*(SK-SD))*3.8,COLOR00FF00;多方主力 : (2*(SK-SD))*3.8,colorred;15、私募A01:=DAYINTERST(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009)))); A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW ,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);Var2:=WMA(Var1,8);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=WMA(Var3,3)-10;(趋势>80);DRAWICON(CROSS(趋势,0),40,1);((A09 > 0AND (趋势<20OR趋势>REF(趋势,1)AND趋势<50))),colorFFFF00;机构建仓区:0,LINETHICK0,colorFFFF00;Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,5,0),colorcc9900;DRAWTEXT(FILTER(趋势<=13,15),50,'准备现金'),colorcc9900;STICKLINE(趋势<=13AND Var4>13,0,50,5,0),color0099ff;Var5:=FILTER((趋势<=13AND Var4>13),10);DRAWTEXT(Var5,60,'买入'),color0099ff;STICKLINE(趋势>=90AND Var4,0,30,5,0),colorgray;Var6:=FILTER((趋势>=90AND Var4),10);DRAWTEXT(Var6,40,'清仓'),colorddffdd;Var7:=LLV(LOW,30);Var8:=HHV(HIGH,30);Var9:=WMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;STICKLINE(Var9>90,100,105,10,2),colorred;Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'险'),Color00FF00;DRAWICON(CROSS(90,Var9),95,2);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:WMA(IF(LOW<=Var7 AND趋势<40,(Var11+Var12),0),3)/618,colorred,linethick2; STICKLINE(火焰山>0,0 ,火焰山*1.2,8,0 ),colorred;Var13:=(WMA(C,1)+WMA(C,3)+WMA(C,5)+WMA(C,7)+WMA(C,9))/5;Var14:=(WMA(C,2)+WMA(C,4)+WMA(C,6)+WMA(C,8)+WMA(C,10))/5;趋势线: 趋势,colorff0000;Var16:=MAX(WMA(Var13,2)-WMA(Var14,5),0)*200;Var17:=WMA(Var16,5);波浪峰:Var17,STICK,colorff00ff;STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;Var18:=WMA(趋势线,8);VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LL V(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var19:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV (LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var20:=VarF<REF(Var19,1) AND AMOUNT>REF(AMOUNT,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(Var20 AND COUNT(Var20,30)=1,40,'大资金活动'),linethick1,COLORff00ff;IF(CROSS(Var2,Var18) AND Var2<15,50,0),colorred;DRAWTEXT(CROSS(趋势线,Var2)AND趋势线>REF(趋势线,1)AND趋势线<50,50,'追涨'),COLORFF0000;16、出货VAR0:=DAYINTERST(5);VAR1:=BARSCOUNT(HIGH);VAR2:=(SMA((HIGH / HHV(CLOSE,120)),3,1) * 100);低位金叉跟进:=IF((VAR1 > 20),VAR2,0);VAR11:=IF((HIGH< VAR0),0,IF((LOW> VAR0),1,(((VAR0 - HIGH) + 0.009) / ((LOW- HIGH) + 0.009)))); AAA:=(DMA(VAR11,(VOL /SUM(VOL,90))) * 60);BBB:=(DMA(VAR11,(VOL / CAPITAL)) * 60);VAR12:=IF(C>1000,AAA,BBB);VAR3:=IF((((VAR12 > 0) AND (VAR12 > REF(VAR12,1))) AND (低位金叉跟进 >= 88)),VAR2,0);VAR4:=((3 * SMA((((CLOSE - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1)) - (2 * SMA(SMA((((HIGH - HHV(HIGH,27)) / (LLV(LOW,27) - HHV(HIGH,27))) * 100),5,1),3,1)));VAR5:=EMA(VAR4,8);VAR6:=((3 * SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1)) - (2 *SMA(SMA((((HIGH - HHV(HIGH,55)) / (LLV(LOW,55) - HHV(HIGH,55))) * 100),5,1),3,1)));VAR7:=(EMA(VAR6,3) - 10);A:=1.1*C;B:=0.9*C;B1:=100*(WINNER(A)-WINNER(B));C1:=MA(C,13)<REF(MA(C,13),1);D1:=IF(C>1000,CROSS(VAR3,22),CROSS(VAR3,24));锁定筹码:=100-B1;锁定区:STICKLINE(锁定筹码>70AND C1,0,锁定筹码-65,8,0),COLOR0000FF;出仓区:STICKLINE(((VAR3>0) AND ((VAR7 < 20) OR ((VAR7 > REF(VAR7,1)) AND (VAR7 < 50)))),0,VAR3,8,0),colorgreen;明天买:IF(CROSS(锁定筹码,90)AND C1,锁定筹码-50,0),COLORBBEEFF,LINETHICK2;明天卖:IF(D1,VAR3+10,0),COLORFFAA00,LINETHICK2;17、多空VAR0:=(2*CLOSE+HIGH+LOW)/4;VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;B:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);短线:SMA(SMA(VAR2,2,1)+3,2,1),coloryellow;浮筹:EMA(B,4),LINETHICK2,colorgreen;空方:SMA(VAR1,3,1);DRAWICON(短线>浮筹,0,10);DRAWICON(短线<浮筹,0,11);浮筹1:浮筹+0.5,LINETHICK0;浮筹2:浮筹+1,LINETHICK0;浮筹3:浮筹+1.5,LINETHICK0;浮筹4:浮筹+2,LINETHICK0;。
同花顺公式
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,30);
Var12:=Var11-CLOSE;
Var13:=REF(CLOSE,1);
Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;
Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);
情报: Var3;
天线: IF(VarB<90,VarB,100);
红军: IF(Var1>0,Var1,0),colorred, LINESTICK;
绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;
导弹: Var20;
预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60;
Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
同花顺主图选股公式大全集团档案编码:[YTTR-YTPT28-YTNTL98-UYTYNN08]同花顺指标公式一.操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;?MA10:MA(CLOSE,10),Color00BBBB;?MA21:MA(CLOSE,21),Color00AA00;?MA30:MA(CLOSE,30),Color990099;?MA60:MA(CLOSE,60),Color000088;?MA120:MA(CLOSE,120),Color777700;?买线:=ZIG(3,10);?卖线:=MA(买线,3);?BU:=CROSS(买线,卖线);?SEL:=CROSS(卖线,买线);?DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;?DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;?DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;?DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;?STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC;?STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00;?STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;?STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定............................................................................... .......................................二.主力多空副图指标源码MAV:=(C*2+H+L)/4;SK:=EMA(MAV,13)-EMA(MAV,34);SD:=EMA(SK,5);中轴:0;空方主力:(-2*(SK-SD))*3.8,colorgreen;多方主力:(2*(SK-SD))*3.8,colorred;指标用法:多方主力线从低位向上掉头且有所放大,则为买入信号。
多方主力线由高位击破空方主力线向下(不击穿空方主力线为正常调整),则为卖出信号。
指标镶入步骤:工具→公式管理→常用→技术指标→自定指标→新建→名称和描述→粘贴指标源码→确定............................................................................... ...............................................三.波段买卖王副图指标源码Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;Var6:=(Var3+Var4+Var5)/3;Var7:=EMA(Var6,5);指标:EMA(EMA(Var3,5),5)*3,COLORSTICK;Var8:=IF(Var6<=-20,10,0);Var9:=HHV(Var8,10);STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;VarA:=IF(Var9ANDCROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;STICKLINE((VarA=20),0,10,5,0),colorwhite;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND(REF(ZI G(3,5),2)<=REF(ZIG(3,5),3));VARD:=(ZIG(3,5)<REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))AND(REF(ZI G(3,5),2)>=REF(ZIG(3,5),3));STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;DRAWTEXT((VARC=1),(-14),'买'),Color0000FF;STICKLINE((VARD=1),14,0,4,0),Color00FF00;DRAWTEXT((VARD=1),18,'卖'),Color00FF00;VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var11:=VarF<REF(Var10,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);DRAWTEXT(Var11ANDCOUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff; STICKLINE(Var11ANDCOUNT(Var11,30)=1,1,10,5,0),colorff00ff;Var12:=(HIGH+LOW+CLOSE)/3;Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));Var15:=IF(Var13>=150ANDVar13<200ANDVar14>=150ANDVar14<200,10,0);Var16:=IF(Var13<=-150ANDVar13>-200ANDVar14<=-150ANDVar14>-200,-10,Var15);Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;Var18:=100-ABS(Var17);Var19:=IF(Var18<90,Var18,100);指标用法:可直接按照本指标给出的波段买参考操作。
指标镶入步骤:工具→公式管理→常用→技术指标→自定指标→新建→名称和描述→粘贴指标源码→确定............................................................................... .......................................四.神奇捉底买卖王指标源码VAR8:=VOL>2*MA(VOL,30);VAR9:="DMI.ADX"(10,6);VARA:="DMI.ADXR"(10,6);VARB:=CLOSE>MA(CLOSE,30)ANDCLOSE<MA(CLOSE,30)*1.04;VARC:=MA(CLOSE,30)>REF(MA(CLOSE,30),1);VARD:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10)))<BARSLAST(CROSS(MA(CLOSE,10),MA( CLOSE,5)));VARE:=0-"MACD.DIFF"(7,21,3);VARF:=TROUGHBARS(3,15,1)<4;VAR10:=EMA(CLOSE,30)>REF(EMA(CLOSE,30),2);VAR11:=IF(VARF=1,50,0);多空:EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),colorwhite;0,colorred;STICKLINE(FILTER(VARF=1,5)AND多空<-10,50,0,15,0),colorf00ff0;STICKLINE(FILTER(VARF=1,5),50,0,8,0),coloryellow;DRAWTEXT(FILTER(VARF=1,3),25,'大量★买入'),colorred;STICKLINE(多空<-10,0,多空,0.85,0),coloryellow;STICKLINE(多空>10,0,多空,0.95,0),colorred;指标用法:可直接按照本指标给出的大量☆买入点参考操作。
指标镶入步骤:工具→公式管理→常用→技术指标→自定指标→新建→名称和描述→粘贴指标源码→确定同花顺主图买点选股公式MA5:MA(CLOSE,5),ColorCCCCCC,LINETHICK1;MA10:MA(CLOSE,10),colorgreen,LINETHICK1;MA21:MA(CLOSE,21),colorliblue,LINETHICK1;MA30:MA(CLOSE,30),coloryellow,LINETHICK2;MA60:MA(CLOSE,60),colorred,LINETHICK3;MA120:MA(CLOSE,120),Color990099,LINETHICK2;MA250:MA(CLOSE,250),Color777700,LINETHICK2;MA500:MA(CLOSE,500),colorblue,LINETHICK2;买线:=ZIG(3,10);卖线:=MA(买线,2);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(bu,L*0.99,'←进场'),LINETHICK2,COLOR00FFFF; DRAWTEXT(sel,H*1.0,'←机构清仓'),linethick1,color00FF00; DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff; DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff; STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC; STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC; STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00; STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00; STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5), 2))AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1);DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2))AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);VARC:=(ZIG(3,5)>REF(ZIG(3,5),1))AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));VARD:=(ZIG(3,5)=REF(ZIG(3,5),2))AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));DRAWTEXT((VARC=1),L,'←买'),COLOR0000FF;DRAWTEXT((VARD=1),H,'←卖'),color00FF00;V10:=PEAKBARS(3,15,1)<10;V12:=IF(V10=1,50,0);头部:=IF(V12=50,100,0);DRAWTEXT(IF(头部>REF(头部,1),H,0),H*1.02,'←减仓'),colorwhite,LINETHICK1;V9:=TROUGHBARS(3,15,1)<10;V11:=IF(V9=1,50,0);DRAWTEXT(IF(IF(V11=50,50,0)>REF(IF(V11=50,50,0),1),L,0),L*0.96,'↖'),colormagenta;VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR11:=VARF<REF(VAR10,1)AND?>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);DRAWTEXT(VAR11ANDCOUNT(VAR11,30)=1,L*0.99,'←进'),LINETHICK1,colorlimagenta;Var12:=(HIGH+LOW+CLOSE)/3;Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));Var15:=IF(Var13>=150ANDVar13<200ANDVar14>=150ANDVar14<200,10,0);Var16:=IF(Var13<=-150ANDVar13>-200ANDVar14<=-150ANDVar14>-200,-10,Var15);Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;Var18:=100-ABS(Var17);Var19:=IF(Var18<90,Var18,100);Var1A:=IF(VarE>0,VarE,0);Var1B:=IF(Var14>=200ANDVar13>=150,15,IF(Var14<=-200ANDVar13<=-150,-15,Var16))+60;Var1C:=Var1A>48ANDVar1B>60ANDVar19<100;DRAWTEXT(Var1CANDCOUNT(Var1C,30)=1,H*1,'←短线资金出'),linethick1,colorliblue;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VAR20:=VAR18<=25ANDVAR19<-95ANDVAR1F>20ANDVAR1B<-30ANDVAR1E<30ANDVAR11-CLOSE>=-0.25ANDVAR15<22ANDVAR16<28ANDVAR17>50; VAR21:=(HIGH+LOW+CLOSE)/3;VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));VAR24:=IF(VAR22>=150ANDVAR22<200ANDVAR23>=150ANDVAR23<200,10,0);VAR25:=IF(VAR22<=-150ANDVAR22>-200ANDVAR23<=-150ANDVAR23>-200,-10,VAR24);DRAWTEXT(VAR20ANDCOUNT(VAR20,1)=1,H*0.99,'↖基金!'),colormagenta; DRAWTEXT(VAR24ANDCOUNT(VAR24,1)=1,L*1.1,'↙基金清仓!'),color00FF00;点工具---公式管理---新建---交易系统---粘贴原码---填名称---测试公式---曲线属性---坐标类型---主图坐标---必须和其他窗口共享y坐标()打勾---确认---显示图形---确定---ok超跌反弹条件:跌幅在30%、50-60%、70%左右;CCI小于-200;KDJ的J小于-10;低点附近有支撑;低点离上方筹码密集区有一定反弹空间,至少在10%以上;低点时成交量萎缩;MACD日线有小底背离更好;分钟级别上有明显底背离。