蝶舞霓裳
发表于 2012-7-12 20:44
谢谢楼主分享
龚生
发表于 2012-7-12 21:14
看看如何????
四毛发艺
发表于 2012-7-12 21:20
:handshake
王鹏
发表于 2012-7-12 21:32
真是太好啦 想要啥就给点啥 多谢楼主
丑丑
发表于 2012-7-14 00:14
谢谢!认真学习中。
智者不惑
发表于 2012-7-14 17:58
:handshake
中小散户
发表于 2012-7-15 17:32
在大中小盘竞价时间(快速选股)不看错过是损失
小桥流水吧
发表于 2012-7-15 17:56
好好学习,天天向上
哥们
发表于 2012-7-17 09:58
一个主图: A主图趋势.(3个买点:买头, ∠45, 追.)
二个副图: B2趋势看盘, (1个买点: 趋势买点.) B3甲乙量价趋势(2个买点: 抄, 买.)
把三个指标六大买点集中在B4买卖点和B1量VOL里.
4.不同软件通不过多是绘图函数不同,
比如A主图趋势中,股价一旦有效突破压力线后,往往就是拉升行情,表现为压力线上行, 通达信和操盘手在绘制压力线上行绘图函数是互相通不过的,在标记买点上绘图函数也不同,一个用箭头,另一个用大红点.但感觉绘图函数只是指标的重要装饰,如果实在找不到替代的绘图函数,删除此句也可.
5.发常规指标公式图和改动的原码.
以下是经通达信6.05官方正式版测试通过的三个简单直观常规指标公式原码.(操盘手常规指标公式图和改动的原码在527楼.)
A主图趋势
MA3:MA(CLOSE,3),COLORGRAY;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORWHITE;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
中线:(压力+支撑)/2,COLORGRAY;
用法:DRAWBAND(压力,RGB(255,96,96),REF(压力,1),RGB(0,224,224));
买头:=(REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND MA(REF(LLV(C,30),1),2)>=REF(MA(REF(LLV(C,30),1),2),1) AND (ZIG(3,12)>MA(ZIG(3,12),2)));
DRAWICON(买头>0,LOW,'BUY');
月量价:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量价,5);
∠45:=((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
DRAWICON(∠45>0,LOW,'BUY');
追:=CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),STICK,COLORRED;
DRAWICON(追>0,LOW,'BUY');
STICKLINE(L>REF(H,1),L,REF(H,1),15,0),COLOR00FFFF;
STICKLINE(H<REF(L,1),REF(L,1),H,15,0),COLORGREEN;
B:=ZIG(3,12);
G:=MA(B,2);
D1:=CROSS(B,G);
DRAWTEXT(D1,LOW*0.96,'抢'),COLORRED;
W:=(CROSS(G,B));
DRAWTEXT(W,HIGH*1.01,'逃'),COLORFFFF00;
B2趋势看盘
A:=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);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短线: ((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趋势线:IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2),COLORRED;
调和线:IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量价:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量价,5);
趋势买点:(趋势线>调和线 AND REF(趋势线,1)=REF(调和线,1) AND (趋势线<(MA(REF(HHV(趋势线,30),1),2)+MA(REF(LLV(趋势线,30),1),2))/2) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2)))*20,STICK,COLORRED;
DRAWICON(趋势买点>0,趋势买点,'BUY');
STICKLINE(REF(趋势线,1)<趋势线,趋势线,REF(趋势线,1),8,1),COLORF00FF0;
STICKLINE((趋势线>调和线 AND REF(趋势线,1)=REF(调和线,1)),趋势线,REF(趋势线,1),2,1),COLORRED;
STICKLINE(趋势线<REF(趋势线,1) OR (AMOUNT/REF(AMOUNT,1)<0.97),趋势线,REF(趋势线,1),8,0),COLORWHITE;
STICKLINE(REF(调和线,1)>调和线,调和线,REF(调和线,1),8,1),COLOR00FF00;
离场:(趋势线=调和线 AND REF(趋势线,1)>REF(调和线,1) AND 调和线>50 AND (MA(ZIG(3,12),2)> ZIG(3,12))),STICK;
出5:STICKLINE(离场,100,80,2,0),STICK,COLORGREEN,LINETHICK2;
顶:90,COLOR9DFFFF;
强弱:50,COLORGRAY;
底:10,COLORGRAY;
B3甲乙量价趋势
月量价:SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000, COLORWHITE;
周均量:EMA(月量价,5),COLORGRAY;
顶:HHV(月量价,20),COLOR9DFFFF;
底:LLV(月量价 ,20),COLORABFF46;
抄:(((CROSS(月量价,周均量)AND REF(月量价,1)=REF(底,1))+(CROSS(月量价,周均量) AND REF(月量价,2)=REF(底,2))+(CROSS(月量价,周均量)AND REF(月量价,3)=REF(底,3)))AND (ZIG(3,12)>MA(ZIG(3,12),2)))*20,STICK,COLORRED;
DRAWICON(抄>0,抄,'BUY');
买:(月量价=顶 AND REF(顶,1)=LLV(顶,4))AND (ZIG(3,12)>MA(ZIG(3,12),2))*20,STICK,COLORRED;
DRAWICON(买>0,买,'BUY');
B4买卖点
A:=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);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短线:= ((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趋势线:=IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2),COLORRED;
调和线:=IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量价:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量价,5);
顶:=HHV(月量价,20),COLOR9DFFFF;
底:=LLV(月量价 ,20),COLORABFF46;
趋势买点:(趋势线>调和线 AND REF(趋势线,1)=REF(调和线,1) AND (趋势线<(MA(REF(HHV(趋势线,30),1),2)+MA(REF(LLV(趋势线,30),1),2))/2) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
抄:(((CROSS(月量价,周均量)AND REF(月量价,1)=REF(底,1))+(CROSS(月量价,周均量) AND REF(月量价,2)=REF(底,2))+(CROSS(月量价,周均量)AND REF(月量价,3)=REF(底,3)))AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
买:(月量价=顶 AND REF(顶,1)=LLV(顶,4))AND (ZIG(3,12)>MA(ZIG(3,12),2)),STICK,COLORRED;
买头:REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND (ZIG(3,12)>MA(ZIG(3,12),2)),STICK,COLORRED;
∠45:((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
追:CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),STICK,COLORRED;
离场:(趋势线=调和线 AND REF(趋势线,1)>REF(调和线,1) AND 调和线>50 AND (MA(ZIG(3,12),2)> ZIG(3,12))),COLOR00FFFF,STICK;
B1量VOL
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,10);
MAVOL2:MA(VOLUME,20);
买头:=REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND (ZIG(3,12)>MA(ZIG(3,12),2)),STICK,COLORRED;
追:=CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),COLORRED;
A:=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);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短线:= ((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趋势线:=IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2),COLORRED;
调和线:=IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量价:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量价,5);
趋势买点:=((趋势线<(MA(REF(HHV(趋势线,30),1),2)+MA(REF(LLV(趋势线,30),1),2))/2) AND 趋势线>调和线 AND REF(趋势线,1)=REF(调和线,1) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),COLORRED;
顶:=HHV(月量价,20),COLOR9DFFFF;
底:=LLV(月量价 ,20),COLORABFF46;
抄:=((ZIG(3,12)>MA(ZIG(3,12),2))AND ((CROSS(月量价,周均量)AND REF(月量价,1)=REF(底,1))+(CROSS(月量价,周均量) AND REF(月量价,2)=REF(底,2))+(CROSS(月量价,周均量)AND REF(月量价,3)=REF(底,3)))),COLORRED;
∠45:=((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),COLORRED;
追1:=(月量价=顶 AND REF(顶,1)=LLV(顶,4))AND (ZIG(3,12)>MA(ZIG(3,12),2)),COLORRED;
B:((买头+追+趋势买点+抄+∠45+追1) AND ZIG(3,12)>MA(ZIG(3,12),2))*0.5*VOL,STICK,COLOR00FFFF,LINETHICK1;
本文来自: 股海明灯论坛详细文章参考:http://www.178448.com/thread-32478-1-1.html
一滴海水
发表于 2012-7-17 18:09
谢谢楼主分享,学习了
寻黄金
发表于 2012-7-18 07:32
向高手学习!
推波助澜
发表于 2012-7-18 08:52
:handshake
牛顺
发表于 2012-7-18 08:58
谢谢楼主分享
陈齐龙
发表于 2012-7-18 16:54
效果如何?验证过吗,楼主。
陈齐龙
发表于 2012-7-18 17:27
谢谢楼主,我的怎么只能显示四档啊?