找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 32320|回复: 754

超跌选股公式

   火...   [复制链接]
发表于 2015-9-12 07:59 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 chjlcn 于 2015-9-12 08:06 编辑

黑马王子0909收评提到:个股方面,超跌低价是当前涨停热点,说明资金青睐超跌的低价的安全边际大的个股,我们也要顺应这个思路。

http://www.178448.com/thread-984234-1-1.html


试写了通达版超跌选股公式
下面是界面和等到的个股示例






试用版1101到期,到时再更新,希望大家多提建议


需要下载附件解压导入到通达信.不会用的别下.









补充内容 (2015-9-21 11:26):
板后单枪选股公式 http://www.178448.com/thread-984366-1-1.html
板后双枪选股公式 http://www.178448.com/thread-984772-1-1.html

补充内容 (2015-9-21 11:27):
T4缩量变异选股公式 http://www.178448.com/thread-972147-1-1.html
T4放量变异选股公式 http://www.178448.com/thread-972140-1-1.html
黄金柱选股公式 http://www.178448.com/thread-972569-1-1.html

补充内容 (2015-9-21 11:27):
高量柱选股公式 http://www.178448.com/thread-972564-1-1.html
梯量柱选股公式 http://www.178448.com/thread-972157-1-1.html

补充内容 (2015-9-22 09:48):
超跌选股公式应用举例 http://www.178448.com/thread-989332-1-1.html

补充内容 (2015-9-23 16:02):
顺势二牛选股公式 http://www.178448.com/thread-990083-1-1.html

补充内容 (2015-9-25 04:13):
板后双枪缩量不破21选股公式 http://www.178448.com/thread-990849-1-1.html
涨停龙虎榜选股公式 http://www.178448.com/thread-990850-1-1.html

补充内容 (2015-10-10 10:54):
四维看盘主图指标新鲜出炉了
http://www.178448.com/thread-997829-1-1.html

补充内容 (2015-10-27 07:54):
涨停预报专家V2尝鲜的进,速度要快
http://www.178448.com/thread-1010335-1-1.html

补充内容 (2015-10-28 13:28):
倍量柱选股公式 http://www.178448.com/thread-1011133-1-1.html

补充内容 (2015-10-28 13:29):
倍量柱选股公式 http://www.178448.com/thread-1011133-1-1.html

补充内容 (2015-11-2 16:07):
涨停预报专家V4副图指标 http://www.178448.com/thread-1015302-1-1.html
接力黄金柱选股公式 http://www.178448.com/thread-1014319-1-1.html
缺口不补选股公式 http://www.178448.com/thread-1013425-1-1.html

倍量柱选股公式 http://www.178448.com/thread-1011133-1-1.html
梯量柱选股公式 http://www.178448.com/thread-1012949-1-1.html


补充内容 (2016-6-4 18:42):
灯塔线主图公式新鲜下载 http://www.178448.com/thread-1241079-1-1.html

评分

7

查看全部评分

发表于 2016-7-2 12:41 | 显示全部楼层

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);

