张劲
发表于 2010-4-9 22:30
(¸,•´ (¸*♥〃´`)
日日都升
发表于 2010-4-9 22:45
回复 1# 飞鸟的空间
还是不能通过大智慧的调试
日日都升
发表于 2010-4-9 22:49
回复 1# 飞鸟的空间
还是不能通过大智慧,是不是公式有问题
仙人
发表于 2010-4-9 22:49
谢谢分享!向高手学习!
钟南星
发表于 2010-4-9 22:50
学习一下,谢谢分享
天山老木
发表于 2010-4-9 22:51
{主图精准线主图}
N:=3;
BL:=4;
BN:=20;
C2:=REF(C,1);
MA3:MA(C2,3),COLORYELLOW;
MA10:MA(C2,BN),COLORGREEN;
MA13:MA(C2,13),COLORBLUE;
L0:=0.00;
L1:=ABS(L-REF(L,1))<=L0;
L2:=ABS(L-REF(L,2))<=L0;
L3:=ABS(L-REF(L,3))<=L0;
L4:=ABS(L-REF(L,4))<=L0;
L5:=ABS(L-REF(L,5))<=L0;
首次:=L1 OR L2 OR L3 {OR L4 OR L5};
精准左:=FILTER(首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)<=L0;
STICKLINE(精准左,L,L,50,-1),COLORRED;
DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA;
红线是精准线:ref(c,1),COLORRED,linethick0;
中点:=(H+L)/2;
本日跌率:=(O-C)*100/O;
比前跌率:=(REF(C,1)-C)*100/REF(C,1);
左大阴K:=FILTER(比前跌率>BL,N) ;
天数:=BARSLAST(左大阴K);
JC:=REF(C,天数);
下:=HHV(中点,天数)<REF(中点,天数);
MAVOL1:=MA(V,5);
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),COLORYELLOW;
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0)));
STFZ:=TJ3=1;
CL:=STFZ AND TP;
TJCL:=FILTER(CL,3);
STICKLINE(LJL,OPEN,CLOSE,5,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.99,'黄金柱'),COLORf00ff0;
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
DRAWTEXTABS(35,0,BKNAME ),colorDDDDDD;
DRAWTEXTABS(35,15,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' ),color00DDDD;
历史最低价:LLV(LOW,0),color00FF00,LINETHICK0;
历史最高价:HHV(HIGH,0),Colorred,LINETHICK0;
三日涨跌:(C-REF(CLOSE,3))/C*100,ColorFF00FF,LINETHICK0;
十五日涨跌:(C-REF(CLOSE,15))/C*100,LINETHICK0;
三十日涨跌:(C-REF(CLOSE,30))/C*100,LINETHICK0;
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'飞鸟'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'精准'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(4,30,'线'),color0000FF,LINETHICK1;
高山五
发表于 2010-4-9 22:58
这么好的图很遗憾装不上去,语法有错.
云依依
发表于 2010-4-9 22:59
我是通达信,不能用
三年有余
发表于 2010-4-9 23:05
非常感谢精彩之笔
胡振华
发表于 2010-4-9 23:06
谢谢老师分享
齐水
发表于 2010-4-9 23:06
我终于通过了,给大家复制一下,希望有用
N:=3;
BL:=4;
BN:=20;
C2:=REF(C,1);
MA3:MA(C2,3),COLORYELLOW;
MA10:MA(C2,BN),COLORGREEN;
MA13:MA(C2,13),COLORBLUE;
L0:=0.00;
L1:=ABS(L-REF(L,1))<=L0;
L2:=ABS(L-REF(L,2))<=L0;
L3:=ABS(L-REF(L,3))<=L0;
L4:=ABS(L-REF(L,4))<=L0;
L5:=ABS(L-REF(L,5))<=L0;
首次:=L1 OR L2 OR L3 {OR L4 OR L5};
精准左:=FILTER(首次,N) ;
天数:=BARSLAST(精准左);
LTS:=REF(L,天数);
精准右:=ABS(L-LTS)<=L0;
STICKLINE(精准左,L,L,50,-1),COLORRED;
DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA;
红线是精准线:ref(c,1),COLORRED,linethick0;
中点:=(H+L)/2;
本日跌率:=(O-C)*100/O;
比前跌率:=(REF(C,1)-C)*100/REF(C,1);
左大阴K:=FILTER(比前跌率>BL,N) ;
天数:=BARSLAST(左大阴K);
JC:=REF(C,天数);
下:=HHV(中点,天数)<REF(中点,天数);
MAVOL1:=MA(V,5);
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
TP:=TJ2=1;
STICKLINE(CLOSE,REF(LOW,BARSLAST(LJL)),REF(LOW,BARSLAST(LJL)),6,0),COLORYELLOW;
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0)));
STFZ:=TJ3=1;
CL:=STFZ AND TP;
TJCL:=FILTER(CL,3);
STICKLINE(LJL,OPEN,CLOSE,5,0),COLORYELLOW;
DRAWTEXT(LJL,L*0.99,'黄金柱'),COLORf00ff0;
涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
DRAWTEXTABS(35,0,BKNAME ),colorDDDDDD;
DRAWTEXTABS(35,15,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元。' ),color00DDDD;
历史最低价:LLV(LOW,0),color00FF00,LINETHICK0;
历史最高价:HHV(HIGH,0),Colorred,LINETHICK0;
三日涨跌:(C-REF(CLOSE,3))/C*100,ColorFF00FF,LINETHICK0;
十五日涨跌:(C-REF(CLOSE,15))/C*100,LINETHICK0;
三十日涨跌:(C-REF(CLOSE,30))/C*100,LINETHICK0;
DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
DRAWTEXTABS(2,5,'飞鸟'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(2,18,'精准'),colorFFFFFF,LINETHICK1;
DRAWTEXTABS(4,30,'线'),color0000FF,LINETHICK1;
青山绿水
发表于 2010-4-9 23:23
在兴业证券上的出现语法错误,如能改成在兴业证券上的选股公式就好了!
独自求索
发表于 2010-4-9 23:38
谢谢分享!向高手学习!
那边的海
发表于 2010-4-9 23:40
安装不了的将带笑脸的改成如下语句:
历史最低价LV(LOW,0),color00FF00,LINETHICK0;
历史最高价:HHV(HIGH,0),Colorred,LINETHICK0;
三日涨跌C-REF(CLOSE,3))/C*100,ColorFF00FF,LINETHICK0;
十五日涨跌C-REF(CLOSE,15))/C*100,LINETHICK0;
三十日涨跌C-REF(CLOSE,30))/C*100,LINETHICK0
syly
发表于 2010-4-9 23:42
谢谢,学习学习学习.
页:
1
2
3
[4]
5
6
7
8
9
10
11
12
13