var1:=ema(close,3);
var2:=ema(close,8);
ma5:=ma(close,5);
ma21:ema(close,21),linethick2,coloryellow;
stickline((var1 < ma21),c,o,4,0),colorgreen;
stickline((var1 > ma21) ,c,o,4,0),colorred;
stickline(((var1 > var2) and (var1 < ma21)) ,c,o,4,0),color1dbb00;
stickline(((var1 < var2) and (var1 > ma21)) ,c,o,4,0),colorfb6e0b;
stickline((c < o),l,h,0,0), colorgreen;
stickline((c > o),l,h,0,0), colorred;
ma2:=ma(close,10);
ma34:=ma(close,34);
vara:=((amount / vol) / 100);
varb:=(((((3 * high) + low) + open) + (2 * close)) / 7);
varc:=((sum(amount,7) / vara) / 100);
vard:=dma(varb,(vol / varc));
vare:=(((close - vard) / vard) * 100);
varf:=(((close - llv(low,34)) / (hhv(high,34) - llv(low,34))) * 100);
varj:=(ma(vare,20) + std(vare,20));
bias18:=(((close - ma(close,18)) / ma(close,18)) * 100);
k:=sma(varf,3,1);
顶:(((ref(bias18,1) >= 5) and cross(varj,vare)) and (k > 79)),nodraw;
drawtext(filter(((((ref(bias18,1) >= 5) and cross(varj,vare))) and (k > 79)),3),(high * 1.04),'↓s'),colorgreen;
vvar1:=(ema(close,30) - ema(close,17));
vvar2:=ema(vvar1,5);
drawtext(filter((cross(vvar1,vvar2) ),3),(close * 0.96),'↑b'),coloryellow;
drawtext((filter((((((((ref(close,13) - close) / ref(close,13)) * 100) > 15) and ((sum((vol / capital),13) * 100) < 18)) and (((vol / capital) * 100) < 2.5)) and ((((ref(close,1) - close) / ref(close,1)) * 100) < 8)),3)),close * 0.96,'↑b'),colorlired;
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),7);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),7);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),7);
pdi:=((dmp * 100) / tr1);
mdi:=((dmm * 100) / tr1);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),7);
adxr:=((adx + ref(adx,7)) / 2);
drawtext(filter((((count(pdi,4) = 0)) and ((hhv(high,10) / llv(low,10)) > 1.2)),3),(close * 0.96),'↑b'),colorred;
var1j:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
var2j:=sma(var1j,3,1);
var3j:=sma(var2j,3,1);
var4j:=(var1j * 1.05);
var6j:=(((hhv(high,36) - close) / (hhv(high,36) - llv(low,36))) * 100);
var7j:=sma(var6j,5,1);
var9j:=(((ma((vol / capital),30) * ma(vol,60)) / 10000) + ma(close,30));
drawtext(filter((((cross(var2j,var4j) and (var3j > 60))) and (var7j < (var9j + 10))),3),(h * 1.02),'↓s'),colorbrown;
早晨之星:((((((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))) ,nodraw;
黄昏之星:((((((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))) ,nodraw;
长十字:((close = open) and ((high / low) > 1.03)),nodraw;
垂死十字:(((close = open) and (close = low)) and not(close=high)) ,nodraw;
早晨十字星:((((((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))) ,nodraw;
黄昏十字星:((((((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))) ,nodraw;
射击之星:(((min(open,close) = low) and ((high - low) > (3 * (max(open,close) - low)))) and (close > ma(close,5))) ,nodraw;
倒转锤头:(((min(open,close) = low) and ((high - low) > (3 * (max(open,close) - low)))) and (close < ma(close,5))),nodraw;
锤头:(((high = max(open,close)) and ((high - low) > (3 * (high - min(open,close))))) and (close < ma(close,5))) ,nodraw;
吊颈:(((high = max(open,close)) and ((high - low) > (3 * (high - min(open,close))))) and (close > ma(close,5))) ,nodraw;
穿头破脚:(((((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)))),nodraw;
乌云盖顶:(((((ref(close,1) / ref(open,1)) > 1.03) and ((close / open) < 0.97)) and (open > ref(close,1))) and (close < ref(close,1))) ,nodraw;
曙光初现:(((((ref(close,1) / ref(open,1)) < 0.97) and ((close / open) > 1.03)) and (open < ref(close,1))) and (close > ref(close,1))),nodraw;
身怀六甲:(((((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)))),nodraw;
十字胎:(((((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)))) ,nodraw;
平顶:((abs((high - ref(high,1))) / high) < 0.001) ,nodraw;
平底:(((abs((low - ref(low,1))) / low) < 0.001) and ((abs((ref(low,1) - ref(low,2))) / ref(low,1)) <= 0.001)),nodraw;
大阳烛:(((close / open) > 1.05) and ((high / low) < ((close / open) + 0.018))) ,nodraw;
三个白武士:(((((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))) ,nodraw;
双飞乌鸦:(((ref(close,1) < ref(open,1)) and (close < open)) and ((close / open) < 0.98)) ,nodraw;
孕育线:(((((((((((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))),nodraw;
多方炮:(((ref(close,2) > ref(open,2)) and (ref(close,1) < ref(open,1))) and (close > open)) ,nodraw;
出水芙蓉:(((((open < ema(close,20)) or (open < ema(close,40))) or (open < ema(close,60))) and (close > max(ema(close,20),max(ema(close,40),ema(close,60))))) and (((vol / ma(vol,30)) > 1.2) and ((close / ref(close,1)) > 1.049))) ,nodraw;
上升三部曲:(((((((((((((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))) ,nodraw;
下跌三部曲:(((((((((((((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))),nodraw;
跳空缺口:(high < ref(low,1)) or ((low > ref(high,1)) ),nodraw;
三只乌鸦:(((((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))) ,nodraw;
光脚阴线:((low = close) and not(high= low)) ,nodraw;
光头阳线:((high = close) and not(high=low)),nodraw;
分离:((open = ref(open,1)) and (((close - open) * (ref(close,1) - ref(open,1))) < 0)) ,nodraw;
长下影:(((min(close,open) - low) / (high - low)) > 0.667) ,nodraw;
长上影:(((high - max(close,open)) / (high - low)) > 0.667) ,nodraw;
十字星:((close = open) and not(high=low)) ,nodraw;
大阴烛:(((open / close) > 1.05) and ((high / low) < ((open / close) + 0.018))) ,nodraw;
好友反攻:(((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)) ),nodraw;
倾盆大雨:(((((ref(close,1) / ref(open,1)) >= 1.03) and (open < ref(close,1))) and (open > ref(open,1))) and (close < ref(open,1))) ,nodraw;
说明
【k线语言解盘】部分可放在“用法注释”中
倾盆大雨,'k线形态分析:倾盆大雨,见顶信号;
大阴烛,'k线形态分析:大阴烛,后市向淡,发生逆转;
好友反攻,'k线形态分析:好友反攻,底部反转;
跳空缺口,'k线形态分析:跳空缺口,注意向上还是向下跳空;
光脚阴线,'k线形态分析:光脚阴线,空方抛压的坚决势态,具体力度的的大小要根据阴线实体的大小来定,下跌信号;
光头阳线,'k线形态分析:光头阳线,说明多方积极上攻态势,具体力度的的大小要根据阳线实体的大小来定,后市看涨;
三只乌鸦,'k线形态分析:三只乌鸦,行情开始疲软,更趋加速下降的象征,可能见顶回落;
分离,'k线形态分析:分离,注意看涨分离和看跌分离;
长下影,'k线形态分析:长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;
长上影,'k线形态分析:长上影,表明行情上档压力沉重,升势受阻;
下跌三部曲,'k线形态分析:下跌三部曲,下跌信号;
上升三部曲,'k线形态分析:上升三部曲,上涨信号;
早晨之星,'k线形态分析:早晨之星,见底回升;
黄昏之星,'k线形态分析:黄昏之星,见顶回落;
十字星,'k线形态分析:十字星,重要的警告信号,原趋势停顿或反转,有转向意味,注意股价位置在顶部还是底部;
长十字,'k线形态分析:长十字,注意在顶部还是底部;
垂死十字,'k线形态分析:垂死十字,下跌信号;
早晨十字星,'k线形态分析:早晨十字星,上涨信号,见底回升;
黄昏十字星,'k线形态分析:黄昏十字星,下跌信号,见顶回落;
射击之星,'k线形态分析:射击之星,可能见顶回落,可靠性低;
倒转锤头,'k线形态分析:倒转锤头,可能见底回升;
锤头,'k线形态分析:锤头,可能见底回升,如有量配合,信号强烈;
吊颈,'k线形态分析:吊颈,上升行情中见顶回落,顶部出现,见顶信号;
平顶,'k线形态分析:平顶,温和的反转;
穿头破脚,'k线形态分析:穿头破脚,顶部出现,见顶回落信号;
乌云盖顶,'k线形态分析:乌云盖顶,见顶回落信号;
曙光初现,'k线形态分析:曙光初现,后市见底回升;
身怀六甲,'k线形态分析:身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;
十字胎,'k线形态分析:十字胎;
平底,'k线形态分析:平底,温和的反转;
大阳烛,'k线形态分析:大阳烛,,看涨;
三个白武士,'k线形态分析:三个白武士,每日收盘价上移,表示可能见底回升;
双飞乌鸦,'k线形态分析:双飞乌鸦,行情将见顶回落;
孕育线,'k线形态分析:孕育线,注意股价位置;
多方炮,'k线形态分析:多方炮,在底部出现有上涨以为,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;
出水芙蓉,'k线形态分析:出水芙蓉,见底回升;
上一指标公式:小价差倍阳选股附图指标下载 通达信选股源码
下一指标公式:DKJ捕捉短期底部全仓出击附图指标下载 通达信捕捉源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文于氏K线战法主图指标下载 通达信公式有福仅供学习研究。