波段操作系统 波段操作,有解盘文字(通达信公式 主图 源码 测试图)

[复制链接]
查看41 | 回复0 | 2022-6-27 18:09:17 | 显示全部楼层 |阅读模式

 波段操作系统

波段操作,有解盘文字
 

{波段操作系统}

关键点位:(REF(H,1)+REF(L,1)+REF(C,1))/3,NODRAW,COLOR8080FF;

阻力:2*关键点位-REF(L,1),NODRAW;

支撑:2*关键点位-REF(H,1),NODRAW;

买线:=EMA(C,1);

卖线:=EMA(SLOPE(C,10)*10+C,20);

STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;

STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;

STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,0),COLOR2F2FFF; 

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3.1,0),COLOR000033;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0),COLOR000099;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0),COLOR0000CC;

STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0),COLOR0000FF;{立体红颜色};

STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORFFFF00; 

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3.1,0  ),COLOR000000;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR6A6A00;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORDDDD00;

STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0),COLORFFFF00;{立体青色};

均价:=(3*C+H+L+O)/6;

VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+

4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;

VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;

SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1;

SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) 

AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1;

SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) AND H/VAR1>1.1;

SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) 

AND CLOSE>VAR2 AND CLOSE<VAR1;

SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1) 

AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1) 

AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);

SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2;

XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1)

AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2);

XD2:=VAR1=VAR2 AND CLOSE>VAR1;

SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));

量能饱和度:=IF(SAT>1,1,SAT)*100;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ1,0.8,0.05,0,'调整结束短线介入'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ2,0.8,0.05,0,'上升通道走势良好'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ3,0.8,0.05,0,'股价偏离注意调整'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ4,0.8,0.05,0,'上升通道调整洗盘'),COLORFFFFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ5,0.8,0.05,0,'转向特征注意离场'),COLOR00FFFF;

DRAWTEXT_FIX(BARSTATUS=2 AND SZ6,0.8,0.05,0,'通道改变坚决离场'),COLORFFFF00;

DRAWTEXT_FIX(BARSTATUS=2 AND XD1,0.8,0.05,0,'下跌通道只宜观望'),COLORFFFF00;

DRAWTEXT_FIX(BARSTATUS=2 AND XD2,0.8,0.05,0,'短期底部准备进入'),COLORYELLOW;

操作线20日:EMA(C,20),DOTLINE,COLOR0000FF;

红升:IF(操作线20日>REF(操作线20日,1),操作线20日,DRAWNULL),COLOR0000FF,LINETHICK3;

绿降:IF(操作线20日<REF(操作线20日,1),操作线20日,DRAWNULL),DOTLINE,COLOR0000FF;

趋势线:EXPMA(C,5),DOTLINE,COLORYELLOW;

KK1:=趋势线<REF(趋势线,1);

IF(KK1,趋势线,DRAWNULL),DOTLINE,COLORYELLOW;

DD1:=趋势线>REF(趋势线,1);

IF(DD1,趋势线,DRAWNULL),COLOR00FFFF,LINETHICK2;

DRAWTEXT_FIX(1,0,0,0,EXTERNSTR(0,1))COLOR00FF00;

DRAWTEXT_FIX(ISLASTBAR,0.1,0.08,0,HYBLOCK)COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.1,0,00,DYBLOCK)COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.1,0.04,0,GNBLOCK)COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.1,0.13,0,FGBLOCK)COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR,0.1,0.18,0,ZSBLOCK)COLORYELLOW;

DRAWTEXT_FIX(1,0,0,0,EXTERNSTR(0,1))COLOR00FF00;

DRAWTEXT_FIX(1,0.0,0.70,0,'预防暴雷:')COLORFF00FF; 

DRAWTEXT_FIX(1,0.08,0.70,0,EXTERNSTR(0,403))COLORFF00FF; 

DRAWTEXT_FIX(1,0.0,0.75,0,'已经暴雷:')COLORYELLOW; 

DRAWTEXT_FIX(1,0.08,0.75,0,EXTERNSTR(0,402))COLORYELLOW; 

DRAWTEXT_FIX(1,0.0,0.81,0,'避险股池:')COLORLIBLUE; 

DRAWTEXT_FIX(1,0.08,0.81,0,EXTERNSTR(0,404))COLORLIBLUE; 

DRAWTEXT_FIX(1,0.0,0.86,0,'可能*ST:')COLORGREEN; 

DRAWTEXT_FIX(1,0.08,0.86,0,EXTERNSTR(0,401))COLORGREEN; 

{分析家公式网 WWW.70822.COM}

RQ:=IF(DATE>=1200824,1,0);

KCB:=IF(INBLOCK('科创板'),1,0);

CYB:=IF(INBLOCK('创业板') AND RQ,1,0);

{20%涨停黄s,跌停蓝色}

STICKLINE(C/REF(C,1)>1.195 AND C=H AND (KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORYELLOW;

STICKLINE(C/REF(C,1)<0.805 AND C=L AND (KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORBLUE;

{10%涨停红色,跌停绿色}

STICKLINE(C/REF(C,1)>1.095 AND C=H AND NOT(KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORRED;

STICKLINE(C/REF(C,1)<0.905 AND C=L AND NOT(KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORGREEN;

{涨停炸板洋红色,跌停撬板淡蓝色}

STICKLINE(H/REF(C,1)>1.195 AND C<H AND (KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORMAGENTA;{炸板}

STICKLINE(L/REF(C,1)<0.805 AND C>L AND (KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORLIBLUE;{撬板}

STICKLINE(H/REF(C,1)>1.095 AND C<H AND NOT(KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORMAGENTA;{炸板}

STICKLINE(L/REF(C,1)<0.905 AND C>L AND NOT(KCB OR CYB) AND PERIOD=5,O,C,3,0),COLORLIBLUE;{撬板};


20209142353775114.png

20209142353775114.png

20209142354482409.png

20209142354482409.png

20209142355119347.png

20209142355119347.png

p20209142353775114.jpg

p20209142353775114.jpg

20209142352772301.rar

5.38 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20209142352772301.rar

回复

使用道具 举报

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

本版积分规则