找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 646|回复: 12

突破涨停

[复制链接]
发表于 2019-8-31 11:26 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 方法就是趋势 于 2019-8-31 11:27 编辑

ZZA:=REF(H,BARSLAST(FILTER(BACKSET(FILTER(REF(C,20)=HHV(C,2*20+1),20),20+1),20)));
ZZT:=(C-REF(C,1))/REF(C,1)*100>9.5;  
突破涨停:=IF(CROSS(C,ZZA) AND ZZT>0,-4,0);
STICKLINE(突破涨停,H+L/15,H,4,0),COLORFF00FF;
 楼主| 发表于 2019-8-31 12:51 | 显示全部楼层
本帖最后由 方法就是趋势 于 2019-8-31 12:52 编辑

自动画黄金柱元帅柱黄金线 (适用通达信软件) [复制链接]http://www.178448.com/thread-1818700-1-1.html
回复

使用道具 举报

发表于 2019-9-3 07:00 | 显示全部楼层
这个公式是有未来函数的,怎么用,有说明吗?
回复

使用道具 举报

发表于 2019-9-6 08:30 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

 楼主| 发表于 2019-9-7 17:44 | 显示全部楼层
szwzs 发表于 2019-9-3 07:00
这个公式是有未来函数的,怎么用,有说明吗?

任何公式都只是一种可能性,看着办
回复

使用道具 举报

 楼主| 发表于 2019-9-8 20:00 | 显示全部楼层
本帖最后由 方法就是趋势 于 2019-9-8 20:02 编辑

前辈的高位量画线?

{1.画倍量黄金柱标识}
倍柱:=DRAWICON((LLV(L,3)>REF(L,3) OR LLV(L,3)=REF(L,3)) AND HHV(V,3)<REF(V,3) AND
REF(C,3)>REF(O,3) AND REF(V,3)>=2*REF(V,4),H+0.2,17);
{2.画梯量黄金柱标识}
梯柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND
REF(V,5)>REF(V,6) AND REF(V,4)>REF(V,5) AND REF(V,3)>REF(V,4),H,17);
{3.画平量黄金柱标识}
平柱:=DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)<REF(V,3) AND
REF(C,3)>REF(O,3) AND ABS(REF(V,3)-REF(V,4))/REF(V,4)<=0.03,H,19);
倍量:=DRAWICON((VOL>REF(V,1)*2.0 OR VOL=REF(V,1)*2.0) AND C>REF(C,1),H+0.2,26);
STICKLINE(倍量,OPEN,CLOSE,-1,0),COLORYELLOW;
倍线:STICKLINE(倍柱,PHD,PHD,28,0),COLORMAGENTA,LINETHICK5;
DRAWICON(倍柱,PHD*1.008,12);
DRAWTEXT(倍柱,PHD*1.008,'倍线'),COLORMAGENTA;
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4,NODRAW;
STICKLINE(金柱,O,C,3.3,0),COLORRED;
STICKLINE(金柱,H,L,0.1,0),COLORRED;
DRAWTEXT(金柱,H*0.98,'金'),COLORYELLOW;
X1G:=SUMBARS(FILTER(金柱,2),1);
STICKLINE(X1G,REF(C,X1G-1),REF(C,X1G-1),10,0),COLORGREEN;
XG11:=SUMBARS(FILTER(金柱,2),1);
STICKLINE(XG11,REF(L,XG11-1),REF(L,XG11-1),10,0),COLORAA00FF;
平线:STICKLINE(平柱,PHD*1.002,PHD,28,0),COLORYELLOW;
DRAWTEXT(平柱,PHD*1.015,'平'),COLORFFCC00 ;
梯线:STICKLINE(梯柱,PHD*1.002,PHD,28,0),COLORYELLOW;
DRAWTEXT(梯柱,PHD*1.015,'梯'),COLORCYAN ;
{黄金坑}
LOWV:=LLV(LOW,59);
HIGHV:=HHV(HIGH,59);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
XG1:=REF(K,1)<10 AND REF(K,2)<10 AND REF(K,1)<REF(D,1);
XG2:=K>=D;
{价升放量}
A1:=CLOSE / REF(CLOSE,1)>= 1.030;{涨幅可以自己修改,如=1.02}
A2:= VOL / REF(VOL,1)>= 1.5;{放量大小可以自己修改}
XG: XG1 AND XG2 AND A1 AND A2;
有时间做个低位量画线
回复

