阴阳乾坤-由大机构阴阳乾坤改写的主图
源码如下:
{阴阳乾坤}
a1:=1;
mid:ema(close,17)*a1,linethick1,colorffffff;
upper:mid+2*std(close,17),linethick1;
lower:mid-2*std(close,17),linethick1,colorffff80;
uppero:mid+3*std(close,17),linethick1;
lowero:mid-3*std(close,17),linethick1,colorffff80;
drawicon(cross(low,lowero),low,1),align0;
drawicon(cross(high,uppero),high,2),align2;
drawtext(cross(lowero,low),low-0.01,''),align1;
drawtext(cross(lowero,low),low-0.01,''),align1;
lock:=if(currentdate<1160101,1,0);
{var1:md(close,20);
partline(var1>ref(var1,2),var1),linethick2,colorff00ff;}
{partline(var1=ref(var1,2),var1),linethick2,colorff0000;}
{partline(var1<ref(var1,2),var1),linethick2;}
m1:=ma(close,5);
m2:=ma(close,10);
m3:=ma(close,20);
m4:=ma(close,60);
m5:=ma(close,120);
pm3:=ma(close,30);
drawicon(m1>m2
and m2>m3 and m2>m4 and m2>m5 and m2>pm3 and ref(m1,1)<m1 and
ref(m2,1)<m2 and ref(m3,1)<m3 and
ref(pm3,1)<pm3,open,12);
{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;}
{大智慧k线自动解盘
:}
早晨之星:=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 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) 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(c,1)/ref(o,1)>=1.03 and
o<ref(c,1) and o>ref(o,1) and c<ref(o,1);
if dispstatus=2 then
begin;
var1000:='.';
if 倾盆大雨 then var1000:=var1000+'★倾盆大雨,见顶信号;';
if
大阴烛 then var1000:=var1000+'★大阴烛,后市向淡,发生逆转;';
if 好友反攻 then
var1000:=var1000+'★好友反攻,底部反转;';
if 跳空缺口 then
var1000:=var1000+'★跳空缺口,注意向上还是向下跳空;';
if 光脚阴线 then
var1000:=var1000+'★光脚阴线,下跌信号;';
if 光头阳线 then
var1000:=var1000+'★光头阳线,后市看涨;';
if 三只乌鸦 then
var1000:=var1000+'★三只乌鸦,可能见顶回落;';
if 分离 then
var1000:=var1000+'★分离,注意看涨分离和看跌分离;';
if 长下影 then
var1000:=var1000+'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;';
if 长上影 then
var1000:=var1000+'★长上影,表明行情上档压力沉重,升势受阻;';
if 下跌三部曲 then
var1000:=var1000+'★下跌三部曲,下跌信号;';
if 上升三部曲 then
var1000:=var1000+'★上升三部曲,上涨信号;';
if 早晨之星 then
var1000:=var1000+'★早晨之星,见底回升;';
if 黄昏之星 then
var1000:=var1000+'★黄昏之星,见顶回落;';
if 十字星 then
var1000:=var1000+'★十字星,有转向意味,注意股价位置在顶部还是底部;';
if 长十字 then
var1000:=var1000+'★长十字,注意在顶部还是底部;';
if 垂死十字 then
var1000:=var1000+'★垂死十字,下跌信号;';
if 早晨十字星 then
var1000:=var1000+'★早晨十字星,上涨信号,见底回升;';
if 黄昏十字星 then
var1000:=var1000+'★黄昏十字星,下跌信号,见顶回落;';
if 射击之星 then
var1000:=var1000+'★射击之星,可能见顶回落,可靠性低;';
if 倒转锤头 then
var1000:=var1000+'★倒转锤头,可能见底回升;';
if 锤头 then
var1000:=var1000+'★锤头,可能见底回升,如有量配合,信号强烈;';
if 吊颈 then
var1000:=var1000+'★吊颈,上升行情中见顶回落,顶部出现,见顶信号;';
if 平顶 then
var1000:=var1000+'★平顶,温和的反转;';
if 穿头破脚 then
var1000:=var1000+'★穿头破脚,顶部出现,见顶回落信号;';
if 乌云盖顶 then
var1000:=var1000+'★乌云盖顶,见顶回落信号;';
if 曙光初现 then
var1000:=var1000+'★曙光初现,后市见底回升;';
if 身怀六甲 then
var1000:=var1000+'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;';
if 十字胎 then
var1000:=var1000+'★十字胎;';
if 平底 then var1000:=var1000+'★平底,温和的反转;';
if 大阳烛
then var1000:=var1000+'★大阳烛,看涨;';
if 三个白武士 then
var1000:=var1000+'★三个白武士,每日收盘价上移,表示可能见底回升;';
if 双飞乌鸦 then
var1000:=var1000+'★双飞乌鸦,行情将见顶回落;';
if 孕育线 then
var1000:=var1000+'★孕育线,注意股价位置;';
if 多方炮 then
var1000:=var1000+'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;';
if 出水芙蓉 then
var1000:=var1000+'★出水芙蓉,见底回升;';
end;
tiptext(dispstatus=2,0,var1000);
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),'风险较大');
r:=ref(close,1)/close;
qy:=vol;
qtt:=qy*r;
tl:=filter(vol=hhv(vol,20),20);
dl:=filter(vol=llv(vol,20),20);
xd:=filter(low=llv(low,20),20);
xg:=filter(high=hhv(high,20),20);
aq标准攻击量:=qtt*1.15;
hq危险成交量:=qtt*1.5;
lq防守量:=qtt*0.75;
ahq平均高量:=(aq标准攻击量+hq危险成交量)/2;
alq平均低量:=(aq标准攻击量+lq防守量)/2;
市场实际量能:=qy;
explainex(hq危险成交量,'解盘:次日攻击危险量=',hq危险成交量,0,0),colorff;
explainex(aq标准攻击量,'解盘:次日攻击标准量=',aq标准攻击量,0,0),coloryellow;
explainex(lq防守量,'解盘:次日攻击防守量=',lq防守量,0,0),colorff00;
explainex(tl,'解盘:今日为20日最大量=',vol,0,0),colorff;
explainex(dl,'解盘:今日为20日最小量=',vol,0,0),colorff00;
explainex(xd,'解盘:今日为20日最低价格=',low,2,0),colorff00;
explainex(xg,'解盘:今日为20日最高价格=',low,2,0),colorff;
pt:=ref(high,1)-ref(low,1);
cdp:=(high+low+2*close)/4;
ah:=cdp+pt;
al:=cdp-pt;
nh敏感阻力:=2*cdp-low;
nl:=2*cdp-high;
explainex(ah,'解盘:次日重大阻力价位=',ah,2,0),colorff00;
explainex(nh敏感阻力,'解盘:次日敏感阻力区域=',nh敏感阻力,2,0),colorffff;
explainex(cdp,'解盘:次日关键均衡价位=',cdp,2,0),colorffffff;
explainex(nl,'解盘:次日重要支撑区域=',nl,2,0),colorffff80;
explainex(al,'解盘:次日关键支撑价位=',al,2,0),colorff;
explainicon(close>0,'szczxh'),align1;
var0:=ref(close,1)-ref(open,1);
var1:=ref(open,1);
var2:=close>=var1*1.05;
var3:=close>=2*var0/3*var1
and
close<=var1*1.05;
var4:=close<var0*2/3*var1;
explainex(var2,'解盘:个股目前态势:超级强势。涨幅
%f
%',(close-ref(close,1))/ref(close,1)*100,1,0),colorff00ff;
explainex(var3,'解盘:个股目前态势:强势。涨幅
%f
%',(close-ref(close,1))/ref(close,1)*100,1,0),colorff;
explainex(var4,'解盘:个股目前态势:弱势。涨幅
%f
%',(close-ref(close,1))/ref(close,1)*100,1,0),colorff00;
b1:=(close-ma(close,30))/ma(close,30)*100<-12;
b3:=(close-ma(close,30))/ma(close,30)*100>15;
b:=(close-ma(close,30))/ma(close,30)*100;
explainex(b<-18
and
close/open>1.06,'解盘:抢反弹!负乖离偏大,小单进场。此刻30日乖离率=',b,2,1),colorff;
explainex(b>40
and
close/ref(close,1)<1.08,'解盘:高抛!正乖离偏大,按照短线技术系统高抛:',b,2,0),colorff00;
explainex(not(b<-18
and close/open>1.06) or not(b>40 and
close/ref(close,1)<1.08),'解盘:此刻30日乖离率=',b,2,0),colorffff;}
{阳线上下影}
stickline(close>=open,c,h,0,0),
colorred;
stickline(close>=open,o,l,0,0),
colorred;
{阴线上下影}
stickline(close<open,o,h,0,0),
color00ec00;
stickline(close<open,c,l,0,0),
color00ec00;
{阳k线}
stickline(close>=open,c,o,8,0),color0000a1;
stickline(close>=open,c,o,6,0),color0000b5;
stickline(close>=open,c,o,5,0),color0000c5;
stickline(close>=open,c,o,4,0),color0000d4;
stickline(close>=open,c,o,2.5,0),color0000ec;
stickline(close>=open,c,o,1,0),color0000ff;
{阴k线}
stickline(close<open,c,o,8,0),color009000;
stickline(close<open,c,o,7,0),color00b400;
stickline(close<open,c,o,5,0),color00c700;
stickline(close<open,c,o,3,0),color00db00;
stickline(close<open,c,o,1,0),color00ec00;
lc:=ref(close,1);
rsi:=((sma(max(close
- lc,0),6,1))/(sma(abs(close -
lc),6,1)))*(100);
drawtext(cross(82,rsi),high,' 顶'),colorffcc66;
drawtext(cross(63,rsi),high,' 卖'),colorffcc66;
y1:=ref(ema(dma((((high + low) + (close * 2)) /
4.15),0.9),3),1);
drawtext(cross(close,y1),low,'买'),coloryellow;
上一指标公式:看到个转了给大家副图+图公式下载 大智慧指标源码源码转了
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文阴阳乾坤-由大机构阴阳乾坤改写的主图公式下载 大智慧指标源码改写阴阳仅供学习研究。