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

分享

分享一個(gè)選股指標(biāo)(源碼):“纏論123戰(zhàn)法”

 奧迪A60eph4izt 2017-04-26
研究指標(biāo)之前,先要明白何謂技術(shù)指標(biāo),指標(biāo)應(yīng)該怎樣使用,建議先看我寫(xiě)的《「討論」應(yīng)該用怎樣的態(tài)度對(duì)待炒股中技術(shù)指標(biāo)的應(yīng)用》一文,有深刻理解后再用不遲!

分享一個(gè)選股指標(biāo)(源碼):“纏論123戰(zhàn)法”

分享一個(gè)選股指標(biāo)(源碼):“纏論123戰(zhàn)法”

分享一個(gè)選股指標(biāo)(源碼):“纏論123戰(zhàn)法”

公式內(nèi)容:

{智能版:="核心指標(biāo).VAR100#DAY";}

智能版:="指標(biāo).核心#DAY";

MA1:MA(CLOSE,M1),COLORWHITE;

MA2:MA(CLOSE,M2),COLORYELLOW;

MA3:MA(CLOSE,M3),COLORMAGENTA;

MA4:MA(CLOSE,M4),COLORCYAN;

{成本:((COST(90)+COST(70)+COST(50)+COST(30)+COST(10))/5)*成本線,LINETHICK2,COLORWHITE;}

成本:=((COST(90)+COST(70)+COST(50)+COST(30)+COST(10))/5)*成本線;

IF(成本>0,成本,DRAWNULL),LINETHICK2,COLORWHITE;

{陽(yáng)線上下影}

STICKLINE(CLOSE*成本線>=OPEN,CLOSE,HIGH,0,0), COLORRED;

STICKLINE(CLOSE*成本線>=OPEN,OPEN,LOW,0,0), COLORRED;

{陰線上下影}

STICKLINE(CLOSE<OPEN*成本線,OPEN,HIGH,0,0), COLOR00EC00;

STICKLINE(CLOSE<OPEN*成本線,CLOSE,LOW,0,0), COLOR00EC00;

{陽(yáng)K線}

STICKLINE(CLOSE*成本線>=OPEN,CLOSE,OPEN,2.9.2,0),COLOR0000A1;

STICKLINE(CLOSE*成本線>=OPEN,CLOSE,OPEN,1.9.2,0),COLOR0000B5;

STICKLINE(CLOSE*成本線>=OPEN,CLOSE,OPEN,0.9.8,0),COLOR0000C5;

STICKLINE(CLOSE*成本線>=OPEN,CLOSE,OPEN,0.4,0),COLOR0000D4;

STICKLINE(CLOSE*成本線>=OPEN,CLOSE,OPEN,0.2,0),COLOR0000FF;

{陰K線}

STICKLINE(CLOSE<OPEN*成本線,CLOSE,OPEN,2.9.2,0),COLOR009000;

STICKLINE(CLOSE<OPEN*成本線,CLOSE,OPEN,1.9.2,0),COLOR00B400;

STICKLINE(CLOSE<OPEN*成本線,CLOSE,OPEN,0.9.8,0),COLOR00C100;

STICKLINE(CLOSE<OPEN*成本線,CLOSE,OPEN,0.4,0),COLOR00DB00;

STICKLINE(CLOSE<OPEN*成本線,CLOSE,OPEN,0.2,0),COLOR00EC00;

日線:=IF(PERIOD=5,1,0);

CA3:=REF(C,1)*日線;

漲停:=IF((C-CA3)*100/CA3>=(10-0.01*100/CA3),1,0);

STICKLINE(漲停,OPEN,CLOSE,2.9.1,1),COLORYELLOW;

跌停:=IF((CA3-C)*100/CA3>=(10-0.01*100/CA3),1,0);

STICKLINE(跌停,OPEN,CLOSE,2.9.1,0),COLORCYAN;

A1:=REF(HIGH,3)=HHV(HIGH,筆周期*3+1)*智能版;

