tdx主副图指标3
作者:互联网
转自miaozk2006
一、趋势顶底(QSDD)----无未来函数
适用软件: 通达信、操盘手
=====================
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,color9900FF;
短期线:B+100,color888888;
中期线:d+100,coloryellow,linethick2;
见顶:(ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线) ;
顶部区域:(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5
and 短期线<中期线 and 短期线<长期线+4;
顶部:=filter(顶部区域,4);
底部区域:(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1)))
or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ;
stickline( {见顶 or} 顶部,99,103,20,1 ),colorred,linethick2;
stickline( 底部区域,-4,0,22,0 ),colorgreen;
低位金叉:长期线<15 and ref(长期线,1)<15 and 中期线<18 and 短期线>ref(短期线,1) and cross(短期线,长期线) and 短期线>中期线
and (ref(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线 or ref( 短期线,1)<1 );
stickline( 低位金叉,0,5,11,0 ),colorred;
使用方法:
1.最好选择在底部区域中的股票!低位要高换手和量能的配合最完美!如果 趋势顶底 发出底部信号的话更好!如果没有,一定要灰色线最好是在底部区域出现拐头向上迹象!这样的股票!在考虑进入!
2.明确自己的运用 趋势顶底 指标的思路!你到底是短,中,长,中的哪一种如果短线严格按灰色线做!如果中线线结合黄红2线做!
3. 趋势顶底 顶部信号出现!一定要跑!特别是灰黄2线拐头明显向下!你千万别忧郁,坚决出局!即使后面有拉升后面的钱不是你该赚的!
4.最好用日线看 趋势顶底 指标!当然结合小时线运用也未尝不可!
㈠:趋势顶底(买卖原则)
⑴:不管什么周期,只要(中线上穿长线)即可买入。
⑵:不管什么周期,只要(中线下穿长线)或(短线下穿80)即刻卖出。
㈡:研判大盘趋势(月线)
⑴:当月线的长线、中线、短线趋势向下,(则长期看空),而中线上穿长线,(则长期看多)。
⑵:当月线还没有调整到位,后周期的所有行情都将是反弹,而反弹力度的大小就要看周线了。
㈢:研判大盘趋势(周线)
⑴:当周线的长线、中线、短线趋势向下,(则中期看空),而中线上穿长线,(则中期看多)。
⑵:当周线还没有调整到位,后周期的所有行情都将是反弹,而反弹力度的大小就要看日线了。
⑶:当周线的走势出现钝化,说明它在等月线,因为月线的调整还没到位,一旦到位就会形成突破。
㈣:研判大盘趋势(日线)
⑴:当日线的长线、中线、短线趋势向下,(则短期看空),而中线上穿长线,(则短期看多)。
⑵:当日线还没有调整到位,后周期的所有行情都将是反弹,而反弹力度的大小就要看分钟线了。
⑶:当日线的走势出现钝化,说明它在等周线,因为周线的调整还没到位,一旦到位就会形成突破
注:以上图文说明了(日线要服从周线)(周线要服从月线)(月线要服从年线)(年线要服从党的路线)
二、均线粘合抓牛股指标
均线粘合牛股1
EMA8:=EMA(C,8);
EMA13:EMA(C,13),COLORFFCCCC;
EMA21:EMA(C,21),COLORFF00FF;
EMA34:EMA(C,34),COLORYELLOW;
EMA55:EMA(C,55),COLORFFCC66;
EMA89:EMA(C,89),COLORBLUE;
F1:=EMA13-EMA21<130/1000 AND EMA13-EMA34<230/1000 AND EMA13-EMA55<330/1000;
F2:=EMA21-EMA13<130/1000 AND EMA21-EMA34<230/1000 AND EMA21-EMA55<330/1000;
F3:=EMA34-EMA13<130/1000 AND EMA34-EMA21<230/1000 AND EMA34-EMA55<330/1000;
F4:=EMA55-EMA13<130/1000 AND EMA55-EMA21<230/1000 AND EMA55-EMA34<330/1000;
F5:=EMA13-EMA21<100/1000 AND EMA13-EMA34<200/1000;
FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA13,EMA21);
FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA13);
FF3:=F5 AND C>EMA89 AND CROSS(EMA13,EMA21);
G1:=EMA21-EMA34<220/1000 AND EMA21-EMA34<320/1000 AND EMA21-EMA89<420/1000;
G2:=EMA34-EMA13<220/1000 AND EMA34-EMA21<320/1000 AND EMA34-EMA89<420/1000;
G3:=EMA55-EMA21<220/1000 AND EMA55-EMA34<320/1000 AND EMA55-EMA89<420/1000;
G4:=EMA89-EMA21<220/1000 AND EMA89-EMA34<320/1000 AND EMA89-EMA55<420/1000;
GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA89,EMA13);
GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA21);
DRAWICON(FF1 OR FF2 OR FF3 OR GG1 OR GG2,L-0.1,9);
==============================================================
{均线粘合牛股2}
EMA8:=EMA(C,8);
EMA13:=EMA(C,13);
EMA21:=EMA(C,21);
EMA34:=EMA(C,34);
EMA55:=EMA(C,55);
EMA89:=EMA(C,89);
F1:=EMA13-EMA21<130/1000 AND EMA13-EMA34<230/1000 AND EMA13-EMA55<330/1000;
F2:=EMA21-EMA13<130/1000 AND EMA21-EMA34<230/1000 AND EMA21-EMA55<330/1000;
F3:=EMA34-EMA13<130/1000 AND EMA34-EMA21<230/1000 AND EMA34-EMA55<330/1000;
F4:=EMA55-EMA13<130/1000 AND EMA55-EMA21<230/1000 AND EMA55-EMA34<330/1000;
F5:=EMA13-EMA21<100/1000 AND EMA13-EMA34<200/1000;
FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA13,EMA21);
FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA13);
FF3:=F5 AND C>EMA89 AND CROSS(EMA13,EMA21);
G1:=EMA21-EMA34<220/1000 AND EMA21-EMA34<320/1000 AND EMA21-EMA89<420/1000;
G2:=EMA34-EMA13<220/1000 AND EMA34-EMA21<320/1000 AND EMA34-EMA89<420/1000;
G3:=EMA55-EMA21<220/1000 AND EMA55-EMA34<320/1000 AND EMA55-EMA89<420/1000;
G4:=EMA89-EMA21<220/1000 AND EMA89-EMA34<320/1000 AND EMA89-EMA55<420/1000;
GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA8,EMA13);
GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA21);
均线粘合:FF1 OR FF2 OR FF3 OR GG1 OR GG2;
三、敢死队核心:{买了就涨指标}
趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
见底信号: 2;
买点准备: IF(趋势线<=10,50,0);
买入时间: IF(CROSS(趋势线,见底信号),100,0),COLOR0099ff,LINETHICK4;
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);
主力进场:
STICKLINE(Var5>REF(Var5,1),0,Var5,7,0 ),COLORred;
洗盘:
STICKLINE(Var5<REF(Var5,1),0,Var5,7,0),COLORgreen;
四、抄底指标:秘密买卖点
应朋友们的请求,我将自己常用的抄底指标奉献出來,该指标捕捉底部买点还较准,但世上的指标毕竟没有百分之百准确的,大家还要在使用中认真摸索经验,根据大盘趋势來使用,在大盘趋势向上时,用它來捕捉探底结束的个股就很成功.大家在使用中有总结出好的使用经验时,可别忘告诉我哦!
{ n(1,10,7)放小框 }
{以下的放大框}
顶:80,COLORGREEN;
底:20,COLORRED;
熊市顶:70;
LC:=REF(CLOSE,1);
趋势:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW;
底1:IF(趋势<20,40,20),COLORRED;
卖出1:IF(趋势>80,60,80),COLORGREEN;
买1:STICKLINE(FILTER(REF(趋势,1)<20
AND 趋势>REF(趋势,1),5),20,40,2,0),COLORRED;
趋势↓:STICKLINE(FILTER(REF(趋势,1)>80 AND 趋势<REF(趋势,1),5),60,80,2,0),COLORGREEN;
DRAWTEXT(FILTER(REF(趋势,1)<20 AND 趋势>REF(趋势,1),5),40 ,'买入1'),COLORRED;
DRAWTEXT(FILTER(REF(趋势,1)>80 AND 趋势<REF(趋势,1),5),60 ,'卖出2'),COLORGREEN;
底3:IF(趋势<30,40,20),COLORCYAN;
买2:STICKLINE(FILTER(REF(趋势,1)<30 AND 趋势>REF(趋势,1),5),20,40,2,0)
,COLORMAGENTA;
DRAWTEXT(FILTER(REF(趋势,1)<30 AND 趋势>REF(趋势,1),5),40 ,'买入2'),COLORMAGENTA
五、一招定乾坤(最佳买点)系列
说明:这是一套系统全面的看盘指标(一主三副),之所以说是系统全面,是因为该套指标引用了几个经典的传统指标。
1、主图指标
{一招赢}
MA5:MA(C,5);
MA10:MA(C,10);
MA30:MA(C,30);
MA60:MA(C,60);
MA250:MA(C,250);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KDJ1:=CROSS(K,D) AND CROSS(J,D);
均线:=CROSS(MA(C,5),MA(C,10));
量线:=CROSS(MA(V,5),MA(V,10));
SCC:=MACD1 AND KDJ1 AND 均线 AND 量线;
SC1:=MACD1 AND KDJ1;
SC2:=均线 AND 量线;
SC3:=均线 AND MACD1;
SC4:=量线 AND KDJ1;
SC5:=均线 AND KDJ1;
SC6:=MACD1 AND 量线;
DRAWICON(SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6,L-0.20,9);{两个以上指标同时金叉显示9号图标}
DRAWICON(SCC,L-0.20,3);{四个指标同时金叉显示3号图标,便于区别}
该指标不仅镶嵌了均线系统、成交量、MACD、KDJ四个指标,在均线系统里又增加了60日均线和250日均线,绝大多数黑马股在启动之初,其股价在放量上穿30日或60日均线,并在它们上方带量运行一段时间后,在向下滑落过程中一般都会受30、60日均线的有力支撑,从而形成更为有力的涨升行情。30日均线能有如此神秘的力量,正是它是中短期和中长期均线系统的结合点。60日均线之所以也能有如此神秘的力量也决非偶然,其中也更隐藏着更为重大的战略意义,那就是绝大多数已被主力控制很深业以完成总体建仓的股票,主力大多会在拉升行情启动之前,再来一次紧急而迅速的集中建仓或增仓,且时间都控制在三个月左右。所以起涨点恰巧都落在60日均线上。250均线又称年线,反映的是长期趋势,有牛熊线之称,股价只有站上年线才能具备产生黑马和大牛股的基础。所以,该指标兼备了既可对短期、又能对中长期趋势进行分析的指标。只要镶嵌的四个指标有两个共振就会发出图标信号。
3 个配套副图指标
{(1)自用VOL}
VOLUME:VOL,VOLSTICK;
MAVOL5:MA(VOLUME,5);
MAVOL10:MA(VOLUME,10),COLOR00FF00;
DRAWICON(CROSS(MAVOL5,MAVOL10),0,1);{1号图标显示红箭头}
==========================================================
{(2)自用MACD}
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),COLORWHITE;
DEA:EMA(DIFF,9),COLORYELLOW;
MACD:2*(DIFF-DEA),COLORSTICK;
DRAWICON(CROSS(DIFF,DEA),0,1);{1号图标显示红箭头}
===========================================================
{(3)自用KDJ }
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,9,1);
D:SMA(K,9,1);
J:3*K-2*D;
BBI:=(EMA(CLOSE,3)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4;
EBBI:=(EMA(C,6)+EMA(C,18)+EMA(C,54)+EMA(C,162))/4;
FF1:=EMA(C,3)>EMA(C,7) AND EMA(C,7)>EMA(C,21) AND EMA(C,21)>EMA(C,54);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
主升浪:IF(BBI>EBBI AND FF1 AND DIFF>DEA,10,0),COLORYELLOW,POINTDOT;
STICKLINE(主升浪,10,0,1,1),COLORYELLOW;
DRAWICON(CROSS(K,D) AND CROSS(J,D),10,1);{1号图标显示红箭头}
===========================================================================
按照确认“主升浪”行情的标准,这个指标镶嵌了多空指数(EBBI)、3、7、21、54日平滑移动均线、MACD、三个指标与KDJ的组合,当具备“主升浪”行情标准时,在KDJ指标坐标线0--10的位置上显示黄色柱,只要其中某个指标空头排列,黄柱消失,也就是主升浪结束。
由于这三个副图指标都增加了金叉信号(红色箭头),在四图组合画面里可以非常方便的识别出主图指标出现的图标信号是哪几个指标共振金叉。应该注意的是:上面3 个副图指标不要在系统自带的指标里改编,因为每次启动后都会恢复原有的指标。
上面的一主三副指标如果设在一张四图组合画面里,我们可以同时用到七个指标,这对于在每个视角,每个方位分析盘面已经足够了。
六、抄底公式---预测黑马
个股:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;
大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),colorE67010,linethick2;
黑马报到:if(cross(个股,9),50,0),stick,linethick3,color00ff00;
drawtext(cross(个股,9),40,'黑马报到!'),color00ff00;
Var1:=EMA(CLOSE,3);
Var2:=EMA(CLOSE,21);
Var3:=BARSLAST(CROSS(Var2,Var1))>15;
Var4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;
Var5:=CROSS(Var1,Var2) AND ISUP AND Var4 AND Var3;
黑马冲天:if(Var5,80,0),stick,linethick4,colorf00ff0;
drawtext(Var5,70,'黑马冲天!'),colorf00ff0
七、极品逃顶公式
{极品逃顶攻击源码}
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
S: IF(VAR6>55,VAR6-55,0);
STICKLINE(REF(S,1)<S,S,REF(S,1),5,0),coloryellow;
STICKLINE(REF(S,1)>S,S,REF(S,1),5,0),colorff00ff;
v1:=(2*CLOSE+HIGH+LOW)/4;
v2:=LLV(LOW,13);
v3:=HHV(HIGH,13);
v4:=EMA((v1-v2)/(v3-v2)*100,13);
v5:=EMA(0.667*REF(v4,1)+0.333*v4,2);
STICKLINE(v4>v5,v4,v5,4,1),COLORRED;
STICKLINE(v4<=v5,v4,v5,4,1),COLOR00ff00;
bar1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100*bar1;
波段底部:IF(CROSS(底部吸筹指标,-24),0,30)*bar1, COLORYELLOW;
VarE:=30+(REF(CLOSE,1)-REF(OPEN,1))/REF(OPEN,1)*100/1.5;
VarF:=30+(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)*100/1.5;
Var10:=CROSS("KDJ.K"(9,3,3),"KDJ.J"(9,3,3)) AND "KDJ.D"(9,3,3)>13;
Var11:=CROSS(REF("KDJ.K"(9,3,3),1),REF("KDJ.J"(9,3,3),1)) AND REF("KDJ.D"(9,3,3),1)>13;
Var12:=CROSS(REF("KDJ.K"(9,3,3),2),REF("KDJ.J"(9,3,3),2)) AND REF("KDJ.D"(9,3,3),2)>13;
Var13:=Var10 OR Var11 OR Var12;
Var14:=REF("BIAS.BIAS2"(6,12,24),1)>2;
y:=close/ref(close,1)>1.07;
x:=vol>ma(vol,5);
a1:=y and x;
买:if(a1,70,0),COLORFF3399;
k1:=BARSLAST(l>ref(h,1) and c/o>1.05);
k2:=l<ref(h,k1+1) and count(l<ref(h,k1+1),k1)=1;
短线:买=70进,选股。
红黄同步持股,绿粉持币。
八、奉献主图公式一个:启动通吃整个波段
启动通吃 源码:
AT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10
- REF(AA10,1))) * 3.1416) * 10);
BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416)
* 10);MA13:=MA(CLOSE,13);
STICKLINE((((AA12 <= AA10) AND (BB12 >= 1))
AND (BB10 >= 1)),AA10,AA12,4,0),COLOR0080FF;
STICKLINE((((AA12 >= AA10)
AND (BB10 <= 1)) AND (BB10 <=
1)),AA10,AA12,4,0),COLOR00FF00;
X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1
AND
EMA(X1,13)>REF(EMA(X1,8),1),10),
EMA8,'∠45上升'),COLORWHITE;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
AA1:=AMOUNT;BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;
FF1:=BB1
AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW*
0.99),'老鼠仓'),COLOR4080FF;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
DRAWTEXT(CROSS(趋势线,0)AND
黑马线<40,(HIGH*
0.97),'▲大黑马'),COLORYELLOW;
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE -
LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) *
100);
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW *
0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH *
1.02),'顶背离'),COLOR1880FF;
VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;
注意买:=IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);
买入:=IF(CROSS(J,REF(J+0.01,1))
AND BDDD AND J<20,30,0);
DRAWTEXT(买入 AND 注意买=100 AND
超跌=0,LOW,'短线'),COLOR8000FF;
MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7)
AND COUNT(DX<0,2) AND
CROSS(DX,MA(DX,2)),1,0);
DRAWTEXT(FILTER(买=1,5),LOW-0.03,'拉升'),COLORFFDE00
九、融维创富主图公式
{主图公式:融维创富 不含未來函数 }
五日:MA(CLOSE,5),LINETHICK0;
十日:MA(CLOSE,10),COLORFFFFCC,LINETHICK1;
卅日:MA(CLOSE,30),COLORFF00FF,LINETHICK1;
六十:MA(CLOSE,60),COLORFFFFCC,LINETHICK1;
半年:MA(CLOSE,120),COLOR33FF33,LINETHICK1;
年:MA(CLOSE,240),COLOR0000FF,LINETHICK1;
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
Y:=EMA(CLOSE,10);
LL:=REF(CLOSE,2);
MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
DB:=IF(((MM < REF(MM,1)) AND (MM > 79)),MM,0);
DRAWTEXT(CROSS(Y,X),(LOW * 0.985),'▲'),LINETHICK2,COLOR00FF00;
DRAWTEXT(CROSS(X,Y),(HIGH * 1.015),'◆'),LINETHICK2,COLORFF6699;
DRAWTEXT(DB,(HIGH * 1.015),'○'),LINETHICK2,COLORFFCC99;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
VAR6:=((AK + VAR5) / 2);
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB) AND (BB < 30));
CD:=(BB1 * 0.6);
DRAWTEXT((CD = 0.6),(LOW * 0.99),'□'),LINETHICK2,COLORFFFFFF;
DRAWTEXT((AB = 1),(LOW * 0.99),'■'),LINETHICK2,COLOR33CC99;
十、叶氏量能大抄底(副图)
"叶氏量能大抄底"---精准率极高!!!
{用法:趋势线上涨要有量能线的配合,重点关主趋势线>5时的拐头向上,如量能线也向上,涨幅可观}
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖离:=MA(BIAS,3);
抄底:IF(乖离<-12 AND 乖离>=-18,-10,0), COLORred,LINETHICK0;
STICKLINE(乖离<-12 AND 乖离>=-18,2,0,6,0) , COLORred;
抄底二:IF(乖离<-18,5,0),ColorFF35FF,LINETHICK0;
STICKLINE(乖离<-18,4,0,6,0),ColorFF35FF;
Var1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
Var2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
Var3:=(CLOSE-Var1)/Var1*100<-10;
Var4:=(Var1-Var2)/Var2*100<-16;
Var5:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
Var6:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
Var7:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
Var8:=INDEXC;
Var9:=MA(Var8,6);
VarA:=MA(Var8,24);
VarB:=MA(Var8,32);
VarC:=VarB>Var9*1.11 AND VarA>Var9*1.095;
sss:=(Var3 AND Var4 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR Var5 AND Var6 AND CROSS(Var7,79) OR VarC AND CLOSE/COST(8)<=0.8)*100;
抄底王:sss>0,colorWHITE,LINETHICK0;
STICKLINE(sss>0,0,6,6,0),colorWHITE;
叶氏抄底:抄底<0 or 抄底二>0 or 抄底王>0,coloryellow,LINETHICK0;
DRAWICON(叶氏抄底>0,0,12);
当天换手:=V/CAPITAL*100;
五天换手:=SUM(当天换手,5)/2;
量能线:ma(五天换手,2),COLORGREEN;
2,POINTDOT,LINETHICK2,COLORWHITE;
Varr1:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
Varr2:=EMA(Varr1,24);
Varr3:=EMA(Varr2,10);
Varr4:=3*Varr2-2*Varr3;
Varr5:=EMA(Varr4,5)/10;
风险顶线: 8,POINTDOT,LINETHICK1,COLORWHITE;
叶氏趋势线: EMA(Varr5,5),coloryellow;
DRAWICON(叶氏趋势线>ref(叶氏趋势线,1),叶氏趋势线,8);
5,POINTDOT,LINETHICK2,COLORWHITE;
DRAWTEXT(cross(叶氏趋势线, 7.5),7,'【注意】'),COLORff0055;
DRAWICON(cross(叶氏趋势线, 7.5),叶氏趋势线,10);
十一:三线开花通达信主图
MA20:MA(C,20),COLOR00FF00,LINETHICK3;
MA120:MA(C,120),COLORFF6633,LINETHICK2;
MA250:MA(C,250),COLOR66DD66,LINETHICK2;
IF(MA(C,20)>=REF(MA(C,20),1),MA(C,20),DRAWNULL),COLORRED,LINETHICK3;
IF(MA(C,120)>=REF(MA(C,120),1),MA(C,120),DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA(C,250)>=REF(MA(C,250),1),MA(C,250),DRAWNULL),COLORBC10FF,LINETHICK2;
1. 三线开花的含义?
20、120、250这三条均线经过金叉穿越后,像开喇叭花一样,形成极度分离的多头排列的特殊的技术形态,这就叫三线开花。
2.三线开花的具体形态?
并线三线开花、顺向三线开花和逆向三线开花。这三种技术走势形态都十分有效的预测股票价格走势的技术形态
1>并线三线开花?其形态一旦成立有较大的获利空间,是大黑马的摇篮<120日和250日极度平行状态>
是指在三线开花的初始点,120日均线与250日均线是处于极度接近的平行状态,此时20日均线从下向上穿越这两条均线的技术走势,形成均线的金叉穿越。
穿越后如果股票价格走势出现大幅放量的上涨行情,就预示并线三线开花走势成立,并将预示均线系统将要“开大花”,其隐含的技术意义就是股票价格将要大幅上涨。
2>顺向三线开花?其形态一旦成立也有较大的获利空间<120日和250日金叉先>
是指在三线开花的初始点,120日均线与250日均线是顺向交叉的状态,即120日均线从下向上穿越250日均线,形成两条长期均线的黄金交叉,此时20日均线从下向上穿越这两条均线交叉点的技术走势形态。(交叉点即买入信号)
形成顺向三线开花的技术走势,并且在穿越的过程中成交量有效放大,就预示顺向三线开花走势成立。
3>逆向三线开花?一旦形态成立,预示股票将要走牛<120日和250日死叉先>
逆向三线开花,是指在三线开花的初始点,120日均线与250日均线形成死亡交叉,即120日均线下穿250日均线,此时20日均线由下向上穿越这个交叉点的技术走势形态。
形成逆向三线开花形态,预示股票将要走牛,但在20日均线穿越120日均线和250日线交叉点时,应有成交量有效放大的支持,这样逆向三线开花形态才成立。
是不是所有的金叉点都可买入股票?
特殊的均线穿越金叉点不是买点,反而是卖点的走势形态。
首先,是行情突然暴发,形成暴涨行情,当20日均线上穿120日均线和250日均线即形成金叉穿越时,股价也到了最高位;
其次,其前期的走势形态既不是“回头望月”也不是“顺水推舟”和“快马加鞭”,若说是“快马加鞭”则没有“突破大均线后的盘整走势”形态,所以这是一种特殊形态;
第三,这种金叉穿越形态中,有时20日均线并不是顺其自然的与大均线形成金叉穿越,而是被强行的“提带”与大均线来形成“金叉穿越”。有一种强扭瓜的味道,由于这种“均线金叉穿越”使改变的均线形态变成了目的,既然目的已经达到,也就失去了目标,因此这种金叉穿越点就不是买点反而是卖点了。
120日均线与250日均线金叉买点
120日与250日均线的金叉买点获利技巧(短线快速暴利买点):120日均线上穿250日均线,形成黄金交叉,此时若股票价格反而是下跌状态,并回跌到120日与250日均线的交叉点附近时,这是一个短线快速获暴利的绝佳买入点。
长牛股的基础:两线顺向火车轨
当120日均线上穿250日均线后,120日均线和250日均线呈现顺向排列走势,即120日均线在上,250日均线在下,出现多头排列所以叫顺向排列。在以后的价格走势中,股票价格在120日均线之上,120日均线与250日均线都呈现平稳的上涨走势,两条线近乎于平行线,这样的股票价格走势图形,叫做“两线顺向火车轨走势”。
90周线特殊形态:周线三线开花
周线三线开花,是以周线系统中的主要均线参数即5周线、20周线和90周线为主,构成类似于1250日线系统的“三线开花”形态时,这时的周线走势形态就叫做“周线三线开花”。也就是说20周线与90周线处于并线状态或顺向交叉状态,此时5周线几乎同时上穿20周线和90周线,形成了一个多头发散的均线排列组合状态。
周线三线开花的重要使用技巧:在使用日线三丝开花时,注意周线三线开花是否也支持
90周均线价位抄底:对于抄底90周线,有些时候股价走势会借势跌破90周线,但我们此时不必对股价走势悲观,这时要注意5周线的走势,是否会死叉90周线,如果随后5周线并不有效死叉90周线,反而5周线触碰90周线开始向上拐弯,投资者就要注意,股价走势有可能形成强势的“周均线反弹”,这种走势的短线获利幅度较大。在介入反弹位置时,要注意识别,前期的下跌非常的迅速,几乎没有什么停顿和整理。这就应了一句股谚:(上涨趋势中的)暴跌(可能)有暴涨。
十二、自动画线指柡(主图)
DRAWLINE(l=TROUGH(2 , 30,1 ) ,l ,h=PEAK(1 ,30 ,1 ) ,h ,1 ),COLORff00ff;
DRAWLINE(l=TROUGH(2 , 30,1 ) ,l ,h=PEAK(1 ,30 ,1 ) ,h-(PEAK(1 ,30 ,1 )-TROUGH(2 , 30,1 ))/3*2 ,1 ),COLORred;
DRAWLINE(l=TROUGH(2 , 30,1 ) ,l ,h=PEAK(1 ,30 ,1 ) ,h-(PEAK(1 ,30 ,1 )-TROUGH(2 , 30,1 ))/3 ,1 ),COLORyellow;
DRAWLINE(h=PEAK(1 ,27 ,1 ) ,h ,l=TROUGH(2 ,27 ,1 ) ,l , 1),COLOR00ff00;
DRAWLINE(h=PEAK(1 ,27 ,1 ) ,h ,l=TROUGH(2 ,27 ,1 ) ,l+(PEAK(1 ,27 ,1 )-TROUGH(2 ,30 ,1 ))/3 , 1),COLORffff00;
DRAWLINE(h=PEAK(1 ,27 ,1 ) ,h ,l=TROUGH(2 ,27 ,1 ) ,l+(PEAK(1 ,27 ,1 )-TROUGH(2 ,30 ,1 ))/3*2 , 1),COLORblue;
十三、13日黄金K线(主图指标)
13日线是生命线,黄K是行情启动,见那个*字怎么办?就不用说了。
我的指标都是干干劲劲有精神的,配套齐了,如果你还会亏钱!也只能不用说了。
如果你还去相信那些卖指标的,也只能说没救了!
EMA13:EMA(C,13),COLOR0000FF,LINETHICK2;
EMA34:EMA(C,34),COLORYELLOW;
EMA55:EMA(C,55),COLORFF00FF;
EMA120:EMA(C,120),COLORFFCC66;
AR1:=EMA55>EMA34 AND EMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);
AR3:=EMA13>=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1 AND AR2 AND AR3 AND AR4;
AR6:=AR5 AND FILTER(AR5,10);
STICKLINE(AR6,O,C,2.5,0),LINETHICK2,COLORYELLOW;
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5),5)=5;
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;
BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));
BR4:=BR1 AND BR2 AND BR3;
STICKLINE(BR4 AND FILTER(BR4,10),O,C,2.5,0),LINETHICK2,COLOR4080FF;
CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;
CR2:=V>MA(V,5)*0.6;
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
CR4:=ABS(EMA34-EMA55)/EMA55<0.03;
CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);
CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);
DR1:=EMA13>EMA34 AND EMA34<EMA55;
DR2:=BARSLAST(CROSS(C,EMA55) );
DR3:=H=HHV(H,DR2);
DR4:=BARSLAST(DR3);
DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;
DR6:=C>REF(C,1) ;
DR7:= DR1 AND DR5 AND DR6 ;
DR8:=DR7 AND FILTER(DR7 ,10);
STICKLINE(DR8,O,C,2.5,0),LINETHICK2,COLORFF0080;
ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55);
FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4 AND GR5;
DRAWTEXT(GR6 AND GR7,H+0.13,'*'),COLOR00FF00;
HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);
STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,0),LINETHICK2,COLORFF80FF
十四、TDX抢反弹指标
VAR1:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
慢线1:=SMA(VAR1,10,1),LINETHICK2,COLORFFFF66;
STICKLINE(慢线1>=REF(慢线1,1),慢线1,REF(慢线1,1),3,1),COLORYELLOW;
STICKLINE(慢线1<REF(慢线1,2),慢线1,REF(慢线1,1),3,1),COLORFFFF66;
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K1:SMA(RSV,3,1)COLORGREEN;
D1:SMA(K1,3,1)COLORRED;
买进:IF( 慢线1<Q AND VOL>1.5*MA(VOL,5) AND CROSS(D1,慢线1),50,0),STICK,COLORYELLOW;
卖出:IF(慢线1>76 AND CROSS(慢线1,K1),60,0),COLORGREEN,STICK;
VAR2:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR3:=REF(VAR2,1);
VAR4:=SMA(MAX(VAR2-VAR3,0),10,1)/SMA(ABS(VAR2-VAR3),10,1)*100;
段底:IF(COUNT(VAR4<20,5)>=1 AND COUNT(VAR2=LLV(VAR2,5),10)>=1 AND
CLOSE>OPEN AND CLOSE>REF(OPEN,1) AND VOL>1.5*MA(VOL,5),60,0),STICK,COLORRED;
MAV:=(2*C+H+L)/4;
VAR5:=LLV(LOW,34);
VAR6:=HHV(HIGH,34);
SK1:=EMA((MAV-VAR5)/(VAR6-VAR5)*100,13),STICK,COLOR00FFFF LINETHICK2;
SD1:=EMA(0.667*REF(SK1,1)+0.333*SK1,2);
持仓:STICKLINE(SK1>SD1,2,-1,10,1),LINETHICK1,COLORRED ;
空仓:STICKLINE(SK1<SD1,2,-1,10,1),LINETHICK1,COLORGREEN;
DRAWICON(段底 OR 买进,55,1)COLORRED;
DRAWICON(卖出,50,12);
VAR7:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
五天百分五:IF(REF(VAR7,1)<20 AND (C/REF(C,1)-1)*100>9 AND C=H,85,0),COLORWHITE;
AA:=DRAWICON(五天百分五,50,1);
DRAWTEXT(五天百分五,75,12),COLORRED;
VAR11:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR12:=REF(VAR11,1);
VAR13:=SMA(MAX(VAR11-VAR12,0),10,1)/SMA(ABS(VAR11-VAR12),10,1)*100,LINETHICK1;
VAR14:REVERSE(VAR13)+100,POINTDOT,LINETHICK1;
底部不远:IF(COUNT(VAR13<=14,2),30,0),COLORMAGENTA,LINETHICK2;
买进1:IF(CROSS(VAR13,底部不远) AND VOL>1.5*MA(VOL,5),60,0),STICK,LINETHICK3;
十五、抄底王牌tdx 副图
var1:=REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),7,1)/SMA(ABS(CLOSE-var1),7,1)*100,COLORYELLOW;
var21:IF(var2<20,40,20),COLORRED;
var22:IF(var2>80,60,80),COLORFFFF50;
var2↑:STICKLINE(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),20,40,8,0),COLORRED;
var2↓:STICKLINE(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60,80,8,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(var2,1)<20 AND var2>REF(var2,1),5),40 ,'买入' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(var2,1)>80 AND var2<REF(var2,1),5),60 ,'卖出' ),COLORFFFFFF;
80,COLORGREEN;
20,COLORRED;
选股公式如下:
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5)
十六、买卖黄金线(副图抄底用)
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*VOL,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
短期:A4,COLORGREEN;
中期:B4,COLORYELLOW;
长期:C4,COLORFF00FF;
STICKLINE(短期>90 AND 中期>70,86,94,1,0),COLOR00FF00;
STICKLINE(短期<5 AND 中期<30,0,8,1,0);
IF(FILTER(中期<REF(中期,1)AND 中期>90 AND BB<REF(BB,1),5),80,100),COLORBLUE,LINETHICK2;
IF(FILTER(中期>REF(中期,1)AND 中期<5 AND C>REF(C,1),5),20,0),COLORRED,LINETHICK2;
D1:=中期>REF(中期,1) AND 短期>REF(短期,1)AND 长期>REF(长期,1)AND 长期<8 AND 中期<10 AND 短期<15;
D2:=CROSS(短期,中期) AND 中期<8;
D3:=CROSS(短期,长期) AND 长期<8 AND 中期<20;
DRAWICON(FILTER((D1 OR D2 OR D3) AND DD<15 AND C>REF(C,1),5),5,1);
DRAWICON(FILTER((中期<REF(中期,1)AND 短期<REF(短期,1)AND 长期<REF(长期,1)AND 中期>95 AND 短期>85)OR (长期>100 AND 中期>100 AND 短期>100),5),95,2);
强弱分界:50,POINTDOT,COLORWHITE;
警戒区:90,LINETHICK1,COLORWHITE;
安全区:20,COLORFFFF00;
十七、波段顶底(副图指标)
VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
多:VAR9,COLORRED,POINTDOT;
空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORGREEN;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORGREEN;
DRAWTEXT(AA,10,'底'),COLORYELLOW;
十八、短线英豪 (主图指标)
红色持股黄色注意风险绿色持币
{公称名称: 短线英豪}
MA05:MA(C,5)LINETHICK3,COLOR00CCFF;
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
五日乖离率:=(C-MA05)/MA05*100;
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;
IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED;
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;
IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN;
三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;
VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1);
BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10);
DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) ;
减仓:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30;
买入:=FILTER(MR,10);
DRAWTEXT(减仓,HIGH*1.02,'←风险'),COLORCYAN;
DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;
DRAWTEXT(清仓 ,HIGH*1.02,'←清仓'),COLORGREEN;
DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;
VAR21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
十九、右侧交易指标(主图)
与上一个线型不一样,其它一样
右侧交易是指趋势投资的操作方法,也是一种稳健操作的方法,是等趋势明朗后才动手操作,它不去追求买在最低位和卖在最高位,但它能赚到每只股票的主升浪。
下面介绍的"航海家智能辅助线"指标是典型的右侧交易指标,红线金叉上穿绿线时买入,红线死叉下穿绿线时卖出。(以30分钟K线死叉卖出一半,日K线死叉再卖出剩下的一半)
最后强调一句:必须严格遵守纪律,卖错了也要卖,股市中不确定性因素很多,卖错了也不必后悔,涨上來了就再买回來就是了,若死叉信号出來不卖出,股价一直往下暴跌那后悔就大了!
{航海家智能辅助线}
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
马线:MA(牛线,6),COLORGREEN;
五日线:MA(CLOSE,5),POINTDOT,COLORWHITE;
该指标用于主图,可安装通达信、操盘手软件,其他软件我没试过,大家自行试安装吧。
其实我介绍的两个指标的参数是一样的,只是划出來的线条型状不同而已
二十、右侧交易稳健获利的指标(主图)
.稳健操盘线(主图指标,可安装于操盘手,大智慧,通达信,同花顺等软件,超准)
支撑价:LLV(LOW,19),COLOR00FF00,LINETHICK2;
阻力价:HHV(HIGH,19),COLORBLUE,LINETHICK2;
JL01:=MA(C,3);
LJL07:=(3*C+L+O+H)/6;
牛线:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED,LINETHICK3;
马线:MA(牛线,5),COLORYELLOW,LINETHICK3,POINTDOT;
二十一、低位金叉指标
{低位金叉指标}
P:=26;S:=12;M:=9;
DIFF :EMA(CLOSE,S) - EMA(CLOSE,P),COLORWHITE,LINETHICK2;
DEA :EMA(DIFF,M),COLORYELLOW,LINETHICK2;
MACD :2*(DIFF-DEA),COLORSTICK,LINETHICK2;
LS:=MACD>REF(MACD,1) AND (REF(MACD,1)<=0 OR REF(MACD,1)<=REF(MACD,2));
二浪:(LS AND MACD>0 AND COUNT(LS,15)>=2)*0.2,POINTDOT,COLORYELLOW,
LINETHICK3;
DRAWTEXT(二浪>0,0.18 , '↑'),COLORFF00FF;
DLS:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
二底:(DLS AND COUNT(DLS,15)>=2)*MACD,STICK,COLORWHITE,LINETHICK3;
买:=REF(CROSS(DEA,DIFF),1)*0.1,COLOR00FF00,LINETHICK2;
DRAWTEXT(买<0 ,-0.2 , '低买?'),COLOR00FF00;
MX:=REF(MACD,1)>REF(LLV(MACD,15),5);
买小:(MX AND DLS AND COUNT(二底<0,15)>=2)*0.2,COLOR00FF00,LINETHICK2;
DRAWTEXT(买小>0 AND (COUNT(买小>0,15)>=3 OR HHV(MACD,15)>=0.5),0.2,'优选'),
COLORYELLOW;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
STICKLINE(低位金叉,0,0.3,8,0),COLORYELLOW;
DRAWTEXT(低位金叉,0.3,'低位金叉'),COLOR00FF00,LINETHICK1;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.2,8,0),COLORFF00FF;
DRAWTEXT(二次金叉,0.4,'二次金叉'),COLOR00FF00,LINETHICK1;
DRAWICON(二次金叉,DEA*0.9,1) ;
二十二、买点1
{ n(1,10,7)放小框 }
{以下的放大框}
顶:80,COLORGREEN;
底:20,COLORRED;
熊市顶:70;
LC:=REF(CLOSE,1);
趋势:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,COLORYELLOW;
底1:IF(趋势<20,40,20),COLORRED;
卖出1:IF(趋势>80,60,80),COLORGREEN;
买1:STICKLINE(FILTER(REF(趋势,1)<20
AND 趋势>REF(趋势,1),5),20,40,2,0),COLORRED;
趋势↓:STICKLINE(FILTER(REF(趋势,1)>80 AND 趋势<REF(趋势,1),5),60,80,2,0),COLORGREEN;
DRAWTEXT(FILTER(REF(趋势,1)<20 AND 趋势>REF(趋势,1),5),40 ,'买入1'),COLORRED;
DRAWTEXT(FILTER(REF(趋势,1)>80 AND 趋势<REF(趋势,1),5),60 ,'卖出2'),COLORGREEN;
底3:IF(趋势<30,40,20),COLORCYAN;
买2:STICKLINE(FILTER(REF(趋势,1)<30 AND 趋势>REF(趋势,1),5),20,40,2,0)
,COLORMAGENTA;
DRAWTEXT(FILTER(REF(趋势,1)<30 AND 趋势>REF(趋势,1),5),40 ,'买入2'),COLORMAGENTA
标签:EMA,MA,主副图,CROSS,指标,tdx,CLOSE,100,REF 来源: https://blog.csdn.net/weixin_52071682/article/details/117286920