新发动机副图图
{新发动机副图}
{背景颜色设定}
{drawgbklast(close>0,strip(rgb(55,75,55),rgb(10,10,20),0));}
drawrectrel(0,10,200,1000,rgb(0,0,255)),layer0;
{能量线 {测能量动力,很像kdj公式的j值}
{原神猴探月公式 将原神猴线改名能量线}
cs:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;
yjd:=(ema(cs,3)-50)*2;能量线:yjd,linethick0;
中线:0,linethick2,coloryellow,layer1;
drawicon(cross(yjd,中线),0,7),align1;
{原 庄家克星的抄底逃顶公式 将山水线改名抛留线,去掉倒影线}
能量线1:=能量线>=0;
能量线2:=能量线<=0;
var1:=(2*close+high+low)/4;
var2:=llv(low,5);
var3:=hhv(high,4);
var5:=(var1-llv(low,4))/(hhv(high,4)-llv(low,4))*100;
var6:=sma(var5,2,1);
sk:ema((var1-var2)/(var3-var2)*100,4),linethick0,precis2;
sd:ema(0.667*ref(sk,1)+0.333*sk,2),linethick0,precis2;
sj:2*sk-1*sd,linethick0,precis2;
skd差:sk-sd,colorred,linethick0,precis2;
抛留线: sma(var6,2,1),color889999,linethick0;
partline(抛留线,抛留线>ref(抛留线,1),rgb(255,0,0),抛留线<ref(抛留线,1),rgb(0,250,0)),linethick1;{红留,变绿一定卖}
金叉:if(cross(sk,sd),抛留线,0),colorffffff,linethick2,layer1;{买入点}
{金叉:if(cross(sk,sd),30,0),colorwhite,pointdot,linethick0;
stickline(金叉,30,40,6,0),colorffffff;
drawtext(金叉,35,'金叉'),align1,color6600ff,layer0;}
vertline(cross(金叉,0.1),2),colorffffff,layer7;
金叉天数:barslast(cross(sk,sd)),linethick0;{计算几日前金叉}
{能量线用柱表示}
{绿色 0线上 表示下跌}
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,8,0 ),color008800;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,7,0 ),color009900;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,6,0 ),color00aa00;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,5,0 ),color00bb00;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,4,0 ),color00cc00;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,3,0 ),color00dd00;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,2,0 ),color00ee00;
stickline(yjd<ref(yjd,1)and yjd>0,0,yjd,1,0 ),color00ff00;
{红色 0线上 表示上涨}
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,8,0 ),color000088;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,7,0 ),color000099;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,6,0 ),color0000aa;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,5,0 ),color0000bb;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,4,0 ),color0000cc;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,3,0 ),color0000dd;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,2,0 ),color0000ee;
stickline(yjd>=ref(yjd,1)and yjd>0,0,yjd,1,0 ),color0000ff;
{黄色 0线下 表示上涨}
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,8,0 ),color338fdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,7,0 ),color339fdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,6,0 ),color33afdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,5,0 ),color33bfdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,4,0 ),color33cfdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,3,0 ),color33dfdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,2,0 ),color33efdd;
stickline(yjd>ref(yjd,1)and yjd<0,0,yjd,1,0 ),color33ffdd;
{蓝色 0线下 表示下跌}
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,8,0 ),colorff4400;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,7,0 ),colorff6600;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,6,0 ),colorff7700;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,5,0 ),colorff8800;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,4,0 ),colorff9900;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,3,0 ),colorffaa00;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,2,0 ),colorffbb00;
stickline(yjd<=ref(yjd,1)and yjd<0,0,yjd,1,0 ),colorffcc00;
{当日及时行情}
drawtextrel(5,30,'■' ),colorffffff,linethick1,layer0;
drawtextrel(5,50,' 金 叉:'+numtostrn(金叉,2)),colorffffff,linethick1,layer0;
drawtextrel(5,190,'今 '),colorgreen,linethick1,layer0;
drawtextrel(5,350,'日 能量线:'+numtostrn(yjd,2)),colorffffff,linethick1,layer0;
drawtextrel(5,510,'行 '),colorgreen,linethick1,layer0;
drawtextrel(5,670,'情 抛留线:'+numtostrn(抛留线,2)),colorffffff,linethick1,layer0;
drawtextrel(5,830,'■ '),colorgreen,linethick1,layer0;
jc0:=金叉 < 35 and 金叉 >0 and yjd > ref(yjd,1) and 抛留线 > ref(抛留线,1);
jc1:=金叉 < 35 and 金叉 >0 and (yjd < ref(yjd,1) or 抛留线 < ref(抛留线,1));
jc2:=金叉 <= 55 and 金叉 > 35 and yjd > ref(yjd,1) and 抛留线 > ref(抛留线,1);
jc3:=金叉 <=55 and 金叉 > 35 and (yjd < ref(yjd,1) or 抛留线 < ref(抛留线,1));
jc4:=金叉 > 55;
if barstatus=2 and jc0 then begin
drawtextrel(25,190,' ● 低位好 能量抛留见红 买'),colorred,layer0;
end
else
if barstatus=2 and jc1 then begin
drawtextrel(25,190,' ● 低位好 能量或抛留回跌 可考虑买'),colorred,layer0;
end
else
if barstatus=2 and jc2 then begin
drawtextrel(25,190,' ● 中位可 能量抛留见红 买'),colorred,layer0;
end
else
if barstatus=2 and jc3 then begin
drawtextrel(25,190,' ● 中位可 能量线见绿 观望'),coloryellow,layer0;
end
else
if barstatus=2 and jc4 then begin
drawtextrel(25,190,' ● 高位可能有暴利也是陷阱!!'),coloryellow,layer0;
end;
njc1:=金叉 = 0 and 金叉天数 <=1 and yjd > ref(yjd,1) and 抛留线 > ref(抛留线,1) and yjd <30;
njc2:=金叉 = 0 and 金叉天数 <=1 and yjd > ref(yjd,1) and 抛留线 > ref(抛留线,1) and yjd <60 and yjd >30;
njc3:=金叉 = 0 and 金叉天数 <=1 and yjd > ref(yjd,1) and 抛留线 > ref(抛留线,1) and yjd >60 ;
njc4:=金叉 = 0 and 金叉天数 <=1 and (yjd < ref(yjd,1) or 抛留线 < ref(抛留线,1)) ;
njc5:=金叉 = 0 and 金叉天数 =2 ;
njc6:=金叉 = 0 and 金叉天数 >2 and yjd > ref(yjd,1) and 抛留线 > ref(抛留线,1);
njc7:=金叉 = 0 and 金叉天数 >2 and (yjd < ref(yjd,1) or 抛留线 < ref(抛留线,1)) ;
njc8:=金叉 = 0 and 金叉天数 >2 and yjd < ref(yjd,1) and 抛留线 < ref(抛留线,1) ;
if barstatus=2 and njc1 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),colorred,layer0;
drawtextrel(25,190,' ● 低位可进场'),colorred,layer0;
end
else
if barstatus=2 and njc2 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),colorred,layer0;
drawtextrel(25,190,' ● 中位可进场'),colorred,layer0;
end
else
if barstatus=2 and njc3 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),coloryellow,layer0;
drawtextrel(25,190,' ● 高位小心 牛现 还是?'),coloryellow,layer0;
end
else
if barstatus=2 and njc4 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),coloryellow,layer0;
drawtextrel(25,190,' ● 陷阱 还是?'),coloryellow,layer0;
end
else
if barstatus=2 and njc5 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),coloryellow,layer0;
drawtextrel(25,190,' ● 今日没买 下次再来!'),coloryellow,layer0;
end
else
if barstatus=2 and njc6 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),coloryellow,layer0;
drawtextrel(25,190,' ● 陷阱 还是?'),coloryellow,layer0;
end
else
if barstatus=2 and njc7 then begin
drawtextrel(25,30,' ● '+numtostrn(金叉天数,0)+'天前金叉'),colorgreen,layer0;
drawtextrel(25,190,' ● 喝茶去吧!'),colorgreen,layer0;
end
else
if barstatus=2 and njc8 then begin
drawtextrel(25,190,' ● 喝咖啡去了!'),colorgreen,layer0;
end;
nl0:=yjd > ref(yjd,1) and yjd >0 and yjd <70;
nl1:=yjd < ref(yjd,1) and yjd >0 and yjd <70;
nl2:=yjd > ref(yjd,1) and yjd <0 ;
nl3:=yjd < ref(yjd,1) and yjd <0 ;
nl4:=yjd >0 and yjd > ref(yjd,1) and yjd >70 ;
nl5:=yjd >0 and yjd < ref(yjd,1) and yjd >70 ;
if barstatus=2 and nl0 then begin
drawtextrel(25,350,' ● 进入买区'),colorred,layer0;
drawtextrel(25,510,' ● 见红 势好'),colorred,layer0;
end
else
if barstatus=2 and nl1 then begin
drawtextrel(25,350,' ● 进入买区'),colorgreen,layer0;
drawtextrel(25,510,' ● 见绿 下车'),colorgreen,layer0;
end
else
if barstatus=2 and nl2 then begin
drawtextrel(25,350,' ● 不在买区'),colorgreen,layer0;
drawtextrel(25,510,' ● 趋势上升'),colorred,layer0;
end
else
if barstatus=2 and nl3 then begin
drawtextrel(25,350,' ● 不在买区'),colorgreen,layer0;
drawtextrel(25,510,' ● 喝茶吧!'),colorgreen,layer0;
end
else
if barstatus=2 and nl4 then begin
drawtextrel(25,350,' ● 在买区'),colorgreen,layer0;
drawtextrel(25,510,' ● 超过70小心!'),coloryellow,layer0;
end
else
if barstatus=2 and nl5 then begin
drawtextrel(25,350,' ● 在买区'),colorgreen,layer0;
drawtextrel(25,510,' ● 70下跌快逃!'),colorgreen,layer0;
end;
pl1:=抛留线 > ref(抛留线,1);
pl2:=抛留线 < ref(抛留线,1);
if barstatus=2 and pl1 then begin
drawtextrel(25,670,' ● 见红 势好'),colorred,layer0;
end
else
if barstatus=2 and pl2 then begin
drawtextrel(25,670,' ● 见绿 走人'),colorgreen,layer0;
end;
pl3:=抛留线 > 65 and 抛留线 <70;
pl4:=抛留线 > 70;
if barstatus=2 and pl3 then begin
drawtextrel(25,830,' ● 超过65小心!'),coloryellow,layer0;
end
else
if barstatus=2 and pl4 then begin
drawtextrel(25,830,' ● 超过70走人!'),colorgreen,layer0;
end;
顶线:80,colorred,dotline,layer7;
强势:65,colorffffff,dotline,precis2,layer7;
均线:-65,colorred,dotline,precis2,layer7;
底线:-80,colorgreen,dotline,layer7;
上一指标公式:MACD美人眼新美人眼公式下载 大智慧美人
下一指标公式:K线上大盘副图公式下载 大智慧大盘线上
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文新发动机副图图公式下载 大智慧源码新发仅供学习研究。