B1:=FILTER(A1,3); C1:=BACKSET(B1,3+1);

D1:=FILTER(C1,3);{高點(diǎn)}

A2:=REF(LOW,3)=LLV(LOW,筆周期*3+1)*智能版;

B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1);

D2:=FILTER(C2,3);{低點(diǎn)}

E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

E2:=(HIGH+LOW)/2;{高低點(diǎn)出現(xiàn)在同一K線上時(shí)可作取舍}

H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;

H2:=D1 AND NOT(D2 AND E1>=E2);

L1:=D2 AND NOT(D1 AND E1=E2);

X1:=REF(BARSLAST(H1),1)+1;

F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1);

I1:=BACKSET(G1,2);

LD:=I1>REF(I1,1);{過(guò)濾后低點(diǎn)}

L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1;

F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1);

I2:=BACKSET(G2,2);

HD:=I2>REF(I2,1);{過(guò)濾后高點(diǎn)}

DRAWLINE(LD,L,HD,H,0),COLORYELLOW,LINETHICK1;

DRAWLINE(HD,H,LD,L,0),COLORYELLOW,LINETHICK1;

J1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HD),BARSLAST(LD))+1);

J2:=J1>REF(J1,1);

A3:=H;

B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARSLAST(HD),REF(BARSLAST(HD),1)+2));

D3:=A3 AND B3 AND HD;

E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2);

HH:=E3>REF(E3,1);{找出全部長(zhǎng)期高點(diǎn)}

A4:=L>REF(L,REF(BARSLAST(LD),1)+1);

B4:=REF(L,REF(BARSLAST(LD),1)+1);

D4:=A4 AND B4 AND LD;

E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2);

LL:=E4>REF(E4,1);{找出全部長(zhǎng)期低點(diǎn)}

H3:=HH OR BARSTATUS=2 OR BARSCOUNT(C)=1; {后面進(jìn)行過(guò)濾,方法同前。只是不用考慮高低點(diǎn)出現(xiàn)在同一K線}

X3:=REF(BARSLAST(H3),1)+1;

F3:=BACKSET(H3 AND COUNT(LL,X3)>0,LLVBARS(IF(LL,L,POW(10,20)),X3));

G3:=F3>REF(F3,1); I3:=BACKSET(G3,2);

LZ:=I3>REF(I3,1); {長(zhǎng)期低點(diǎn),也可供引用}

L4:=LZ OR BARSTATUS=2 OR BARSCOUNT(C)=1;

X4:=REF(BARSLAST(L4),1)+1;

F4:=BACKSET(L4 AND COUNT(HH,X4)>0,HHVBARS(IF(HH,H,-POW(10,20)),X4));

G4:=F4>REF(F4,1); I4:=BACKSET(G4,2); HZ:=I4>REF(I4,1);{長(zhǎng)期高點(diǎn),也可供引用}

{DRAWLINE(HZ,H,LZ,L,0),COLORGREEN,LINETHICK1;

DRAWLINE(LZ,L,HZ,H,0),COLORGREEN,LINETHICK1;長(zhǎng)期連線}

K1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); K2:=K1>REF(K1,1);

{DRAWLINE(K2,IF(HZ,H,L),BARSTATUS=2,C,0),COLORGREEN,LINETHICK1; 最后的長(zhǎng)期連線,連在收盤(pán)價(jià)上}

UU:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);

VV:=UU>REF(UU,1);

WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);

XX:=WW>REF(WW,1);

WWQ:=BACKSET(XX,REF(BARSLAST(LD),1)+2);

XXQ:=WWQ>REF(WWQ,1);

下軌:=DRAWLINE(XX,L,VV,L,1)*畫(huà)趨勢(shì),COLORMAGENTA,LINETHICK1;{畫(huà)趨勢(shì)線}

UU2:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

WW3Q:=BACKSET(XX2,REF(BARSLAST(HD),1)+2);

XX3Q:=WW3Q>REF(WW3Q,1);

