股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 1664|回复: 1
打印 上一主题 下一主题

飞狐控盘成本主图指标公式

[复制链接]

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
4
跳转到指定楼层
楼主
发表于 2015-12-31 16:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
input:m(88,1,200),n(6,1,200),p1(28,20,32),p2(32,30,35),p3(35,35,38),w(3,0,20),e(20,0,100);
var1:=ema(amount/v/100,3);
控盘成本:ema(var1,m);
低吸伏击:ema(var1,m)*0.85,Linethick2,colorffff00;
走势铁底:低吸伏击*0.87,Linethick3,colorff00ff;
var2:=l<=走势铁底 and c>ref(c,1)*1.02;
控盘成本,Linethick2,colorred;
drawicon(控盘成本 AND filter(var2,n),l,1),coloryellow;
A1:=3*eMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*eMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);
A2:=LLV(L,21);
a3: LLV(L,30);
a4:=EMA(A1,5);
A5:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;
dif:="macd.diff"(12,26,9);
dea:="macd.dea"(12,26,9);
基础:=( dif<-0.1 and dif>dea),COLORyellow;
中线买入:CROSS(A1,a4)AND (A5-a4)>40 and 基础,COLORred;
STICKLINE(CROSS(A1,a4)AND (A5-a4)>40 and 基础 ,a3,a3*1.2,4,0),COLORred;
VAR10:=IF(DATE<1500830 AND DATE>900101,1,0);
VAR20:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
K1:=(P1/10)*VAR1*100;
K2:=(P2/10)*VAR1*100;
K3:=(P3/10)*VAR1*100;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1),COLORFFFFFF;
D:=SMA(K,3,1),COLOR00FFFF;
J:=3*K-2*D,COLORFF00FF;
X:=LLV(J,2)=LLV(J,8);
Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0),COLOR00FF00;
主力:=EMA( (CLOSE-MA(CLOSE,n))/MA(CLOSE,n)*4800,2);
散户:=EMA( (CLOSE-MA(CLOSE,m))/MA(CLOSE,m)*4800,7);
动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*VAR1,COLORA0A0FF;
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF;
DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见 底'),COLORRED;
DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);

指标研习组

Rank: 11Rank: 11Rank: 11Rank: 11

听众
1
沙发
发表于 2016-1-3 17:35 | 只看该作者
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-12-5 10:35 , Processed in 0.138503 second(s), 19 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

快速回复 返回顶部 返回列表