1. 求一个通达信指标波浪分析WAVE刚刚拐头向上的选股公式
波浪分析wave刚刚上拐公式如下.
XG:CROSS(ZIG(3,5),REF(ZIG(3,5),1));
效果如图
注意公式是由未来函数编写而成,建议用于分析历史走势使用,不要用于交易决策,会有信号漂移现象.
2. 请老师写通达信指标里决策线在20以下拐头向上和进入异动区选股公式
VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2:=EMA(VAR1,20);
VAR3:=EMA(VAR2,20);
VAR4:=3*VAR2-2*VAR3;
势:=EMA(VAR4,5);
VAR5:=LLV(LOW,10);
VAR6:=HHV(HIGH,25);
决策线:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4);
XG:(决策线<20 AND 决策线>REF(决策线,1) AND REF(决策线,1)<REF(决策线,2)) OR CROSS(10,势);
3. 请把以下通达信指标在原有的基础上增加当主力轨迹第一天拐头向下时在副图上标志显示“卖”字
这样显示不乱套吗
{主力监控}
N1:=9;N2:=5;
MTM:=C-REF(C,1);
主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;
MAZL:MA(主力轨迹,N2),COLORYELLOW;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLOR000079,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR000079;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR000093;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR0000C6;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR4A4AFF;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR7D7DFF;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLORAAAAFF;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),COLORYELLOW,NODRAW;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLOR005555;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.6,0),COLOR007777;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLOR009999;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1.5,0),COLOR11BBBB;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.9,0),COLOR33DDDD;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR55FFFF;
出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORCYAN,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0),COLOR555555;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0),COLOR777777;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0),COLOR999999;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0),COLORBBBBBB;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0),COLORDDDDDD;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORFFFFFF;
DRAWTEXT(REF(主力轨迹,1)>REF(主力轨迹,2)&&主力轨迹<REF(主力轨迹,1),主力轨迹*1.01,'卖')COLORRED;
4. 请老师写通达信指标里决策线50以下拐头向上和进入异动区选股公式
VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2:=EMA(VAR1,20);
VAR3:=EMA(VAR2,20);
VAR4:=3*VAR2-2*VAR3;
势:=EMA(VAR4,5);
VAR5:=LLV(LOW,10);
VAR6:=HHV(HIGH,25);
决策线:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4);
XG:决策线<50 AND 决策线>REF(决策线,1)AND REF(决策线,1)<REF(决策线,2);
5. DMA指标中dif拐头向上的选股公式
可以编写同花顺的dma指标选股公式,选股条件dif拐头向上,选股位置效果如下图。
6. 请大神写一个通达信指标,MACD在0轴以下金叉后再死叉,然后DIFF值拐头向上
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
N:=15;
A1:=CROSS(DIF,DEA)AND DIF<0;
A2:=EXIST(A1,N)AND CROSS(DEA,DIF);
A3:=EXIST(A2,5)AND DIF>REF(DIF,1)AND REF(DIF,1)<REF(DIF,2);
XG:COUNT(DIF<0,N)=15 AND A3;
7. 通达信cci指标0轴(包括触及0轴及0轴以上)拐头向上的预警公式 #请私信#
{指标公式:}
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI30均:MA(CCI,30),LINETHICK2,COLORMAGENTA;
{选股公式:}
A:=CCI.CCI;
B:=MA(A,30);
XG:A<100 AND A>REF(A,1) AND REF(A,1)<REF(A,2) AND B>REF(B,1);
测试通过,
希望能够帮助你!
8. 跪求KD指标中D值拐头需选股公式!谢谢
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
w1:=cross(ma(c,3),ma(c,10));
xg:w1 and cross(k,d);
公式奉上,已经过测试。
9. 通达信幅图公式条件如下
照你所说编写如下:
M20:MA(C,20);
涨幅:(C-REF(C,1))/REF(C,1)*100,NODRAW;
上拐:=M20>REF(M20,1) AND REF(M20,1)<REF(M20,2);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
买:涨幅>3 AND 上拐 AND C>M20,NODRAW;
卖:K<REF(K,1) AND REF(K,1)>REF(K,2),NODRAW;
DRAWICON(买,L,7);
DRAWICON(卖,H,8);
DRAWKLINE(H,O,L,C);
个人觉得你所定的买卖条件不是很理想,如你设定的卖的条件仅仅以“K向下拐”就算了明显不够,因为K值在70以上常常会有波动,一有波动K值就会出现频繁的上拐下拐,这样卖点就频繁的显示,有时对有时错会搞得你无所适从,你看看显示的副图指标就知道了。
10. 求高手帮忙编写一个15分钟k线MACD指标diff线拐头向上的通达信公式
可以编写选股公式,但k线拐头向上必要说明一下哪个价格拐头向上,是收盘价吗,因为一根k线有四个价格,例如下图,k线收盘价拐头向上同时macd指标diff线也拐头向上的,选股位置效果图。