以下是通达信一个自己珍藏多年的【赛老巴主图】指标

通达信一个自己珍藏多年的【赛老巴主图】指标

指标理念与使用参考:
1、指标理念:顺势而为,是操盘的最高境界;只有趋势良好的目标,才是操作中最为安全可靠、而又获

利最快的目标!【赛老巴主图】想表达的就是这样的一点含义。
2、指标设计:【赛老巴主图】即是将主图所见全部K线,以坐标形式,自动分为上下左右四个部分;右侧

,再根据黄金分割定律,细分为上下四个区域;每个区域自上而下分别代表:强势拉升、震荡整理、反

弹中部、弱势探底等四个不同状态。

3、热点板块+趋势良好+初期放量上涨=牛股启动买点,送给大家结合【赛老巴主图】思考。
 

{赛老巴主图—-通达信版本主图指标}
{INPUT:N(1,250,120);}
K:=BARSLAST(CURRBARSCOUNT=N);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
KJ:=GD-DD;
GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL);
DRAWBAND(GD4,RGB(0,0,250),DD+KJ/2,RGB(0,0,0));{该行设置背景色}
平衡:IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00FFFF,NODRAW;
压力:IF(CURRBARSCOUNT<=N,GD-KJ*0.191,DRAWNULL),COLORFF00FF,NODRAW;
支撑:IF(CURRBARSCOUNT<=N,DD+KJ*0.191,DRAWNULL),COLOR00FF00,NODRAW;
低吸:IF(CURRBARSCOUNT<=N/2 AND CROSS(平衡,LOW),1,DRAWNULL),COLORFF8899,NODRAW;
低涨:IF(CURRBARSCOUNT<=N,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;
天:BARSLAST(L=DD),COLOR00FFFF,NODRAW;
MA5:MA(CLOSE,5),COLORFFFFFF;
MA10:MA(CLOSE,10),COLOR00FFFF;
MA20:MA(C,20),COLORFF00FF;
高:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLOR00FFFF,POINTDOT;
低:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,POINTDOT;
{以下设置主图显示方式}
STICKLINE(CURRBARSCOUNT=N,GD,DD,0,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=1,GD,DD,0,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT<=N,平衡,平衡,3,-1),COLORWHITE;
STICKLINE(CURRBARSCOUNT<=N/2,压力,压力,3,-1),COLORRED;
STICKLINE(CURRBARSCOUNT<=N/2,支撑,支撑,3,-1),COLORGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWICON(低吸,LOW,13);
{以下设置提示文字部分}
DRAWTEXT(CURRBARSCOUNT=1,压力,’0.809′),COLOR0000FF;
DRAWTEXT(CURRBARSCOUNT=1,平衡,’0.500′),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,支撑,’0.191′),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=N/2+9,GD-KJ/12,’★强势区域–急拉减仓!’),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=N/2+9,GD-KJ/3,’●震荡整理–寻机低吸!’),COLOR00FF00;
DRAWTEXT(CURRBARSCOUNT=N/2+9,DD+KJ/3,’◆反弹中轨–逢高休息!’),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=N/2+9,DD+KJ/10,’■弱势区域–暂不参与!’),COLORFFFF00;
DRAWTEXT(CURRBARSCOUNT=N,GD-KJ/12,’■目前K线天数:请看参数!’),COLOR0000FF;
DRAWTEXT(CURRBARSCOUNT=N,压力,’■建议查阅K线:短线30天,中长线120天!’),COLORFF8899;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。