WW4Q:=BACKSET(XX3Q,REF(BARSLAST(HD),1)+2);

XX4Q:=WW4Q>REF(WW4Q,1);

上軌:=DRAWLINE(XX2,H,VV2,H,1)*畫(huà)趨勢(shì),COLORMAGENTA,LINETHICK1;{畫(huà)趨勢(shì)線}

上軌1:=DRAWLINE(XX2,H,VV2,H,1);

Q0:=BARSLAST(XX2>0);

Q1:=BARSLAST(XX>0);

Q2:=BARSLAST(WW2>0);

Q3:=BARSLAST(VV>0);

Q4:=BARSLAST(XXQ>0);

Q5:=BARSLAST(XX3Q>0);

Q6:=BARSLAST(XX4Q>0);

OA周:=Q0-Q1+1;AB周:=Q1-Q2+1;BC周:=Q2-Q3+1;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.10,0.01,1,STRCAT('◆A: ',STRCAT(CON2STR(OA周,0),'周')))COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.10,0.08,1,STRCAT(' A―B: ',STRCAT(CON2STR(AB周,0),'周')))COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.10,0.16,1,STRCAT(' B―C: ',STRCAT(CON2STR(BC周,0),'周')))COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.10,0.24,1,STRCAT('C---: ',STRCAT(CON2STR(Q3,0),'周')))COLORYELLOW;

{123周期}

Z01:=Q1-Q0+1;Z12:=Q0-Q3+1;Z23:=Q3-Q2+1;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.10,0.01,1,STRCAT('◎―1: ',STRCAT(CON2STR(Z01,0),'周')))COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.10,0.08,1,STRCAT('1―2: ',STRCAT(CON2STR(Z12,0),'周')))COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.10,0.16,1,STRCAT('2―3: ',STRCAT(CON2STR(Z23,0),'周')))COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.10,0.24,1,STRCAT('3--- : ',STRCAT(CON2STR(Q2,0),'周')))COLORYELLOW;

低一:REF(L,BARSLAST(VV)),DOTLINE,COLOR99FF66;

高一:REF(H,BARSLAST(VV2)),DOTLINE,COLOR99FF66;

低二:REF(L,BARSLAST(XX)),DOTLINE,COLORFF66FF;

高二:REF(H,BARSLAST(XX2)),DOTLINE,COLORFF66FF;

ABC:=IF(Q5>Q4,REF(L,BARSLAST(XXQ)),0),DOTLINE,COLORCYAN;

①②③:=IF(Q5<Q4,REF(H,BARSLAST(XX3Q)),0),DOTLINE,COLORCYAN;

{ABC漲跌}

OA幅:=(低二-高二)/低二*100;AB幅:=(高一-低二)/低二*100;BC幅:=(低一-高一)/高一*100;AO幅:=(C-低一)/C*100;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.14,0.01,0,STRCAT('跌',STRCAT(CON2STR(OA幅,0),'%')))COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.14,0.08,0,STRCAT('漲',STRCAT(CON2STR(AB幅,0),'%')))COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.14,0.16,0,STRCAT('跌',STRCAT(CON2STR(BC幅,0),'%')))COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)>Q4,0.14,0.24,0,STRCAT('漲',STRCAT(CON2STR(AO幅,0),'%')))COLORYELLOW;

{123漲跌}

D01:=(高二-低二)/低二*100;D12:=(低一-高二)/低一*100;D23:=(高一-低一)/低一*100;D30:=(C-高一)/C*100;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.14,0.01,0,STRCAT('漲',STRCAT(CON2STR(D01,0),'%')))COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.14,0.08,0,STRCAT('跌',STRCAT(CON2STR(D12,0),'%')))COLOR00FF00;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.14,0.16,0,STRCAT('漲',STRCAT(CON2STR(D23,0),'%')))COLORRED;

DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(Q5)<Q4,0.14,0.24,0,STRCAT('跌',STRCAT(CON2STR(D30,0),'%')))COLORYELLOW;