RC1:=REF(C,1);
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 黄金柱5  OR 黄金柱6 ) AND 均线  AND 临界点;
    BACKSET10LJ:=BACKSET(黄金柱LJ ,4);
    FILTER10LJ:=FILTER(BACKSET10LJ,3);
    STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;
    DRAWTEXT(FILTER10LJ  AND 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(FILTER10LJT  AND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'↖临界点'),COLOR0099FF;
回复

使用道具 举报

发表于 2016-4-25 23:13 | 显示全部楼层

STICKLINE(ISLASTBAR,HHV(C,5),HHV(C,5),218,1)COLORBLUE; STICKLINE(ISLASTBAR,HHV(C,5)*0.95,HHV(C,5)*0.95,218,1)COLORRED;  TJ:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01; DRAWTEXT(TJ,LOW*0.986,'↖高量柱'),COLORYELLOW; STICKLINE(TJ,OPEN,CLOSE,1.5,0),COLORYELLOW; K1:=SUMBARS(TJ,1);{传说A神} STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),10,0),COLORYELLOW; DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2; DRAWTEXT_FIX(C>0,0.12,1,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2; DRAWTEXT(HIGH>=REF(CLOSE,1)*1.095,HIGH,'涨停'),COLORMAGENTA; STICKLINE(V/REF(V,1)>2,OPEN,CLOSE,1,0),COLORGREEN; DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'跌停'),COLORGREEN; DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'跌停'),COLORGREEN;  {老舍单阳不破} 阳涨幅:=4; 阳倍量:=2; 单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量; DRAWTEXT(CURRBARSCOUNT<90 AND 单阳,L*0.98,'阳'),COLOR00FFFF; 高不破价:=REF(C,BARSLAST(单阳)); 中不破价:=REF((C+L)/2,BARSLAST(单阳)); 低不破价:=REF(L,BARSLAST(单阳));{传说A神} 单阳不破:=CURRBARSCOUNT<90 AND BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价); STICKLINE(单阳不破,低不破价-低不破价*0.003,低不破价,4,0),COLORRED; DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN; DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2; DRAWTEXT_FIX(C>0,0.12,1,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2; ZT:=(C-REF(C,1))/REF(C,1)*100>9.5 AND C=H; DRAWLINE(ZT,H,REF(ZT,1),REF(H,1),1); {通用条件} LAST3K:=CURRBARSCOUNT>4; 上涨:=REF(CLOSE,3)>REF(CLOSE,4); 未跌破:=REF(CLOSE,2)>REF(LOW,3) AND REF(CLOSE,1)>REF(LOW,3) AND CLOSE>REF(LOW,3); 缩量:=REF(VOL,3)>0.35*(REF(VOL,1)+REF(VOL,2)+VOL) AND REF(VOL,3)>REF(VOL,2);{1.05/3,5%} 逐级缩量:=REF(VOL,3)>=REF(VOL,2) AND REF(VOL,2)>=REF(VOL,1) AND REF(VOL,1)>=VOL;{平量也看成缩量} 逐级价升:=REF(CLOSE,3)<REF(CLOSE,2) AND REF(CLOSE,2)<=REF(CLOSE,1) AND REF(CLOSE,1)<=CLOSE; {倍量柱} 倍量柱1:=(REF(VOL,3)>=REF(VOL,4)*1.8),NODRAW;{实际给1.8倍} 倍量柱:VOL>REF(VOL,1)*1.8,NODRAW,COLORWHITE; {高量柱} 高量柱1:=REF(VOL,3)>0.25*(REF(SUM(VOL,3),4)+SUM(VOL,3)) AND REF(VOL,3)>REF(VOL,4) AND REF(VOL,3)>REF(VOL,2),NODRAW,COLORWHITE;{1.5/6,1.5倍} TEMP1:=BACKSET(高量柱1,4); 高量柱:FILTER(TEMP1,3),NODRAW,COLORWHITE; {平量柱} 平量柱1:=REF(VOL,3)>REF(VOL,2)*0.97 AND REF(VOL,3)<REF(VOL,2)*1.03 AND REF(VOL,3)>=1.5*REF(VOL,4),NODRAW,COLORWHITE;{平量柱取前一K线,到底是取前还是取后,你自己选} TEMP2:=BACKSET(平量柱1,4); 平量柱:FILTER(TEMP2,3),NODRAW,COLORWHITE; {梯量柱} 梯量柱1:=REF(VOL,3)>REF(VOL,4) AND REF(VOL,4)>REF(VOL,5) AND REF(CLOSE,3)>=REF(CLOSE,4) AND REF(CLOSE,4)>=REF(CLOSE,5),NODRAW,COLORWHITE;{虽然是梯量柱,但也不能太小} 梯量柱:VOL>REF(VOL,1) AND REF(VOL,1)>=REF(VOL,2) AND CLOSE>REF(CLOSE,1),NODRAW,COLORWHITE; {将军柱} 将军柱1:=上涨 AND 未跌破 AND (倍量柱1 OR 高量柱1 OR 平量柱1 OR 梯量柱1),NODRAW,COLORYELLOW; {黄金柱} 黄金柱1:=将军柱1 AND 缩量,NODRAW,COLORYELLOW; {标准黄金柱} 标准黄金柱1:=黄金柱1 AND 逐级缩量 AND 逐级价升,NODRAW,COLORRED; 将军柱2:=将军柱1 AND 黄金柱1=0 AND BARSLAST(REF(将军柱1,1))>1; 黄金柱2:=黄金柱1 AND 标准黄金柱1=0 AND BARSLAST(REF(将军柱1,1))>1; 将军柱3:=BACKSET(将军柱2,4); 将军柱:FILTER(将军柱3,3),NODRAW,COLORWHITE; 黄金柱3:=BACKSET(黄金柱2,4); 黄金柱:FILTER(黄金柱3,3),NODRAW,COLORYELLOW; 标准黄金柱2:=BACKSET(标准黄金柱1,4); 标准黄金柱:FILTER(标准黄金柱2,3),NODRAW,COLORRED; {输出,规则是连续都满足条件则取第一个} DRAWICON(LAST3K AND 将军柱,HIGH*1.01,24),COLORRED; DRAWICON(LAST3K AND 标准黄金柱,HIGH*1.01,26),COLORRED; DRAWICON(LAST3K AND 黄金柱,HIGH*1.01,25),COLORRED; N:=3; BL:=4; BN:=20; C2:=REF(C,1); 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}; 中点:=(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; DRAWTEXT(HIGH>=REF(CLOSE,1)*1.095,HIGH,'涨停'),COLORMAGENTA; STICKLINE(V/REF(V,1)>2,OPEN,CLOSE,1,0),COLORGREEN; DRAWTEXT(REF(CLOSE,1)>=LOW*1.095,LOW,'跌停'),COLORGREEN; 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);{传说A神} 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);
回复

