控盘系数-劲
参数:n=30
p1:=3;
p2:=6;
p3:=18;
p4:=250;
var2:=ref(low,1);
var3:=(sma(abs(low-var2),13,1))/(sma(max(low-var2,0),13,1))*100;
var4:=ema(if(close*1.2,var3*13,var3/13),13);
var5:=llv(low,34);
var6:=hhv(var4,34);
var7:=if(llv(low,56),1,0);
var8:=(ema(if(low<=var5,(var4+var6*2)/2,0),3))/(618)*var7;
var9:=ema(close,5);
var10:=(close-ma(close,34))/ma(close,34)*10;
var11:=(ema(if(low<=var5,(var4+var6*2)/2,0),3))/(618)*var7*(-1);
var12:=ema(close,5)*(-1);
筹码估算:=var10*5;
控盘力度:ma(筹码估算,n),linethick1,colorff;
控盘趋势:2*"slowkd.k#week"(5,3,12,4)-1*"slowkd.d#week"(5,3,12,4)-50,linethick2,colorffff;
drawicon(ref(控盘力度,1)<控盘力度,控盘力度,10);
drawicon(ref(控盘力度,1)>控盘力度,控盘力度,11);
drawicon(ref(控盘趋势,1)<控盘趋势,控盘趋势,4);
drawicon(ref(控盘趋势,1)>控盘趋势,控盘趋势,5);
泸【亿】:"sh1a0001$amount"/100000000,linethick0,precision2,color91ffef;
深【亿】:"sz399001$amount"/100000000,linethick0,precision2,color9cff7a;
上涨:indexadv,linethick0;
下跌:indexdec,linethick0;
泸a个数:stkcount('上海a股'),linethick0;
深a个数:stkcount('深圳a股')+stkcount('中小企业'),linethick0;
bb:=barpos=sysparam(1);
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
str1:=' '+' 今日: '+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日 '+wday[wd[p]+1]+' ';
drawtext(barpos=p,high,'\n \n'+str1),align2,pxup10,colorffeeaa;
str2:=' ╭☆╯一家习作╰☆╮';
drawtext(barpos=p,high,'\n \n'+str2),align2,pxup10,color88ff;
drawtext(barpos=p,high,'\n \n'+str2),align2,pxup9,color88ff;
bb:=barpos=sysparam(1);
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
str1:='今天是:'+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日, '+wday[wd[p]+1];
explain(barpos=p,str1),colorff;
explain(1,stklabel+stkname+'\n所属板块:'+blkname),colorffff80;
explain(close>0,'〓 k 线形态分析 〓 '),colorffffff;
★早晨之星:=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);
★黄昏之星:=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);
★长十字:=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) and close/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) and close/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 and max(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 and close<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>open and 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 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;
★多方炮:=ref(close,2)>ref(open,2) and ref(close,1)<ref(open,1) and close>open;
★出水芙蓉:=(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;
★上升三部曲:=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);
★下跌三部曲:=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);
★跳空缺口:=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(close,1)/ref(open,1)>=1.03 and open<ref(close,1) and open>ref(open,1) and close<ref(open,1);
explain(★倾盆大雨,'★倾盆大雨★见顶信号;'),colorffff00;
explain(★大阴烛,'★大阴烛★后市向淡,发生逆转;'),colorffff00;
explain(★好友反攻,'★好友反攻★底部反转;'),colorff;
explain(★跳空缺口,'★跳空缺口★注意向上还是向下跳空;'),colorffffff;
explain(★光脚阴线,'★光脚阴线★下跌信号;'),colorffff00;
explain(★光头阳线,'★光头阳线★后市看涨;'),colorff;
explain(★三只乌鸦,'★三只乌鸦★可能见顶回落;'),colorffff00;
explain(★分离,'★分离★注意看涨分离和看跌分离;'),colorffffff;
explain(★长下影,'★长下影★持续下跌后出现,有可能止跌回升;在升势末期
出现,须多加留意;'),colorff;
explain(★长上影,'★长上影★表明行情上档压力沉重,升势受阻;'),colorffff00;
explain(★下跌三部曲,'★下跌三部曲★下跌信号;'),colorff;
explain(★上升三部曲,'★上升三部曲★上涨信号;'),colorffff00;
explain(★早晨之星,'★早晨之星★见底回升;'),colorff;
explain(★黄昏之星,'★黄昏之星★见顶回落;'),colorffff00;
explain(★十字星,'★十字星★有转向意味,注意股价位置在顶部还是底部;
'),colorffffff;
explain(★长十字,'★长十字★注意在顶部还是底部;'),colorffffff;
explain(★垂死十字,'★垂死十字★下跌信号;'),colorffff00;
explain(★早晨十字星,'★早晨十字星★上涨信号,见底回升;'),colorff;
explain(★黄昏十字星,'★黄昏十字星★下跌信号,见顶回落;'),colorffff00;
explain(★射击之星,'★射击之星★可能见顶回落,可靠性低;'),colorffff00;
explain(★倒转锤头,'★倒转锤头★可能见底回升;'),colorff;
explain(★锤头,'★锤头★可能见底回升,如有量配合,信号强烈;'),colorff;
explain(★吊颈,'★吊颈★上升行情中见顶回落,顶部出现,见顶信号;'),colorffff00;
explain(★平顶,'★平顶★温和的反转;'),colorffff00;
explain(★穿头破脚,'★穿头破脚★顶部出现,见顶回落信号;'),colorffff00;
explain(★乌云盖顶,'★乌云盖顶★见顶回落信号;'),colorffff00;
explain(★曙光初现,'★曙光初现★后市见底回升;'),colorff;
explain(★身怀六甲,'★身怀六甲★出现在底部,是见底回升信号;出现在顶部
,是见顶回落信号;'),colorff;
explain(★十字胎,'★十字胎★'),colorff;
explain(★平底,'★平底★温和的反转;'),colorff;
explain(★大阳烛,'★大阳烛★看涨;'),colorff;
explain(★红三兵,'★红三兵★每日收盘价上移,表示可能见底回升;'),colorff;
explain(★双飞乌鸦,'★双飞乌鸦★行情将见顶回落;'),colorffff00;
explain(★孕育线,'★孕育线★注意股价位置;'),colorffffff;
explain(★多方炮,'★多方炮★在底部出现有上涨可能,在中间出现有可能是
上涨中继,顶部出现是复合见顶信号;'),colorff;
explain(★出水芙蓉,'★出水芙蓉★见底回升;'),colorff;
a001:=close-ref(close,6);
a002:=ma(a001,6);
a003:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
a004:=sma(a003,3,1);
a005:=sma(a004,3,1);
a006:=ema(3*a004-2*a005,2);
a007:=(high+low+close)/3;
a008:=(a007-ma(a007,14))/(0.015*avedev(a007,14))/2;
a009:=(a008+ema((-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14))+100)/100,3)*200-100)/2;
a010:=a009-ref(a009,14);
a011:=a009-ref(a009,26);
a012:=(a009+a010+a011)/3;
kkm:=ema(a012,4);
a013:=hhv(high,34);
a014:=(2*close+high+low)/4;
a015:=llv(low,34);
a016:=ema((a014-a015)/(a013-a015)*100,13);
a017:=ema(0.667*ref(a016,1)+0.333*a016,2);
kkmd:=a016-a017>1 and a016<30 and a017<30;
kkml:=a016-a017<0 and a016>80 and a017>80 and ref(a016-a017,1)>0;
kkmq:=count(a016-a017>0,2)=2;
kkal:=a016-a017<0;
生命线:=ma(close,20);
取舍线:=ma(close,10);
explainicon(kkmd,4);
explainicon(kkal,1);
explain(kkmd,'最佳买入时机');
explain(kkml,'最佳卖出时机');
explain(kkmq,'持仓区');
explain(kkal,'空仓区');
explain(close/ref(close,1)>indexc/ref(indexc,1),'该股强于大盘');
explain(close/ref(close,1),'该股强于大盘');
explain(cross(ma(close,5),ma(close,10)),'可出手');
explain(cross(ma(close,10),ma(close,5)),'收手了');
explain(kkm>ema(kkm,4) and kkm>ref(kkm,1),'快速介入');
explain(kkm>ema(kkm,4) and kkm<ref(kkm,1),'休息观望~');
explain(kkm<ema(kkm,4) and kkm>ref(kkm,1),'有防御能力');
explain(kkm<ema(kkm,4) and kkm<ref(kkm,1),'风险较大');
上一指标公式:换手积极版公式 飞狐指标 源码
下一指标公式:obv画线突破压力线买入公式 飞狐压力画线指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文控盘系数-劲公式 飞狐系数指标 源码仅供学习研究。