您现在的位置:程序化交易>> 股票公式>> 其他>> 其他软件公式>>正文内容

金叉[其他软件公式]

相关标签:macd金叉预警指标公式 、 kdj金叉指标公式 、 动力金叉指标公式 、 五指金叉指标公式 、 十指金叉指标公式 、 七指金叉指标公式 、 四线金叉指标公式 、 三线金叉选股指标公式 、 macd提前金叉指标公式 、 macd金叉变色指标公式 、 kdj即将金叉指标公式 、 kd指标金叉选股公式 、 均线金叉指标公式 、

 

原理解析:

DRAWBKBMP(收盘价>0,'黄金分割线B')
输出DIFF:收盘价的12日指数移动平均-收盘价的26日指数移动平均,线宽为0,COLORFF
输出DEA:DIFF的9日指数移动平均,线宽为0,COLORFF00FF
输出平滑异同平均线:2*(DIFF-DEA),线宽为0
A赋值:300日内DIFF的最高值
A*1.3,线宽为0,COLORFF00
B赋值:MACD-1日前的MACD
K1赋值:SYSPARAM(3)-SYSPARAM(2)+1
DIFF1赋值:K1日内DIFF的最高值
DEA1赋值:K1日内DEA的最高值
MACD1赋值:K1日内MACD的最高值
DIFF2赋值:K1日内DIFF的最低值
DEA2赋值:K1日内DEA的最低值
MACD2赋值:K1日内MACD的最低值
MXA赋值:DIFF1[DATACOUNT]和DEA1[DATACOUNT]和MACD1[DATACOUNT]的较大值的较大值
MNA赋值:DIFF2[DATACOUNT]和DEA2[DATACOUNT]和MACD2[DATACOUNT]的较小值的较小值
A2赋值:(MXA+MNA)/2
A3赋值:MXA-MNA
H1赋值:K1日内最高价的最高值
L1赋值:K1日内最低价的最低值
MXB赋值:H1[DATACOUNT]
MNB赋值:L1[DATACOUNT]
B2赋值:(MXB+MNB)/2
B3赋值:MXB-MNB
DIFFA赋值:(DIFF-A2)*B3/A3+B2
DEAA赋值:(DEA-A2)*B3/A3+B2
MACDA赋值:(MACD-A2)*B3/A3+B2
B4赋值:-A2*B3/A3+B2
当满足条件MACD>0ANDB>0时,在B4和MACDA位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLOR91B5
当满足条件MACD>0ANDB<0时,在B4和MACDA位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLORA9B5
当满足条件MACD<0ANDB>0时,在B4和MACDA位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLORB0B07A
当满足条件MACD<0ANDB<0时,在B4和MACDA位置之间画柱状线,宽度为10,0不为0则画空心柱.,COLOR8EB03A
博弈线赋值:收盘价的8日加权移动平均
BYX赋值:收盘价的8日加权移动平均
FILLRGN(BYX>1日前的BYX,BYX,1日前的BYX),COLORB79DCC
FILLRGN(BYX<1日前的BYX,BYX,1日前的BYX),COLOR95AB
低位金叉赋值:DIFF上穿DEA AND DIFF<-0.1
当满足条件低位金叉时,在B4和B4+B3/20位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLORFFFF
当满足条件低位金叉时,在B4+B3/20位置书写文字,COLORFFFF
JCCOUNT赋值:统计上次DEA>=0距今天数日中满足DIFF上穿DEA的天数
二次金叉赋值:DIFF上穿DEA AND DEA<0 AND 统计21日中满足JCCOUNT=2的天数=1
当满足条件二次金叉时,在B4和B4-B3/40位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLORFF00FF
当满足条件二次金叉时,在DEAA*0.995位置画1号图标
当满足条件二次金叉时,在B4-B3/40位置书写文字,ALIGN0,COLORFF00FF
A1赋值:上次1日前的DIFF上穿DEA距今天数
底背离赋值:A1+1日前的收盘价>收盘价 AND DIFF>A1+1日前的DIFF AND DIFF上穿DEA
当满足条件底背离时,在B4和B4-B3/40位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLORFF00
当满足条件A1=0时,在DEAA位置画直线起点,当满足条件底背离时,在DEAA位置画直线终点,0表示是否延长.,线宽为2,COLORFF
当满足条件底背离时,在B4-B3/40位置书写文字,COLORFF00
A2赋值:上次1日前的DEA上穿DIFF距今天数
顶背离赋值:A2+1日前的收盘价<收盘价 AND A2+1日前的DIFF>DIFF AND DEA上穿DIFF
当满足条件A2=0时,在DEAA位置画直线起点,当满足条件顶背离时,在DEAA位置画直线终点,0表示是否延长.,线宽为2,COLORFF00
PARTLINE(取反,DIFFA),线宽为1,COLORFF
PARTLINE(取反,DEAA),线宽为1,COLORFF00FF
PARTLINE(DIFF<1日前的DIFF,DIFFA),线宽为1,COLORFF00
PARTLINE(DEA<1日前的DEA,DEAA),线宽为1,COLORFFFF00
LLL赋值:最低价
LL2赋值:LLL
GFB1赋值:LL2*1.05
GFB2赋值:LL2*1.07
GFB3赋值:LL2*1.1
GFB4赋值:LL2*1.12
GFBD赋值:LL2*1.18
GFBD1赋值:LL2*1.21
EXPLAIN(1日前的开盘价不等于1日前的收盘价 AND 2日前的收盘价/2日前的开盘价>1.03 AND 1日前的开盘价>2日前的收盘价 AND (1日前的开盘价-1日前的收盘价的绝对值)/1日前的收盘价<0.02 AND 收盘价/开盘价<0.97 AND 收盘价<2日前的收盘价,'\N* 黄昏之星 -空方势盛 反转信号 跳空成弃婴'),COLORFFFFFF
EXPLAINICON(1日前的开盘价不等于1日前的收盘价 AND 2日前的收盘价/2日前的开盘价>1.03 AND 1日前的开盘价>2日前的收盘价 AND (1日前的开盘价-1日前的收盘价的绝对值)/1日前的收盘价<0.02 AND 收盘价/开盘价<0.97 AND 收盘价<2日前的收盘价,'30'),ALIGN0
EXPLAIN(1日前的开盘价不等于1日前的收盘价 AND 2日前的收盘价/2日前的开盘价<0.95 AND 1日前的开盘价<2日前的收盘价 AND (1日前的开盘价-1日前的收盘价的绝对值)/1日前的收盘价<0.03 AND 收盘价/开盘价>1.05 AND 收盘价>2日前的收盘价,'\N* 晨星 -多方势盛 变盘信号'),COLORFFFFFF
EXPLAINICON(1日前的开盘价不等于1日前的收盘价 AND 2日前的收盘价/2日前的开盘价<0.95 AND 1日前的开盘价<2日前的收盘价 AND (1日前的开盘价-1日前的收盘价的绝对值)/1日前的收盘价<0.03 AND 收盘价/开盘价>1.05 AND 收盘价>2日前的收盘价,'13'),ALIGN0
EXPLAIN(开盘价和收盘价的较小值=最低价 AND 最高价-最低价>3*(开盘价和收盘价的较大值-最低价) AND 收盘价<收盘价的5日简单移动平均,'\N* 倒转槌头 -高位抛压 低位多空争执'),COLORFFFFFF
EXPLAINICON(开盘价和收盘价的较小值=最低价 AND 最高价-最低价>3*(开盘价和收盘价的较大值-最低价) AND 收盘价<收盘价的5日简单移动平均,'19'),ALIGN0
EXPLAIN(最高价=开盘价和收盘价的较大值 AND 最高价-最低价>3*(最高价-开盘价和收盘价的较小值) AND 收盘价<收盘价的5日简单移动平均,'\N* 槌头 -下影线有多头意义 在下降趋势之后看涨 注意反弹卖压'),COLORFFFFFF
EXPLAINICON(最高价=开盘价和收盘价的较大值 AND 最高价-最低价>3*(最高价-开盘价和收盘价的较小值) AND 收盘价<收盘价的5日简单移动平均,'\N* 31'),ALIGN0
EXPLAIN(最高价=开盘价和收盘价的较大值 AND 最高价-最低价>3*(最高价-开盘价和收盘价的较小值) AND 收盘价>收盘价的5日简单移动平均,'\N* 吊颈线 -高档看跌'),COLORFFFFFF
EXPLAINICON(最高价=开盘价和收盘价的较大值 AND 最高价-最低价>3*(最高价-开盘价和收盘价的较小值) AND 收盘价>收盘价的5日简单移动平均,'12'),ALIGN0
EXPLAIN(1日前的收盘价/1日前的开盘价<0.97 AND 收盘价/开盘价>1.03 AND 开盘价<1日前的收盘价 AND 收盘价>1日前的收盘价,'\N* 曙光 -与乌云盖顶相反 行情将演化为V型反转或止跌横盘趋势'),COLORFFFFFF
EXPLAINICON(1日前的收盘价/1日前的开盘价<0.97 AND 收盘价/开盘价>1.03 AND 开盘价<1日前的收盘价 AND 收盘价>1日前的收盘价,'曙光'),ALIGN0
EXPLAIN(1日前的收盘价/1日前的开盘价>1.03 AND 收盘价/开盘价<0.96 AND 收盘价<1日前的开盘价 AND 开盘价>1日前的收盘价 OR 1日前的收盘价/1日前的开盘价<0.97 AND 收盘价/开盘价>1.04 AND 收盘价>1日前的开盘价 AND 开盘价<1日前的收盘价,'\N* 穿头破脚 -若第一根K为阴(阳) 表强劲上涨(下跌)力量'),COLORFFFFFF
EXPLAINICON(1日前的收盘价/1日前的开盘价>1.03 AND 收盘价/开盘价<0.96 AND 收盘价<1日前的开盘价 AND 开盘价>1日前的收盘价 OR 1日前的收盘价/1日前的开盘价<0.97 AND 收盘价/开盘价>1.04 AND 收盘价>1日前的开盘价 AND 开盘价<1日前的收盘价,'18'),ALIGN0
EXPLAIN((1日前的收盘价-1日前的开盘价的绝对值)/1日前的收盘价>0.04 AND (收盘价-开盘价的绝对值)/收盘价<0.005 AND 收盘价和开盘价的较大值<1日前的收盘价和1日前的开盘价的较大值 AND 收盘价和开盘价的较小值>1日前的收盘价和1日前的开盘价的较小值,'\N* 身怀六甲 -阴(阳)怀阳(阴)怪异的走势显示该股行情可能转向 若量由大转缩更明'),COLORFFFFFF
EXPLAINICON((1日前的收盘价-1日前的开盘价的绝对值)/1日前的收盘价>0.04 AND (收盘价-开盘价的绝对值)/收盘价<0.005 AND 收盘价和开盘价的较大值<1日前的收盘价和1日前的开盘价的较大值 AND 收盘价和开盘价的较小值>1日前的收盘价和1日前的开盘价的较小值,'16'),ALIGN0
EXPLAIN((1日前的收盘价-1日前的开盘价的绝对值)/1日前的收盘价>0.04 AND 平盘ANDSE 收盘价<1日前的收盘价和1日前的开盘价的较大值 AND 收盘价>1日前的收盘价和1日前的开盘价的较小值,'\N* 十字胎 -似身怀六甲 转向可能性更大 量缩观望为宜'),COLORFFFFFF
EXPLAINICON((1日前的收盘价-1日前的开盘价的绝对值)/1日前的收盘价>0.04 AND 平盘ANDSE 收盘价<1日前的收盘价和1日前的开盘价的较大值 AND 收盘价>1日前的收盘价和1日前的开盘价的较小值,'2'),ALIGN0
EXPLAIN((最高价-1日前的最高价的绝对值)/最高价<0.001,'\N* 平顶 -该高点有一定阻力'),COLORFFFFFF
EXPLAIN((最低价-1日前的最低价的绝对值)/最低价<0.001 AND (1日前的最低价-2日前的最低价的绝对值)/1日前的最低价<=0.001,'\N* 平底 -该低点有一定支撑'),COLORFFFFFF
EXPLAIN(收盘价/开盘价>1.05 AND 最高价/最低价<收盘价/开盘价+0.018,'\N* 大阳烛 -上升行情中意味行情剧烈向上攀升 下跌行情中意味行情剧烈向上反弹'),COLORFFFFFF
EXPLAIN(开盘价/收盘价>1.05 AND 最高价/最低价<开盘价/收盘价+0.018,'\N* 大阴烛 -今日空方有绝对优势'),COLORFFFFFF
EXPLAIN(1日前的收盘价<1日前的开盘价 AND 收阳线ANDSE (收盘价-1日前的收盘价的绝对值)/收盘价<0.002 OR 1日前的收盘价>1日前的开盘价 AND 收阴线ANDSE (收盘价-1日前的收盘价的绝对值)/收盘价<0.002,'\N* 友好反攻 -阴(阳)线结合极线 多方跳低(高)后反弹 有企稳迹象'),COLORFFFFFF
EXPLAINICON(1日前的收盘价<1日前的开盘价 AND 收阳线ANDSE (收盘价-1日前的收盘价的绝对值)/收盘价<0.002 OR 1日前的收盘价>1日前的开盘价 AND 收阴线ANDSE (收盘价-1日前的收盘价的绝对值)/收盘价<0.002,'10'),ALIGN0
EXPLAIN(最高价<1日前的最低价 OR 最低价>1日前的最高价,'\N* 跳空缺口 -当日未补 有与跳空同向进行欲望强烈 三日为回补观察期'),COLORFFFFFF
EXPLAIN(2日前的收盘价>2日前的开盘价 AND 1日前的收盘价>1日前的开盘价 AND 收阳线ANDSE 1日前的收盘价>2日前的收盘价 AND 收盘价>1日前的收盘价,'\N* 三白兵 -多方气盛 在底部见底反弹可能'),COLORFFFFFF
EXPLAINICON(2日前的收盘价>2日前的开盘价 AND 1日前的收盘价>1日前的开盘价 AND 收阳线ANDSE 1日前的收盘价>2日前的收盘价 AND 收盘价>1日前的收盘价,'3'),ALIGN0
EXPLAIN(平盘,'\N** KC K线实习帖 **\N\NK线不是万能量能分析亦不可缺\N'),ALIGN0,COLORFF
EXPLAIN(2日前的收盘价<2日前的开盘价 AND 1日前的收盘价<1日前的开盘价 AND 收阴线ANDSE 1日前的收盘价<2日前的收盘价 AND 收盘价<1日前的收盘价,'\N* 三只乌鸦 -强烈转空趋势 三黑K价越深量越大越易下跌'),COLORFFFFFF
EXPLAINICON(2日前的收盘价<2日前的开盘价 AND 1日前的收盘价<1日前的开盘价 AND 收阴线ANDSE 1日前的收盘价<2日前的收盘价 AND 收盘价<1日前的收盘价,'5'),ALIGN0
EXPLAIN(1日前的收盘价<1日前的开盘价 AND 收阴线ANDSE 收盘价/开盘价<0.98,'\N* 双飞乌鸦 -多头力竭 行情走软'),COLORFFFFFF
EXPLAINICON(1日前的收盘价<1日前的开盘价 AND 收阴线ANDSE 收盘价/开盘价<0.98,'双飞乌鸦'),ALIGN0
EXPLAIN(4日前的收盘价/4日前的开盘价>1.03 AND 3日前的收盘价<3日前的开盘价 AND 2日前的收盘价<2日前的开盘价 AND 1日前的收盘价<1日前的开盘价 AND 4日前的最低价<3日前的最低价 AND 4日前的最低价<2日前的最低价 AND 4日前的最低价<1日前的最低价 AND 4日前的最高价>3日前的最高价 AND 4日前的最高价>2日前的最高价 AND 4日前的最高价>1日前的最高价 AND 收盘价/开盘价>1.03 AND 收盘价>4日前的收盘价,'\N* 上升三部曲 -空方卖压被吸纳 趋势易顺势走涨'),COLORFFFFFF
EXPLAINICON(4日前的收盘价/4日前的开盘价>1.03 AND 3日前的收盘价<3日前的开盘价 AND 2日前的收盘价<2日前的开盘价 AND 1日前的收盘价<1日前的开盘价 AND 4日前的最低价<3日前的最低价 AND 4日前的最低价<2日前的最低价 AND 4日前的最低价<1日前的最低价 AND 4日前的最高价>3日前的最高价 AND 4日前的最高价>2日前的最高价 AND 4日前的最高价>1日前的最高价 AND 收盘价/开盘价>1.03 AND 收盘价>4日前的收盘价,'7'),ALIGN0
EXPLAIN(4日前的收盘价/4日前的开盘价<0.97 AND 3日前的收盘价>3日前的开盘价 AND 2日前的收盘价>2日前的开盘价 AND 1日前的收盘价>1日前的开盘价 AND 4日前的最低价<3日前的最低价 AND 4日前的最低价<2日前的最低价 AND 4日前的最低价<1日前的最低价 AND 4日前的最高价>3日前的最高价 AND 4日前的最高价>2日前的最高价 AND 4日前的最高价>1日前的最高价 AND 收盘价/开盘价<0.97 AND 收盘价<4日前的收盘价,'\N* 下跌三部曲 -多方弱势不堪一击 趋势易顺势走跌'),COLORFFFFFF
EXPLAINICON(4日前的收盘价/4日前的开盘价<0.97 AND 3日前的收盘价>3日前的开盘价 AND 2日前的收盘价>2日前的开盘价 AND 1日前的收盘价>1日前的开盘价 AND 4日前的最低价<3日前的最低价 AND 4日前的最低价<2日前的最低价 AND 4日前的最低价<1日前的最低价 AND 4日前的最高价>3日前的最高价 AND 4日前的最高价>2日前的最高价 AND 4日前的最高价>1日前的最高价 AND 收盘价/开盘价<0.97 AND 收盘价<4日前的收盘价,'6'),ALIGN0
EXPLAIN(平盘ANDSE 最高价不等于收盘价 AND 最低价不等于收盘价 AND 最高价不等于收盘价,'\N* 十字星 -警告信号 原趋势停顿或反转 依上下影线长度判后市'),COLORFFFFFF
EXPLAIN((收盘价和开盘价的较小值-最低价)/(最高价-最低价)>0.667,'\N* 长下影 -下档支撑强或空方试探进攻'),COLORFFFFFF
EXPLAIN((最高价-收盘价和开盘价的较大值)/(最高价-最低价)>0.667,'\N* 长上影 -上档阻力大或多方试探进攻'),COLORFFFFFF
EXPLAIN(开盘价=1日前的开盘价 AND (收盘价-开盘价)*(1日前的收盘价-1日前的开盘价)<0,'\N* 分离 -两日开盘相同 一阴一阳 变盘前彻底整理'),COLORFFFFFF
EXPLAINICON(开盘价=1日前的开盘价 AND (收盘价-开盘价)*(1日前的收盘价-1日前的开盘价)<0,'9'),ALIGN0
EXPLAIN(最高价=收盘价 AND 最高价不等于最低价,'\N* 光头阳线 -今日尾盘多方气盛 可能延续到明天'),COLORFFFFFF
EXPLAIN(最低价=收盘价 AND 最高价不等于最低价,'\N* 赤脚阴线 -尾盘空方胜 注意延续次日'),COLORFFFFFF
EXPLAIN(2日前的收盘价>2日前的开盘价 AND (2日前的收盘价-2日前的开盘价)/2日前的开盘价>=2/100 AND 1日前的开盘价>=1日前的收盘价 AND (1日前的开盘价-1日前的收盘价)/1日前的收盘价<=2/100 AND 1日前的开盘价<=2日前的收盘价 AND 1日前的收盘价>=2日前的开盘价 AND 收盘价>=开盘价 AND (收盘价-开盘价)/开盘价>=2/100 AND 收盘价>=1日前的开盘价 AND 开盘价<=1日前的收盘价 AND (收盘价和2日前的收盘价的较大值-收盘价和2日前的收盘价的较小值)/收盘价和2日前的收盘价的较小值<=1/100,'\N* 二阳夹一阴 -必须从后续的走势来研判'),COLORFFFFFF
EXPLAINICON(2日前的收盘价>2日前的开盘价 AND (2日前的收盘价-2日前的开盘价)/2日前的开盘价>=2/100 AND 1日前的开盘价>=1日前的收盘价 AND (1日前的开盘价-1日前的收盘价)/1日前的收盘价<=2/100 AND 1日前的开盘价<=2日前的收盘价 AND 1日前的收盘价>=2日前的开盘价 AND 收盘价>=开盘价 AND (收盘价-开盘价)/开盘价>=2/100 AND 收盘价>=1日前的开盘价 AND 开盘价<=1日前的收盘价 AND (收盘价和2日前的收盘价的较大值-收盘价和2日前的收盘价的较小值)/收盘价和2日前的收盘价的较小值<=1/100,'1'),ALIGN0
EXPLAIN(平盘ANDSE 最高价不等于收盘价 AND 最低价不等于收盘价 AND 最高价/最低价>1.03,'\N* 长十字 -多空激争 前途未明'),COLORFFFFFF
EXPLAIN(平盘ANDSE 收盘价=最低价 AND 收盘价不等于最高价,'\N* 垂死十字 -在顶部时重要 表强力多头开始疲软'),COLORFFFFFF
EXPLAIN(2日前的收盘价/2日前的开盘价<0.95 AND 1日前的开盘价<2日前的收盘价 AND 1日前的开盘价=1日前的收盘价 AND 收盘价/开盘价>1.05 AND 收盘价>2日前的收盘价,'\N* 早晨十字 -同晨星 从看空平衡到看涨 转强 左右跳空曰弃婴'),COLORFFFFFF
EXPLAINICON(2日前的收盘价/2日前的开盘价<0.95 AND 1日前的开盘价<2日前的收盘价 AND 1日前的开盘价=1日前的收盘价 AND 收盘价/开盘价>1.05 AND 收盘价>2日前的收盘价,'23'),ALIGN0
EXPLAIN(2日前的收盘价/2日前的开盘价>1.05 AND 1日前的开盘价>2日前的收盘价 AND 1日前的开盘价=1日前的收盘价 AND 收盘价/开盘价<0.95 AND 收盘价<2日前的收盘价,'\N* 黄昏十字 -同夜星 从看多平衡到看空 转弱 左右跳空曰弃婴'),COLORFFFFFF
EXPLAINICON(2日前的收盘价/2日前的开盘价>1.05 AND 1日前的开盘价>2日前的收盘价 AND 1日前的开盘价=1日前的收盘价 AND 收盘价/开盘价<0.95 AND 收盘价<2日前的收盘价,'黄昏十字'),ALIGN0
EXPLAIN(收盘价不等于开盘价 AND 开盘价和收盘价的较小值=最低价 AND 最高价-最低价>3*(开盘价和收盘价的较大值-最低价) AND 收盘价>收盘价的5日简单移动平均,'\N*射击之星 -如伴大量 上遇阻力 有短期见顶可能 转疲'),COLORFFFFFF
EXPLAINICON(收盘价不等于开盘价 AND 开盘价和收盘价的较小值=最低价 AND 最高价-最低价>3*(开盘价和收盘价的较大值-最低价) AND 收盘价>收盘价的5日简单移动平均,'20'),ALIGN0
EXPLAIN(1日前的收盘价-1日前的开盘价>0 AND 收盘价-开盘价<0 AND 收盘价<1日前的开盘价 AND 开盘价>1日前的收盘价,'\N* 阴线吞噬 -黑包红 向空反转'),COLORFFFFFF
EXPLAINICON(1日前的收盘价-1日前的开盘价>0 AND 收盘价-开盘价<0 AND 收盘价<1日前的开盘价 AND 开盘价>1日前的收盘价,'15'),ALIGN0
EXPLAIN(1日前的收盘价-1日前的开盘价>0 AND (1日前的收盘价-1日前的开盘价的绝对值)/(2日前的收盘价-2日前的开盘价的绝对值)>2.5 AND 收盘价-开盘价<0 AND 收盘价>1日前的开盘价 AND 收盘价<(1日前的收盘价+1日前的开盘价)/2 AND 开盘价>1日前的收盘价,'\N* 乌云罩顶 -上涨遇重大阻力 空头聚力'),COLORFFFFFF
EXPLAINICON(1日前的收盘价-1日前的开盘价>0 AND (1日前的收盘价-1日前的开盘价的绝对值)/(2日前的收盘价-2日前的开盘价的绝对值)>2.5 AND 收盘价-开盘价<0 AND 收盘价>1日前的开盘价 AND 收盘价<(1日前的收盘价+1日前的开盘价)/2 AND 开盘价>1日前的收盘价,'21'),ALIGN0
EXPLAIN(2日前的收盘价-2日前的开盘价>0 AND (2日前的收盘价-2日前的开盘价的绝对值)/(3日前的收盘价-3日前的开盘价的绝对值)>2.4 AND 收盘价-开盘价的绝对值>3 AND 2日前的收盘价-2日前的开盘价的绝对值>1日前的收盘价-1日前的开盘价的绝对值 AND 1日前的收盘价-1日前的开盘价>0 AND 收盘价-开盘价<0 AND 1日前的开盘价>2日前的收盘价 AND 开盘价<1日前的开盘价 AND 收盘价<2日前的收盘价 AND 收盘价>2日前的开盘价 OR 2日前的收盘价-2日前的开盘价>0 AND (2日前的收盘价-2日前的开盘价的绝对值)/(3日前的收盘价-3日前的开盘价的绝对值)>2.4 AND 收盘价-开盘价的绝对值>3 AND 2日前的收盘价-2日前的开盘价的绝对值>1日前的收盘价-1日前的开盘价的绝对值 AND 1日前的收盘价-1日前的开盘价<0 AND 收盘价-开盘价<0 AND 1日前的收盘价>2日前的收盘价 AND 收盘价<2日前的收盘价 AND 收盘价>2日前的开盘价 AND 开盘价<1日前的收盘价,'\N* 夜星 -从看多平衡到看空 转弱 转空'),COLORFFFFFF
EXPLAINICON(2日前的收盘价-2日前的开盘价>0 AND (2日前的收盘价-2日前的开盘价的绝对值)/(3日前的收盘价-3日前的开盘价的绝对值)>2.4 AND 收盘价-开盘价的绝对值>3 AND 2日前的收盘价-2日前的开盘价的绝对值>1日前的收盘价-1日前的开盘价的绝对值 AND 1日前的收盘价-1日前的开盘价>0 AND 收盘价-开盘价<0 AND 1日前的开盘价>2日前的收盘价 AND 开盘价<1日前的开盘价 AND 收盘价<2日前的收盘价 AND 收盘价>2日前的开盘价 OR 2日前的收盘价-2日前的开盘价>0 AND (2日前的收盘价-2日前的开盘价的绝对值)/(3日前的收盘价-3日前的开盘价的绝对值)>2.4 AND 收盘价-开盘价的绝对值>3 AND 2日前的收盘价-2日前的开盘价的绝对值>1日前的收盘价-1日前的开盘价的绝对值 AND 1日前的收盘价-1日前的开盘价<0 AND 收盘价-开盘价<0 AND 1日前的收盘价>2日前的收盘价 AND 收盘价<2日前的收盘价 AND 收盘价>2日前的开盘价 AND 开盘价<1日前的收盘价,'17'),ALIGN0
EXPLAIN(1日前的收盘价-1日前的开盘价>0 AND (1日前的收盘价-1日前的开盘价的绝对值)/(2日前的收盘价-2日前的开盘价的绝对值)>2.4 AND 收盘价-开盘价<0 AND 收盘价>1日前的开盘价 AND 1日前的收盘价-开盘价>2,'\N* 空头孕育线 --阳育阴 看空'),COLORFFFFFF
EXPLAINICON(1日前的收盘价-1日前的开盘价>0 AND (1日前的收盘价-1日前的开盘价的绝对值)/(2日前的收盘价-2日前的开盘价的绝对值)>2.4 AND 收盘价-开盘价<0 AND 收盘价>1日前的开盘价 AND 1日前的收盘价-开盘价>2,'28'),ALIGN0
EXPLAIN(1日前的收盘价-1日前的开盘价<0 AND 收盘价-开盘价<0 AND 收盘价>1日前的收盘价 AND 开盘价<1日前的开盘价 AND 开盘价-收盘价<6,'\N* 空头孕育线 -阴育阴 看空'),COLORFFFFFF
EXPLAINICON(1日前的收盘价-1日前的开盘价<0 AND 收盘价-开盘价<0 AND 收盘价>1日前的收盘价 AND 开盘价<1日前的开盘价 AND 开盘价-收盘价<6,'26'),ALIGN0
EXPLAIN(1日前的收盘价<1日前的开盘价 AND 收盘价-开盘价>0 AND 收盘价>1日前的最高价 AND 开盘价<1日前的最低价 AND 1日前的开盘价>2日前的开盘价和收盘价的较大值 AND 1日前的收盘价>2日前的开盘价和收盘价的较小值 AND 2日前的开盘价和收盘价的较大值>3日前的开盘价和收盘价的较大值,'\N* 双人殉情 在上升趋势中最后之空头吞噬 也就是所谓的不见长红不回头'),COLORFFFFFF
EXPLAINICON(1日前的收盘价<1日前的开盘价 AND 收盘价-开盘价>0 AND 收盘价>1日前的最高价 AND 开盘价<1日前的最低价 AND 1日前的开盘价>2日前的开盘价和收盘价的较大值 AND 1日前的收盘价>2日前的开盘价和收盘价的较小值 AND 2日前的开盘价和收盘价的较大值>3日前的开盘价和收盘价的较大值,'37'),ALIGN0
EXPLAIN((2日前的最高价-2日前的开盘价)/2日前的最高价<=0.0003 AND (收盘价-最低价)/开盘价<=0.0003 AND 2日前的收盘价<2日前的开盘价 AND 2日前的收盘价>1日前的开盘价 AND 1日前的收盘价>开盘价 AND 1日前的收盘价<1日前的开盘价 AND 1日前的最高价-1日前的开盘价>0 AND 1日前的最低价-1日前的收盘价<0 AND 最高价-开盘价>0 AND 2日前的收盘价-2日前的最低价>0 AND 收阴线,'\N* 三胎鸦 -多头走势被扭转 黑K价愈深量愈大 跳空愈大 反转信号愈强'),COLORFFFFFF
EXPLAINICON((2日前的最高价-2日前的开盘价)/2日前的最高价<=0.0003 AND (收盘价-最低价)/开盘价<=0.0003 AND 2日前的收盘价<2日前的开盘价 AND 2日前的收盘价>1日前的开盘价 AND 1日前的收盘价>开盘价 AND 1日前的收盘价<1日前的开盘价 AND 1日前的最高价-1日前的开盘价>0 AND 1日前的最低价-1日前的收盘价<0 AND 最高价-开盘价>0 AND 2日前的收盘价-2日前的最低价>0 AND 收阴线,'4'),ALIGN0
 