使用道具 举报

 楼主| 发表于 2019-9-8 20:05 | 显示全部楼层
量柱主图
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,40),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),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*0.986,'↖黄金柱'),COLORYELLOW;
STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(FILTER102,LOW*0.986,'↖次黄金柱'),COLORYELLOW;
DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),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;
回复

使用道具 举报

 楼主| 发表于 2019-9-8 20:08 | 显示全部楼层
真阴线:=C<=REF(H,1) AND C<=O;
假阳线:=C<=REF(H,1) AND C>=O;
阴线:=真阴线>0 OR 假阳线>0;
阴线天数:=BARSLAST(阴线);
阴线实体最高价:=MAX(REF(C,阴线天数),REF(O,阴线天数));
阴线成交量:=REF(V,阴线天数);
阳胜条件:=阴线天数>0 AND C>=阴线实体最高价 AND V>=阴线成交量;
阳胜:=IF(阳胜条件>0 AND REF(阳胜条件,1)=0,10,0);
真阳线:=C>=REF(C,1) AND C>=O;
假阴线:=C>=REF(C,1) AND C<=O;
阳线:=真阳线>0 OR 假阴线>0;
阳线天数:=BARSLAST(阳线);
阳线实体最低价:=MIN(REF(C,阳线天数),REF(O,阳线天数));
阳线成交量:=REF(V,阳线天数);
阴胜条件:=阳线天数>0 AND C<=阳线实体最低价 AND V>=阳线成交量*0.9;
阴胜:=IF(阴胜条件>0 AND REF(阴胜条件,1)=0,10,0),COLORWHITE;
阳胜进:=IF(阳胜>0,1.5,0),COLORRED;
阴胜出:=IF(阴胜>0,1,0);
A33:=UPNDAY(MA(C,20),1) AND UPNDAY(MA(C,30),2) AND MA(C,5)>MA(C,30) AND MA(C,10)>MA(C,20)
AND MA(C,20)>MA(C,30)
AND C>MA(C,10) AND O=L AND C<15 AND CAPITAL/100<50000 AND DYNAINFO(17)>1;
XG1:A33 AND 阳胜进,LINESTICK COLORRED LINETHICK2 ;
XG2:阴胜出 AND 阴胜出>成交002*1000,STICK LINETHICK2 COLORBLUE;

{阴线战法“大阴实顶”的主图显示}
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;

