机构做多做空指标公式源码[其他软件公式]
{机构做多做空指标}
n:=31;
k:=25;
{多方趋势:7*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)
-3*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1),3,1)
-SMA(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)
,3,1),2,1),LINETHICK1,COLOR7F52AF;
空方趋势:EMA(MA(多方趋势,5),7),LINETHICK1,COLORA6B8C1;
STICKLINE(多方趋势>=空方趋势,多方趋势,空方趋势,3,0),COLOR7F52AF;
STICKLINE(多方趋势<空方趋势,多方趋势,空方趋势,3,0),COLORA6B8C1;
STICKLINE(多方趋势>78 AND 多方趋势>=空方趋势,多方趋势,78,5,0),COLORRED;
STICKLINE(空方趋势<=多方趋势,空方趋势,多方趋势,3,0),COLOR7F52AF;
STICKLINE(空方趋势>多方趋势,空方趋势,多方趋势,3,0),COLORA6B8C1;
STICKLINE(空方趋势<15 AND 空方趋势<=多方趋势,空方趋势,15,5,0),COLORBLUE;}
cxh886:=IF((YEAR >= 2050) AND (MONTH >= 1),0,1);
生命量能: EMA(100*(C-LLV(L,N))/(HHV(H,N)-LLV(L,N)),K)/2, STICK,COLORRED;
DRAWTEXT(生命量能>46,生命量能,'☆'),COLORYELLOW;
DRAWICON(生命量能<1,3,1),COLORYELLOW;cxh1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100*cxh886;
机构做空能量: SMA(cxh1,3,1),LINETHICK2,COLORGREEN;{http://www.cxh99.com}
cxh2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100*cxh886;
机构做多能量: SMA(cxh2,5,1)-8,LINETHICK2,COLORRED;底部区域:IF((MA(CLOSE,5)-C)/C>0.04 AND (MA(CLOSE,10)-MA(CLOSE,5))/MA(CLOSE,5)>0.04,28,0),COLORWHITE;
{多方趋势:7*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)
-3*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1),3,1)
-SMA(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)
,3,1),2,1),LINETHICK1,COLOR7F52AF;
空方趋势:EMA(MA(多方趋势,5),7),LINETHICK1,COLORA6B8C1;
STICKLINE(多方趋势>=空方趋势,多方趋势,空方趋势,3,0),COLOR7F52AF;
STICKLINE(多方趋势<空方趋势,多方趋势,空方趋势,3,0),COLORA6B8C1;
STICKLINE(多方趋势>78 AND 多方趋势>=空方趋势,多方趋势,78,5,0),COLORRED;
STICKLINE(空方趋势<=多方趋势,空方趋势,多方趋势,3,0),COLOR7F52AF;
STICKLINE(空方趋势>多方趋势,空方趋势,多方趋势,3,0),COLORA6B8C1;
STICKLINE(空方趋势<15 AND 空方趋势<=多方趋势,空方趋势,15,5,0),COLORBLUE;}
V6:=C/REF(C,3)>=1.1;
V7:=BACKSET(V6,3);
买入:IF((V7 AND COUNT(V7,3)=1),30,0),COLORYELLOW,;
DRAWTEXT(买入,35,'买入'),,COLORYELLOW;RSV:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100*cxh886;
K:=SMA(RSV,3,1),COLORYELLOW;
D:=SMA(K,3,1),COLORWHITE,;
买:IF(D<25 AND CROSS(K,D) ,28,0)*cxh886,COLORMAGENTA,LINETHICK4,STICK;
卖:IF(D>75 AND CROSS(D,K) ,28,0)*cxh886,COLORGREEN,LINETHICK4,STICK;
STICKLINE(K>D,K,D,5,0),COLORFFFF50;
STICKLINE(D>K,K,D,5,0),COLOR0000FF;
{多方趋势:7*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)
-3*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1),3,1)
-SMA(SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*30,4,1)
,3,1),2,1),LINETHICK1,COLOR7F52AF;
空方趋势:EMA(MA(多方趋势,5),7),LINETHICK1,COLORA6B8C1;
STICKLINE(多方趋势>=空方趋势,多方趋势,空方趋势,3,0),COLOR7F52AF;
STICKLINE(多方趋势<空方趋势,多方趋势,空方趋势,3,0),COLORA6B8C1;
STICKLINE(多方趋势>78 AND 多方趋势>=空方趋势,多方趋势,78,5,0),COLORRED;
STICKLINE(空方趋势<=多方趋势,空方趋势,多方趋势,3,0),COLOR7F52AF;
STICKLINE(空方趋势>多方趋势,空方趋势,多方趋势,3,0),COLORA6B8C1;
STICKLINE(空方趋势<15 AND 空方趋势<=多方趋势,空方趋势,15,5,0),COLORBLUE;}
即将变盘: CROSS(机构做空能量,机构做多能量),COLORWHITE;
DRAWTEXT(即将变盘,机构做多能量,'变盘'),COLORGRAY;
cxh88:=IF((YEAR >= 2050) AND (MONTH >= 1),0,1);
收益:(FINANCE(33)),COLORFFFF00;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容