趋势共振爆发指标公式源码(共振追涨指标公式)
本文目录一览:
短线高手主力版“买卖趋势”指标公式源码
非常准的趋势买卖(图片演示在下面网址里)
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出LOW AND 卖出HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出MIN(C,O) AND 卖出MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出LOW AND 卖出HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入LOW AND 买入HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;
STICKLINE(买入MIN(C,O) AND 买入MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(买入LOW AND 买入HIGH,买入,LOW,0,0),COLORMAGENTA;
STICKLINE(买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(买入HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;
绿上卖,红下买。
求 均线,VOL,KDJ,MACD同时金叉的共振指标公式
VOLUME:=VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
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;
CROSS(MAVOL1,MAVOL2) AND CROSS(DIF,DEA) AND CROSS(J,D) AND CROSS(MA(CLOSE,5),MA(CLOSE,20));
{已测试,复制可直接引用,如果回答满意,请记得给采纳好评,呵呵}
主力资金共振指标公式
M:=10;
0,COLOR666666;
VAR1:=SMA(AMOUNT/10,M,1)/10000; {10日成交额的Sma平均,考虑一日权重}
dif1:=ema(VAR1,20)-EMA(VAR1,60);
DEA1:=EMA(DIF1,10),COLORWHITE;
macd1:=(DIF1-DEA1)*2;
MAMacD1:=MA(MACD1,3);
DIF2:=EMA(VAR1,30)-EMA(VAR1,60);
DEA2:=EMA(DIF2,10),COLORWHITE;
MACD2:=(DIF2-DEA2)*2;
MAMACD2:=MA(MACD2,3);
DIF3:=EMA(VAR1,40)-EMA(VAR1,60);
DEA3:=EMA(DIF3,10),COLORWHITE;
MACD3:=(DIF3-DEA3)*2;
MAMACD3:=MA(MACD3,3);
DIF4:=EMA(VAR1,60)-EMA(VAR1,120);
DEA4:=EMA(DIF4,10),COLORWHITE;
MACD4:=(DIF4-DEA4)*2;
MAMACD4:=MA(MACD4,3);
DIF5:=EMA(VAR1,120)-EMA(VAR1,250);
DEA5:=EMA(DIF5,10),COLORWHITE;
MACD5:=(DIF5-DEA5)*2;
MAMACD5:=MA(MACD5,3);
DIF6:=EMA(VAR1,250)-EMA(VAR1,500);
DEA6:=EMA(DIF6,10),COLORWHITE;
MACD6:=(DIF6-DEA6)*2;
MAMACD6:=MA(MACD6,3);
A1:=MAMACD1=REF(MAMACD1,1);
A2:=MAMACD2=REF(MAMACD2,1);
A3:=MAMACD3=REF(MAMACD3,1);
A4:=MAMACD4=REF(MAMACD4,1);
A5:=MAMACD5=REF(MAMACD5,1);
A6:=MAMACD6=REF(MAMACD6,1);
B1:=MAMACD1B2:=MAMACD2B3:=MAMACD3B4:=MAMACD4B5:=MAMACD5B6:=MAMACD6{A1:=DIF1=REF(DIF1,1);
A2:=DIF2=REF(DIF2,1);
A3:=DIF3=REF(DIF3,1);
A4:=DIF4=REF(DIF4,1);
A5:=DIF5=REF(DIF5,1);
A6:=DIF6=REF(DIF6,1);
B1:=DIF1B2:=DIF2B3:=DIF3B4:=DIF4B5:=DIF5B6:=DIF6stICKLINE(A6,0,1,3,0),COLORBLUE;
STICKLINE(A5,1,2,3,0),COLORDDDDDD;
STICKLINE(A4,2,3,3,0),COLORRED;
STICKLINE(A3,3,4,3,0),COLORMAGENTA;
STICKLINE(A2 AND A1,4,5,3,0),COLORYELLOW;
STICKLINE(B6,0,1,3,0),COLOR333333;
STICKLINE(B5,1,2,3,0),COLOR444444;
STICKLINE(B4,2,3,3,0),COLOR555555;
STICKLINE(B3,3,4,3,0),COLOR666666;
STICKLINE(A6 OR A5,7.5,8,3,0),COLOR339999;
STICKLINE(A6 OR A5,7.5,8,1,0),COLOR33FFFF;
STICKLINE(B5 OR B6,7.5,8,3,0),COLOR333333;
STICKLINE(B5 OR B6,7.5,8,1,0),COLOR666666;
STICKLINE((A6 OR A5) AND A3 AND A2 AND A1,7.5,8,3,0),COLOR993399;
STICKLINE((A6 OR A5) AND A3 AND A2 AND A1,7.5,8,1,0),COLORFF00FF;
STICKLINE((B6 OR B5) AND A3 AND A2 AND A1,7.5,8,3,0),COLOR666600;
STICKLINE((B6 OR B5) AND A3 AND A2 AND A1,7.5,8,1,0),COLORFFFF00;
向上三线共振:=A3 AND A2 AND A1;
DRAWICON(IF(向上三线共振=1 AND REF(向上三线共振,1)=0 ,向上三线共振,0) AND COUNT(向上三线共振,20)VAR2:=BArslAST(A3=1 AND REF(A3,2)=0);
DRAWICON(IF(REF(向上三线共振,1)=1 AND 向上三线共振=0 AND COUNT(向上三线共振,VAR2)8,1,0),7,2);
1、“MACD+KDJ金叉共振法”经典指标的共振使用
实战公式,准确率提高了3倍
MACD+KDJ
KDJ+MACD双金叉选股公式,实盘验证,成功率高达90%
该公式代表的含义是当日KDJ和MACD双金叉;配合其它条件,就可以选出适合某些思路的股票,这里只抛砖引玉一下。
2、MACD黄白线位于0轴上方,KDJ金叉,是买入机会。
由于KDJ自身的灵敏度较高,影响了指标的准确性。只做强势区域的KDJ金叉,准确性会大幅度提升。
3、个股60分钟级别,MACD金叉,是买入机会。
60分钟级别,MACD金叉,可以买入,MACD死叉,可以卖出。
实战中就是根据二者的交叉和趋势来判断买卖点,非常可靠,尽管在一些特殊的位置,KDJ灵敏/MACD稳健,这样一旦KDJ发出买入信号或者卖出信号,只要等到MACD有那样的趋势就可以买卖,不用等到MACD金叉时再买,那样有点晚。同时也解决了KDJ指标的过于灵敏的虚假信号。
KDJ与MACD金叉共振买入法
MACD+KDJ买卖战法:
1、MACD出现金叉买点,此时绿色能量柱消失,是红色能量柱出现的拐点,仅此信号即为买入点;而KDJ指标此时出现J、K同时金叉于D,并且三者处于较低的值,所以两个指标同时指示买入,说明此时买入信号非常可靠,果断买入。
2、MACD黄白线位于0轴上方,KDJ金叉,是买入机会。
3、个股60分钟级别,MACD金叉,是买入机会。
60分钟级别,MACD金叉,可以买入,MACD死叉,可以卖出。