波浪引力--理想论坛是个学习的好地方!发个实站指标
指首先说明几点:
1:此指标不知是从那个论坛拿到的,07年的事了,都忘了!我一直在用,感觉不错!如果是哪位前辈高手的作品,请高台贵手!多多包涵!
2:公式中BR线是根马后炮线,这根线用到未来函数,可以不用管它!
3:(此指标没有提示买卖点,用于分析个股和大盘上涨和下跌的动力)判断上涨和下跌动力;看顶底线往上(下)翘的力度+角度!
4:我的用法是:当顶底线完全上穿趋势线后择机低点买进,必须完全交叉。顶底线完全下穿趋势线后择机高点卖出。成功率很高,配合其它经典指标(RSI;KDJ;MACD)效果更好!
5:会发图的发几张上来!
6:波浪引力!名字很抽象!
7:如有违规,请版主直接删掉!
8:求高手改为通达信的,造福小散们!
说明一下:1:此公式别看它有未来函数!会用的是个宝!不会用的是根草!2:公式中的无为线和BR线我觉得没有作用。可以不去看它;
要看趋势线和顶底线才有效果!
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
RSV1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
{-----------------------☆功能开关------------------------}
DTR:= MAX(MAX((CLOSE-HIGH),ABS(REF(CLOSE,1)-CLOSE)),ABS(REF(CLOSE,1)-LOW));
DTR1:=EMA(DTR,13);
DTR2:=REF(CLOSE,1)-REF(DTR1,1);
DTR3:=HHV(DTR2,13);
DTR4:=rsv;
DTR5:=SMA(DTR4,3,1);
DTR6:=SMA(DTR5,3,1);
AA:=BARSLAST(CROSS(DTR6,DTR5));
d:=REFX(EMA(CLOSE,8),4)-EMA(CLOSE,8);
e:=EMA(CLOSE,10)+d*2;
顶底:EMA(SLOPE(E,6)*6+E,3),LINEDASH,COLORMAGENTA;
SZ:=(3*CLOSE+2*OPEN+LOW+HIGH)/7;
Rs_i1:=(CLOSE+0.618*REF(CLOSE,1)+0.382*REF(CLOSE,2)+0.236*REF(CLOSE,3)+0.146*REF(CLOSE,4))/2.382;{修正线}
Rs_i2:=rsv1;
Rs_i3:=SMA(MAX(Rs_i1-REF(Rs_i1,1),0),2,1)/SMA(ABS(Rs_i1-REF(Rs_i1,1)),2,1);
Rs_i4:=FORCAST(Rs_i1+Rs_i2*(Rs_i3-0.65),7);
F_1:=MA(CLOSE,13)-EMA(CLOSE,5);
F_2:=EMA(CLOSE,6)+F_1*2;
F_3:=EMA(SLOPE(F_2,6)*6+F_2,3);
{-----------------【图解模板】---------------------};
{K线}
STICKLINE(OPEN>=CLOSE,HIGH,LOW,0,0),ColorFFA100; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,7,0),ColorFFA100;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0,0),Color5050FF; STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0),Color5050FF;
趋势:EMA(3*SZ-2*SMA(SZ,2,1),10),COLORYELLOW;
//顶底:REFX(MA(Rs_i4,3),4),COLORGREEN;
无为:IF(CLOSE>REF(HHV(DTR3,2),AA),REF(HHV(DTR3,2),AA),DTR3),COLORRED;
BR:REFX(F_3,4),LINEDASH,ColorFF8000;
大智慧L2源码:
RSV:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
RSV1:=(c-llv(l,34))/(hhv(h,34)-llv(l,34))*100;
{-----------------------☆功能开关------------------------}
DTR:= MAX(MAX((C-H),ABS(REF(C,1)-C)),ABS(REF(C,1)-L));
DTR1:=EMA(DTR,13);
DTR2:=REF(C,1)-REF(DTR1,1);
DTR3:=HHV(DTR2,13);
DTR4:=rsv;
DTR5:= sma (DTR4,3,1);
DTR6:= sma (DTR5,3,1);
AA:= BARSLAST (CROSS(DTR6,DTR5));
d:=REF(EMA(C,8),4)-EMA(C,8);
e:=EMA(C,10)+d*2;
顶底:EMA(SLOPE (E,6)*6+E,3), DASHLINE,COLORMAGENTA;
SZ:=(3*C+2*O+L+H)/7;
Rs_i1:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;{修正线}
Rs_i2:=rsv1;
Rs_i3:=SMA(MAX(Rs_i1-REF(Rs_i1,1),0),2,1)/SMA(ABS(Rs_i1-REF(Rs_i1,1)),2,1);
Rs_i4:= FORCAST(Rs_i1+Rs_i2*(Rs_i3-0.65),7);
F_1:=MA(C,13)-EMA(C,5);
F_2:=EMA(C,6)+F_1*2;
F_3:=EMA(SLOPE(F_2,6)*6+F_2,3);
{-----------------【图解模板】---------------------};
{K线}
STICKLINE (O>=C,H,L,0,0),ColorFFA100;
STICKLINE (o>=C,C,o,7,0),ColorFFA100;
STICKLINE (C>=O,L,H,0,0),Color5050FF;
STICKLINE (C>=o,C,o,7,0),Color5050FF;
趋势:EMA(3*SZ-2*SMA(SZ,2,1),10),COLORYELLOW;
{顶底:REF(MA(Rs_i4,3),4),COLORGREEN;}
无为:IF(c>ref(hhv(DTR3,2),AA),ref(hhv(DTR3,2),AA),DTR3),COLORRED;
BR:ref(F_3,4),ColorFF8000;
Q8:=ATAN((顶底/REF(顶底,1)-1)*100)*180/3.1416;
DRAWTEXTABS(3,50,'■顶底的角度: '+NUMTOSTRN(Q8,2)+' 度'),COLORRED;{加个顶底线的角度,方便看,呵呵}
|