设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐猛虎掘金短线向中线公式源码 飞狐指标公式大全(2)

2015-12-17 16:14:41 股票入门 http://rumen.southmoney.com

{K线买提示}
Var111:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VarE :=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VarF :=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Var10 :=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND Var1;

趋势线1:=FORCAST(CLOSE,7);
Fk:=100*(C-REF(C,1))/REF(C,1);
pk1:=IF(C<REF(O,1) AND fk<0,1,0);
pk2:=IF(C<REF(O,2) AND fk<0,1,0);

stickline((Pk1=0 AND REF(Pk1,1)=1 AND Pk2=0 AND REF(Pk2,1)=1)AND(趋势线1>REF(趋势线1,1)OR 持股线>REF(持股线,1)),open,CLOSE,3,0),COLORred;
stickline((Pk1=0 AND REF(Pk1,1)=1 AND Pk2=0 AND REF(Pk2,1)=1)AND(趋势线1>REF(趋势线1,1)OR 持股线>REF(持股线,1)),H,L,0.5,0),COLORred;
pk3:=(((CLOSE / OPEN) > 1.04) AND (CLOSE <(SMA(HIGH,21,2) * 1.05))) AND ((CLOSE - REF(CLOSE,1)) > 0);
STICKLINE(pk3 AND(趋势线1>REF(趋势线1,1)OR 持股线>REF(持股线,1)),CLOSE,OPEN,3,0),COLORred;
STICKLINE(pk3 AND(趋势线1>REF(趋势线1,1)OR 持股线>REF(持股线,1)),H,L,0.5,0),COLORred;
STICKLINE(Var19 AND(趋势线>REF(趋势线1,1)OR 持股线>REF(持股线,1)),CLOSE,OPEN,3,0),COLORred;
STICKLINE(Var19 AND(趋势线>REF(趋势线1,1)OR 持股线>REF(持股线,1)),H,L,0.5,0),COLORred;

买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;
买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);
STICKLINE(买进条件 AND 波段线>持股线 AND 持股线>REF(持股线,1),L,L*0.998,7,0),COLORWHITE;

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT(CROSS(买线,卖线)AND 阻力线>=REF(阻力线,1),支撑线,'★'),COLOR00FFFF;
stickline(cross(买线,卖线),open,close,3,0),color00ffff;
stickline(cross(买线,卖线),h,l,0.5,0),color00ffff;          

更多飞狐指标公式请关注南方股票http://rumen.southmoney.com

上一页  [1] [2] 

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。