筆:DRAWLINE(J2,IF(HD,H,L),BARSTATUS=2,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),DOTLINE,COLORYELLOW,LINETHICK1;

{近半分位:高一-(高一-低一)*(0.01*半分位),COLOR99FF66;}

近半分位:低一-(低一-高一)*(0.01*半分位),COLOR99FF66;

STICKLINE(VV,高一,低一,0,1),COLOR99FF66;

STICKLINE(VV2 ,高一,低一,0,0),COLOR99FF66;

DRAWTEXT( VV=1 AND Q0>Q1,L,'C')COLORMAGENTA;

DRAWTEXT(VV2=1 AND Q0>Q1,H,'B')COLORMAGENTA;

DRAWTEXT( XX=1 AND Q0>Q1,L,'A')COLORMAGENTA;

DRAWTEXT(XX2=1 AND Q5>Q4 ,H,'◆')COLORMAGENTA;

DRAWTEXT(XXQ=1 AND Q5>Q4 ,L,'★')COLORMAGENTA;

DRAWTEXT( VV=1 AND Q0<Q1,L,'②')COLORMAGENTA;

DRAWTEXT(VV2=1 AND Q0<Q1,H,'③')COLORMAGENTA;

DRAWTEXT(XX2=1 AND Q0<Q1,H,'①')COLORMAGENTA;

DRAWTEXT(XX=1 AND Q5<Q4,L,'◎')COLORMAGENTA;

DRAWTEXT(XX3Q=1 AND Q5<Q4,H,'☆')COLORMAGENTA;

V00:= HIGH<REF(HIGH,1) AND LOW<REF(LOW,1);

V01:= HIGH<REF(HIGH,1) AND LOW>REF(LOW,1);

V02:= HIGH>REF(HIGH,1) AND LOW<REF(LOW,1);

V03:= HIGH>REF(HIGH,1) AND LOW>REF(LOW,1);

V04:= REF(HIGH,2) < HIGH AND REF(LOW,2) < LOW AND REF(HIGH,2) > REF(HIGH,1) AND REF(LOW,2) < REF(LOW,1);

V1:= COUNT(V00,3)>=1 AND LLVBARS(LOW,3) = 1 AND V03;

V2:= COUNT(V00,4)>=1 AND LLVBARS(LOW,4) = 2 AND V04;

V3:= COUNT(V00,4)>=1 AND COUNT(V01 OR V02,4)=1 AND LLVBARS(LOW,4) = 1 AND V03;

V4:= COUNT(V00,5)>=1 AND COUNT(V01 OR V02,5)=2 AND LLVBARS(LOW,5) = 2 AND V04;

XG1:= V1 OR V2 OR V3 OR V4;

XG2:= C > REF(HIGH,1);

XG:=XG1 AND XG2;

一陽(yáng)定勢(shì):=CROSS(C,高一) AND CROSS(C,高二) AND CROSS(C,①②③),COLORYELLOW,NODRAW;

STICKLINE(一陽(yáng)定勢(shì),OPEN,CLOSE,2.8,1),COLORMAGENTA;

DRAWTEXT(一陽(yáng)定勢(shì)=1,L,'一陽(yáng)定勢(shì)'),COLORYELLOW;

收斂:=ABC>0 AND ABC<低二 AND 低二<低一 AND 高二>高一 AND CROSS(C,上軌1);

STICKLINE(收斂,OPEN,CLOSE,2.8,1),COLORMAGENTA;

DRAWTEXT(收斂=1,L,'收斂'),COLORYELLOW;

強(qiáng)勢(shì):=ABC>0 AND ABC<低二 AND 低二<低一 AND 高二<高一 AND CROSS(C,高一);

STICKLINE(強(qiáng)勢(shì),OPEN,CLOSE,2.8,1),COLORMAGENTA;

DRAWTEXT(強(qiáng)勢(shì)=1,L,'強(qiáng)勢(shì)'),COLORYELLOW;

