一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

股票選股公式匯總

 羅學(xué)生 2022-04-30 發(fā)布于廣西


1. boll 中軌連續(xù)上行至少5天,股價(jià)下行三天已經(jīng)接近中軌

這個(gè)指標(biāo)不好用,因?yàn)樗@么緩緩下跌,你不敢進(jìn),中規(guī)托不住的情況居多吧?

BOLL:=MA(CLOSE,10);
{UB:BOLL+2*STD(CLOSE,N);}
{LB:BOLL-2*STD(CLOSE,N);}

XG:COUNT(BOLL>REF(BOLL,1),5)>=5 AND COUNT(C<REF(C,1),3)=3 AND ABS(C-BOLL)/BOLL*100<1;

2.macd 0軸上方金叉選股或者 2波綠柱縮短且macd 背離選股(即二次股價(jià)低,二次macd 高)
DIFF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
{天數(shù):=BARSLAST(REF(CROSS(MACD,REF(MACD,1)) AND MACD<0,1));}
{XG:CROSS(MACD,REF(MACD,1)) AND REF(C,1)<REF(C,天數(shù)+2) AND REF(MACD,1)>REF(MACD,天數(shù)+2) AND MACD<0;}
XG: CROSS(DIFF,DEA) && DEA > 0;

3. 副圖指標(biāo): 山壇線

這個(gè)指標(biāo),上升時(shí)總是發(fā)出賣的信號(hào),下跌時(shí)總是發(fā)出買的信號(hào),最為反面教材放到這。
不過,它的采樣55天取點(diǎn)還可以借鑒,否則早扔了。
VAR1:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
VAR2:=SMA(VAR1,13,1);
VAR3:=SMA(VAR2,13,1);
出擊:3*VAR2-2*VAR3,COLORYELLOW,LINETHICK2;
山壇線:MA(出擊,5),COLORRED,LINETHICK2;
阻力:3*VAR3-2*VAR2,COLORBLUE,LINETHICK2;
DRAWTEXT(VAR1<阻力 AND CROSS(出擊,山壇線),山壇線,'I買I')COLORYELLOW;
DRAWTEXT(VAR1>阻力 AND CROSS(山壇線,出擊),山壇線,'I賣I')COLORCYAN;

4: 承壓線繪制:

使用了BACKSET, FILTER 函數(shù),慎用,僅僅是圖畫的漂亮
NF:(C+REF(C,1)+REF(C,2)+H+REF(H,1)+REF(H,2)+L+REF(L,1)+REF(L,2)+O+
    REF(O,1)+REF(O,2))/12,LINETHICK2,COLORLICYAN;
 {徐文明保護(hù)價(jià)}
 MA5:=MA(CLOSE,5);
 MA10:=MA(CLOSE,10);
 保護(hù)價(jià) :(REF(CLOSE,2)+REF(CLOSE,1)+O)/3;
 N:=75;P:=5;P1:=10;
 {N為多少天內(nèi)的高低值參數(shù),我以自已的初始K線根數(shù)定義。
 P、P1為短、長(zhǎng)支撐壓力取點(diǎn)參數(shù)}
 A1:=REF(H,P)=HHV(H,2*P+1);  {5天前的最高價(jià)也是11天的最高價(jià)}
 B1:=FILTER(A1,P);        {過濾信號(hào),使成為一個(gè)尖峰}
 C1:=BACKSET(B1,P+1);        {向前賦值,使有效}
 D1:=FILTER(C1,P);        {過濾,使第一個(gè)有效}
 E1:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); {向前賦值,直到莫一天}
F1:=E1>REF(E1,1);            {實(shí)際也有過濾之意}
 短壓:DRAWLINE(D1,H,F1,H,1),COLORCYAN;
 A2:=REF(L,P)=LLV(L,2*P+1);
 B2:=FILTER(A2,P);
 C2:=BACKSET(B2,P+1);
 D2:=FILTER(C2,P);
 E2:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
 F2:=E2>REF(E2,1);
 短支:DRAWLINE(D2,L,F2,L,1),COLORLIRED;
 AA1:=REF(H,P1)=HHV(H,2*P1+1);
 BB1:=FILTER(AA1,P1);
 CC1:=BACKSET(BB1,P1+1);
 DD1:=FILTER(CC1,P1);{GUPIAOFF.COM};
 EE1:=BACKSET(ISLASTBAR,BARSLAST(DD1)+1);
FF1:=EE1>REF(EE1,1);
 長(zhǎng)壓:DRAWLINE(DD1,H,FF1,H,1),COLORGREEN;
 AA2:=REF(L,P1)=LLV(L,2*P1+1);
 BB2:=FILTER(AA2,P1);
 CC2:=BACKSET(BB2,P1+1);
 DD2:=FILTER(CC2,P1);{GUPIAOFF.COM};
 EE2:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);
 FF2:=EE2>REF(EE2,1);
 長(zhǎng)支:DRAWLINE(DD2,L,FF2,L,1),COLORRED;