使用道具 举报

发表于 2016-5-14 21:05 | 显示全部楼层
B1:=MA(CLOSE,1); B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ; SMA2:=MA(B2,5) ; DRAWBAND(B2,RGB(180,0,180),SMA2,RGB(256,100,100)); X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); AA1T:=REF(TTY,X)=LLV(TTY,2*X+1); BB1T:=FILTER(AA1T,X); CC1T:=BACKSET(BB1T,X+1); LD10T:=FILTER(CC1T,X); 三日不破:=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); 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); {重绘K线} DRAWKLINE(H,O,L,C); {重绘K线 显示大阳\大阴\涨停\跌停\假阴,适用于通达信} RC1:=REF(C,1); 涨停率10:=10-1/RC1;{178448-WEN98编写} 涨停率5:=5-1/RC1; 比前涨率:=(C-RC1)*100/RC1; 比前跌率:=(RC1-C)*100/RC1; ST:=NAMELIKE('ST') OR NAMELIKE('*ST'); 涨停:= IF(ST, (比前涨率>=涨停率5), (比前涨率>=涨停率10)); 本日涨率:=(C-O)*100/O; 本日跌率:=(O-C)*100/O; STICKLINE((H-RC1)*100/RC1>=涨停率10,H,MAX(C,O),1,0),COLORYELLOW;{涨停后回落} STICKLINE((RC1-L)*100/RC1>=涨停率10,L,MIN(C,O),1,0),COLORBLUE;{跌停后回升} 跌停:= IF(NAMELIKE('ST'), (比前跌率>=涨停率5), (比前跌率>=涨停率10)); STICKLINE(跌停,O,C,2,0),COLORLIBLUE; 大阳线:=C>O AND (比前涨率>=涨停率5 OR 本日涨率>=涨停率5) AND 比前涨率<涨停率10 AND 涨停=0; STICKLINE(大阳线,O,C,1,0),COLORFF99FF; 大阴线:=C<O AND (比前跌率>=涨停率5 OR 本日跌率>=涨停率5) AND 比前跌率<涨停率10 AND 跌停=0; STICKLINE(大阴线,O,C,1,0),COLOR006633; {假阴柱} 假阴:=C<O AND C>REF(C,1); STICKLINE(假阴,O,C,1,0),COLORRED; {假阳柱} 假阳:=C>O AND C<REF(C,1); STICKLINE(假阳,O,C,1,0),COLORGREEN; {涨停} AAAA:=CLOSE/REF(C,1)>=1.09; STICKLINE(AAAA,O,C,1,0),COLORYELLOW; STICKLINE(AAAA,L,H,1,0),COLORYELLOW; {跌停}  STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,1,0),COLORBLUE; DRAWTEXT(FILTER101,LOW*0.986,'↖黄金柱'),COLORYELLOW; STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW; DRAWTEXT(FILTER102,LOW*0.986,'↖次黄'){,COLORFF00FF},COLORYELLOW; STICKLINE(FILTER102,OPEN,CLOSE,0.5,0),COLORYELLOW; DRAWTEXT(FILTER103,LOW*0.986,'↖准黄'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER103,OPEN,CLOSE,0.5,0),COLORYELLOW; DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),COLORRED; STICKLINE(FILTER104,OPEN,CLOSE,0.5,0),COLORYELLOW; DRAWTEXT(FILTER105,LOW*0.986,'↖次将'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER105,OPEN,CLOSE,0.5,0),COLORYELLOW; DRAWTEXT(FILTER106,LOW*0.986,'↖准将'),COLORFF00FF{,COLORYELLOW}; STICKLINE(FILTER106,OPEN,CLOSE,0.5,0),COLORYELLOW; 立桩量:=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,'←立柱'),COLORGREEN; MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); MA120:=MA(CLOSE,120); MA240:=MA(CLOSE,240);  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; DRAWTEXT(芙蓉出水,H,'芙蓉出水'),COLORFF00FF; STICKLINE(芙蓉出水,H,L,0.1,0),COLORFF00FF; STICKLINE(芙蓉出水,O,C,1.1,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,'一穿三'),COLORFF00FF; STICKLINE(一穿三,OPEN,CLOSE,1.1,0),COLORFF00FF; {不会画线可以让显示} {K1:=SUMBARS(FILTER104,1); STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),3,-1),COLORYELLOW; STICKLINE(K1,REF(L,K1-1),REF(L,K1-1),3,-1),COLORGREEN;  K2:=SUMBARS(FILTER101,1); STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),3,-1),COLORYELLOW;};
回复