三買(mǎi):=(低一>高二 AND 近半分位>低一 AND XG>0 AND C>O),COLORYELLOW,NODRAW;

STICKLINE(三買(mǎi),OPEN,CLOSE,2.8,1),COLORMAGENTA;

DRAWTEXT(三買(mǎi)=1,L,'三買(mǎi)'),COLORYELLOW;

{漲停向右畫(huà)線}

漲停線:=REF(L+(H-L)*(0.01*漲停位),BARSLAST(CONST(BARSLAST(IF(CURRBARSCOUNT<=390*日線,漲停,0)))+1=CURRBARSCOUNT)),DOTLINE,COLORYELLOW;

漲停幅:=(L-漲停線)/漲停線*100,NODRAW;

{C>REF(C,1)*1.097,0}

{◎ ①②③④⑤⑥⑦⑧⑨⑩ Α★☆? A●◎ABCDEFGHIJKLMN};

注意:所有我發(fā)出來(lái)的公式都是經(jīng)本人測(cè)試通過(guò)的,僅限通達(dá)信,其他股軟沒(méi)時(shí)間挨個(gè)測(cè)試,不要再回復(fù)說(shuō)測(cè)試無(wú)法通過(guò),請(qǐng)找自己的原因!復(fù)制公式后請(qǐng)檢查公式內(nèi)容中的標(biāo)點(diǎn)符號(hào)是否是英文標(biāo)點(diǎn),因?yàn)橹形臉?biāo)點(diǎn)測(cè)試不通過(guò)。

本指標(biāo)非我原創(chuàng),纏論我沒(méi)研究過(guò),不懂,分享給有需要的朋友。友情提示:仍需自己做判斷,不能只看這一個(gè)指標(biāo)就可以判斷波段高低點(diǎn)了,指標(biāo)只是起到輔助提示作用,不要過(guò)分依賴!

分享一個(gè)選股指標(biāo)(源碼):“纏論123戰(zhàn)法”

-----------------------------------------------------

如果我的文章對(duì)股友的有所幫助,請(qǐng)給予打賞,不論多少,心意我都能GET到;或者動(dòng)動(dòng)小手轉(zhuǎn)發(fā)文章和點(diǎn)擊文章下方的頭條廣告圖片,也是對(duì)我的支持!謝謝!

擁有頭條號(hào)ID的朋友,歡迎搜索“翼飛論道”在文章的結(jié)尾點(diǎn)擊“訂閱”本欄目,每日觀看視頻版收評(píng);頭條號(hào)不讓發(fā)的更多內(nèi)容可搜索我的微信訂閱號(hào),歡迎多多轉(zhuǎn)發(fā),推薦給更多的朋友。

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買(mǎi)等信息,謹(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| 大香蕉网国产在线观看av| 黄色日韩欧美在线观看| 亚洲中文字幕熟女丝袜久久| 欧美激情区一区二区三区| 99少妇偷拍视频在线| 国产一级内射麻豆91| 久久精品免费视看国产成人| 91福利视频日本免费看看| 丰满人妻一二三区av| 九九蜜桃视频香蕉视频| 国产盗摄精品一区二区视频| 白丝美女被插入视频在线观看| 日本一品道在线免费观看| 欧美一区二区三区播放| 91熟女大屁股偷偷对白| 日本加勒比在线观看一区| 国产精品伦一区二区三区在线| 亚洲熟女诱惑一区二区| 偷拍洗澡一区二区三区| 午夜久久久精品国产精品| 中文字幕欧美精品人妻一区| 欧美日韩高清不卡在线播放| 男女激情视频在线免费观看| 国产精品一区二区视频成人| 果冻传媒精选麻豆白晶晶| 国产肥女老熟女激情视频一区| 亚洲国产精品久久网午夜| 国产又粗又长又大高潮视频| 在线观看中文字幕91| 国产福利一区二区久久| 少妇在线一区二区三区| 国产精品一区二区成人在线| 欧美成人免费夜夜黄啪啪 | 日韩精品一区二区三区四区| 福利一区二区视频在线|