京东方京东方 发表于 2016-3-16 11:50

量学卧龙、潜龙、蛟龙三龙分时选股。

此公式盘中10:3011:3014:00等多次选股
选 出的股票重点关注 此三龙的特征均是分时横盘震荡。所以利用公式选出后根据王子老师量波战法标准突破时进入些许还会擒个涨停。
此公式 我的中投超强软件 通过       昨选出3支股票齐刷刷涨停 。共同学习 进步。

**** Hidden Message *****

时空边缘 发表于 2016-3-16 12:31

谢谢你的分享,非常有用

雯她姑 发表于 2016-3-16 12:31

量学卧龙、潜龙、蛟龙三龙分时选股

股海沉浮_1996 发表于 2016-3-16 12:32

怎么设置条件啊

健康是福1964 发表于 2016-3-16 12:34

向高手学习

阴线 发表于 2016-3-16 12:45

谢谢分享,努力学习。

心想事成553 发表于 2016-3-16 12:46

量学卧龙、潜龙、蛟龙三龙分时选股

abc123abc 发表于 2016-3-16 12:46

学习学习再学习

成都老唐 发表于 2016-3-16 12:58

量学卧龙、潜龙、蛟龙三龙分时选股。
京东方京东方

lgz 发表于 2016-3-16 13:03


感谢您的分享,但是此公式应该使用什么周期选股呢?需要每天下载对应周期的数据吗?建立公式时应该注意什么呢?比如是其它类型还是实时选股类型呢?请您指教。

京东方京东方 发表于 2016-3-16 16:44

今天收获颇丰,公式抓到了2条蛟龙。

八哥哥 发表于 2016-3-16 17:12

学习
选 出的股票重点关注 此三龙的特征均是分时横盘震荡。所以利用公式选出后根据王子老师量波战法标准突破时进入些许还会擒个涨停。
此公式 我的中投超强软件 通过       昨选出3支股票齐刷刷涨停 。共同学习 进步。

pepper 发表于 2016-3-16 20:36

178448888 发表于 2016-3-16 21:47

谢谢分享分时选股。

epanggong87160 发表于 2016-3-16 22:17

谢谢老师分享

epanggong87160 发表于 2016-3-16 22:19

谢谢老师分享

凌霄飞剑 发表于 2016-3-16 22:26

学卧龙、潜龙、蛟龙三龙分时选股

股海辉煌 发表于 2016-3-16 22:28

谢谢分享,学习进步

hqt 发表于 2016-3-16 22:49

向高手学习

ly$636362 发表于 2016-3-16 23:26

为了提高学习量学的知识,编不了程序特向老师请教谢谢。

enligh 发表于 2016-3-16 23:40

这么利害,同花顺可以用不

tjstt 发表于 2016-3-16 23:59

谢楼主分享

缘聚明灯 发表于 2016-3-17 00:22

像高手学习,像高手看齐

刘铮夫 发表于 2016-3-17 02:38

选出3支股票齐刷刷涨停

937832973 发表于 2016-3-17 06:20

您的回复,就是您的心声

kfxiaoyuan 发表于 2016-3-17 07:16

学习学习再学习

红一品 发表于 2016-3-17 10:36

量波上抓到涨停,楼主相当功夫!

永不服输 发表于 2016-3-17 12:45


谢谢老师分享!

冰凌雪儿 发表于 2016-3-17 12:51


谢谢你的分享,非常有用

liulikai 发表于 2016-3-17 12:54

谢谢你的分享,非常有用

好玩6585 发表于 2016-3-17 13:02


谢谢老师的精彩分享

天堂之魔术师 发表于 2016-3-17 14:21

量学卧龙、潜龙、蛟龙三龙分时选股,向高手学习学习~~

wangzhichou888 发表于 2016-3-17 15:18

学习一下,谢谢分享!

skaeey 发表于 2016-3-17 17:09

谢谢楼主分享

danxu8877 发表于 2016-3-17 18:03

共同学习 进步。谢谢!

大鳄浮头 发表于 2016-6-16 21:31


本帖最后由 股海小农民 于 2016-2-23 21:51 编辑


