指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:止损止赢公式 飞狐止损指标 源码
drawgbk(close,colorrgb(200,200,50),colorrgb(100,50,50),1);
var1:=(((((3 * close) + low) + open) + high) / 6);
b0:=(((((((((((((((((((((20 * var1) + (19 * ref(var1,1))) + (18 * ref(var1,2))) + (17 * ref(var1,3))) + (16 * ref(var1,4))) + (15 * ref(var1,5))) + (14 * ref(var1,6))) + (13 * ref(var1,7))) + (12 * ref(var1,8))) + (11 * ref(var1,9))) + (10 * ref(var1,10))) + (9 * ref(var1,11))) + (8 * ref(var1,12))) + (7 * ref(var1,13))) + (6 * ref(var1,14))) + (5 * ref(var1,15))) + (4 * ref(var1,16))) + (3 * ref(var1,17))) + (2 * ref(var1,18))) + ref(var1,20)) / 210);
d01:=ma(b0,21);
d02:=ma(b0,34);
rsv:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=((3 * k) - (2 * d));
ga:=(((((((100 - (2 * ref(k,1))) + (2 * k)) + ((4 * ref(d,1)) / 3)) / 3) * (hhv(high,9) - llv(low,9))) + (100 * llv(low,9))) / 100);
gb:=(((((((0 - (2 * ref(k,1))) + (2 * k)) + ((4 * ref(d,1)) / 3)) / 3) * (hhv(high,9) - llv(low,9))) + (100 * llv(low,9))) / 100);
a1:=if(cross(d,k),low,0);
a2:=if(cross(50,d),1,0);
b11:ref(ga,barslast(a2)),linethick5,colorff;
b22:if((d01 < d02),ref(gb,barslast(a1)),ref(ga,barslast(a1))),linethick5,colorffff;
fillrgn(((b11 >= b22) and ((((b11 - b22) / b22) * 100) < 2)),b11,b22),colorffffff;
fillrgn(((b11 < b22) and (((abs((b11 - b22)) / b22) * 100) < 2)),b11,b22),colorffffff;
stickline((((b11 < b22) and (close > b11)) and (b11 < (b22 * 0.962))),b22,(b22 * 0.962),0,0),colorff00;
b33:if((((b11 < b22) and (close > b11)) and (b11 < (b22 * 0.962))),(b22 * 0.962),ref(ga,barslast(a2))),linethick5,colorff00ff;
stickline((close >= open),close,high,0,0),color10ffff;
stickline((close >= open),open,low,0,0),color10ffff;
stickline((close < open),open,high,0,0),colorffff10;
stickline((close < open),close,low,0,0),colorffff10;
stickline((close >= open),close,open,8,0),colorff;
stickline((close >= open),close,open,7,0),color1029ff;
stickline((close >= open),close,open,6,0),color1040ff;
stickline((close >= open),close,open,5,0),color1083ff;
stickline((close >= open),close,open,4,0),color10abff;
stickline((close >= open),close,open,3,0),color10d0ff;
stickline((close >= open),close,open,2,0),color10ffff;
stickline((close < open),close,open,8,0),colorff147c;
stickline((close < open),close,open,7,0),colorff5b74;
stickline((close < open),close,open,6,0),colorff747c;
stickline((close < open),close,open,5,0),colorff887c;
stickline((close < open),close,open,4,0),colorffac10;
stickline((close < open),close,open,3,0),colorffd110;
stickline((close < open),close,open,2,0),colorffff10;
drawbkbmp(close,'cpw'),align4;
rsi1:=((sma(max((indexc - ref(indexc,1)),0),6,1) / sma(abs((indexc - ref(indexc,1))),6,1)) * 100);
da1:=(((((3 * indexc) + indexl) + indexo) + indexh) / 6);
db:=(((((((((((((((((((((20 * da1) + (19 * ref(da1,1))) + (18 * ref(da1,2))) + (17 * ref(da1,3))) + (16 * ref(da1,4))) + (15 * ref(da1,5))) + (14 * ref(da1,6))) + (13 * ref(da1,7))) + (12 * ref(da1,8))) + (11 * ref(da1,9))) + (10 * ref(da1,10))) + (9 * ref(da1,11))) + (8 * ref(da1,12))) + (7 * ref(da1,13))) + (6 * ref(da1,14))) + (5 * ref(da1,15))) + (4 * ref(da1,16))) + (3 * ref(da1,17))) + (2 * ref(da1,18))) + ref(da1,20)) / 210);
b1:=ma(db,3);
b2:=ma(db,5);
b3:=ma(db,21);
b4:=ma(db,34);
s:=if((date > 960101),1,0);
var47:=(llv(indexc,24) * 1.056);
var48:=((count((ma(indexc,5) > ref(ma(indexc,5),1)),17) / 17) * 100);
drawtext((((((((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (count(cross(indexc,var47),13) <= 1)) and (b3 < b4)) or (((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or (((cross(indexc,var47) and (indexc > (ref(indexc,1) * 1.056))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < max(b3,b4))) and (b3 < b4)) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < min(b3,b4))) and (b3 > b4)) and (count(cross(indexc,var47),13) <= 1))),(low * 0.98),'大盘见底啦!');
drawtext((((((cross(b4,indexc) and (b3 < b4)) and (indexc > min(b1,min(b2,min(b3,b4))))) and (b1 < b4)) and (count(cross(b4,b3),barslast((((((((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (count(cross(indexc,var47),13) <= 1)) and (b3 < b4)) or (((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or (((cross(indexc,var47) and (indexc > (ref(indexc,1) * 1.056))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < max(b3,b4))) and (b3 < b4)) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < min(b3,b4))) and (b3 > b4)) and (count(cross(indexc,var47),13) <= 1))))) = 1)) and (count((cross(b4,indexc) and (b3 < b4)),barslast((((((((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (count(cross(indexc,var47),13) <= 1)) and (b3 < b4)) or (((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or (((cross(indexc,var47) and (indexc > (ref(indexc,1) * 1.056))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < max(b3,b4))) and (b3 < b4)) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < min(b3,b4))) and (b3 > b4)) and (count(cross(indexc,var47),13) <= 1))))) = 1)),(high * 1.02),'准备清仓逃顶!'),colorffff;
drawtext(((cross(rsi1,80) and (b2 > b3)) and (count((indexc < b4),barslast((((((((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (count(cross(indexc,var47),13) <= 1)) and (b3 < b4)) or (((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or (((cross(indexc,var47) and (indexc > (ref(indexc,1) * 1.056))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < max(b3,b4))) and (b3 < b4)) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < min(b3,b4))) and (b3 > b4)) and (count(cross(indexc,var47),13) <= 1))))) >= 5)),(high * 1.02),'准备清仓逃顶!'),colorffff;
drawtext((cross(rsi1,80) and (count((indexc > indexo),8) = 8)),(high * 1.02),'准备清仓逃顶!'),colorffff;
drawtext((cross(var48,75) and (count(cross(75,var48),barslast((((((((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (count(cross(indexc,var47),13) <= 1)) and (b3 < b4)) or (((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or (((cross(indexc,var47) and (indexc > (ref(indexc,1) * 1.056))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < max(b3,b4))) and (b3 < b4)) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < min(b3,b4))) and (b3 > b4)) and (count(cross(indexc,var47),13) <= 1))))) = 1)),(high * 1.02),'准备清仓逃顶!'),colorffff;
drawtext((cross(99,var48) and (count((var48 = 100),barslast((((((((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (count(cross(indexc,var47),13) <= 1)) and (b3 < b4)) or (((cross(indexc,var47) and (llv(indexc,24) = llv(indexc,60))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or (((cross(indexc,var47) and (indexc > (ref(indexc,1) * 1.056))) and (indexc < min(b1,min(b2,min(b3,b4))))) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < max(b3,b4))) and (b3 < b4)) and (count(cross(indexc,var47),13) <= 1))) or ((((cross(indexc,var47) and (indexc > max(b1,max(b2,max(b3,b4))))) and (max(b1,b2) < min(b3,b4))) and (b3 > b4)) and (count(cross(indexc,var47),13) <= 1))))) > 21)),(high * 1.02),'准备清仓逃顶!'),colorffff;
>>>使用本站搜索工具可以找到更多“止损止赢公式 飞狐止损指标 源码”