自用指標(biāo)最新整理
自用指標(biāo)最新整理.
......我今天仔細(xì)看遍了各樓的貼子,也幾乎試了全部的公式。但是所有的公式在通達(dá)信中都沒有通過測試。......另外有個建議:麻煩您把整理的公式另外發(fā)表,好嗎?
按股友的意見,專門下載了(通達(dá)信6.05官方正式版本文來自:理想論壇 [url=http://www.55188.com/][color=#0000ff]www.55188.com[/color][/url] 作者:股道西風(fēng) )
1.經(jīng)通達(dá)信6.05官方正式版測試常規(guī)指標(biāo)公式已通過.
2.感覺公式越收集越多,用的公式越多買賣點越多, 買賣點越多越迷惑.下決心割愛:佛指路.操盤鐵律.決密六號……好多好多的好公式,常規(guī)指標(biāo)公式整理留下三個簡單直觀的.L2數(shù)據(jù)日線指標(biāo)公式整理留下三個自己熟悉的, L2數(shù)據(jù)即時指標(biāo)公式整理留下二個.
3.先說三個簡單直觀的常規(guī)指標(biāo)公式:
一個主圖: A主圖趨勢.(3個買點:買頭, ∠45, 追.)
二個副圖: B2趨勢看盤, (1個買點: 趨勢買點.) B3甲乙量價趨勢(2個買點: 抄, 買.)
把三個指標(biāo)六大買點集中在B4買賣點和B1量VOL里.
4.不同軟件通不過多是繪圖函數(shù)不同,
比如A主圖趨勢中,股價一旦有效突破壓力線后,往往就是拉升行情,表現(xiàn)為壓力線上行, 通達(dá)信和操盤手在繪制壓力線上行繪圖函數(shù)是互相通不過的,在標(biāo)記買點上繪圖函數(shù)也不同,一個用箭頭,另一個用大紅點.但感覺繪圖函數(shù)只是指標(biāo)的重要裝飾,如果實在找不到替代的繪圖函數(shù),刪除此句也可.
5.發(fā)常規(guī)指標(biāo)公式圖和改動的原碼.
以下是經(jīng)通達(dá)信6.05官方正式版測試通過的三個簡單直觀常規(guī)指標(biāo)公式原碼.(操盤手常規(guī)指標(biāo)公式圖和改動的原碼在527樓.)
A主圖趨勢
MA3:MA(CLOSE,3),COLORGRAY;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORWHITE;
壓力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撐:MA(REF(LLV(C,30),1),2),COLORABFF46;
中線:(壓力+支撐)/2,COLORGRAY;
用法:DRAWBAND(壓力,RGB(255,96,96),REF(壓力,1),RGB(0,224,224));
買頭:=(REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND MA(REF(LLV(C,30),1),2)>=REF(MA(REF(LLV(C,30),1),2),1) AND (ZIG(3,12)>MA(ZIG(3,12),2)));
DRAWICON(買頭>0,LOW,'BUY');
月量價:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量價,5);
∠45:=((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量價>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
DRAWICON(∠45>0,LOW,'BUY');
追:=CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),STICK,COLORRED;
DRAWICON(追>0,LOW,'BUY');
STICKLINE(L>REF(H,1),L,REF(H,1),15,0),COLOR00FFFF;
STICKLINE(H<REF(L,1),REF(L,1),H,15,0),COLORGREEN;
B:=ZIG(3,12);
G:=MA(B,2);
D1:=CROSS(B,G);
DRAWTEXT(D1,LOW*0.96,'搶'),COLORRED;
W:=(CROSS(G,B));
DRAWTEXT(W,HIGH*1.01,'逃'),COLORFFFF00;
B2趨勢看盤
A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短線: ((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趨勢線:IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2),COLORRED;
調(diào)和線:IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量價:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量價,5);
趨勢買點:(趨勢線>調(diào)和線 AND REF(趨勢線,1)=REF(調(diào)和線,1) AND (趨勢線<(MA(REF(HHV(趨勢線,30),1),2)+MA(REF(LLV(趨勢線,30),1),2))/2) AND 月量價>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2)))*20,STICK,COLORRED;
DRAWICON(趨勢買點>0,趨勢買點,'BUY');
STICKLINE(REF(趨勢線,1)<趨勢線,趨勢線,REF(趨勢線,1),8,1),COLORF00FF0;
STICKLINE((趨勢線>調(diào)和線 AND REF(趨勢線,1)=REF(調(diào)和線,1)),趨勢線,REF(趨勢線,1),2,1),COLORRED;
STICKLINE(趨勢線<REF(趨勢線,1) OR (AMOUNT/REF(AMOUNT,1)<0.97),趨勢線,REF(趨勢線,1),8,0),COLORWHITE;
STICKLINE(REF(調(diào)和線,1)>調(diào)和線,調(diào)和線,REF(調(diào)和線,1),8,1),COLOR00FF00;
離場:(趨勢線=調(diào)和線 AND REF(趨勢線,1)>REF(調(diào)和線,1) AND 調(diào)和線>50 AND (MA(ZIG(3,12),2)> ZIG(3,12))),STICK;
出5:STICKLINE(離場,100,80,2,0),STICK,COLORGREEN,LINETHICK2;
頂:90,COLOR9DFFFF;
強(qiáng)弱:50,COLORGRAY;
底:10,COLORGRAY;
B3甲乙量價趨勢
月量價:SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000, COLORWHITE;
周均量:EMA(月量價,5),COLORGRAY;
頂:HHV(月量價,20),COLOR9DFFFF;
底:LLV(月量價 ,20),COLORABFF46;
抄:(((CROSS(月量價,周均量)AND REF(月量價,1)=REF(底,1))+(CROSS(月量價,周均量) AND REF(月量價,2)=REF(底,2))+(CROSS(月量價,周均量)AND REF(月量價,3)=REF(底,3)))AND (ZIG(3,12)>MA(ZIG(3,12),2)))*20,STICK,COLORRED;
DRAWICON(抄>0,抄,'BUY');
買:(月量價=頂 AND REF(頂,1)=LLV(頂,4))AND (ZIG(3,12)>MA(ZIG(3,12),2))*20,STICK,COLORRED;
DRAWICON(買>0,買,'BUY');
B4買賣點
A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短線:= ((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趨勢線:=IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2),COLORRED;
調(diào)和線:=IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量價:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量價,5);
頂:=HHV(月量價,20),COLOR9DFFFF;
底:=LLV(月量價 ,20),COLORABFF46;
趨勢買點:(趨勢線>調(diào)和線 AND REF(趨勢線,1)=REF(調(diào)和線,1) AND (趨勢線<(MA(REF(HHV(趨勢線,30),1),2)+MA(REF(LLV(趨勢線,30),1),2))/2) AND 月量價>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
抄:(((CROSS(月量價,周均量)AND REF(月量價,1)=REF(底,1))+(CROSS(月量價,周均量) AND REF(月量價,2)=REF(底,2))+(CROSS(月量價,周均量)AND REF(月量價,3)=REF(底,3)))AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
買:(月量價=頂 AND REF(頂,1)=LLV(頂,4))AND (ZIG(3,12)>MA(ZIG(3,12),2)),STICK,COLORRED;
買頭:REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND (ZIG(3,12)>MA(ZIG(3,12),2)),STICK,COLORRED;
∠45:((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量價>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
追:CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),STICK,COLORRED;
離場:(趨勢線=調(diào)和線 AND REF(趨勢線,1)>REF(調(diào)和線,1) AND 調(diào)和線>50 AND (MA(ZIG(3,12),2)> ZIG(3,12))),COLOR00FFFF,STICK;
B1量VOL
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,10);
MAVOL2:MA(VOLUME,20);
買頭:=REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND (ZIG(3,12)>MA(ZIG(3,12),2)),STICK,COLORRED;
追:=CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),COLORRED;
A:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ZDZK1:=EMA(A,6);
ZDZK2:=REF(ZDZK1,1);
超短線:= ((A-LLV(A,21))/(HHV(A,21)-LLV(A,21))*(4))*(25),COLORWHITE,LINETHICK1;
趨勢線:=IF(ZDZK1>=ZDZK2,ZDZK1+10,ZDZK2),COLORRED;
調(diào)和線:=IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),COLORGREEN;
月量價:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量價,5);
趨勢買點:=((趨勢線<(MA(REF(HHV(趨勢線,30),1),2)+MA(REF(LLV(趨勢線,30),1),2))/2) AND 趨勢線>調(diào)和線 AND REF(趨勢線,1)=REF(調(diào)和線,1) AND 月量價>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),COLORRED;
頂:=HHV(月量價,20),COLOR9DFFFF;
底:=LLV(月量價 ,20),COLORABFF46;
抄:=((ZIG(3,12)>MA(ZIG(3,12),2))AND ((CROSS(月量價,周均量)AND REF(月量價,1)=REF(底,1))+(CROSS(月量價,周均量) AND REF(月量價,2)=REF(底,2))+(CROSS(月量價,周均量)AND REF(月量價,3)=REF(底,3)))),COLORRED;
∠45:=((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量價>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),COLORRED;
追1:=(月量價=頂 AND REF(頂,1)=LLV(頂,4))AND (ZIG(3,12)>MA(ZIG(3,12),2)),COLORRED;
B:((買頭+追+趨勢買點+抄+∠45+追1) AND ZIG(3,12)>MA(ZIG(3,12),2))*0.5*VOL,STICK,COLOR00FFFF,LINETHICK1;