---------------------------------------------------諧波周期---------------------------------------------------------
量價時空,K線的周期變化是最容易發(fā)現(xiàn)時價共振的,但是在趨勢研判過程中,可以使用諧波周期指標公式進行分析,其具體的源碼如下:
GG:=(H+C+L+O)/4/C;
A:=(SUM(SIN(2*GG-1),2)/(2*GG-1))*50;
D:=(SIN(GG)+((1/4)*SIN(GG)*4))/2*100;
AA:MA(A,9);
DD:MA(D,4);
EE:(AA+DD)/2;
85,DOTLINE;
84,DOTLINE;
83,DOTLINE;
從圖中能夠發(fā)現(xiàn),其指標波中的走勢是隨著股價變化運行的,清晰的表現(xiàn)了股價上漲下跌的趨勢變化,當時間與價格形成共振的時候,就是投資者需要關(guān)注的要點位置之一。
---------------------十格圖主圖指標公式-------------------------------------
十格圖類似K線四方形的走勢,但是其沖頂信號、觸底信號等等都是通過指標線畫出的,具體的源碼公式如下:
DRAWTEXT_FIX(1,0.65,0.9,1,'■---------------------------------------');
DRAWTEXT_FIX(1,0.87,0.9,1,'----------------------------------------■');
DRAWTEXT_FIX(1,0.87,0.1.5,1,'----------------------------------------■');
DRAWTEXT_FIX(1,0.65,0.1.5,1,'■---------------------------------------');
DRAWTEXT_FIX(1,0.97,0.30,1,'︱');
DRAWTEXT_FIX(1,0.97,0.32,1,'︱');
DRAWTEXT_FIX(1,0.97,0.34,1,'︱');
DRAWTEXT_FIX(1,0.97,0.36,1,'︱');
DRAWTEXT_FIX(1,0.97,0.38,1,'︱');
DRAWTEXT_FIX(1,0.97,0.40,1,'︱');
DRAWTEXT_FIX(1,0.97,0.42,1,'︱');
DRAWTEXT_FIX(1,0.97,0.44,1,'︱');
DRAWTEXT_FIX(1,0.97,0.46,1,'︱');
DRAWTEXT_FIX(1,0.97,0.48,1,'︱');
DRAWTEXT_FIX(1,0.97,0.50,1,'︱');
DRAWTEXT_FIX(1,0.97,0.52,1,'︱');
DRAWTEXT_FIX(1,0.97,0.54,1,'︱');
DRAWTEXT_FIX(1,0.97,0.56,1,'︱');
DRAWTEXT_FIX(1,0.97,0.58,1,'︱');
DRAWTEXT_FIX(1,0.97,0.60,1,'︱');
DRAWTEXT_FIX(1,0.97,0.62,1,'︱');
DRAWTEXT_FIX(1,0.97,0.64,1,'︱');
DRAWTEXT_FIX(1,0.97,0.66,1,'︱');
DRAWTEXT_FIX(1,0.97,0.67,1,'︱');
DRAWTEXT_FIX(1,0.39,0.30,1,'︱');
DRAWTEXT_FIX(1,0.39,0.32,1,'︱');
DRAWTEXT_FIX(1,0.39,0.34,1,'︱');
DRAWTEXT_FIX(1,0.39,0.36,1,'︱');
DRAWTEXT_FIX(1,0.39,0.38,1,'︱');
DRAWTEXT_FIX(1,0.39,0.40,1,'︱');
DRAWTEXT_FIX(1,0.39,0.42,1,'︱');
DRAWTEXT_FIX(1,0.39,0.44,1,'︱');
DRAWTEXT_FIX(1,0.39,0.46,1,'︱');
DRAWTEXT_FIX(1,0.39,0.48,1,'︱');
DRAWTEXT_FIX(1,0.39,0.50,1,'︱');
DRAWTEXT_FIX(1,0.39,0.52,1,'︱');
DRAWTEXT_FIX(1,0.39,0.54,1,'︱');
DRAWTEXT_FIX(1,0.39,0.56,1,'︱');
DRAWTEXT_FIX(1,0.39,0.58,1,'︱');
DRAWTEXT_FIX(1,0.39,0.60,1,'︱');
DRAWTEXT_FIX(1,0.39,0.62,1,'︱');
DRAWTEXT_FIX(1,0.39,0.64,1,'︱');
DRAWTEXT_FIX(1,0.39,0.66,1,'︱');
DRAWTEXT_FIX(1,0.39,0.67,1,'︱');
DRAWRECTREL(198,500,1200,501,200);
DRAWRECTREL(198,700,1200,701,200);
DRAWRECTREL(198,300,1200,301,200);
DRAWRECTREL(675,100,676,990,200);
DRAWRECTREL(485,100,486,990,200);
DRAWRECTREL(865,100,866,990,200);
DRAWTEXT_FIX(1,0.71,0.95,1,'觸底信號'),COLORYELLOW;
DRAWTEXT_FIX(1,0.96,0.88,1,'買進信號'),COLORYELLOW;
DRAWTEXT_FIX(1,0.93,0.48,1,'加倉'),COLORYELLOW;
DRAWTEXT_FIX(1,0.96,0.20,1,'高拋'),COLORYELLOW;
DRAWTEXT_FIX(1,0.71,0.08,1,'沖頂信號'),COLORYELLOW;
DRAWTEXT_FIX(1,0.44,0.10,1,'減磅信號'),COLORYELLOW;
DRAWTEXT_FIX(1,0.43,0.48,1,'清倉'),COLORYELLOW;
DRAWTEXT_FIX(1,0.43,0.88,1,'低吸'),COLORYELLOW;
DRAWTEXT_FIX(1,0.39,0.27,1,'■');
DRAWTEXT_FIX(1,0.39,0.70,1,'■');
DRAWTEXT_FIX(1,0.97,0.27,1,'■');
DRAWTEXT_FIX(1,0.97,0.70,1,'■');
價漲幅1:=(C-REF(C,1))/REF(C,1);
量漲幅1:=(V-REF(V,1))/REF(V,1);
價漲幅:=SUM(價漲幅1,0);
量漲幅:=SUM(量漲幅1,0);
量漲幅2:=MA(量漲幅,50)/MA(價漲幅,20);
量漲幅線:=量漲幅/量漲幅2;
A1:=CROSS(價漲幅,0) OR CROSS(價漲幅,量漲幅);
A2:=V>MA(V,20);
A3:=C/REF(C,1)*100-100>-1 AND C/REF(C,1)*100-100<3.5;
A4:=CURRBARSCOUNT=1;
買入信號:=A1+A2+A3+A4;
DRAWNUMBER_FIX(買入信號=4,0.96,0.85,1,C),COLORLIRED;
A5:=V/MA(V,20)>2;
加倉:=買入信號+A5;
DRAWNUMBER_FIX(加倉=5,0.91,0.45,1,C),COLORLIRED;
觀望1:=C>REF(C,1) AND V>REF(V,1);
DRAWNUMBER_FIX(觀望1=1 AND A4,0.96,0.16,1,C),COLORLIRED;
警戒:=C>REF(C,1) AND V
DRAWNUMBER_FIX(警戒=1 AND A4,0.78,0.08,1,C),COLORLIRED;
DRAWNUMBER_FIX(賣出=1 AND A4,0.48,0.10,1,C),COLORCYAN;
清倉:=CREF(V,1) AND C
DRAWNUMBER_FIX(清倉=1 AND A4,0.48,0.48,1,C),COLORCYAN;
陽轉(zhuǎn):=C
DRAWNUMBER_FIX(陽轉(zhuǎn)=1 AND A4,0.76,0.95,1,C),COLORLIRED;
DRAWKLINE(H,O,L,C);
其中需要投資者注意的地方就是,量線的漲幅變化,以及買入信號、加倉信號、清倉信號的提示點位,及時的把握操作機會能夠獲得豐厚的盈利,同時規(guī)避資金損失。
以上就是本文講解的關(guān)于趨勢判斷的兩個指標公式源碼,如果您還想要了解更加專業(yè)的技術(shù)分析知識,請點擊boll,是一種通道型的趨勢研判指標工具,希望能夠幫助投資者不斷的盈利。
下一篇:股市四部曲指標VS精準切點公
服務(wù)中心:鄭州市金水區(qū)農(nóng)業(yè)路經(jīng)三路
郵編:450002 網(wǎng)址:m.datuav.com
銷售熱線:0371-65350319
技術(shù)支持:13333833889