周期竖线主图
T1:=MOD(BARSLAST(BARSCOUNT(C)=0),25);
T2:=MOD(BARSLAST(BARSCOUNT(C)=4),25);
T3:=MOD(BARSLAST(BARSCOUNT(C)=9),25);
T4:=MOD(BARSLAST(BARSCOUNT(C)=14),25);
T5:=MOD(BARSLAST(BARSCOUNT(C)=19),25);
HH:=CONST(HHV(H,130));
LL:=CONST(LLV(L,130));
STICKLINE(T1=0,HH,LL,0.01,0)COLORRED;
STICKLINE(T2=0,HH,LL,0.01,0)COLORBLUE;
STICKLINE(T3=0,HH,LL,0.01,0)COLORYELLOW;
STICKLINE(T4=0,HH,LL,0.01,0)COLORGREEN;
STICKLINE(T5=0,HH,LL,0.01,0)COLORWHITE;
箱体幅图
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
HH:=FINDHIGH(H,0,20,1);
LL:=FINDLOW(L,0,20,1);
HH1:=FINDHIGH(H,20,20,1);
LL1:=FINDLOW(L,20,20,1);
HH2:=FINDHIGH(H,40,20,1);
LL2:=FINDLOW(L,40,20,1);
HH3:=FINDHIGH(H,60,20,1);
LL3:=FINDLOW(L,60,20,1);
HH4:=FINDHIGH(H,80,20,1);
LL4:=FINDLOW(L,80,20,1);
HH5:=FINDHIGH(H,100,20,1);
LL5:=FINDLOW(L,100,20,1);
STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(HH),CONST(HH),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<20 AND CURRBARSCOUNT>1 ,CONST(LL),CONST(LL),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=20 OR CURRBARSCOUNT=1 ,CONST(HH),CONST(LL),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21 ,CONST(HH1),CONST(HH1),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<40 AND CURRBARSCOUNT>21,CONST(LL1),CONST(LL1),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=40 OR CURRBARSCOUNT=21 ,CONST(HH1),CONST(LL1),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(HH2),CONST(HH2),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<60 AND CURRBARSCOUNT>41,CONST(LL2),CONST(LL2),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=60 OR CURRBARSCOUNT=41,CONST(HH2),CONST(LL2),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(HH3),CONST(HH3),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<80 AND CURRBARSCOUNT>61,CONST(LL3),CONST(LL3),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=80 OR CURRBARSCOUNT=61,CONST(HH3),CONST(LL3),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(HH4),CONST(HH4),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<100 AND CURRBARSCOUNT>81,CONST(LL4),CONST(LL4),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=100 OR CURRBARSCOUNT=81,CONST(HH4),CONST(LL4),0,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(HH5),CONST(HH5),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT<120 AND CURRBARSCOUNT>101,CONST(LL5),CONST(LL5),8,0)COLORYELLOW;
STICKLINE(CURRBARSCOUNT=120 OR CURRBARSCOUNT=101,CONST(HH5),CONST(LL5),0,0)COLORYELLOW;
用法推测:
1、机械法:两箱体结合部,大多数涨势起于箱体左下角,大多数跌势起于箱体左上角。因此,当箱体结束时若发现k线顶到箱体右上角,请选入自选股密切观察,其后走势暴涨暴跌,机会就在于此。不建议提前潜伏,还有暴跌机会哪,等出头再跟不迟。
2、精准法:仅为编程高手提供一个思路,不打算公开公式勿求。即结合周期竖线:80%暴涨暴跌发生于白、红、蓝3线前后或区域,20%暴涨暴跌发生在黄、绿线,黄绿线通常为盘整段。市场多遵循拉一周盘一周,极少数拉二周盘二周节奏进行。
本人入市时间不长,上面用法对不对?大家一起观察,如有好的理念。愿和坛友一起分享。