通达信突破成本细化主图指标公式
通达信天界真龙指标公式
通达信突破成本细化主图指标公式:
最高成本:cost(99.99),colorred;
最低成本:cost(0.01),colorblue;
a:=(最高成本-最低成本)/5;
线2:=(最高成本-a ) ,coloryellow;
线3:=(最高成本-2*a ),coloryellow ;
线4:=(最高成本-3*a ),coloryellow ;
线5:=(最高成本-4*a ),coloryellow ;
d1:=(最高成本-线2)/5;
d11:=最高成本-d1;
d12:=最高成本-2*d1;
d13:=最高成本-3*d1;
d14:=最高成本-4*d1;
d16:=(winner(最高成本)-winner(d11))*CAPITAL ;
d17:=(winner(d11)-winner(d12))*CAPITAL ;
d18:=(winner(d12)-winner(d13))*CAPITAL ;
d19:=(winner(d13)-winner(d14))*CAPITAL ;
d20:=(winner(d14)-winner(线2))*CAPITAL ;
d21:=(最高成本+d11)/2*d16 ;
d22:=(d11+d12)/2*d17 ;
d23:=(d12+d13)/2*d18 ;
d24:=(d13+d14)/2*d19 ;
d25:=(d14+线2)/2*d20 ;
一区成本:(d21+d22+d23+d24+d25)/(d16+d17+d18+d19+d20);
e1:=(线2-线3)/5;
e11:=线2-e1;
e12:=线2-2*e1;
e13:=线2-3*e1;
e14:=线2-4*e1;
e16:=(winner(线2)-winner(e11))*CAPITAL ;
e17:=(winner(e11)-winner(e12))*CAPITAL ;
e18:=(winner(e12)-winner(e13))*CAPITAL ;
e19:=(winner(e13)-winner(e14))*CAPITAL ;
e20:=(winner(e14)-winner(线3))*CAPITAL ;
e21:=(线2+e11)/2*e16 ;
e22:=(e11+e12)/2*e17 ;
e23:=(e12+e13)/2*e18 ;
e24:=(e13+e14)/2*e19 ;
e25:=(e14+线3)/2*e20 ;
二区成本:(e21+e22+e23+e24+e25)/(e16+e17+e18+e19+e20);
f1:=(线3-线4)/5;
f11:=线3-f1;
f12:=线3-2*f1;
f13:=线3-3*f1;
f14:=线3-4*f1;
f16:=(winner(线3)-winner(f11))*CAPITAL ;
f17:=(winner(f11)-winner(f12))*CAPITAL ;
f18:=(winner(f12)-winner(f13))*CAPITAL ;
f19:=(winner(f13)-winner(f14))*CAPITAL ;
f20:=(winner(f14)-winner(线4))*CAPITAL ;
f21:=(线3+f11)/2*f16 ;
f22:=(f11+f12)/2*f17 ;
f23:=(f12+f13)/2*f18 ;
f24:=(f13+f14)/2*f19 ;
f25:=(f14+线4)/2*f20 ;
三区成本:(f21+f22+f23+f24+f25)/(f16+f17+f18+f19+f20);
g1:=(线4-线5)/5;
g11:=线4-g1;
g12:=线4-2*g1;
g13:=线4-3*g1;
g14:=线4-4*g1;
g16:=(winner(线4)-winner(g11))*CAPITAL ;
g17:=(winner(g11)-winner(g12))*CAPITAL ;
g18:=(winner(g12)-winner(g13))*CAPITAL ;
g19:=(winner(g13)-winner(g14))*CAPITAL ;
g20:=(winner(g14)-winner(线5))*CAPITAL ;
g21:=(线4+g11)/2*g16 ;
g22:=(g11+g12)/2*g17 ;
g23:=(g12+g13)/2*g18 ;
g24:=(g13+g14)/2*g19 ;
g25:=(g14+线5)/2*g20 ;
四区成本:(g21+g22+g23+g24+g25)/(g16+g17+g18+g19+g20);
k1:=(线5-最低成本)/5;
k11:=线5-k1;
k12:=线5-2*k1;
k13:=线5-3*k1;
k14:=线5-4*k1;
k16:=(winner(线5)-winner(k11))*CAPITAL ;
k17:=(winner(k11)-winner(k12))*CAPITAL ;
k18:=(winner(k12)-winner(k13))*CAPITAL ;
k19:=(winner(k13)-winner(k14))*CAPITAL ;
k20:=(winner(k14)-winner(最低成本))*CAPITAL ;
k21:=(线5+k11)/2*k16 ;
k22:=(k11+k12)/2*k17 ;
k23:=(k12+k13)/2*k18 ;
k24:=(k13+k14)/2*k19 ;
k25:=(k14+最低成本)/2*k20 ;
五区成本:(k21+k22+k23+k24+k25)/(k16+k17+k18+k19+k20);
通达信庄家特快列车指标公式