5. cci-cci15指標(biāo)
cci 演示了一種對(duì)股價(jià)的拉升能力,cci是個(gè)短期指標(biāo),且適用于非常時(shí)期。
下面的公式只是好玩,背離了也不一定反轉(zhuǎn),但可以參考一下,又有cci,cci15互相參照,
對(duì)股價(jià)位置也容易定位。
N:=14;
M:=210;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
TYP15:=(HHV(HIGH,15)+LLV(LOW,15)+CLOSE)/3;
CCI15:(TYP15-MA(TYP15,M))/(0.015*AVEDEV(TYP15,M)),COLORRED;
AA:=REF(CCI,3)=HHV(CCI,2*3+1);
BB:=BACKSET(AA,3+1);
CC:=FILTER(BB,3) AND CCI=HHV(CCI,3+1);
A1:=BARSLAST(REF(CC,1));
頂背離:=REF(CLOSE,A1+1)<CLOSE AND REF(CCI,A1+1)>CCI AND CC;
DRAWLINE(CC,CCI,FILTER(頂背離>0,5),CCI,0),COLORRED,LINETHICK3;
AA2:=REF(CCI,3)=LLV(CCI,2*3+1);
BB2:=BACKSET(AA2,3+1);
CC2:=FILTER(BB2,3) AND CCI=LLV(CCI,3+1);
AA2A:=BARSLAST(REF(CC2,1));
底背離:=REF(C,AA2A+1)>CLOSE AND REF(CCI,AA2A+1)<CCI AND CC2;
DRAWLINE(CC2,CCI,FILTER(底背離>0,5),CCI,0),COLORRED,LINETHICK4;
M100:100, COLOR808080;
M_100:-100, COLOR808080;
M0:0, COLOR808080;

6:大陽線主圖指標(biāo)DY

是我喜歡的一個(gè)指標(biāo),也是由我整理,它提示了很多信息
C1:=REF(C,1);
漲停:=C>REF(C,1)*1.09;
STICKLINE(漲停,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(漲停,H,L,0,0),COLORRED;
跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=9.9,1,0);
STICKLINE(跌停,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;
半漲:=(C-C1)*100/C1>=4.0 &&(C-C1)*100/C1 < 9.9;
大陽:=半漲;{ AND FINANCE(33)>0;}
STICKLINE(大陽,OPEN,CLOSE,3,0),COLORYELLOW;
STICKLINE(大陽,H,L,0,0),COLORYELLOW;
半跌1:=(C1-C)*100/C1>4.0 && (C1-C)*100/C1<9.9;
大陰:=半跌;
STICKLINE(大陰,OPEN,CLOSE,3,0),COLORBLUE;
STICKLINE(大陰,H,L,0,0),COLORBLUE;
{NUMBER:=COUNT(非ST漲停,BARSSINCE(非ST漲停)+1);}
NUMBER:=COUNT(漲停,250);
DRAWNUMBER(漲停,HIGH*1.04,NUMBER),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.56,0.02,0,NUMBER),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.02,0,'250交易日共漲停'),COLORYELLOW;

{250天內(nèi)漲停數(shù)量}
漲停數(shù):=COUNT(漲停,250);
DRAWTEXT_FIX(ISLASTBAR && 漲停數(shù)>=10,0.9,0,0,'強(qiáng)莊'),COLORRED;
DRAWNUMBER_FIX(1=1,0.98,0,1,CONST(漲停數(shù))),COLORRED;

{停牌天數(shù)>10}
停牌天數(shù):=DATETODAY(DATE) - DATETODAY(REF(DATE,1));
DRAWTEXT(停牌天數(shù)>10,L*0.98,'停'),COLORRED;
DRAWNUMBER(停牌天數(shù)>10,L*0.97,停牌天數(shù)),COLORRED;

流通股:=FINANCE(7)/10000;
總股本:=FINANCE(1)/10000;
解禁股:=IF(總股本=REF(總股本,1) && 流通股>REF(流通股,1),20,0);
轉(zhuǎn)送股:=IF(總股本>REF(總股本,1),20,0);
凍結(jié)股:=IF(流通股<REF(流通股,1),20,0);

解禁比:=IF(解禁股=20,(流通股-REF(流通股,1))/總股本*100,0);
轉(zhuǎn)送比:=IF(轉(zhuǎn)送股=20,(總股本-REF(總股本,1))/總股本*100,0);
凍結(jié)比:=IF(凍結(jié)股=20,(REF(流通股,1)-流通股)/總股本*100,0);