MA8:=MA(CLOSE,10),COLOR00FFFF;
MA63:=MA(CLOSE,63),COLOR00FF00;
MA144:=MA(CLOSE,144),COLORFF00FF, LINETHICK2;
强势5:=MA(C,5),COLORWHITE,LINETHICK1;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR7:=0;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=VAR10;
买2:=(VAR11+VAR13+VAR15+VAR17);
卖1:=(VAR12+VAR14+VAR16+VAR18);
B:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
DRAWTEXT(买1>0 OR 买2>0,LOW*1,'买入'),COLORRED;
S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
{DRAWTEXT(卖1>0,HIGH*1,'卖出'),COLORGREEN;}
{股灵吧决策}
VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
F:IF(CROSS(VAR200,MA(VAR300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE;
生命线:MA(CLOSE,22),LINETHICK2,COLORRED;
N:=10;
T1:=CONST(HHVBARS(V,N));
T0:IF(CURRBARSCOUNT<=N+3,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLORFF00FF;
IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT,COLORFF00FF;
DRAWTEXT(ISLASTBAR,T0,' 量能平台'),COLORCC00CC;
MA135:=MA(VOL,135);
TJ1:=VOL=HHV(VOL,10) AND VOL>1.7*REF(VOL,1) AND C>=REF(C,1) AND C>=O AND VOL<=MA135*3.5;
LJL:=FILTER(TJ1,3);
TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,3),1,0);
ST:=TJ3=1;
CL:=FILTER(ST,3);
STICKLINE(LJL,OPEN,CLOSE,1,0),COLORYELLOW;
DRAWTEXT(LJL,L*1,'支撑'),COLORF00FF0;
A:MA(C,22)COLORBLUE,,LINETHICK2;
X:=A<REF(A,1);
IF(X-1,A,DRAWNULL)COLORRED,,LINETHICK2;
MA5:=MA(CLOSE,5),COLORWHITE;
MA10:=MA(CLOSE,10),COLORYELLOW;
MA30:=MA(CLOSE,30),COLORMAGENTA;
MA60:=MA(CLOSE,60),COLORGREEN;
MA120:=MA(CLOSE,120),COLORLIMAGENTA;
MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;
VOL5:=MA(VOL,5),COLORWHITE;
VOL10:=MA(VOL,10),COLORYELLOW;
VOL40:=MA(VOL,20),COLORFF00FF ;
量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1);
DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;
AA1:=BARSLAST(MA60>MA30 AND (MA30=MA10 OR MA30>MA10));
BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);
CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:=BB1 AND CC1,COLOR00FF00;
DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;
STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;
STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;
MA1:=MA(CLOSE,5);
MA2:=MA(CLOSE,10);
MA3:=MA(CLOSE,20);
ZJ:=AMOUNT/10000;{资金}
TM:=V-MA(V,10);{量填满}
一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN ;
DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;
STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
前期高位:REF(C,BARSLAST(HD)),COLORBLUE,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),COLORGREEN;
{高点:=(C/REF(C,BARSLAST(HD))-1)*100,NODRAW;
STICKLINE((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,H,C,0.8,0),COLORBLUE;}
三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);
三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));
三日价涨A:=C>=REF(C,1);
三日价涨B:=C<REF(C,1);
三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);
TIM:=IF(DATE<1140214,1,0);
缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;
百日低量:=(VOL=LLV(VOL,100))*TIM;
倍量柱:=C>REF(C,1)*1.04 AND (VOL>=1.9*REF(VOL,1))*TIM;
四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;
四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<1.9*REF(VOL,4) AND 三日量缩)*TIM;
前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;
倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
高量黄金柱:=四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
黄金柱:=倍量黄金柱 OR 高量黄金柱;
次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次黄金柱:=次倍量黄金柱 OR 次高量黄金柱;
准倍量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前倍量柱 AND ((三日量缩 AND 三日价涨C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;
准高量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前高量柱 AND (三日量缩 AND 三日价涨C) AND 前三引用不成立;
准黄金柱:=准倍量黄金柱 OR 准高量黄金柱;
倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;
将军柱:=倍量将军柱 OR 高量将军柱;
次倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;
次将军柱:=次倍量将军柱 OR 次高量将军柱;
准倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前倍量柱 AND 三日价涨C AND 前三引用不成立;
准高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前高量柱 AND 三日价涨C AND 前三引用不成立;
准将军柱:=准倍量将军柱 OR 准高量将军柱;
BACKSET100:=BACKSET(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱 OR 准将军柱,4);
FILTER100:=FILTER(BACKSET100,3),NODRAW;
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET102:=BACKSET(次黄金柱,4);
FILTER102:=FILTER(BACKSET102,3);
BACKSET103:=BACKSET(准黄金柱,4);
FILTER103:=FILTER(BACKSET103,3);
BACKSET104:=BACKSET(将军柱,4);
FILTER104:=FILTER(BACKSET104,3);
BACKSET105:=BACKSET(次将军柱,4);
FILTER105:=FILTER(BACKSET105,3);
BACKSET106:=BACKSET(准将军柱,4);
FILTER106:=FILTER(BACKSET106,3);
黄金线下影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3);
黄金线实体下端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3)) AND MIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;
黄金线上影线:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3);
黄金线实体上端:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3);
黄金线实体中间:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));
黄金线实体中间1:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间2:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));
黄金线实体中间3:=REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3)) AND REF(FILTER100,3)=1 AND MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3)) AND L=MIN(MIN(L,REF(L,1)),REF(L,2));
BACKSET201:=BACKSET(黄金线下影线,4);
FILTER201:=FILTER(BACKSET201,3),NODRAW;
BACKSET202:=BACKSET(黄金线实体下端,4);
FILTER202:=FILTER(BACKSET202,3),NODRAW;
BACKSET203:=BACKSET(黄金线上影线,4);
FILTER203:=FILTER(BACKSET203,3),NODRAW;
BACKSET204:=BACKSET(黄金线实体上端,4);
FILTER204:=FILTER(BACKSET204,3),NODRAW;
BACKSET205:=BACKSET(黄金线实体中间,4);
FILTER205:=FILTER(BACKSET205,3),NODRAW;
BACKSET2051:=BACKSET(黄金线实体中间1,4);
FILTER2051:=FILTER(BACKSET2051,3),NODRAW;
BACKSET2052:=BACKSET(黄金线实体中间2,4);
FILTER2052:=FILTER(BACKSET2052,3),NODRAW;
BACKSET2053:=BACKSET(黄金线实体中间3,4);
FILTER2053:=FILTER(BACKSET2053,3),NODRAW;
BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER201));
BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER202));
BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER203));
BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER204));
BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER205));
BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2051));
BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2052));
BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2053));
最近黄金线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT2053);
DAY1:=SUMBARS(FILTER100,1),NODRAW;
HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NODRAW;
HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;
HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),NODRAW;
HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),REF(OPEN,DAY1-1))),0),NODRAW;
HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY1<2,DRAWNULL,REF(LOW,DAY1-2))),0),NODRAW;
HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY1<3,DRAWNULL,REF(LOW,DAY1-3))),0),NODRAW;
HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY1<4,DRAWNULL,REF(LOW,DAY1-4))),0),NODRAW;
黄金线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,NODRAW;
立桩量:=VOL=HHV(VOL,40) AND VOL>1.9*REF(VOL,1);
立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
立桩量三日不破:=BARSLAST(立桩量)=3 AND REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));
BACKSET300:=BACKSET(立桩量三日不破,4);
BACKSET301:=BACKSET(立桩量三日突破,4);
立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;
DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;
DRAWTEXT(FILTER101,LOW*1,'↖黄金柱'),COLORYELLOW;
STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(FILTER102,LOW*1,'↖次黄金柱'),COLORYELLOW;
DRAWTEXT(FILTER104,LOW*1,'↖将军柱'),COLORYELLOW;
STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;
K1:=SUMBARS(FILTER104,1);
STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),10,0),COLORYELLOW;
K2:=SUMBARS(FILTER101,1);
STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),10,0),COLORYELLOW;
X1:=(C+L+H)/3;
BB5:=ATAN(EMA(X1,7)-REF(EMA(X1,7),1))*3.1416*10;
EMA3:=EMA(C,3);
DRAWTEXT(FILTER(BB5>1 AND EMA(X1,7)>REF(EMA(X1,7),1),10),
LOW*1,'★∠45'),COLORFFFFFF;
总股本:=FINANCE(1)/100000000,POINTDOT,COLOR0000FF;
流通股本:=FINANCE(7)/100000000,POINTDOT,COLORYELLOW;
解禁股:=IF((流通股本-REF(流通股本,1))>0,(流通股本-REF(流通股本,1)),0),COLORYELLOW;{流通股增加}
DRAWTEXT(解禁股>0, HIGH*1.05,'解禁'),COLORGREEN;
冻结:=IF((流通股本-REF(流通股本,1))<0,(REF(流通股本,1)-流通股本),0),COLORGREEN;{流通股减少};
DRAWTEXT(冻结>0, HIGH*1.05,'冻结'),COLORGREEN;
波峰距离: PEAKBARS(3,百分比,1),NODRAW;
波谷值:=TROUGH(2,百分比,1);
波谷距离:=TROUGHBARS(2,百分比,1);{HTTP://U.178448.COM/SPACE.PHP?UID=30578}
距离:=CURRBARSCOUNT,NODRAW;      {WEN98编写}
CC2:=REF(C,1);
比前跌率:=(CC2-C)*100/CC2;
本日跌率:=(O-C)*100/O;
距离FK1:=波峰距离-1;{波峰右边K距离}
线位置:= REF(L,距离FK1),{NODRAW};
TJ11:=波峰距离>波谷距离+5 AND 波峰距离<120;
TJ2:=REF(本日跌率,距离FK1)>3 OR REF(比前跌率,距离FK1)>3;{跌率>3%}
TJ33:=距离<240;
TJ4:=REF(C,距离FK1)<REF(O,距离FK1) {阴K}
AND REF(C,距离FK1)<REF(MIN(C,O),距离FK1+1);{跌破前K}
画线条件:= 线位置=REF(线位置,1) AND TJ2 AND TJ4;{画线条件}
STICKLINE(画线条件,线位置,线位置,15,1),COLORMAGENTA;{画线}
画线: IF(画线条件,线位置,DRAWNULL),COLORMAGENTA;{画线}
打字条件:=FILTER(画线条件 AND TJ11 AND TJ33,20);
DRAWTEXT(打字条件,线位置*1.01,'凹口平衡线'),COLORGREEN;{此行可省};
波谷值1: CONST(TROUGH(2,百分比,1)),NODRAW;{前M个ZIG转向波谷值}
波谷距离1:= 1+CONST(TROUGHBARS(2,百分比,1)),NODRAW;{前M个ZIG转向波谷到当前距离}
{例如:TROUGH(2,5,2)表示%5最低价ZIG转向的前2个波谷到当前的周期数};
波峰值:= CONST(PEAK(1,百分比,右数峰序));
{例如EAK(1,5,1)表示%5最高价ZIG转向的上一个波峰的数值}
允许误差:=0.024;
XG:= ABS(波峰值-波谷值1)<=允许误差 {AND BARSCOUNT(V)>60};
波峰距离1:= 1+CONST(PEAKBARS(1,百分比,右数峰序)),NODRAW;
{PEAKBARS(K,N,M)表示之字转向ZIG(K,N)的前M个波峰到当前的周期数,M必须大于等于1}
距离1:=CURRBARSCOUNT;
DRAWLINE(距离1=波峰距离1 AND XG,波谷值1,距离=1,波谷值1,1),COLORMAGENTA;
DRAWTEXT(距离1=波谷距离1 AND XG,L*0.98,' 精准峰谷线'),COLORYELLOW;
DRAWICON(距离1=波峰距离1,H*1.01,2);{波峰位置}
DRAWICON(距离1=波谷距离1,L*0.985,1);{波谷位置}
精准点:=(ABS(H-波谷值1)<=允许误差 OR ABS(L-波谷值1)<=0.024) {AND 距离<=120};
STICKLINE(精准点,波谷值1,波谷值1,3,1),COLORYELLOW;
{画精准谷底线}
波谷值2:= CONST(TROUGH(2,百分比,2));
波谷值3:= CONST(TROUGH(2,百分比,3));
波谷值4:= CONST(TROUGH(2,百分比,4));
波谷距离2:= 1+CONST(TROUGHBARS(2,百分比,2));
波谷距离3:= 1+CONST(TROUGHBARS(2,百分比,3));
波谷距离4:= 1+CONST(TROUGHBARS(2,百分比,4));
XG2:= ABS(波谷值1-波谷值2)<=允许误差;
XG3:= ABS(波谷值1-波谷值3)<=允许误差;
XG4:= ABS(波谷值1-波谷值4)<=允许误差;
XGL:=(距离1=波谷距离2 AND XG2) OR (距离1=波谷距离3 ANDXG3)
OR (距离1=波谷距离4 ANDXG4);
DRAWLINE(XGL,波谷值1,距离1=1,波谷值1,1),COLORLIGREEN;
DRAWTEXT(XGL,L*0.98,' 精准谷底线'),COLORWHITE;

狮鹫 发表于 2016-11-5 21:27


RC1:=REF(C,1); 大阴线:=C<0.96*O OR C<=RC1*0.96 OR C>1000 AND C<=RC1*0.98; 大阴T:=BARSLAST(FILTER(大阴线,3));{调整显示密度} 大阴实顶: REF(O,大阴T),COLORLIGREEN,POINTDOT;{显示大阴K线的开盘价O}; 大阴二一: REF((L+H)/2,大阴T),NODRAW; DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块} DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块} DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块}; AA:=(C-REF(C,1))/REF(C,1)*100; ZS:=(NAMELIKE('ST') OR NAMELIKE('*ST') ORNAMELIKE('S')) AND AA>=4.945; DS:=(NAMELIKE('ST') OR NAMELIKE('*ST') ORNAMELIKE('S')) AND AA<=-4.945; 涨停价:IF(ZS,REF(C,1)*1.05,REF(C,1)*1.1),NODRAW; 跌停价:IF(DS,REF(C,1)*0.95,REF(C,1)*0.9),NODRAW; {元帅主图} 比系数:=1.3; 金线:=1; 临界点:=0; MA5:=MA(C,5); MA10:=MA(C,10); MA20:=MA(C,20); 均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1); RV1:=REF(V,1); RV2:=REF(V,2); RV3:=REF(V,3); RC2:=REF(C,2); RC3:=REF(C,3); RC4:=REF(C,4); RO1:=REF(O,1); RO2:=REF(O,2); RO3:=REF(O,3); RO4:=REF(O,4); 不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3; 不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3; 均价:=AMOUNT/VOL/100; RJ1:=REF(均价,1); RJ2:=REF(均价,2); 阳柱:=C>=O OR (C<O AND 均价>RC1); 三日二阳:=COUNT(阳柱,3)>=2; 基价柱阳:=RC3>RO3; 价渐升:=(均价>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2); 均价升:=(C+RC1+RC2)/3>RC3; 量渐升:=V>RV1 AND RV1>RV2 ; 量渐减:=V<=RV1 AND RV1<=RV2 ; 均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升); 日价量比:=C/V; 日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2); 均价升幅:=(C+RC1+RC2)/3/RC3; 均量升幅:=(V+RV1+RV2)/3/RV3; 价量比:=比系数*均价升幅/均量升幅>1; 基前跳空:=RO3>RC4 AND RC4>RO4; 黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;   BACKSET101T:=BACKSET(黄金柱1T,5);   FILTER101T:=FILTER(BACKSET101T,4); 黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;   BACKSET101:=BACKSET(黄金柱1,4);   FILTER101:=FILTER(BACKSET101,3); 黄金柱11:=黄金柱1 AND REF(黄金柱1,1);   BACKSET1011:=BACKSET(黄金柱11,4);   FILTER1011:=FILTER(BACKSET1011,3); 黄金柱12:=黄金柱1 AND REF(黄金柱1,2);   BACKSET1012:=BACKSET(黄金柱12,4);   FILTER1012:=FILTER(BACKSET1012,3); 黄金柱13:=黄金柱1 AND REF(黄金柱1,3);   BACKSET1013:=BACKSET(黄金柱13,4);   FILTER1013:=FILTER(BACKSET1013,3); 黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);   BACKSET201T:=BACKSET(黄金柱2T,5);   FILTER201T:=FILTER(BACKSET201T,4); 黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);   BACKSET201:=BACKSET(黄金柱2,4);   FILTER201:=FILTER(BACKSET201,3); 黄金柱21:=黄金柱2 AND REF(黄金柱2,1);   BACKSET2011:=BACKSET(黄金柱21,4);   FILTER2011:=FILTER(BACKSET2011,3); 黄金柱22:=黄金柱2 AND REF(黄金柱2,2);   BACKSET2012:=BACKSET(黄金柱22,4);   FILTER2012:=FILTER(BACKSET2012,3); 黄金柱23:=黄金柱2 AND REF(黄金柱2,3);   BACKSET2013:=BACKSET(黄金柱23,4);   FILTER2013:=FILTER(BACKSET2013,3); 黄金柱3T:=基价柱阳AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T)AND NOT(黄金柱2T);   BACKSET301T:=BACKSET(黄金柱3T,5);   FILTER301T:=FILTER(BACKSET301T,4); 黄金柱3:=基价柱阳AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);   BACKSET301:=BACKSET(黄金柱3,4);   FILTER301:=FILTER(BACKSET301,3); 黄金柱31:=黄金柱3 AND REF(黄金柱3,1);   BACKSET3011:=BACKSET(黄金柱31,4);   FILTER3011:=FILTER(BACKSET3011,3); 黄金柱32:=黄金柱3 AND REF(黄金柱3,2);   BACKSET3012:=BACKSET(黄金柱32,4);   FILTER3012:=FILTER(BACKSET3012,3); 黄金柱33:=黄金柱3 AND REF(黄金柱3,3);   BACKSET3013:=BACKSET(黄金柱33,4);   FILTER3013:=FILTER(BACKSET3013,3); 黄金柱4T:=基价柱阳AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T);   BACKSET401T:=BACKSET(黄金柱4T,5);   FILTER401T:=FILTER(BACKSET401T,4); 黄金柱4:=基价柱阳AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T);   BACKSET401:=BACKSET(黄金柱4,4);   FILTER401:=FILTER(BACKSET401,3); 黄金柱41:=黄金柱4 AND REF(黄金柱4,1);   BACKSET4011:=BACKSET(黄金柱41,4);   FILTER4011:=FILTER(BACKSET4011,3); 黄金柱42:=黄金柱4 AND REF(黄金柱4,2);   BACKSET4012:=BACKSET(黄金柱42,4);   FILTER4012:=FILTER(BACKSET4012,3); 黄金柱43:=黄金柱4 AND REF(黄金柱4,3);   BACKSET4013:=BACKSET(黄金柱43,4);   FILTER4013:=FILTER(BACKSET4013,3); 黄金柱5T:=基价柱阳AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T)   AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);   BACKSET501T:=BACKSET(黄金柱5T,5);   FILTER501T:=FILTER(BACKSET501T,4); 黄金柱5:=基价柱阳AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T)   AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);   BACKSET501:=BACKSET(黄金柱5,4);   FILTER501:=FILTER(BACKSET501,3); 黄金柱51:=黄金柱5 AND REF(黄金柱5,1);   BACKSET5011:=BACKSET(黄金柱51,4);   FILTER5011:=FILTER(BACKSET5011,3); 黄金柱52:=黄金柱5 AND REF(黄金柱5,2);   BACKSET5012:=BACKSET(黄金柱52,4);   FILTER5012:=FILTER(BACKSET5012,3); 黄金柱53:=黄金柱5 AND REF(黄金柱5,3);   BACKSET5013:=BACKSET(黄金柱53,4);   FILTER5013:=FILTER(BACKSET5013,3); 黄金柱6T:=基价柱阳AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);   BACKSET601T:=BACKSET(黄金柱6T,5);   FILTER601T:=FILTER(BACKSET601T,4); 黄金柱6:=基价柱阳AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);   BACKSET601:=BACKSET(黄金柱6,4);   FILTER601:=FILTER(BACKSET601,3); 黄金柱61:=黄金柱6 AND REF(黄金柱6,1);   BACKSET6011:=BACKSET(黄金柱61,4);   FILTER6011:=FILTER(BACKSET6011,3); 黄金柱62:=黄金柱6 AND REF(黄金柱6,2);   BACKSET6012:=BACKSET(黄金柱62,4);   FILTER6012:=FILTER(BACKSET6012,3); 黄金柱63:=黄金柱6 AND REF(黄金柱6,3);   BACKSET6013:=BACKSET(黄金柱63,4);   FILTER6013:=FILTER(BACKSET6013,3); FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4))); FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4))); FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4))); FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4))); FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4))); FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4))); FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 OR FIL6; STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF; DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'↖黄金柱'),COLOR0099FF; K1:=SUMBARS(FIL,1); STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF; FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5))); FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5))); FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5))); FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5))); FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5))); FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5))); FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T; STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF; DRAWTEXT (FILT AND NOT(REF(FILT,5)),LOW*0.978,'↖元帅柱'),COLOR0000FF; K2:=SUMBARS(FILT,1); STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF; 黄金柱LJ:=(黄金柱1 OR 黄金柱2 OR 黄金柱3 OR 黄金柱4 OR 黄金柱5OR 黄金柱6 ) AND 均线AND 临界点;   BACKSET10LJ:=BACKSET(黄金柱LJ ,4);   FILTER10LJ:=FILTER(BACKSET10LJ,3);   STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;   DRAWTEXT(FILTER10LJAND NOT(REF(FILTER10LJ,4)) ,LOW*0.958,'↖临界点'),COLOR0099FF; 黄金柱LJT:=(黄金柱1T OR 黄金柱2T OR 黄金柱3T OR 黄金柱4T OR 黄金柱5T OR 黄金柱6T) AND 均线 AND 临界点 ;   BACKSET10LJT:=BACKSET(黄金柱LJT ,5);   FILTER10LJT:=FILTER(BACKSET10LJT,5);   STICKLINE(FILTER10LJT AND NOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF;   DRAWTEXT(FILTER10LJTAND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'↖临界点'),COLOR0099FF; {} {}; C2:=REF(C,1); 涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORFF00FF; STICKLINE(涨停,H,L,0,0),COLORFF00FF; 跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN; STICKLINE(跌停,H,L,0,1),COLORGREEN;N:=10;

向阳 发表于 2016-11-24 00:09

HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0; AAB:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); {HIGHN日前的最高价=2*HIGHN+1日内最高价的最高值} QY:=BACKSET(AAB,HIGHN+1);{若AA则将最近HIGHN+1周期置为1} CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); {QY的HIGHN日过滤 AND 最高价=HIGHN+1日内最高价的最高值} DRAWICON(CC,H*1.005,2); DDD:=BARSLAST(CC);{上次CC距今天数} GDTS:=IF(CC,CURRBARSCOUNT,0);{如果CC,返回到最后交易日的周,否则返回0} DINGBU:=IF(DDD,REF(H,DDD),H);{顶部} DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS); DINGBU1:=REF(DINGBU,DDD+1); GDCS1:=CONST(DINGBUTS); DINGBUTS1:=REF(DINGBUTS,DDD+1); GDCS2:=CONST(DINGBUTS1); DINGBU2:=REF(DINGBU1,DDD+1); MMM:=IF(CURRBARSCOUNT>GDCS2,0,1); 高点压力RAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,DOTLINE; 压力ARAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,DOTLINE; 压力BRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,DOTLINE; AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1); QY1:=BACKSET(AA1,LOWN+1); CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1); {DRAWICON(CC1,L*0.98,1);} DD1:=BARSLAST(CC1); DDTS:=IF(CC1,CURRBARSCOUNT,0); YDB:=IF(DD1,REF(L,DD1),L); DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS); DDCS1:=CONST(DDTS1); ZDB:=REF(YDB,DD1+1); DDTS2:=REF(DDTS1,DD1+1); DDCS2:=CONST(DDTS2); 低点支撑RAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,DOTLINE; ZGSTAR:=(高点压力+低点支撑)/2; ZGEND:=CONST((高点压力+低点支撑)/2); STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2); 中轨RAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),POINTDOT,COLORFFBBFF,LINETHICK1; TTT:=6; A1:=REF(HIGH,6)=HHV(HIGH,2*TTT+1); B1:=FILTER(A1,TTT); C1:=BACKSET(B1,TTT+1); D1:=FILTER(C1,TTT); A2:=REF(LOW,TTT)=LLV(LOW,2*TTT+1); B2:=FILTER(A2,TTT); C2:=BACKSET(B2,TTT+1); D2:=FILTER(C2,TTT); E1:=(REF(LLV(LOW,2*TTT),1)+REF(HHV(HIGH,2*TTT),1))/2; E2:=(HIGH+LOW)/2; H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS OR BARSCOUNT(CLOSE)=1; L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2); X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1)); G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1); L2:=LD OR BARSTATUS OR BARSCOUNT(CLOSE)=1; X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2)); G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1); UU:=BACKSET(BARSTATUS,BARSLAST(LD)+1); VV:=UU>REF(UU,1); WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2); XX:=WW>REF(WW,1); UU2:=BACKSET(BARSTATUS,BARSLAST(HD)+1); VV2:=UU2>REF(UU2,1); WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2); XX2:=WW2>REF(WW2,1); 近低A:REF(L,BARSLAST(VV)),COLORWHITE,LINETHICK1,DOTLINE; 近低B:REF(L,BARSLAST(XX)),COLORLIRED,DOTLINE; DRAWTEXT(CURRBARSCOUNT=8,高点压力,STRCAT('压力延伸:',CON2STR(高点压力,2))),COLORCYAN; DRAWTEXT(CURRBARSCOUNT=8,低点支撑,STRCAT('支撑延伸:',CON2STR(低点支撑,2))),COLORLIRED; DRAWTEXT(CURRBARSCOUNT=15,中轨,STRCAT('中轨:',CON2STR(中轨,2))),COLORYELLOW; DRAWTEXT(CURRBARSCOUNT=20,压力A*0.995,STRCAT('压力A:',CON2STR(压力A,2))),COLORGREEN; DRAWTEXT(CURRBARSCOUNT=12,压力B*0.995,STRCAT('压力B:',CON2STR(压力B,2))),COLORBLUE; DRAWTEXT(CURRBARSCOUNT=12,近低A*1.005,STRCAT('←近低A:',CON2STR(近低A,2))),COLORRED; DRAWTEXT(CURRBARSCOUNT=20,近低B*1.005,STRCAT('←近低B:',CON2STR(近低B,2))),COLOR0018D8; AA:=C/REF(C,1)>1.095; DRAWTEXT(REFX(AA,1),LOW*0.99,'↖【明天涨停】'),COLORYELLOW;

laoyehao 发表于 2016-3-16 11:57

谢谢楼主分享

cocoa962 发表于 2016-3-16 11:58

向老师学习!

精精灵灵 发表于 2016-3-16 12:01

:loveliness:

张大千 发表于 2016-3-16 12:01

下载12345699

zfs2015 发表于 2016-3-16 12:03

看看,谢谢

秋水月华 发表于 2016-3-16 12:07

:victory::victory:

王麒麟 发表于 2016-3-16 12:07

谢谢分享!

zsytrqh 发表于 2016-3-16 12:08

谢谢分享!

阿育阿育 发表于 2016-3-16 12:09

谢谢分享,努力学习。

smq123 发表于 2016-3-16 12:10

看不懂。。。。。。。。。。。。。

gaveout 发表于 2016-3-16 12:11

感谢楼主分享,谢谢。

zhlinboy 发表于 2016-3-16 12:13

谢谢老师的精彩分享

抓住涨停 发表于 2016-3-16 12:13

8888888888888888888888888888888888

vindesel 发表于 2016-3-16 12:13

谢谢楼主分享
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 量学卧龙、潜龙、蛟龙三龙分时选股。