文件:华山论剑
名称: 华山论剑 类别:技术指标
说明: 无未来
公式组: 新组主图--常用--无未来
a:=(3*high+low+open+2*close)/7;
绝对成本:if(date<9999999,dma(a,vol/capital),0),colorffff00;
c1:=ema(indexc,500)/ema(close,500);
d1:=indexo/c1;
d2:=indexh/c1;
d3:=indexl/c1;
d4:=indexc/c1;
上证指数:stickline(d4>=ref(d4,1),d3,d2,0,0),colorff00ff;
stickline(d4>=ref(d4,1),d4,d1,5,0),colorff00ff;
stickline(d4<ref(d4,1),d3,d2,0,0),colorffff00;
stickline(d4<ref(d4,1),d4,d1,5,0),colorffff00;
a10:=hhv(high,2);
a2:=llv(low,2);
maa1:=sma(a10,20,1)*105/100;
maa2:=sma(a2,20,1)*95/100;
maa3:=sma(maa1,2,1);
maa4:=sma(maa2,2,1);
maa5:=sma(maa3,2,1);
maa6:=sma(maa4,2,1);
上轨:sma(maa5,2,1),linethick2,colorb48f33;
下轨:sma(maa6,2,1),linethick2,colorb48f33;
强弱分界线:sma(ma(close,5),220,1),circledot,colorffff;
a01:=ma(close,1);
a02:=sma(sma(sma(a01,2,1),2,1),2,1);
sma1:=a02;
sma2:=ma(a02,2);
var2:=(3*close+low+open+high)/6;
多头能量:(20*var2+19*ref(var2,1)+18*ref(var2,2)+17*ref(var2,3)+16*ref(var2,4)+15*ref(var2,5)+14*ref(var2,6)+13*ref(var2,7)+12*ref(var2,8)+11*ref(var2,9)+10*ref(var2,10)+9*ref(var2,11)+8*ref(var2,12)+7*ref(var2,13)+6*ref(var2,14)+5*ref(var2,15)+4*ref(var2,16)+3*ref(var2,17)+2*ref(var2,18)+ref(var2,20))/210,linethick0;
空头能量:ma(多头能量,5),linethick0;
fillrgn(多头能量>空头能量,多头能量,空头能量);
explain(close,'《清风斜阳智能决策系统》qq 82052669 '),colorffff;
variable:tx='【',txd[datacount]='',bt1='',dtx1='',tx11='七、',tx1='公司动态',bt2='',dtx2='',tx21='八、',tx2='各家评论',bt3='',dtx3='',tx31='十五、',tx3='公司大事记',bt4='',dtx4='',tx41='十六、',tx4='涨跌幅超过7%记录';
d11:=f10find(tx11+tx1,10000);
d21:=f10find(tx21+tx2,d11);
d31:=f10find(tx31+tx3,d21);
d41:=f10find(tx41+tx4,d31);
fy:=year;
fd:=date;
txs:=0*date;
stx:=tx+numtostr(fy[sysparam(1)],0)+'-'+strmid(numtostr(fd[sysparam(1)],0),4,2)+'-'+strright(numtostr(fd[sysparam(1)],0),2)+'】';
for i=datacount downto datacount-n do begin
txs[i]:=if(f10find('【'+numtostr(fy[i],0)+'-'+strmid(numtostr(fd[i],0),4,2)+'-'+strright(numtostr(fd[i],0),2)+'】',d11)<>-1,1,0);
end;
drawicon(txs=1,low,10),align5;
d12:=f10find(stx,d11);
tj1:=between(d12,d11,d21);
if tj1 then begin
d13:=f10find(tx,d12+10);
bt1:=f10text(d12,0);
d14:=strlen(bt1)+4;
dtx1:=f10text(d12+d14,d13-d12-d14);
end;
d22:=f10find(stx,d21);
tj2:=between(d22,d21,d31);
if tj2 then begin
d23:=f10find(tx,d22+10);
bt2:=f10text(d22,0);
d24:=strlen(bt2)+4;
dtx2:=f10text(d22+d24,d23-d22-d24);
end;
d32:=f10find(stx,d31);
tj3:=between(d32,d31,d41);
if tj3 then begin
d33:=f10find(tx,d32+10);
bt3:=f10text(d32,0);
d34:=strlen(bt3)+4;
dtx3:=f10text(d32+d34,d33-d32-d34);
end;
d42:=f10find(stx,d41);
tj4:=d42>d41;
if tj4 then begin
d43:=f10find(tx,d42+10);
bt4:=f10text(d42,0);
d44:=strlen(bt4)+4;
dtx4:=f10text(d42+d44,d43-d42-d44);
end;
<%
vdtx1 = ffl.vardata("dtx1")
vdtx2 = ffl.vardata("dtx2")
vdtx3 = ffl.vardata("dtx3")
vdtx4 = ffl.vardata("dtx4")
vbt1 = ffl.vardata("bt1")
vbt2 = ffl.vardata("bt2")
vbt3 = ffl.vardata("bt3")
vbt4 = ffl.vardata("bt4")
sreplace vdtx1
sreplace vdtx2
sreplace vdtx3
sreplace vdtx4
sreplace vbt1
sreplace vbt2
sreplace vbt3
sreplace vbt4
sub sreplace(svar)
svar = replace(svar,chr(10),"",1,-1,0)
svar = replace(svar,chr(13),"",1,-1,0)
svar = replace(svar," ","")
end sub
ffl.vardata("dtx1") = vdtx1
ffl.vardata("dtx2") = vdtx2
ffl.vardata("dtx3") = vdtx3
ffl.vardata("dtx4") = vdtx4
ffl.vardata("bt1") = vbt1
ffl.vardata("bt2") = vbt2
ffl.vardata("bt3") = vbt3
ffl.vardata("bt4") = vbt4
%>
explain(tj1,tx1+'\n'+bt1),colorff;
explain(tj1,dtx1),colorffffff;
explain(tj2,tx2+'\n'+bt2),colorffff;
explain(tj2,dtx2),colorffffff;
explain(tj3,tx3+'\n'+bt3),colorffff00;
explain(tj3,dtx3),colorffffff;
explain(tj4,tx4+'\n'+bt4),colorffff00;
explain(tj4,dtx4),colorffffff;
jj:=(high+low+close+open)/4;
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,20);
var4:=ma(close,30);
h1a:=(var1+var2+var3+var4)/4;
stickline(close>0,jj,jj,7,0),colorff00;
drawbkbmp(close>=open or close<open,'moon');
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,20);
var4:=ma(close,30);
h1a:=(var1+var2+var3+var4)/4;
stickline(close>=open,high,low,1,0),colorff;
stickline(close>=open,high,low,0,0),colorff;
stickline(close>=open,close,open,8,1),colorff;
stickline(close<=open,high,low,1,0),colorff0000;
stickline(close<=open,high,low,0,0),colorffff00;
stickline(close<=open,close,open,8,0),colorffff00;
var1:=ref(close,1);
var2:=(sma(max(close-var1,0),6,1))/(sma(abs(close-var1),6,1))*100;
drawtext(cross(84,var2),high*1.01,'--卖出 '),colorffff;
drawicon(cross(84,var2),high*1.03,2);
drawicon(cross((ref(high,1)+ref(low,1))/2,ma(close,20)+2*std(close,20)),high*1.03,2);
var6:=ref(close,1);
var7:=(sma(max(close-var6,0),6,1))/(sma(abs(close-var6),6,1))*100;
var8:=cross(80,var7);
drawicon(var8,high*1.03,2);
drawtext(var8,high*1.01,'--卖出 '),colorffff;
jj:=(high+low+close)/3;
stickline(1,jj,jj,6,0),colorff00;
var10:=(2*close+high+low+open)/5;
var11:=llv(low,5);
var12:=hhv(high,4);
var13:=ema((var10-var11)/(var12-var11)*100,4);
var14:=ema(0.667*ref(var13,1)+0.333*var13,2);
drawtext(cross(var13,var14) and var13<40,low,'试买'),color10ff10;
drawbkbmp(close>=open or close<open,'moon');
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,20);
var4:=ma(close,30);
h1a:=(var1+var2+var3+var4)/4;
stickline(close>=open,high,low,1,0),colorff;
stickline(close>=open,high,low,0,0),colorff;
stickline(close>=open,close,open,8,1),colorff;
drawbkbmp(close>=open or close<open,'moon');
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,20);
var4:=ma(close,30);
h1a:=(var1+var2+var3+var4)/4;
var1:=(close-ma(close,30))/ma(close,30)*100;
var2:=close>open and open-low>high-close;
var3:=ref(var1,1)<-20 and var2;
var4:=ref(var1,1)<-20 and close>open and (close-ref(close,1))/ref(close,1)*1000>20;
var5:=filter(var3 or var4,3);
var6:=open>close and high-(if(close>open,close,open))>if(open<close,open,close)-low;
var7:=ref(var1,1)>abs(-20) and var6;
var8:=ref(var1,1)>abs(-20) and close<open and (ref(close,1)-close)/ref(close,1)*1000>20;
var9:=filter(var7 or var8,3);
vara:=ref(var1,1)<-13 and var2;
varb:=ref(var1,1)<-13 and close>open and (close-ref(close,1))/ref(close,1)*1000>20;
varc:=filter(vara or varb,3);
vard:=ref(var1,1)>abs(-13) and var6;
vare:=ref(var1,1)>abs(-13) and close<open and (ref(close,1)-close)/ref(close,1)*1000>20;
varf:=filter(vard or vare,3);
drawicon(var5*var1>0,low,1);
drawicon(var9*var1>0,high,2);
drawtext(varc*var1>0,1.02*ref(close,1),'积极关注'),colorffffff;
drawtext(varf*var1>0,0.99*ref(close,1),'注意风险'),color1010ff;
var10:=(2*close+high+low+open)/5;
var11:=llv(low,5);
var12:=hhv(high,4);
var13:=ema((var10-var11)/(var12-var11)*100,4);
var14:=ema(0.667*ref(var13,1)+0.333*var13,2);
drawtext(cross(var13,var14) and var13<40,low,'试买'),color10ff10;
var15:=ema(var10,13)-ema(var10,34);
var16:=ema(var15,5);
var17:=(-2)*(var15-var16)*3.8;
drawtext(cross(var17,ma(var17,3)) and var15>var16,high,'卖出'),color10ffff;
var18:=(2*close+low+high)/4;
stickline(close<=open,high,low,1,0),colorff0000;
stickline(close<=open,high,low,0,0),colorffff00;
stickline(close<=open,close,open,8,0),colorffff00;
jj:=(high+low+close)/3;
stickline(1,jj,jj,6,0),colorffffff;
var1:=if(close>ref(close,1),88,0);
var2:=if(close/ref(close,1)>1.05 and high/close<1.01 and var1>0,91,0);
drawtext(var2>90,low*0.99,'加仓'),colorffff;
上一指标公式:抄盘轨迹公式 飞狐指标 源码
下一指标公式:汰弱留强版公式 飞狐指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文华山论剑-清风斜阳决策系统公式 飞狐斜阳清风指标 源码仅供学习研究。