DRAWTEXT(解禁股=20,L*0.98,'解'),COLORRED;
DRAWNUMBER(解禁股=20,L*0.97,ROUND(解禁比)),COLORRED;
DRAWTEXT(轉(zhuǎn)送股=20,L*0.98,'轉(zhuǎn)'),COLORRED;
DRAWNUMBER(轉(zhuǎn)送股=20,L*0.97,ROUND(轉(zhuǎn)送比)),COLORRED;
DRAWTEXT(凍結(jié)股=20,L*0.98,'凍'),COLORRED;
DRAWNUMBER(凍結(jié)股=20,L*0.97,ROUND(凍結(jié)比)),COLORRED;
每股凈資產(chǎn):=FINANCE(34);
每股未分配利潤(rùn):=FINACE(32);
DRAWTEXT_FIX(1=1,0.1,0,0,'每股凈資產(chǎn)'),COLOWHITE;
DRAWNUMBER_FIX(1=1,0.2,0,0,每股凈資產(chǎn)),COLORWHITE;
DRAWTEXT_FIX(1=1,0.1,0,0,'每股未分配利潤(rùn)'),COLORYELLOW;
DRAWNUMBER_FIX(1=1,0.2,0,0,每股未分配利潤(rùn)),COLORYELLOW;

EMA(C,360);
EMA(C,180);

7:均量線副圖指標(biāo),關(guān)注量能的人可以參考

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
V1:IF((CURRBARSCOUNT=1),DRAWNULL,VOL),COLORWHITE;
V5:MA(VOL,5),COLORYELLOW;
V35:MA(VOL,35),COLORMAGENTA;
V135:MA(VOL,135),COLORGREEN;

8:換手率副圖指標(biāo),很漂亮,以顏色柱反映了交易的活躍程度。

換手:VOL/CAPITAL*100, POINTDOT COLORMAGENTA;

HS:=V/CAPITAL*100;

STICKLINE(HS<5,0,HS,2,0),COLORGREEN;
STICKLINE(HS>=5 AND HS <10,0,HS,2,0),COLORYELLOW;
STICKLINE(HS>=10,0 AND HS < 15,HS,2,0),COLORFF00FF;
STICKLINE(HS>=15.0,0,HS,2,0),COLORRED;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
換手參與線:(5/240)*TOTAL, COLORYELLOW;

9: 百日地量線選股公式
N:=3; {時(shí)間設(shè)定}
M4:=60;
VL:=VOL;
VL60:=MA(VOL,M4);
V1:=MIN(REF(VOL,1),REF(VOL,2));
V2:=MIN(REF(VOL,3),REF(VOL,4));
V3:=MIN(REF(VOL,5),REF(VOL,6));
V4:=MIN(REF(VOL,7),REF(VOL,8));
V5:=MIN(REF(VOL,9),REF(VOL,10));
V6:=MIN(REF(VOL,11),REF(VOL,12));
V7:=MIN(REF(VOL,13),REF(VOL,14));
V8:=MIN(REF(VOL,15),REF(VOL,16));
W1:=MIN(MIN(V1,V2),MIN(V3,V4));
W2:=MIN(MIN(V5,V6),MIN(V7,V8));
ZM1:=MIN(W1,W2); {芝麻量}
ZT:=CLOSE>REF(CLOSE,1)*1.093 AND L<C; {今日漲停}
czzml:=EXIST(VL<ZM1,N); {指定時(shí)間內(nèi)存在芝麻量}
lg60:=VL>VL60;    {今日量過VL60}
去停牌:=DYNAINFO(17)>0;
XG:ZT AND czzml AND lg60 AND 去停牌 ;

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    中文久久乱码一区二区| 国产成人亚洲综合色就色| 三级高清有码在线观看| 欧美做爰猛烈叫床大尺度| 小草少妇视频免费看视频| 色综合久久中文综合网| 国产一区一一一区麻豆| 中文字幕人妻一区二区免费| 在线亚洲成人中文字幕高清| 日本女优一区二区三区免费| 亚洲欧美日本国产有色| 粉嫩内射av一区二区| 91在线播放在线播放观看| 年轻女房东2中文字幕| 超碰在线播放国产精品| 91亚洲国产—区=区a| 国产熟女一区二区精品视频| 国产av精品高清一区二区三区| 国产精品视频第一第二区| 国产又大又硬又粗又湿| 亚洲欧美视频欧美视频| 91欧美日韩精品在线| 亚洲国产精品国自产拍社区| 在线欧洲免费无线码二区免费| 国产又色又爽又黄又大| 开心激情网 激情五月天| 亚洲欧美中文日韩综合| 日本在线不卡高清欧美| 国产精品丝袜美腿一区二区| 在线九月婷婷丁香伊人| 亚洲中文字幕免费人妻| 久久精品亚洲精品一区| 国产精品一区二区传媒蜜臀| 91蜜臀精品一区二区三区| 五月婷日韩中文字幕四虎| 国产欧美日韩一级小黄片| 亚洲精品成人午夜久久| 日韩在线精品视频观看| 欧美同性视频免费观看| 亚洲专区中文字幕在线| 在线中文字幕亚洲欧美一区|