[求助]一改指标 [文华财经]
- 咨询内容:
我这个在通达信里用的,能否改成在赢顺里用?谢谢
80,COLOR996699;
20,COLORGREEN;
10,COLORCC6633,LINETHICK2;
90,COLOR9966FF,LINETHICK2;
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
长期线:A+100,COLORgreen;
短期线:B+100,COLOR888888;
中期线:D+100,COLORYELLOW,LINETHICK2;
见顶:(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线);
顶部区域:(中期线80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND="AND" 短期线<长期线+4;
顶部:=FILTER(顶部区域,4);
底部区域:(长期线<12 AND="AND" 中期线<8 AND="AND" (短期线<7.2 OR="OR" REF(短期线,1)<5) AND="AND" (中期线>REF(中期线,1) OR 短期线>REF(短期线,1))) OR (长期线<8 AND="AND" 中期线<7 AND="AND" 短期线<15 AND="AND" 短期线>REF(短期线,1)) OR (长期线<10 AND="AND" 中期线<7 AND="AND" 短期线<1);
STICKLINE( 顶部,99,103,20,1 ),COLORRED,LINETHICK2;
STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN;
低位金叉:长期线<15 AND="AND" REF(长期线,1)<15 AND="AND" 中期线<18 AND="AND" 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线
AND (REF(短期线,1)<5 OR="OR" REF(短期线,2)<5) AND="AND" (中期线>=长期线 OR REF( 短期线,1)<1);
STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
- 文华技术人员:
80,COLOR996699; 20,COLORGREEN; 10,COLORCC6633,LINETHICK2; 90,COLOR9966FF,LINETHICK2; A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED; B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2; 长期线:A+100,COLORgreen; 短期线:B+100,COLOR888888; 中期线:D+100,COLORYELLOW,LINETHICK2; 见顶:(REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线); 顶部区域:(中期线80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95) AND 长期线>60 AND 短期线<83.5 AND="AND" 短期线<中期线 and="AND" 短期线<长期线+4; 顶部:=FILTER(顶部区域,4); 底部区域:(长期线<12 and="AND" 中期线<8 and="AND" (短期线<7.2 or="OR" REF(短期线,1)<5) and="AND" (中期线>REF(中期线,1) OR 短期线>REF(短期线,1))) OR (长期线<8 and="AND" 中期线<7 and="AND" 短期线<15 and="AND" 短期线>REF(短期线,1)) OR (长期线<10 and="AND" 中期线<7 and="AND" 短期线<1); STICKLINE( 顶部,99,103,20,1 ),COLORRED,LINETHICK2; STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN; 低位金叉:长期线<15 and="AND" REF(长期线,1)<15 and="AND" 中期线<18 and="AND" 短期线>REF(短期线,1) AND CROSS(短期线,长期线) AND 短期线>中期线 AND (REF(短期线,1)<5 or="OR" REF(短期线,2)<5) and="AND" (中期线>=长期线 OR REF( 短期线,1)<1); STICKLINE( 低位金叉,0,5,11,0 ),COLORRED;
- 文华客服:
还有这个:ys1:=(HIGH+LOW+CLOSE*2)/4;
rk3:=EMA(ys1,10);
rk4:=STD(ys1,10);
rk5:=(ys1-rk3)*100/rk4;
rk6:=EMA(rk5,5);
rk7:=EMA(rk6,10);
涨:EMA(rk6,10)+100/2-5,linethick1,colorred;
跌:EMA(涨,4),linethick1,colorwhite;
多:IF(cross(涨,跌) and 跌<-10,30,0),linethick1,colorccccff;
空:IF(cross(跌,80),70,100),color0099ff,linethick1;
L1:ema(跌,4),colorf00ff0;
L2:ema(L1,4),colorgreen;
L3:=ema(L2,4),coloryellow;
L4:=ema(L3,4),colorcc9900;
-10,pointdot,color888888,linethick2;
80,pointdot,color888888,linethick2;
STICKLINE(涨 REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;
DRAWICON(多,30,1),color0000ff;
DRAWICON(cross(跌,80),70,2),colorgreen;
DRAWTEXT(cross(涨,跌) and 跌<20 and="and" 跌>-10,40,'震仓预警'),colorblue;
DRAWTEXT(多>0,-20,'多'),color0000ff;
Var11:=SUMBARS(VOL,FINANCE(7)*100);
Var22:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
Var3:=(CLOSE-Var22)/Var22*100;
Var4:=HHV(Var3,Var11);
Var5:=LLV(Var3,Var11);
Var6:=(Var3-Var5)/(Var4-Var5)*100;
K:=SMA(Var6,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
MA1:=MA(J,3),colorgreen;
STICKLINE(filter(J>MA1 AND J<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow;
DRAWTEXT(filter(J>MA1 AND J<=3,5)=1 and 跌<0,60,'重大利好'),colorred;
- 网友回复: 您可以参考一下这个帖子http://help.shwebstock.com.cn/dispbbs.asp?boardid=14&Id=253941&page=2
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 1145508240 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容