当前位置:→ 公式网 > 飞狐公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是飞狐骑牛主图 源码(无源码的请下载附件导入)
C/C++ Code复制内容到剪贴板
- {骑牛主图3}
- {红三角、晶红三角、脸笑均为参考买点,卖点自己摸索,一般绿色风险线大于红色精品2线可持股}
- AA:=(2*C+H+L)/4;
- 操作线:MA(AA,5),LINETHICK2;
- 风险线:MA(CLOSE,13),LINETHICK3,COLORGREEN;
- 精品1:=EMA(EMA(EMA(CLOSE,2),2),2);
- 精品2:(MA(精品1,13) * 0.999),COLORWHITE,linethick3;
- 道2:=6*HHV(精品2,3)-5*精品2,COLORBLACK,linethick3;
- PARTLINE(精品2=道2,精品2),LINETHICK3,COLORRED;
- PARTLINE(精品2<道2,精品2),LINETHICK3,COLORWHITE;
- 牛股:=CROSS((100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8))),99);
- 攻:=ref(c,ref(hhvbars(v,21),0));
- 进攻:=ma(close,1)linethick0;
- 指挥:=V>1*ref(V,1) and (c/ref(C,1)-1)*100>9.5 and 进攻>=攻,COLORRED;
- RSV:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
- K:=SMA(RSV,5,1);
- D:=SMA(K,5,1);
- J:=3*K-2*D;
- 中线:=IF(J>K,J,0),COLOR00FFFF,LINETHICK2;
- 黑马:=中线>0 and ref(中线,1)=0;
- VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
- VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
- 四线:=FILTER((VAR4AA>90),45);
- AA05:=MA(C,5);
- BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
- AA10:=MA(C,10);
- BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
- AA30:=MA(C,30);
- BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
- 狙击:=filter(BB30>30 and BB10>45 and cross(BB05,60),10),COLORRED;
- 脸笑:=(if(牛股,1,0)+if(黑马,1,0)+if(四线,1,0)+if(狙击,1,0))>=2;
- DRAWICON(脸笑,l*0.98,1),ALIGN1;
- 红三角:=CROSS(c,操作线) and c/ref(c,1)>1.03 and 操作线>风险线;
- DRAWTEXT(红三角,l*0.98,'▲'),ALIGN0,PXDN20,COLORRED;
- DK:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
- 晶红三角:DRAWTEXT(CROSS(DK,1),l*0.98,'▲'),ALIGN0,PXDN20,COLORMAGENTA;
上一篇:操盘先锋(短进、快跑) 主图源码 下一篇:阶段换手率统计指标 飞狐 源码、主图