AA:=(C-REF(C,1))/REF(C,1)*100;
ZS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR  NAMELIKE('S')) AND AA>=4.945;
DS:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR  NAMELIKE('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(成交002,1);
RV2:=REF(成交002,2);
RV3:=REF(成交002,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;
量渐升:=成交002>RV1 AND RV1>RV2 ;
量渐减:=成交002<=RV1 AND RV1<=RV2 ;
均量减:=(成交002+RV1+RV2)/3<=RV3 AND NOT(量渐升);

日价量比:=C/V;
日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);

均价升幅:=(C+RC1+RC2)/3/RC3;
均量升幅:=(成交002+RV1+RV2)/3/RV3;

价量比:=比系数*均价升幅/均量升幅>1;

基前跳空:=RO3>RC4 AND RC4>RO4;


柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破顶 AND 不破底 AND 基前跳空;
    B101T:=BACKSET(柱1T,5);
    F101T:=FILTER(B101T,4);
柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破顶 AND 不破底 ;
    B101:=BACKSET(柱1,4);
    F101:=FILTER(B101,3);
柱11:=柱1 AND REF(柱1,1);
    B1011:=BACKSET(柱11,4);
    F1011:=FILTER(B1011,3);
柱12:=柱1 AND REF(柱1,2);
    B1012:=BACKSET(柱12,4);
    F1012:=FILTER(B1012,3);
柱13:=柱1 AND REF(柱1,3);
    B1013:=BACKSET(柱13,4);
    F1013:=FILTER(B1013,3);


柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND
不破顶 AND 不破底 AND 基前跳空 AND NOT(柱1) AND NOT(柱1T);
    B201T:=BACKSET(柱2T,5);
    F201T:=FILTER(B201T,4);


柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破顶 AND
不破底 AND NOT(柱1) AND NOT(柱1T);
    B201:=BACKSET(柱2,4);
    F201:=FILTER(B201,3);

柱21:=柱2 AND REF(柱2,1);
    B2011:=BACKSET(柱21,4);
    F2011:=FILTER(B2011,3);

柱22:=柱2 AND REF(柱2,2);
    B2012:=BACKSET(柱22,4);
    F2012:=FILTER(B2012,3);

柱23:=柱2 AND REF(柱2,3);
    B2013:=BACKSET(柱23,4);
    F2013:=FILTER(B2013,3);

柱3T:=基价柱阳  AND 均价升 AND 量渐减 AND 不破顶 AND 不破底 AND 基前跳空
AND NOT(柱1) AND NOT(柱2) AND NOT(柱1T)  AND NOT(柱2T);
    B301T:=BACKSET(柱3T,5);
    F301T:=FILTER(B301T,4);

柱3:=基价柱阳  AND 均价升 AND 量渐减 AND 不破顶 AND 不破底 AND NOT(柱1)
AND NOT(柱2) AND NOT(柱1T) AND NOT(柱2T);
    B301:=BACKSET(柱3,4);
    F301:=FILTER(B301,3);

柱31:=柱3 AND REF(柱3,1);
    B3011:=BACKSET(柱31,4);
    F3011:=FILTER(B3011,3);

柱32:=柱3 AND REF(柱3,2);
    B3012:=BACKSET(柱32,4);
    F3012:=FILTER(B3012,3);

柱33:=柱3 AND REF(柱3,3);
    B3013:=BACKSET(柱33,4);
    F3013:=FILTER(B3013,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);
    B401T:=BACKSET(柱4T,5);
    F401T:=FILTER(B401T,4);

柱4:=基价柱阳  AND 均价升 AND 均量减 AND 不破顶 AND 不破底 AND NOT(柱1) AND NOT(柱2)
AND NOT(柱3) AND NOT(柱1T) AND NOT(柱2T) AND NOT(柱3T);
    B401:=BACKSET(柱4,4);
    F401:=FILTER(B401,3);

柱41:=柱4 AND REF(柱4,1);
    B4011:=BACKSET(柱41,4);
    F4011:=FILTER(B4011,3);

柱42:=柱4 AND REF(柱4,2);
    B4012:=BACKSET(柱42,4);
    F4012:=FILTER(B4012,3);

柱43:=柱4 AND REF(柱4,3);
    B4013:=BACKSET(柱43,4);
    F4013:=FILTER(B4013,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);
    B501T:=BACKSET(柱5T,5);
    F501T:=FILTER(B501T,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);
    B501:=BACKSET(柱5,4);
    F501:=FILTER(B501,3);

柱51:=柱5 AND REF(柱5,1);
    B5011:=BACKSET(柱51,4);
    F5011:=FILTER(B5011,3);

柱52:=柱5 AND REF(柱5,2);
    B5012:=BACKSET(柱52,4);
    F5012:=FILTER(B5012,3);

柱53:=柱5 AND REF(柱5,3);
    B5013:=BACKSET(柱53,4);
    F5013:=FILTER(B5013,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);
    B601T:=BACKSET(柱6T,5);
    F601T:=FILTER(B601T,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);
    B601:=BACKSET(柱6,4);
    F601:=FILTER(B601,3);

柱61:=柱6 AND REF(柱6,1);
    B6011:=BACKSET(柱61,4);
    F6011:=FILTER(B6011,3);

柱62:=柱6 AND REF(柱6,2);
    B6012:=BACKSET(柱62,4);
    F6012:=FILTER(B6012,3);

柱63:=柱6 AND REF(柱6,3);
    B6013:=BACKSET(柱63,4);
    F6013:=FILTER(B6013,3);

FIL1:=(F101 AND NOT(REF(F101,4))) OR (F1011 AND NOT(REF(F1011,4)))
OR (F1012 AND NOT(REF(F1012,4))) OR (F1013 AND NOT(REF(F1013,4)));
FIL2:=(F201 AND NOT(REF(F201,4))) OR (F2011 AND NOT(REF(F2011,4))) OR (F2012 AND NOT(REF(F2012,4))) OR
(F2013 AND NOT(REF(F2013,4)));
FIL3:=(F301 AND NOT(REF(F301,4))) OR (F3011 AND NOT(REF(F3011,4))) OR (F3012 AND NOT(REF(F3012,4))) OR (F3013
AND NOT(REF(F3013,4)));
FIL4:=(F401 AND NOT(REF(F401,4))) OR (F4011 AND NOT(REF(F4011,4))) OR (F4012 AND NOT(REF(F4012,4))) OR (F4013 AND
NOT(REF(F4013,4)));
FIL5:=(F501 AND NOT(REF(F501,4))) OR (F5011 AND NOT(REF(F5011,4))) OR (F5012 AND NOT(REF(F4012,4))) OR (F6012 AND NOT(REF(F6012,4)))
OR (F6013 AND NOT(REF(F6013,4)));

FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 ;
STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'金'),COLORFFFFFF;
K1:=SUMBARS(FIL,1);
STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF;

