如何判斷一個(gè)指標(biāo)是否是好指標(biāo)?指標(biāo)的意義在于提示主力的異動(dòng)。那么怎么才有利于我們更快更容易把握住主力脈搏呢?我們應(yīng)該力求指標(biāo)及時(shí)的、準(zhǔn)確的、明確的、簡潔的、直觀的將主力的異動(dòng)匯報(bào)給我們。 及時(shí)、準(zhǔn)確是指標(biāo)的生命線,不準(zhǔn)確或不及時(shí)的信號(hào)都會(huì)貽誤戰(zhàn)機(jī),這是指標(biāo)的內(nèi)在要求。但是指標(biāo)作為一種圖形化的信息,達(dá)到人的大腦需要經(jīng)過視覺系統(tǒng)的轉(zhuǎn)化,為了更快捷的進(jìn)行信息轉(zhuǎn)化,勢(shì)必要求指標(biāo)所呈現(xiàn)的圖形簡明扼要,能讓人直觀的把握要領(lǐng),否則,讓人看得暈頭轉(zhuǎn)向,同樣會(huì)降低決策效率和反應(yīng)速度。因此,這是指標(biāo)的外在要求。 綜合上述,好的指標(biāo)應(yīng)該是及時(shí)、準(zhǔn)確、簡明、直觀的。這是我們判斷指標(biāo)好壞的終極標(biāo)準(zhǔn)!我見過很多指標(biāo),要么失之過簡(簡單的簡),要么失之過繁 ,一個(gè)沒有深度,一個(gè)眼花繚亂,都不能很好的為操盤服務(wù)。我個(gè)人覺得,公式的編寫應(yīng)盡量將繁雜的信息簡化,這種簡化主要體現(xiàn)在優(yōu)化畫面和整合買賣信號(hào)上,即使是復(fù)合式的指標(biāo)公式,也盡量以簡明的色帶、圖標(biāo)呈現(xiàn)出來,盡量減少不必要的雜亂的線條,雖然信息量較大,但是依然清爽。以上就是我作為一個(gè)基本面為前提下的技術(shù)分析派的一點(diǎn)心得,希望能引起同道的共鳴。 瘋牛預(yù)測(cè)模型主圖機(jī)構(gòu)控盤副圖通達(dá)信套裝指標(biāo) 瘋牛預(yù)測(cè)模型主圖,在股票和技術(shù)分析領(lǐng)域,可能指的是一種用于預(yù)測(cè)和判斷市場(chǎng)趨勢(shì)的技術(shù)指標(biāo)。以下是對(duì)其的深度分析: 一、定義與功能瘋牛預(yù)測(cè)模型主圖是一種重要的技術(shù)分析工具,它結(jié)合了多種技術(shù)指標(biāo)和算法,用于預(yù)測(cè)和判斷市場(chǎng)趨勢(shì)。該指標(biāo)通過特定的算法和數(shù)學(xué)模型,對(duì)市場(chǎng)價(jià)格波動(dòng)進(jìn)行深度解析,為投資者提供有價(jià)值的參考信息。其主要功能包括趨勢(shì)分析、交易信號(hào)生成以及風(fēng)險(xiǎn)控制等。 二、應(yīng)用原理瘋牛預(yù)測(cè)模型主圖的應(yīng)用原理主要基于市場(chǎng)價(jià)格的動(dòng)態(tài)變化。它通過對(duì)價(jià)格數(shù)據(jù)的綜合處理和分析,提取出有效的市場(chǎng)信號(hào)。該指標(biāo)通常設(shè)定一個(gè)特定的閾值,將價(jià)格數(shù)據(jù)與這個(gè)閾值進(jìn)行比較,從而判斷市場(chǎng)的走勢(shì)。當(dāng)指標(biāo)向上穿越閾值時(shí),意味著市場(chǎng)處于上漲趨勢(shì);當(dāng)指標(biāo)向下穿越閾值時(shí),則表示市場(chǎng)處于下跌趨勢(shì)。 三、計(jì)算方法與參數(shù)瘋牛預(yù)測(cè)模型主圖的計(jì)算涉及多個(gè)參數(shù)和復(fù)雜的算法。這些參數(shù)可能包括時(shí)間周期、價(jià)格數(shù)據(jù)、以及其他影響市場(chǎng)趨勢(shì)的因素。具體的計(jì)算方法可能因不同的軟件或平臺(tái)而有所差異。在實(shí)際應(yīng)用中,投資者需要根據(jù)自己的需求和偏好,選擇合適的參數(shù)和算法進(jìn)行計(jì)算。 四、實(shí)際應(yīng)用在實(shí)際應(yīng)用中,投資者可以根據(jù)瘋牛預(yù)測(cè)模型主圖的信號(hào)來判斷市場(chǎng)的走勢(shì),并結(jié)合其他技術(shù)指標(biāo)和基本面信息做出更準(zhǔn)確的決策。例如,當(dāng)指標(biāo)顯示市場(chǎng)處于上漲趨勢(shì)時(shí),投資者可以考慮買入;當(dāng)指標(biāo)顯示市場(chǎng)處于下跌趨勢(shì)時(shí),投資者可以考慮賣出。此外,投資者還可以利用該指標(biāo)進(jìn)行風(fēng)險(xiǎn)管理,通過觀察指標(biāo)的震蕩程度和變化速度,判斷股票的風(fēng)險(xiǎn)水平,并做出相應(yīng)的調(diào)整。 五、優(yōu)勢(shì)與局限性瘋牛預(yù)測(cè)模型主圖的優(yōu)勢(shì)在于其能夠提前預(yù)測(cè)市場(chǎng)趨勢(shì),幫助投資者把握市場(chǎng)機(jī)會(huì)。然而,該指標(biāo)也存在一定的局限性。首先,由于市場(chǎng)受到多種因素的影響,單一的技術(shù)指標(biāo)可能無法完全準(zhǔn)確地預(yù)測(cè)市場(chǎng)走勢(shì)。其次,該指標(biāo)的計(jì)算涉及多個(gè)參數(shù)和復(fù)雜的算法,需要投資者具備一定的專業(yè)知識(shí)和經(jīng)驗(yàn)才能正確理解和應(yīng)用。 六、結(jié)論與建議綜上所述,瘋牛預(yù)測(cè)模型主圖是一種重要的技術(shù)分析工具,具有廣泛的應(yīng)用前景。然而,投資者在應(yīng)用該指標(biāo)時(shí)需要注意其局限性和風(fēng)險(xiǎn)性。建議投資者在結(jié)合其他技術(shù)指標(biāo)和基本面信息的基礎(chǔ)上進(jìn)行綜合分析和判斷,以提高交易決策的準(zhǔn)確性。同時(shí),投資者還需要不斷學(xué)習(xí)和實(shí)踐,提高自己的專業(yè)知識(shí)和經(jīng)驗(yàn)水平。 七.指標(biāo)截圖 主圖源碼 N:=3;{邏輯周期參數(shù)調(diào)整為3} A1:=REF(HIGH,N)=HHV(HIGH,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); D1:=FILTER(C1,N); A2:=REF(LOW,N)=LLV(LOW,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); D2:=FILTER(C2,N); E1:=(REF(LLV(LOW,2*N),1)+REF(HHV(HIGH,2*N),1))/2; E2:=(HIGH+LOW)/2; H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1; L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=(D1 AND NOT(D2 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);{HTTPS://T.1YB.CO/L3RI} I1:=BACKSET(G1,2); LD:=I1>REF(I1,1); L2:=LD OR ISLASTBAR 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); J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1); J2:=J1>REF(J1,1); A3:=H<REF(H,REF(BARSLAST(HD),1)+1); 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); A4:=L>REF(L,REF(BARSLAST(LD),1)+1); B4:=REF(L,REF(BARSLAST(LD),1)+1)<REF(L,REF(BARSLAST(LD),1)+2+REF(BARSLAST(LD),REF(BARSLAST(LD),1)+2)); D4:=A4 AND B4 AND LD; E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2); LL:=E4>REF(E4,1); H3:=HH OR ISLASTBAR OR BARSCOUNT(C)=1; 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); {HTTPS://T.1YB.CO/L3RI} I3:=BACKSET(G3,2); LZ:=I3>REF(I3,1); L4:=LZ OR ISLASTBAR 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); K1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HZ),BARSLAST(LZ))+1); K2:=K1>REF(K1,1); UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1); VV:=UU>REF(UU,1); WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2); XX:=WW>REF(WW,1); UU2:=BACKSET(ISLASTBAR,BARSLAST(HD)+1); VV2:=UU2>REF(UU2,1); WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2); XX2:=WW2>REF(WW2,1); YY:=BACKSET(XX,REF(BARSLAST(LD),1)+2); ZZ:=YY>REF(YY,1);{前三低天數(shù)} YY2:=BACKSET(XX2,REF(BARSLAST(HD),1)+2); ZZ2:=YY2>REF(YY2,1);{前三高天數(shù)} 前一低:=REF(L,BARSLAST(VV)); 前二低:=REF(L,BARSLAST(XX)); 前一高:=REF(H,BARSLAST(VV2)); 前二高:=REF(H,BARSLAST(XX2)); 前三低:=REF(L,BARSLAST(ZZ)); 前三高:=REF(H,BARSLAST(ZZ2)); DQD1:CONST(BARSLAST(VV)),NODRAW; DQD2:=CONST(BARSLAST(XX)); DQH1:CONST(BARSLAST(VV2)),NODRAW; DQH2:=CONST(BARSLAST(XX2)); DQH3:=CONST(BARSLAST(ZZ2)); DQD3:=CONST(BARSLAST(ZZ2)); HQD1:=REF(L,BARSLAST(VV)); HQD2:=REF(L,BARSLAST(XX)); HQH1:=REF(H,BARSLAST(VV2)); HQH2:=REF(H,BARSLAST(XX2)); HQH3:=REF(H,BARSLAST(ZZ2)); HQD3:=REF(L,BARSLAST(ZZ)); {-----通用模塊-纏論筆畫連線---} XAA1:DRAWLINE(CURRBARSCOUNT=(IF(DQH1>DQD1,CONST(BARSLAST(XX2)+1),CONST(BARSLAST(XX))+1)),(IF(DQH1>DQD1,前二高,前二低)),CURRBARSCOUNT=IF(DQH1>DQD1,CONST(BARSLAST(XX))+1,CONST(BARSLAST(XX2))+1),(IF(DQH1>DQD1,前二低,前二高)),0),COLORRED,LINETHICK1;{前一高一低連線} XAA2:DRAWLINE(CURRBARSCOUNT=(IF(DQH1>DQD1,CONST(BARSLAST(XX)+1),CONST(BARSLAST(XX2))+1)),(IF(DQH1>DQD1,前二低,前二高)),CURRBARSCOUNT=IF(DQH1>DQD1,CONST(BARSLAST(VV2))+1,CONST(BARSLAST(VV))+1),(IF(DQH1>DQD1,前一高,前一低)),0),COLORRED,LINETHICK1;{前一高一低連線} XAA3:DRAWLINE(CURRBARSCOUNT=(IF(DQH1>DQD1,CONST(BARSLAST(VV2)+1),CONST(BARSLAST(VV))+1)),(IF(DQH1>DQD1,前一高,前一低)),CURRBARSCOUNT=IF(DQH1>DQD1,CONST(BARSLAST(VV))+1,CONST(BARSLAST(VV2))+1),(IF(DQH1>DQD1,前一低,前一高)),1),DOTLINE,COLORRED;{前一高一低連線} XAA4:DRAWLINE(CURRBARSCOUNT=(IF(DQH1>DQD1,CONST(BARSLAST(VV2)+1),CONST(BARSLAST(VV))+1)),(IF(DQH1>DQD1,前一高,前一低)),CURRBARSCOUNT=IF(DQH1>DQD1,CONST(BARSLAST(VV))+1,CONST(BARSLAST(VV2))+1),(IF(DQH1>DQD1,前一低,前一高)),0),COLORRED,LINETHICK3;{前一高一低連線} {********最后一筆邏輯判斷提示****開始*****} DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1,0.02,0.01,0,STRCAT('【最后一筆主形態(tài)】','【**下跌**】')),COLORMAGENTA; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1,0.02,0.01,0,STRCAT('【最后一筆主形態(tài)】','【**上升**】')),COLORMAGENTA; {********最后一筆邏輯判斷提示****結(jié)束*****}{HTTPS://T.1YB.CO/L3RI} {********最后形態(tài)識(shí)別提示***開始******} {---下跌反彈測(cè)賣箱體模型形態(tài)識(shí)別-操盤策略-預(yù)測(cè)模型---} DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND BETWEEN(C,CONST(HQH1),CONST(HQD1)),0.02,0.08,0,STRCAT('【形態(tài)識(shí)別】:【收盤價(jià)未突破箱體】',' ')),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND BETWEEN(C,CONST(HQH1),CONST(HQD1)),0.02,0.15,0,STRCAT('【操盤策略】:【短線看跌】',' ')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND BETWEEN(C,CONST(HQH1),CONST(HQD1)),0.02,0.22,0,STRCAT('【適用模型】:','【下跌反彈測(cè)賣點(diǎn)】')),COLORRED; {---下跌反轉(zhuǎn)突破測(cè)賣箱體模型形態(tài)識(shí)別-操盤策略-預(yù)測(cè)模型---} DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND C>CONST(HQH1),0.02,0.08,0,STRCAT('【形態(tài)識(shí)別】:【收盤價(jià)破前高點(diǎn)】',' ')),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND C>CONST(HQH1),0.02,0.15,0,STRCAT('【操盤策略】:【短線看漲】',' ')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND C>CONST(HQH1),0.02,0.22,0,STRCAT('【預(yù)測(cè)模型】:','【下跌轉(zhuǎn)漲測(cè)賣點(diǎn)】')),COLORRED; {---下跌跌破箱底測(cè)買箱體模型形態(tài)識(shí)別-操盤策略-預(yù)測(cè)模型---} DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND C<CONST(HQD1),0.02,0.08,0,STRCAT('【形態(tài)識(shí)別】:【收盤價(jià)破前低點(diǎn)】',' ')),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND C<CONST(HQD1),0.02,0.15,0,STRCAT('【操盤策略】:【短線看跌】',' ')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND DQH1>DQD1 AND C<CONST(HQD1),0.02,0.22,0,STRCAT('【預(yù)測(cè)模型】:','【下跌尋底測(cè)買點(diǎn)】')),COLORRED; {---上升回調(diào)測(cè)買箱體模型形態(tài)識(shí)別-操盤策略-預(yù)測(cè)模型---} DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND BETWEEN(C,CONST(HQH1),CONST(HQD1)),0.02,0.08,0,STRCAT('【形態(tài)識(shí)別】:【收盤價(jià)未破高低點(diǎn)】',' ')),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND BETWEEN(C,CONST(HQH1),CONST(HQD1)),0.02,0.15,0,STRCAT('【操盤策略】:【短線看跌】',' ')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND BETWEEN(C,CONST(HQH1),CONST(HQD1)),0.02,0.22,0,STRCAT('【預(yù)測(cè)模型】:','【上升回調(diào)測(cè)買點(diǎn)】')),COLORRED; {---上升突破測(cè)賣箱體模型形態(tài)識(shí)別-操盤策略-預(yù)測(cè)模型---} DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND C>CONST(HQH1),0.02,0.08,0,STRCAT('【形態(tài)識(shí)別】:【收盤價(jià)突破前高點(diǎn)】',' ')),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND C>CONST(HQH1),0.02,0.15,0,STRCAT('【操盤策略】:【短線看漲】',' ')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND C>CONST(HQH1),0.02,0.22,0,STRCAT('【預(yù)測(cè)模型】:','【突破上漲測(cè)賣點(diǎn)】')),COLORRED; {---上升反轉(zhuǎn)下跌測(cè)買箱體模型形態(tài)識(shí)別-操盤策略-預(yù)測(cè)模型---} DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND C<CONST(HQD1),0.02,0.08,0,STRCAT('【形態(tài)識(shí)別】:【收盤價(jià)破前低點(diǎn)】',' ')),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND C<CONST(HQD1),0.02,0.15,0,STRCAT('【操盤策略】:【短線看跌】',' ')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR AND DQH1<DQD1 AND C<CONST(HQD1),0.02,0.22,0,STRCAT('【預(yù)測(cè)模型】:','【上升轉(zhuǎn)跌測(cè)買點(diǎn)】')),COLORRED; {********最后形態(tài)識(shí)別提示***結(jié)束******} {********通用模塊-畫出回或反彈的矩形圖******開始*********} GDH8:=CONST(HQH1),NODRAW;{最近一筆的高點(diǎn)} DDL8:=CONST(HQD1),NODRAW;{最近一筆的低點(diǎn)} MIMA8:=GDH8/DDL8; GH801:=SQRT(MIMA8); GH802:=SQRT(GH801); GH803:=(GH801+GH802-1); {---畫出預(yù)測(cè)上升或回調(diào)的點(diǎn)位---} XHTCS1:=IF(DQD1>DQH1,CONST(GDH8/GH801),CONST(DDL8*GH801));{上升回調(diào)或下跌反彈計(jì)算反彈1號(hào)位置} XHTCS2:=IF(DQD1>DQH1,CONST(GDH8/GH802),CONST(DDL8*GH802));{上升回調(diào)或下跌反彈計(jì)算反彈2號(hào)位置} XHTCS3:=IF(DQD1>DQH1,CONST(GDH8/GH803),CONST(DDL8*GH803));{上升回調(diào)或下跌反彈計(jì)算反彈3號(hào)位置} {--通用模塊--畫出壓力線和支撐線--} SZHTW0:DRAWLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+1,CONST(DQH2)+1),CONST(HQH1),CURRBARSCOUNT=ISLASTBAR,CONST(HQH1),1),COLORMAGENTA;{畫壓力線} SZHTW4:DRAWLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+1,CONST(DQH2)+1),CONST(HQD1),CURRBARSCOUNT=ISLASTBAR,CONST(HQD1),1),COLORMAGENTA;{畫支撐線} {--通用模塊-畫出回調(diào)或反彈的水平線--} SZHTW1:DRAWLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+1,CONST(DQH2)+1),CONST(XHTCS1),CURRBARSCOUNT=ISLASTBAR,CONST(XHTCS1),1),COLORRED;{畫回調(diào)或反彈水平線} SZHTW2:DRAWLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+1,CONST(DQH2)+1),CONST(XHTCS2),CURRBARSCOUNT=ISLASTBAR,CONST(XHTCS2),1),COLORRED;{畫回調(diào)或反彈水平線} SZHTW3:DRAWLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+1,CONST(DQH2)+1),CONST(XHTCS3),CURRBARSCOUNT=ISLASTBAR,CONST(XHTCS3),1),COLORRED;{畫回調(diào)或反彈水平線} {---通用模塊-標(biāo)注矩形左-中-右三個(gè)豎線---} STICKLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+1,CONST(DQH2)+1),CONST(HQH1),CONST(HQD1),0,0),COLORRED;{矩形左豎線} STICKLINE(ISLASTBAR,CONST(HQH1),CONST(HQD1),0,0),COLORRED;{矩形右豎線} STICKLINE(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD1)+1,CONST(DQH1)+1),IF(DQD1<DQH1,CONST(HQD1),CONST(HQH1)),CONST(HQD1),0,1),COLORRED;{矩形中間豎線} {********通用模塊畫回調(diào)矩形******結(jié)束*********} {********通用模塊****主圖畫K線提示***開始******} STICKLINE(C>O,C,O,2.5,0),COLORRED;{上漲} STICKLINE(C<O,C,O,2.5,0),COLORGRAY;{下跌} STICKLINE(C=O,C,O,2.5,0),COLORWHITE;{**變盤點(diǎn)**} STICKLINE(C>O,H,L,0,0),COLORRED;{上漲} STICKLINE(C<O,H,L,0,0),COLORGRAY;{下跌} STICKLINE(C=O,H,L,0,0),COLORWHITE;{變盤} HTBZ01:=STRCAT('壓力位:',CON2STR(CONST(HQH1),2));{標(biāo)注點(diǎn)位及數(shù)值} HTBZ02:=STRCAT('回調(diào)位:',CON2STR(CONST(XHTCS1),2));{標(biāo)注點(diǎn)位及數(shù)值} HTBZ03:=STRCAT('弱回調(diào):',CON2STR(CONST(XHTCS2),2));{標(biāo)注點(diǎn)位及數(shù)值} HTBZ04:=STRCAT('強(qiáng)回調(diào):',CON2STR(CONST(XHTCS3),2));{標(biāo)注點(diǎn)位及數(shù)值} HTBZ05:=STRCAT('支撐位:',CON2STR(CONST(HQD1),2));{標(biāo)注點(diǎn)位及數(shù)值} DRAWTEXT(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+5,CONST(DQH2)+5),CONST(HQH1),HTBZ01),COLORRED,DRAWABOVE;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+5,CONST(DQH2)+5),CONST(XHTCS1),HTBZ02),COLORMAGENTA,DRAWABOVE;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+5,CONST(DQH2)+5),CONST(XHTCS2),HTBZ03),COLORWHITE,DRAWABOVE;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+5,CONST(DQH2)+5),CONST(XHTCS3),HTBZ04),COLORGREEN,DRAWABOVE;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=IF(DQD1<DQH1,CONST(DQD2)+5,CONST(DQH2)+5),CONST(HQD1),HTBZ05),COLORRED,DRAWABOVE;{畫點(diǎn)}; {---通用模塊-左側(cè)支撐壓力位標(biāo)注--結(jié)束-} {********通用模塊-最近4個(gè)高低點(diǎn)******開始*********} DDD1:=STRCAT('買1:',CON2STR(CONST(HQD1),2));{標(biāo)注最近一低點(diǎn)位置及數(shù)值} DDD2:=STRCAT('買2:',CON2STR(CONST(HQD2),2));{標(biāo)注最近二低點(diǎn)位置及數(shù)值} HHH1:=STRCAT('賣1:',CON2STR(CONST(HQH1),2));{標(biāo)注最近一高點(diǎn)位置及數(shù)值} HHH2:=STRCAT('賣2:',CON2STR(CONST(HQH2),2));{標(biāo)注最近二高點(diǎn)位置及數(shù)值} DRAWTEXT(CURRBARSCOUNT=CONST(DQD1)+1,L*0.99,DDD1),COLORYELLOW;{標(biāo)注最近一底點(diǎn)位置及數(shù)值} {DRAWTEXT(CURRBARSCOUNT=CONST(DQD2)+1,L*0.99,DDD2),COLORYELLOW;}{標(biāo)注最近二底點(diǎn)位置及數(shù)值} DRAWTEXT(CURRBARSCOUNT=CONST(DQH1)+1,H*1.01,HHH1),COLORGREEN;{標(biāo)注最近一高點(diǎn)位置及數(shù)值} {DRAWTEXT(CURRBARSCOUNT=CONST(DQH2)+1,H*1.01,HHH2),COLORGREEN;}{標(biāo)注最近二高點(diǎn)位置及數(shù)值} {********通用模塊-最近4個(gè)高低點(diǎn)******結(jié)束*********}; {*****創(chuàng)新高-點(diǎn)位測(cè)算*****HTTPS://T.1YB.CO/L3RI} CXGDW01:=CONST(HQD1)*(2*CONST(GH801)*CONST(GH801)-1),NODRAW;{臺(tái)階模型預(yù)測(cè)} CXGDW011:=CONST(HQD1)*(2*CONST(GH802)*CONST(GH802)-1),NODRAW;{臺(tái)階模型預(yù)測(cè)} CXGDW012:=CONST(HQD1)*(2*CONST(GH803)*CONST(GH803)-1),NODRAW;{臺(tái)階模型預(yù)測(cè)} CXGDW03:=IF(CONST(DQD1)>CONST(DQH1),CONST(HQH2),CONST(HQH1))*CONST(HQD1)/CONST(HQD2),NODRAW;{近四邊形預(yù)測(cè)} CXGDW04:=IF(CONST(DQD1)>CONST(DQH1),CONST(HQH3),CONST(HQH2))*CONST(HQD1)/CONST(HQD2),NODRAW;{遠(yuǎn)四邊形預(yù)測(cè)}; 適用條件:IF(ISLASTBAR AND H>CONST(HQH1),1,0),NODRAW; 臺(tái)階預(yù)測(cè)1:=IF(適用條件>0 AND CXGDW01>CONST(HQH1),CXGDW01,DRAWNULL),NODRAW; 臺(tái)階預(yù)測(cè)2:=IF(適用條件>0 AND CXGDW011>CONST(HQH1),CXGDW011,DRAWNULL),NODRAW; 臺(tái)階預(yù)測(cè)3:=IF(適用條件>0 AND CXGDW012>CONST(HQH1),CXGDW012,DRAWNULL),NODRAW; 四邊形預(yù)測(cè)1:=IF(適用條件>0 AND CXGDW03>CONST(HQH1),CXGDW03,DRAWNULL),NODRAW; 四邊形預(yù)測(cè)2:=IF(適用條件>0 AND CXGDW04>CONST(HQH1),CXGDW04,DRAWNULL),NODRAW; TTT:=IF(適用條件>0,MAX(CXGDW01,MAX(CXGDW011,MAX(CXGDW012,MAX(CXGDW03,CXGDW04)))),DRAWNULL); STICKLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(HQD1),CONST(TTT),0,1),COLORRED;{畫上升豎線} 正常位:DRAWLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(臺(tái)階預(yù)測(cè)1),ISLASTBAR,CONST(臺(tái)階預(yù)測(cè)1),0),COLORRED;{預(yù)測(cè)高點(diǎn)位} 弱勢(shì)位:DRAWLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(臺(tái)階預(yù)測(cè)2),ISLASTBAR,CONST(臺(tái)階預(yù)測(cè)2),0),COLORRED;{預(yù)測(cè)高點(diǎn)位} 強(qiáng)勢(shì)位:DRAWLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(臺(tái)階預(yù)測(cè)3),ISLASTBAR,CONST(臺(tái)階預(yù)測(cè)3),0),COLORRED;{預(yù)測(cè)高點(diǎn)位} 小四位:DRAWLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(四邊形預(yù)測(cè)1),ISLASTBAR,CONST(四邊形預(yù)測(cè)1),0),COLORRED;{預(yù)測(cè)高點(diǎn)位} 大四位:DRAWLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(四邊形預(yù)測(cè)2),ISLASTBAR,CONST(四邊形預(yù)測(cè)2),0),COLORRED;{預(yù)測(cè)高點(diǎn)位} TJYC02:=STRCAT('目標(biāo)位:',CON2STR(CONST(正常位),2));{標(biāo)注點(diǎn)位及數(shù)值} TJYC03:=STRCAT('弱勢(shì)位:',CON2STR(CONST(弱勢(shì)位),2));{標(biāo)注點(diǎn)位及數(shù)值} TJYC01:=STRCAT('強(qiáng)勢(shì)位:',CON2STR(CONST(強(qiáng)勢(shì)位),2));{標(biāo)注點(diǎn)位及數(shù)值} HDYC01:=STRCAT('右低翅:',CON2STR(CONST(小四位),2));{標(biāo)注點(diǎn)位及數(shù)值} HDYC02:=STRCAT('右高翅:',CON2STR(CONST(大四位),2));{標(biāo)注點(diǎn)位及數(shù)值} DRAWTEXT(CURRBARSCOUNT=CONST(DQD1)+1 AND 正常位>0,正常位*0.99,TJYC02),COLORRED;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=CONST(DQD1)+1 AND 弱勢(shì)位>0,弱勢(shì)位*0.99,TJYC03),COLORGREEN;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=CONST(DQD1)+1 AND 強(qiáng)勢(shì)位>0,強(qiáng)勢(shì)位*0.99,TJYC01),COLORYELLOW;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=CONST(DQD1)+1 AND 小四位>0,小四位*0.99,HDYC01),COLORMAGENTA;{畫點(diǎn)} DRAWTEXT(CURRBARSCOUNT=CONST(DQD1)+1 AND 大四位>0,大四位*0.99,HDYC02),COLORWHITE;{畫點(diǎn)}; 上升斜線:DRAWLINE(CURRBARSCOUNT=CONST(DQD1)+1,CONST(HQD1),ISLASTBAR,CONST(TTT),0),COLORWHITE,DOTLINE,LINETHICK1;{上升斜線}; 副圖 VAR1:=EMA(EMA(CLOSE,8),8); 控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盤<0,控盤,0,3,0),COLORGREEN; A10:=CROSS(控盤,0); BB:5; STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,3,0),COLORRED; 機(jī)構(gòu)控盤:IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0),COLORRED,NODRAW; VAR2:=100*WINNER(CLOSE*0.95); STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,3,0),COLORFF00FF; 機(jī)構(gòu)高度控盤:IF(VAR2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0),COLORFF00FF,NODRAW; STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,3,0),COLORD9D919,NODRAW; 機(jī)構(gòu)出貨:=IF(控盤<REF(控盤,1) AND 控盤>0,控盤,0),COLORD9D919; 機(jī)構(gòu)撤退:IF(控盤<0,控盤,0),COLORGREEN,NODRAW; 機(jī)構(gòu)試盤:IF(A10,5,0),LINETHICK1,COLOR00FFFF,NODRAW; STICKLINE(機(jī)構(gòu)試盤>0,0,5,3,0),COLOR00FFFF;{HTTPS://T.1YB.CO/L3RI} 散戶活躍:( 機(jī)構(gòu)控盤=0 AND 機(jī)構(gòu)撤退=0 AND 機(jī)構(gòu)高度控盤=0),NODRAW; STICKLINE(散戶活躍=1 ,-0.3,0.3,3,0);
|
|