使用道具 举报

发表于 2015-9-12 08:19 | 显示全部楼层
于      yuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
回复

使用道具 举报

发表于 2015-9-12 08:24 | 显示全部楼层
谢谢楼主分享
回复

使用道具 举报

发表于 2015-9-12 08:24 | 显示全部楼层
试用版1101到期,到时再更新{:soso_e160:}    分享是美德{:soso_e179:}
回复

使用道具 举报

发表于 2015-9-12 08:27 | 显示全部楼层
谢谢分享。{:soso_e183:}
回复

使用道具 举报

发表于 2015-9-12 08:35 | 显示全部楼层
#在这里快速回复#断总结完善自己的交易系统。
回复

使用道具 举报

发表于 2015-9-12 08:40 | 显示全部楼层
谢谢分享,快乐炒股。
回复

使用道具 举报

发表于 2015-9-12 08:40 | 显示全部楼层
谢谢分享试用!!!!!!!
回复

使用道具 举报

发表于 2015-9-12 08:41 | 显示全部楼层
非常好,谢谢了,分享了
回复

使用道具 举报

发表于 2015-9-12 08:48 | 显示全部楼层
您好,向高手请教
回复

使用道具 举报

发表于 2015-9-12 08:54 | 显示全部楼层
{:soso_e160:}{:soso_e183:}
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-14 13:33 , Processed in 0.112618 second(s), Total 15, Slave 13 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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