FIL1T:=(F101T AND NOT(REF(F101T,5)));
FIL2T:=(F201T AND NOT(REF(F201T,5)));
FIL3T:=(F301T AND NOT(REF(F301T,5)));
FIL4T:=(F401T AND NOT(REF(F401T,5)));
FIL5T:=(F501T AND NOT(REF(F501T,5)));
FIL6T:=(F601T AND NOT(REF(F601T,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,'极'),COLOR00FFFF;
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 柱5  OR 柱6 ) AND 均线  AND 临界点;
    B10LJ:=BACKSET(柱LJ ,4);
    F10LJ:=FILTER(B10LJ,3);
    STICKLINE(F10LJ AND NOT(REF(F10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;
    DRAWTEXT(F10LJ  AND NOT(REF(F10LJ,4)) ,LOW*0.958,'顶'),COLOR0099FF;

柱LJT:=(柱1T OR 柱2T OR 柱3T OR 柱4T OR 柱5T OR 柱6T) AND 均线 AND 临界点 ;
    B10LJT:=BACKSET(柱LJT ,5);
    F10LJT:=FILTER(B10LJT,5);
    STICKLINE(F10LJT AND NOT(REF(F10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF;
    DRAWTEXT(F10LJT  AND NOT(REF(F10LJT,4)) ,LOW*0.958,'顶'),COLOR0099FF;
回复

使用道具 举报

发表于 2019-9-29 18:36 | 显示全部楼层
谢谢分享,楼主辛苦了!
回复

使用道具 举报

发表于 2024-9-1 20:58 | 显示全部楼层
好好学习天天向上
回复

使用道具 举报

发表于 2024-9-6 07:29 | 显示全部楼层
谢谢分享,楼主辛苦了!
回复

使用道具 举报

发表于 2024-9-6 16:57 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-26 11:06 , Processed in 0.093372 second(s), Total 11, Slave 11 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表