源码:

 


DRAWBKBMP(CLOSE>0,'黄金分割线B');
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0,colorFF;
DEA:EMA(DIFF,9),LINETHICK0,colorFF00FF;
MACD:2*(DIFF-DEA),LINETHICK0;
A:=HHV(DIFF,300);
A*1.3,LINETHICK0,colorFF00;
B:=MACD-REF(MACD,1);
K1:=SYSPARAM(3)-SYSPARAM(2)+1;
DIFF1:=HHV(DIFF,K1);
DEA1:=HHV(DEA,K1);
MACD1:=HHV(MACD,K1);
DIFF2:=LLV(DIFF,K1);
DEA2:=LLV(DEA,K1);
MACD2:=LLV(MACD,K1);
MXA:=MAX(DIFF1[DATACOUNT],MAX(DEA1[DATACOUNT],MACD1[DATACOUNT]));
MNA:=MIN(DIFF2[DATACOUNT],MIN(DEA2[DATACOUNT],MACD2[DATACOUNT]));
A2:=(MXA+MNA)/2;
A3:=MXA-MNA;
H1:=HHV(HIGH,K1);
L1:=LLV(LOW,K1);
MXB:=H1[DATACOUNT];
MNB:=L1[DATACOUNT];
B2:=(MXB+MNB)/2;
B3:=MXB-MNB;
DIFFA:=(DIFF-A2)*B3/A3+B2;
DEAA:=(DEA-A2)*B3/A3+B2;
MACDA:=(MACD-A2)*B3/A3+B2;
B4:=-A2*B3/A3+B2;
STICKLINE(MACD>0 AND B>0,B4,MACDA,10,0),color91B5;
STICKLINE(MACD>0 AND B<0,B4,MACDA,10,0),colorA9B5;
STICKLINE(MACD<0 AND B>0,B4,MACDA,10,0),colorB0B07A;
STICKLINE(MACD<0 AND B<0,B4,MACDA,10,0),color8EB03A;
博弈线:=WMA(CLOSE,8);
BYX:=WMA(CLOSE,8);
FILLRGN(BYX>REF(BYX,1),BYX,REF(BYX,1)),colorB79DCC;
FILLRGN(BYX<REF(BYX,1),BYX,REF(BYX,1)),color95AB;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,B4,B4+B3/20,6,0),colorFFFF;
DRAWTEXT(低位金叉,B4+B3/20,' 低位金叉'),colorFFFF;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,B4,B4-B3/40,2,0),colorFF00FF;
DRAWICON(二次金叉,DEAA*0.995,1);
DRAWTEXT(二次金叉,B4-B3/40,' 二次金叉'),ALIGN0,colorFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
STICKLINE(底背离,B4,B4-B3/40,2,0),colorFF00;
DRAWLINE(A1=0,DEAA,底背离,DEAA,0),LINETHICK2,colorFF;
DRAWTEXT(底背离,B4-B3/40,' 底背离'),colorFF00;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
DRAWLINE(A2=0,DEAA,顶背离,DEAA,0),LINETHICK2,colorFF00;
PARTLINE(NOT(DIFF<REF(DIFF,1)),DIFFA),LINETHICK1,colorFF;
PARTLINE(NOT(DEA<REF(DEA,1)),DEAA),LINETHICK1,colorFF00FF;
PARTLINE(DIFF<REF(DIFF,1),DIFFA),LINETHICK1,colorFF00;
PARTLINE(DEA<REF(DEA,1),DEAA),LINETHICK1,colorFFFF00;
LLL:=LOW;
LL2:=LLL;
GFB1:=LL2*1.05;
GFB2:=LL2*1.07;
GFB3:=LL2*1.1;
GFB4:=LL2*1.12;
GFBD:=LL2*1.18;
GFBD1:=LL2*1.21;
EXPLAIN(REF(OPEN,1)<>REF(CLOSE,1) AND 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 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2),'\n* 黄昏之星 -空方势盛 反转信号 跳空成弃婴'),colorFFFFFF;
EXPLAINICON(REF(OPEN,1)<>REF(CLOSE,1) AND 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 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2),'30'),ALIGN0;
EXPLAIN(REF(OPEN,1)<>REF(CLOSE,1) AND 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 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),'\n* 晨星 -多方势盛 变盘信号'),colorFFFFFF;
EXPLAINICON(REF(OPEN,1)<>REF(CLOSE,1) AND 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 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),'13'),ALIGN0;
EXPLAIN(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5),'\n* 倒转槌头 -高位抛压 低位多空争执'),colorFFFFFF;
EXPLAINICON(MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5),'19'),ALIGN0;
EXPLAIN(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE<MA(CLOSE,5),'\n* 槌头 -下影线有多头意义 在下降趋势之后看涨 注意反弹卖压'),colorFFFFFF;
EXPLAINICON(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE<MA(CLOSE,5),'\n* 31'),ALIGN0;
EXPLAIN(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5),'\n* 吊颈线 -高档看跌'),colorFFFFFF;
EXPLAINICON(HIGH=MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5),'12'),ALIGN0;
EXPLAIN(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1),'\n* 曙光 -与乌云盖顶相反 行情将演化为V型反转或止跌横盘趋势'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1),'曙光'),ALIGN0;
EXPLAIN(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),'\n* 穿头破脚 -若第一根K为阴(阳) 表强劲上涨(下跌)力量'),colorFFFFFF;
EXPLAINICON(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),'18'),ALIGN0;
EXPLAIN((ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND (ABS(CLOSE-OPEN))/CLOSE<0.005 AND MAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1)),'\n* 身怀六甲 -阴(阳)怀阳(阴)怪异的走势显示该股行情可能转向 若量由大转缩更明'),colorFFFFFF;
EXPLAINICON((ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND (ABS(CLOSE-OPEN))/CLOSE<0.005 AND MAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1)),'16'),ALIGN0;
EXPLAIN((ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN AND CLOSE<MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE>MIN(REF(CLOSE,1),REF(OPEN,1)),'\n* 十字胎 -似身怀六甲 转向可能性更大 量缩观望为宜'),colorFFFFFF;
EXPLAINICON((ABS(REF(CLOSE,1)-REF(OPEN,1)))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN AND CLOSE<MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE>MIN(REF(CLOSE,1),REF(OPEN,1)),'2'),ALIGN0;
EXPLAIN((ABS(HIGH-REF(HIGH,1)))/HIGH<0.001,'\n* 平顶 -该高点有一定阻力'),colorFFFFFF;
EXPLAIN((ABS(LOW-REF(LOW,1)))/LOW<0.001 AND (ABS(REF(LOW,1)-REF(LOW,2)))/REF(LOW,1)<=0.001,'\n* 平底 -该低点有一定支撑'),colorFFFFFF;
EXPLAIN(CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018,'\n* 大阳烛 -上升行情中意味行情剧烈向上攀升 下跌行情中意味行情剧烈向上反弹'),colorFFFFFF;
EXPLAIN(OPEN/CLOSE>1.05 AND HIGH/LOW<OPEN/CLOSE+0.018,'\n* 大阴烛 -今日空方有绝对优势'),colorFFFFFF;
EXPLAIN(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,'\n* 友好反攻 -阴(阳)线结合极线 多方跳低(高)后反弹 有企稳迹象'),colorFFFFFF;
EXPLAINICON(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,'10'),ALIGN0;
EXPLAIN(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),'\n* 跳空缺口 -当日未补 有与跳空同向进行欲望强烈 三日为回补观察期'),colorFFFFFF;
EXPLAIN(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),'\n* 三白兵 -多方气盛 在底部见底反弹可能'),colorFFFFFF;
EXPLAINICON(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),'3'),ALIGN0;
EXPLAIN(CLOSE=OPEN,'\n** KC K线实习帖 **\n\nK线不是万能量能分析亦不可缺\n'),ALIGN0,colorFF;
EXPLAIN(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),'\n* 三只乌鸦 -强烈转空趋势 三黑K价越深量越大越易下跌'),colorFFFFFF;
EXPLAINICON(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),'5'),ALIGN0;
EXPLAIN(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98,'\n* 双飞乌鸦 -多头力竭 行情走软'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98,'双飞乌鸦'),ALIGN0;
EXPLAIN(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) AND REF(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) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4),'\n* 上升三部曲 -空方卖压被吸纳 趋势易顺势走涨'),colorFFFFFF;
EXPLAINICON(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) AND REF(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) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4),'7'),ALIGN0;
EXPLAIN(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) 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) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4),'\n* 下跌三部曲 -多方弱势不堪一击 趋势易顺势走跌'),colorFFFFFF;
EXPLAINICON(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) 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) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,4),'6'),ALIGN0;
EXPLAIN(CLOSE=OPEN AND HIGH<>CLOSE AND LOW<>CLOSE AND HIGH<>CLOSE,'\n* 十字星 -警告信号 原趋势停顿或反转 依上下影线长度判后市'),colorFFFFFF;
EXPLAIN((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667,'\n* 长下影 -下档支撑强或空方试探进攻'),colorFFFFFF;
EXPLAIN((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,'\n* 长上影 -上档阻力大或多方试探进攻'),colorFFFFFF;
EXPLAIN(OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,'\n* 分离 -两日开盘相同 一阴一阳 变盘前彻底整理'),colorFFFFFF;
EXPLAINICON(OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,'9'),ALIGN0;
EXPLAIN(HIGH=CLOSE AND HIGH<>LOW,'\n* 光头阳线 -今日尾盘多方气盛 可能延续到明天'),colorFFFFFF;
EXPLAIN(LOW=CLOSE AND HIGH<>LOW,'\n* 赤脚阴线 -尾盘空方胜 注意延续次日'),colorFFFFFF;
EXPLAIN(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 CLOSE>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100,'\n* 二阳夹一阴 -必须从后续的走势来研判'),colorFFFFFF;
EXPLAINICON(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 CLOSE>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND (MAX(CLOSE,REF(CLOSE,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100,'1'),ALIGN0;
EXPLAIN(CLOSE=OPEN AND HIGH<>CLOSE AND LOW<>CLOSE AND HIGH/LOW>1.03,'\n* 长十字 -多空激争 前途未明'),colorFFFFFF;
EXPLAIN(CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH,'\n* 垂死十字 -在顶部时重要 表强力多头开始疲软'),colorFFFFFF;
EXPLAIN(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),'\n* 早晨十字 -同晨星 从看空平衡到看涨 转强 左右跳空曰弃婴'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),'23'),ALIGN0;
EXPLAIN(REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2),'\n* 黄昏十字 -同夜星 从看多平衡到看空 转弱 左右跳空曰弃婴'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) AND CLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2),'黄昏十字'),ALIGN0;
EXPLAIN(CLOSE<>OPEN AND MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5),'\n*
射击之星 -如伴大量 上遇阻力 有短期见顶可能 转疲'),colorFFFFFF;
EXPLAINICON(CLOSE<>OPEN AND MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5),'20'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),'\n* 阴线吞噬 -黑包红 向空反转'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),'15'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>2.5 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND CLOSE<(REF(CLOSE,1)+REF(OPEN,1))/2 AND OPEN>REF(CLOSE,1),'\n* 乌云罩顶 -上涨遇重大阻力 空头聚力'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>2.5 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND CLOSE<(REF(CLOSE,1)+REF(OPEN,1))/2 AND OPEN>REF(CLOSE,1),'21'),ALIGN0;
EXPLAIN(REF(CLOSE,2)-REF(OPEN,2)>0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.4 AND ABS(CLOSE-OPEN)>3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND REF(OPEN,1)>REF(CLOSE,2) AND OPEN<REF(OPEN,1) AND CLOSE<REF(CLOSE,2) AND CLOSE>REF(OPEN,2) OR REF(CLOSE,2)-REF(OPEN,2)>0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.4 AND ABS(CLOSE-OPEN)>3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN<0 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,2) AND CLOSE>REF(OPEN,2) AND OPEN<REF(CLOSE,1),'\n* 夜星 -从看多平衡到看空 转弱 转空'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,2)-REF(OPEN,2)>0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.4 AND ABS(CLOSE-OPEN)>3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND REF(OPEN,1)>REF(CLOSE,2) AND OPEN<REF(OPEN,1) AND CLOSE<REF(CLOSE,2) AND CLOSE>REF(OPEN,2) OR REF(CLOSE,2)-REF(OPEN,2)>0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.4 AND ABS(CLOSE-OPEN)>3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN<0 AND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE<REF(CLOSE,2) AND CLOSE>REF(OPEN,2) AND OPEN<REF(CLOSE,1),'17'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>2.4 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND REF(CLOSE,1)-OPEN>2,'\n* 空头孕育线 --阳育阴 看空'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>2.4 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND REF(CLOSE,1)-OPEN>2,'28'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN<0 AND CLOSE>REF(CLOSE,1) AND OPEN<REF(OPEN,1) AND OPEN-CLOSE<6,'\n* 空头孕育线 -阴育阴 看空'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN<0 AND CLOSE>REF(CLOSE,1) AND OPEN<REF(OPEN,1) AND OPEN-CLOSE<6,'26'),ALIGN0;
EXPLAIN(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE-OPEN>0 AND CLOSE>REF(HIGH,1) AND OPEN<REF(LOW,1) AND REF(OPEN,1)>REF(MAX(OPEN,CLOSE),2) AND REF(CLOSE,1)>REF(MIN(OPEN,CLOSE),2) AND REF(MAX(OPEN,CLOSE),2)>REF(MAX(OPEN,CLOSE),3),'\n* 双人殉情 在上升趋势中最后之空头吞噬 也就是所谓的不见长红不回头'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE-OPEN>0 AND CLOSE>REF(HIGH,1) AND OPEN<REF(LOW,1) AND REF(OPEN,1)>REF(MAX(OPEN,CLOSE),2) AND REF(CLOSE,1)>REF(MIN(OPEN,CLOSE),2) AND REF(MAX(OPEN,CLOSE),2)>REF(MAX(OPEN,CLOSE),3),'37'),ALIGN0;
EXPLAIN((REF(HIGH,2)-REF(OPEN,2))/REF(HIGH,2)<=0.0003 AND (CLOSE-LOW)/OPEN<=0.0003 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)>REF(OPEN,1) AND REF(CLOSE,1)>OPEN AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)-REF(OPEN,1)>0 AND REF(LOW,1)-REF(CLOSE,1)<0 AND HIGH-OPEN>0 AND REF(CLOSE,2)-REF(LOW,2)>0 AND CLOSE<OPEN,'\n* 三胎鸦 -多头走势被扭转 黑K价愈深量愈大 跳空愈大 反转信号愈强'),colorFFFFFF;
EXPLAINICON((REF(HIGH,2)-REF(OPEN,2))/REF(HIGH,2)<=0.0003 AND (CLOSE-LOW)/OPEN<=0.0003 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)>REF(OPEN,1) AND REF(CLOSE,1)>OPEN AND REF(CLOSE,1)<REF(OPEN,1) AND REF(HIGH,1)-REF(OPEN,1)>0 AND REF(LOW,1)-REF(CLOSE,1)<0 AND HIGH-OPEN>0 AND REF(CLOSE,2)-REF(LOW,2)>0 AND CLOSE<OPEN,'4'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND OPEN-REF(CLOSE,1)<0 AND CLOSE<REF(OPEN,1) AND CLOSE>REF(CLOSE,1) AND CLOSE>(REF(CLOSE,1)+REF(OPEN,1))/2,'\n* 贯穿线 -多头力道的反扑或是空单回补力道 长黑之后开低收在前天1/2之上 多头反转信号'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND OPEN-REF(CLOSE,1)<0 AND CLOSE<REF(OPEN,1) AND CLOSE>REF(CLOSE,1) AND CLOSE>(REF(CLOSE,1)+REF(OPEN,1))/2,'25'),ALIGN0;
EXPLAIN(CLOSE-OPEN<0 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE<REF(CLOSE,1) AND OPEN>REF(OPEN,1),'\n* 最后吞噬 -在下降趋势中 为一黑一红组合 多头吞噬 在上升趋势中 为一红一黑组合 空头吞噬'),colorFFFFFF;
EXPLAINICON(CLOSE-OPEN<0 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE<REF(CLOSE,1) AND OPEN>REF(OPEN,1),'27'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),'\n* 最后吞噬 -在下降趋势中 为一黑一红组合 多头吞噬 在上升趋势中 为一红一黑组合 空头吞噬'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN<0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),'27'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),'\n* 多头孕育线 -阴育阳 多头反转可能'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1),'11'),ALIGN0;
EXPLAIN(REF(CLOSE,4)/REF(OPEN,4)>1.02 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,4)<=REF(CLOSE,3) AND REF(HIGH,2)<REF(HIGH,3) AND REF(LOW,2)>=REF(OPEN,4) AND REF(HIGH,1)<REF(CLOSE,4) AND REF(LOW,1)>REF
(OPEN,4) AND CLOSE/OPEN>1.01 AND OPEN>=REF(OPEN,1) AND CLOSE>=REF(HIGH,3),'\n* 连续型态之执垫 -比上升三法更具多头意义'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,4)/REF(OPEN,4)>1.02 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND REF(CLOSE,4)<=REF(CLOSE,3) AND REF(HIGH,2)<REF(HIGH,3) AND REF(LOW,2)>=REF(OPEN,4) AND REF(HIGH,1)<REF(CLOSE,4) AND REF(LOW,1)>REF(OPEN,4) AND CLOSE/OPEN>1.01 AND OPEN>=REF(OPEN,1) AND CLOSE>=REF(HIGH,3),'22'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1),'\n* 多头阳线吞噬 -红包黑 反转趋势 配合量'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1),'14'),ALIGN0;
EXPLAIN(OPEN<CLOSE AND REF(CLOSE,2)-REF(OPEN,2)<0 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND REF(CLOSE,1)<REF(OPEN,2) AND REF(OPEN,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,2) AND CLOSE>REF(CLOSE,1),'\n* 内困三日翻红 -一二母子 二量缩 三量增翻红'),colorFFFFFF;
EXPLAINICON(OPEN<CLOSE AND REF(CLOSE,2)-REF(OPEN,2)<0 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND REF(CLOSE,1)<REF(OPEN,2) AND REF(OPEN,1)>REF(CLOSE,2) AND OPEN>REF(OPEN,2) AND CLOSE>REF(CLOSE,1),'8');
EXPLAIN(REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2 AND ABS((ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,2)-REF(OPEN,2))))<2 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND REF(OPEN,1)<REF(CLOSE,2) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,2) AND CLOSE>REF(CLOSE,2) OR REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2 AND ABS((ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,2)-REF(OPEN,2))))<2 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN>0 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND CLOSE<REF(OPEN,2) AND OPEN>REF(CLOSE,1),'\n* 晨星 -反多信号'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2 AND ABS((ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,2)-REF(OPEN,2))))<2 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND REF(OPEN,1)<REF(CLOSE,2) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,2) AND CLOSE>REF(CLOSE,2) OR REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.3 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2 AND ABS((ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,2)-REF(OPEN,2))))<2 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN>0 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND CLOSE<REF(OPEN,2) AND OPEN>REF(CLOSE,1),'24'),ALIGN0;
EXPLAIN(REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.7 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2.5 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND REF(OPEN,1)<REF(CLOSE,2) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,2) AND CLOSE>REF(CLOSE,2) OR REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.7 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2.5 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN>0 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND CLOSE<REF(OPEN,2) AND OPEN>REF(CLOSE,1),'\n* 晨星 -反多信号'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.7 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2.5 AND REF(CLOSE,1)-REF(OPEN,1)<0 AND CLOSE-OPEN>0 AND REF(OPEN,1)<REF(CLOSE,2) AND OPEN>REF(OPEN,1) AND CLOSE<REF(OPEN,2) AND CLOSE>REF(CLOSE,2) OR REF(CLOSE,2)-REF(OPEN,2)<0 AND (ABS(REF(CLOSE,2)-REF(OPEN,2)))/(ABS(REF(CLOSE,3)-REF(OPEN,3)))>2.7 AND ABS(REF(CLOSE,2)-REF(OPEN,2))>ABS(REF(CLOSE,1)-REF(OPEN,1)) AND (ABS(CLOSE-OPEN))/(ABS(REF(CLOSE,1)-REF(OPEN,1)))>2.5 AND REF(CLOSE,1)-REF(OPEN,1)>0 AND CLOSE-OPEN>0 AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE>REF(CLOSE,2) AND CLOSE<REF(OPEN,2) AND OPEN>REF(CLOSE,1),'24'),ALIGN0;
EXPLAIN(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>1.5 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND CLOSE<REF(CLOSE,1) AND OPEN>REF(CLOSE,1),'\n* 乌云罩顶 -上涨遇重大阻力 空头聚力 三日内见九死一生或跌落一红K低点 反转走空'),colorFFFFFF;
EXPLAINICON(REF(CLOSE,1)-REF(OPEN,1)>0 AND (ABS(REF(CLOSE,1)-REF(OPEN,1)))/(ABS(REF(CLOSE,2)-REF(OPEN,2)))>1.5 AND CLOSE-OPEN<0 AND CLOSE>REF(OPEN,1) AND CLOSE<REF(CLOSE,1) AND OPEN>REF(CLOSE,1),'乌云罩顶'),ALIGN0;
EXPLAIN(OPEN>CLOSE AND OPEN>MA(CLOSE,5) AND OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,20) AND CLOSE<MA(CLOSE,5) AND CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,20) OR OPEN<CLOSE AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND OPEN<MA(CLOSE,20) AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20),'\n* 断头铡刀(出水芙蓉) -一根大阴(阳)线切断了三根均线 如果改变了其后均线的排列为空头(多头)排列 后势看空(多)'),colorFFFFFF;
EXPLAINICON(OPEN>CLOSE AND OPEN>MA(CLOSE,5) AND OPEN>MA(CLOSE,10) AND OPEN>MA(CLOSE,20) AND CLOSE<MA(CLOSE,5) AND CLOSE<MA(CLOSE,10) AND CLOSE<MA(CLOSE,20) OR OPEN<CLOSE AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND OPEN<MA(CLOSE,20) AND CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND CLOSE>MA(CLOSE,20),'36'),ALIGN0;
EXPLAIN(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE>OPEN AND OPEN<REF(LOW,1) AND CLOSE=REF(LOW,1),'\n* 颈上线 -下降趋势 若第二天大量 维持原趋势可能大增'),colorFFFFFF;
EXPLAINICON(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE>OPEN AND OPEN<REF(LOW,1) AND CLOSE=REF(LOW,1),'33'),ALIGN0;
EXPLAIN(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE>OPEN AND OPEN<REF(LOW,1) AND CLOSE<REF(CLOSE,1)+(REF(OPEN,1)-REF(CLOSE,1))*0.005 AND CLOSE>REF(CLOSE,1)-(REF(OPEN,1)-REF(CLOSE,1))*0.005,'\n* 颈内线 -下降趋势 比颈上线缓和 若第二天大量 维持原趋势可能大增'),colorFFFFFF;
EXPLAINICON(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE>OPEN AND OPEN<REF(LOW,1) AND CLOSE<REF(CLOSE,1)+(REF(OPEN,1)-REF(CLOSE,1))*0.005 AND CLOSE>REF(CLOSE,1)-(REF(OPEN,1)-REF(CLOSE,1))*0.005,'34'),ALIGN0;
EXPLAIN(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018 AND OPEN<REF(LOW,1) AND CLOSE<REF(CLOSE,1)+(REF(OPEN,1)-REF(CLOSE,1))*0.5 AND CLOSE>REF(CLOSE,1),'\n* 戮入线 -代表下跌市场中的失败涨升 下降趋势持续'),colorFFFFFF;
EXPLAINICON(REF(OPEN,1)/REF(CLOSE,1)>1.05 AND REF(HIGH,1)/REF(LOW,1)<REF(OPEN,1)/REF(CLOSE,1)+0.018 AND CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018 AND OPEN<REF(LOW,1) AND CLOSE<REF(CLOSE,1)+(REF(OPEN,1)-REF(CLOSE,1))*0.5 AND CLOSE>REF(CLOSE,1),'32'),ALIGN0;
A0:=BARSCOUNT(CLOSE);
A3:=SYSPARAM(3);
A2:=SYSPARAM(2);
A4:=SYSPARAM(4);
A5:=SYSPARAM(5);
NN0:=A3-A2;
NN:=A0-A2;
HH1:=(A4-A5)/10;
Y0:=A0>=A2;
VV0:=IF(Y0=1 AND SYSPARAM(1)>=A0,VOL,0);
HH:=SYSPARAM(4);
LL:=SYSPARAM(5);
X:=LL-(HH-LL+MINDIFF)/5;
Y:=HHV(VOL,SYSPARAM(3)-SYSPARAM(2)+1)*(1);
YVB:=Y[SYSPARAM(3)]/(LL-X+MINDIFF);
Z:=VOL/YVB+X;
VAR1:=VOL/CAPITAL*100;
换手率:=VAR1;
VAR2:=VAR1>1;
VAR3:=VAR1<2;
VAR4:=VAR1>2;
VAR5:=VAR1<3;
VAR6:=VAR1>=3;
VAR7:=VAR1<5;
VAR8:=VAR1>=5;
VAR9:=VAR1<8;
VAR10:=VAR1>=8;
VAR11:=VAR1<15;
VAR12:=VAR1>=15;
VAR13:=VAR1<25;
VAR14:=VAR1>=25;
地量:STICKLINE(VOL/CAPITAL*100<1,X,Z,8,0),colorAA00;
STICKLINE(VOL/CAPITAL*100<1,X,Z,6.6,0),colorBB00;
STICKLINE(VOL/CAPITAL*100<1,X,Z,4.4,0),colorCC00;
STICKLINE(VOL/CAPITAL*100<1,X,Z,3.3,0),colorDD00;
STICKLINE(VOL/CAPITAL*100<1,X,Z,2.2,0),colorEE00;
STICKLINE(VOL/CAPITAL*100<1,X,Z,1.1,0),colorFF00;
低靡:STICKLINE(VAR2 AND VAR3,X,Z,8,0),colorAA00BB;
STICKLINE(VAR2 AND VAR3,X,Z,6.6,0),colorBB11BB;
STICKLINE(VAR2 AND VAR3,X,Z,4.4,0),colorCC22BB;
STICKLINE(VAR2 AND VAR3,X,Z,3.3,0),colorDD33BB;
STICKLINE(VAR2 AND VAR3,X,Z,2.2,0),colorEE44BB;
STICKLINE(VAR2 AND VAR3,X,Z,1.1,0),colorFF55BB;
温和:STICKLINE(VAR4 AND VAR5,X,Z,8,0),colorAA;
STICKLINE(VAR4 AND VAR5,X,Z,6.6,0),colorBB;
STICKLINE(VAR4 AND VAR5,X,Z,4.4,0),colorCC;
STICKLINE(VAR4 AND VAR5,X,Z,3.3,0),colorDD;
STICKLINE(VAR4 AND VAR5,X,Z,2.2,0),colorEE;
STICKLINE(VAR4 AND VAR5,X,Z,1.1,0),colorFF;
活跃:STICKLINE(VAR6 AND VAR7,X,Z,8,0),colorFFAA00;
STICKLINE(VAR6 AND VAR7,X,Z,6.6,0),colorFFBB00;
STICKLINE(VAR6 AND VAR7,X,Z,4.4,0),colorFFCC00;
STICKLINE(VAR6 AND VAR7,X,Z,3.3,0),colorFFDD00;
STICKLINE(VAR6 AND VAR7,X,Z,2.2,0),colorFFEE00;
STICKLINE(VAR6 AND VAR7,X,Z,1.1,0),colorFFFF00;
带量:STICKLINE(VAR8 AND VAR9,X,Z,8,0),colorAAFF;
STICKLINE(VAR8 AND VAR9,X,Z,6.6,0),colorBBFF;
STICKLINE(VAR8 AND VAR9,X,Z,4.4,0),colorCCFF;
STICKLINE(VAR8 AND VAR9,X,Z,3.3,0),colorDDFF;
STICKLINE(VAR8 AND VAR9,X,Z,2.2,0),colorEEFF;
STICKLINE(VAR8 AND VAR9,X,Z,1.1,0),colorFFFF;
放量:STICKLINE(VAR10 AND VAR11,X,Z,8,0),colorAAAACC;
STICKLINE(VAR10 AND VAR11,X,Z,6.6,0),colorBBBBCC;
STICKLINE(VAR10 AND VAR11,X,Z,4.4,0),colorCCCCCC;
STICKLINE(VAR10 AND VAR11,X,Z,3.3,0),colorDDDDCC;
STICKLINE(VAR10 AND VAR11,X,Z,2.2,0),colorEEEECC;
STICKLINE(VAR10 AND VAR11,X,Z,1.1,0),colorFFFFCC;
巨量:STICKLINE(VAR12 AND VAR13,X,Z,8,0),color66AA33;
STICKLINE(VAR12 AND VAR13,X,Z,6.6,0),color66BB33;
STICKLINE(VAR12 AND VAR13,X,Z,4.4,0),color66CC33;
STICKLINE(VAR12 AND VAR13,X,Z,3.3,0),color66DD33;
STICKLINE(VAR12 AND VAR13,X,Z,2.2,0),color66EE33;
STICKLINE(VAR12 AND VAR13,X,Z,1.1,0),color66FF33;
怪异:STICKLINE(VAR14,X,Z,8,0),colorAA66FF;
STICKLINE(VAR14,X,Z,6.6,0),colorBB66FF;
STICKLINE(VAR14,X,Z,4.4,0),colorCC66FF;
STICKLINE(VAR14,X,Z,3.3,0),colorDD66FF;
STICKLINE(VAR14,X,Z,2.2,0),colorEE66FF;
STICKLINE(VAR14,X,Z,1.1,0),colorFF66FF;
STICKLINE(OPEN>=CLOSE,OPEN,CLOSE,8,0),colorAAAAAA;
STICKLINE(OPEN>=CLOSE,OPEN,CLOSE,6,0),colorBBBBBB;
STICKLINE(OPEN>=CLOSE,OPEN,CLOSE,4.4,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,OPEN,CLOSE,2.1,0),colorDDDDDD;
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,8,0),color6666CC;
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,6,0),color7777DD;
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,4.4,0),color8888EE;
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,2.1,0),color9999FF;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0),color1199FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5,0),color1199FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5,0),colorCCCCCC;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5,0),colorCCCCCC;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容