大智慧逐筆分時 逐筆統(tǒng)計公式源碼
2009-09-05 11:41
合買筆:=sum(TRANSACTNUM(1,0),0); 合賣筆:=sum(TRANSACTNUM(2,0),0); 特買筆:=sum(TRANSACTNUM(1,3),0); 特賣筆:=sum(TRANSACTNUM(2,3),0); 大買筆:=sum(TRANSACTNUM(1,2),0)-特買筆; 大賣筆:=sum(TRANSACTNUM(2,2),0)-特賣筆; 中買筆:=sum(TRANSACTNUM(1,1),0)-sum(TRANSACTNUM(1,2),0); 中賣筆:=sum(TRANSACTNUM(2,1),0)-sum(TRANSACTNUM(2,2),0); 散買筆:=合買筆-sum(TRANSACTNUM(1,1),0); 散賣筆:=合賣筆-sum(TRANSACTNUM(2,1),0);
總量:=sum(TRANSACTVOL(0,0),0); 總買
|
2009-09-05 11:40
源碼免費供大家學(xué)習(xí)參考 如有疏忽錯誤的 歡迎留言糾正 (由于版本不同 可能源碼不同 歡迎大家測試 提出建議)
主力持倉
HS:=vol/capital; DD:=BIGORDER(1,2)-BIGORDER(2,2); DT:=HS*DD*100; 主力持倉: 50+Sum(DT,0),linethick2; 當(dāng)日增減度: DT, linethick0; STICKLINE(DT>0,主力持倉,主力持倉+DT,5,0),COLORRed; STICKLine(DT<0,主力持倉+DT,主力持倉,5,0),COLORGreen; 當(dāng)日成交 := (DT * capital) * DYNAINFO(11)/10000; 買入手?jǐn)?shù)
|
2009-09-05 11:40
近日大智慧提示DDX金交叉的股票漲幅比較大的廣告比較多 在這里給大家弄了一個DDX金交叉與KDJ低位金交叉的公式 供大家參考下
公式源碼
tj1:=cross("ddx.ddx1","ddx.ddx2") or cross("ddx.ddx1","ddx.ddx3"); tj2:="ddx.ddx1">"ddx.ddx2" and "ddx.ddx2">"ddx.ddx3"; tj3:=cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)) and "kdj.d"(9,3,3)<30; tj4:=tj1 and tj2 and count(tj3,3); tj5
|
2009-09-05 11:37
介紹個可以在大智慧看板塊BBD與DDE的公式 (聲明下 由于工作量比較大 對于我介紹不清楚的可以在下方留言 我看到會立即回復(fù)的 請勿直接找我要求幫忙操作或者咨詢此公式的操作 謝謝支持工作)
逐單提數(shù) 公式源碼(新建公式后起名 逐單提數(shù) 導(dǎo)入大智慧)
委特買:if(DYNAINFO(7)=0,0,BIGORDER(1,3)*V),PRECIS0; 委特賣:if(DYNAINFO(7)=0,0,BIGORDER(2,3)*V),PRECIS0; 委大買:if(DYNAINFO(7)=0,0,(BIGORDER(1,2)-BIGORDER(1,3))*V),PRECIS0; 委大賣:if(DYNAINFO(7)=0,0,(BIGORDER
|
2009-09-05 11:33
1 SV資金流(ZJL)
DRAWTEXTREL(10,10,'SV資金流 QQ : 597102251'),linethick1,ColorFFFF80; 流入額:=amount*BIGORDER(1,2)/10000; 流出額:=amount*BIGORDER(2,2)/10000; 流入:流入額*1000000/(capital*amount/vol),linethick0; 流出:流出額*1000000/(capital*amount/vol),linethick0; 凈額:流入額-流出額,linethick0; SV資金流:凈額*1000000/(capital*amount/vol); 力度:凈額*10000/amount*100; STICKLINE(凈額>0,0,凈額,6,0),COLORRED;
|
2009-09-05 11:32
流通:=AMOUNT/VOL; PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))); ZLL:=VOL/CAPITAL; HSL1:=IF(ZLL>10,10,ZLL); HSL:=(XVL/20)/1.15; 攻擊流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); STICKLINE(HSL*0.4>=0,HSL*0.4
|
2009-09-05 11:24
1. 公式名稱:SVQS 公司描述:超贏盤中趨勢 input:p1(60),p2(5),p3(10); variable:ddx=0; DDX:(ordervol(1,2)-ordervol(2,2))/capital*100,colorstICK,LINETHICK2; DDX累積:SUM(ddx,0); 2. 公式名稱:SVSS 公司描述:超贏實時監(jiān)控 主力:(BIGORDER(1,2)-BIGORDER(2,2))*AMOUNT/10000,COLOR3D; 散戶:((1-BIGORDER(1,1))-(1-BIGORDER(2,1)))*AMOUNT/10000,COLOR3D; 中戶:((BIGORDER(1,1)-BIGORDER(1,2))-(BIGORDER(2,1)-BIGORDER(2,2)))*AMOUNT/10000,C
|
2009-09-05 11:22
FINANCE2(0){取得基本財務(wù)數(shù)據(jù): 發(fā)布日期}
FINANCE2(1){取得基本財務(wù)數(shù)據(jù): 報告期}
FINANCE2(2){取得基本財務(wù)數(shù)據(jù): 上市日期}
FINANCE2(3){取得基本財務(wù)數(shù)據(jù): 每股收益}
FINANCE2(4){取得基本財務(wù)數(shù)據(jù): 每股凈資產(chǎn)}
FINANCE2(5){取得基本財務(wù)數(shù)據(jù): 凈資產(chǎn)收益率}
FINANCE2(6){取得基本財務(wù)數(shù)據(jù): 每股經(jīng)營現(xiàn)金}
FINANCE2(7){取得基本財務(wù)數(shù)據(jù): 每股公積金}
FINANCE2(8){取得基本財務(wù)數(shù)據(jù): 每股未分配}
FINANCE2(9){取得基本財務(wù)數(shù)據(jù): 股東權(quán)益比}
FINANCE
|
2009-09-05 11:22
100. 取得小數(shù)部分 用法: FRACPART(A)返回數(shù)值的小數(shù)部分 例如:FRACPART(12.3)求得0.3,FRACPART(-3.5)求得-0.5
101. GETDX地線函數(shù)取得天地線指標(biāo)的地線值,。 用法: GETDX
102. GETTX 天線函數(shù)取得天地線指標(biāo)的天線值。 用法: GETTX
103. H 取得該周期最高價,。 用法: H
103. HHV(X,N), 求最高值,。 用法: HHV(X,N),求N周期內(nèi)X最高值,N=0則從第一個有效值開始,。 例如:HHV(HIGH,30)表示求30日最高價
104. HHVALL(X)
|
2009-09-05 11:21
200. SELLSHORT(V,Type,P);空頭賣出,本函數(shù)僅能用于交易系統(tǒng),。 用法 SELLSHORT(V,Type,P); 表示空頭賣出V股當(dāng)前股票,,Type表示賣出類型,P表示賣出價格,,所有參數(shù)均可以省略,。 V:賣出股數(shù)或賣出持倉百分比(N%),省略表示100%,; Type:可以是本周期收盤(THISCLOSE),次周期開盤(MARKET),次周期限價單(LIMIT),,次周期停損單(STOP); P:對于限價單,、停損單需要指定的賣出價格 例如: IF CLOSE>OPEN THEN SELLSHORT(100
|
2009-09-05 11:20
300. DYNAINFO(46)動態(tài)行情函數(shù),。 用法: DYNAINFO(46)取得最新動態(tài)行情: 應(yīng)得利息,, 注意:該函數(shù)返回常數(shù)
301. DYNAINFO(47)動態(tài)行情函數(shù)。 用法: DYNAINFO(47)取得最新動態(tài)行情: 國債全價,, 注意:該函數(shù)返回
302. DYNAINFO(48)動態(tài)行情函數(shù),。 用法: DYNAINFO(48)取得最新動態(tài)行情: 買五量, 注意:該函數(shù)返回常數(shù)
303. DYNAINFO(49)動態(tài)行情函數(shù),。 用法: DYNAINFO(49)取得最新動態(tài)行情: 買五價,, 注意:該函數(shù)返回常數(shù)
304. DYNAINFO(50)動態(tài)行
|
類別:大智慧l2版指標(biāo)源碼
2009-09-04 11:21
LC:= REF(C,1); RSI:SMA(MAX(C-LC,0),14,1)/SMA(ABS(C-LC),14,1)*100,ColorFF00FF; QS:=HHV(MA(RSI,3),13); RS:=llV(MA(RSI,3),13); Var1:=BACKSET(REF(QS,2)=HHV(QS,5),3); Var2:=CROSS(Var1,0.9); Var3:=BACKSET(REF(RS,2)=LLV(RS,5),3); Var4:=CROSS(Var3,0.9); 壓力:REF(QS,BARSLAST(Var2)),POINTDOT,Color00ff00; STICKLINE(RSI,REF(QS,BARSLAST(Var2)),REF(QS,BARSLAST(Var2)),5,0),Color00ff00; 支撐:REF(RS,BARSLAST(Var4)),POINTDOT,Color0087FF; STICKLINE(RSI,REF(RS,
|
2009-09-04 11:20
MA5:=EMA(CLOSE,5); MA10:=EMA(C,10); MA20:EMA(CLOSE,20),linethick2; VAR1A:=(REF(HIGH,1)+REF(LOW,1))/2; 壓力線:WMA(CLOSE,20)+2*STD(CLOSE,20),linethick2; 支撐線:WMA(CLOSE,21)-2*STD(CLOSE,21),linethick2; VAR2A:=CROSS(VAR1A,壓力線); VAR3A:=REF(CLOSE,1); VAR4A:=SMA(MAX(CLOSE-VAR3A,0),7,1)/SMA(ABS(CLOSE-VAR3A),7,1)*100; VAR5A:=CROSS(79,VAR4A); VAR6A:=FILTER(VAR5A,4); DRAWICON(FILTER(VAR6A OR VAR2A,5),HIGH*1.035,2); DRAWTEXT(FILTER(VAR6A OR VAR2A,
|
2009-09-04 11:19
{ 發(fā)個神獒三線,拋磚引玉吧,。有喜歡的就拿去試試,。 致于數(shù)據(jù),請在本論壇中找吧,,多頂就多發(fā)源碼,,便于大家自改} input:n(2),m(5); 大單買入:=selfdata('大單買入'); 大單賣出:=selfdata('大單賣出'); 特大買:=selfdata('特大買入'); 特大賣:=selfdata('特大賣出'); 中單買入:=selfdata('中單買入'); 中單賣出:=selfdata('中單賣出'); {揭秘莊散行蹤的軌跡線} 0,dotline,colorgray; 主力線:ma(sum((大單買入-大單賣出)*vol*100,m),n),colorred,linethick2; 機構(gòu)線:ma(sum((特
|
2009-09-04 11:19
分時看盤 A4:=MA(CLOSE,20); A5:=(CLOSE > MA(CLOSE,5)); A6:=(MA(CLOSE,5) > MA(CLOSE,10)); A7:=(CLOSE > MA(CLOSE,10)); A8:=(MA(CLOSE,5) > MA(CLOSE,20)); A9:=(CLOSE > MA(CLOSE,20)); A10:=REF(A4,1); A11:=(A4 > A10); AVX:=(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10))) + IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 - 10))); DSLX:=(CLOSE / INDEXC); DSLX1:=MA(DSLX,5); DSLX2:=MA(DSLX,10); V1:=MA
|
2009-09-04 11:18
跟蹤主力的大智慧L2版的指標(biāo)公式
主力持倉
HS:=vol/capital; DD:=BIGORDER(1,2)-BIGORDER(2,2); DT:=HS*DD*100; 主力持倉: 50+Sum(DT,0),linethick2; 當(dāng)日增減度: DT, linethick0; STICKLINE(DT>0,主力持倉,主力持倉+DT,5,0),COLORRed; STICKLine(DT<0,主力持倉+DT,主力持倉,5,0),COLORGreen; 當(dāng)日成交 := (DT * capital) * DYNAINFO(11)/10000; 買入手?jǐn)?shù) := (capital*DT)/100; 凈買比:買入手?jǐn)?shù)/vol*100,linethick0;
if (當(dāng)日成交>=0) then begin
|
2009-09-04 11:18
DZH1 2均可用。
1.{短線MACD} VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26); VAR2:=EMA(VAR1,50); VAR3:=2*(VAR1-VAR2); STICKLINE(VAR3<REF(VAR3,1) AND VAR3>0,0,VAR3,4,1),coloryellow; STICKLINE(VAR3>=REF(VAR3,1)AND VAR3>0,0,VAR3,4,1),colorred; STICKLINE(VAR3>REF(VAR3,1)AND VAR3<0,0,VAR3,4,1),COLORFFC8FF; STICKLINE(VAR3<=REF(VAR3,1)AND VAR3<0,0,VAR3,4,1),COLORFFCC66; 趨勢一:EMA(CLOSE,12)-EMA(CLOSE,26),colorred; 趨勢二:EMA(VAR1,50),color
|
2009-09-04 11:17
股市中的每一根K線都會告訴你它的含義,,必須深刻了解和讀懂它,。操盤K線語言為我們提供了方便!希望大家喜歡它,! 源碼如下: qs1:=IF(C>MA(C,5),1,0); qs2:=IF(C<MA(C,5),-1,0); qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0); qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0); qs:=qs1+qs2+qs3+qs4; STICKLINE((qs=-2 and c<o),h,l,0,0),COLORGREEN; STICKLINE((qs=-2 and c<o),OPEN,CLOSE,7,1),COLORGREEN,LINETHICK1; STICKLINE((qs=-2 and c>o),h,l,0,0),COLORCYAN; STICKLINE((
準(zhǔn)確率100%的選股公式
2009-09-03 23:15
input:換手率(5,1,20); TYP := (HIGH + LOW + CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); A:=REF(C,1); RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100; A1:=(C/MA(C,5)-1)*100<-10; A2:=(C/MA(C,13)-1)*100<-10; A3:=(C/MA(C,34)-1)*100<-15; A4:=RSI<18; A5:=CCI<-120; A6:=COUNT(ABS(C/REF(C,1)-1)*100>=6,30)>=1; A7:=C>0.98*O and (C-REF(C,1))/REF(C,1)*100>=0 and (H-C)/C*100<=2; A8:=C>0.98*O and (O-L)/C*100
|
2009-09-03 23:10
{獲利縱橫指標(biāo)使用說明: 獲利縱橫可排序,,數(shù)據(jù)居前龍無疑; 初漲可追小龍頭,,大漲備錢等阻擊,。} {N:30,100,30;} 獲利盤:=WINNER(C)*100; 近鄰籌碼:=WINNER(C*POW(1.1,0.75))*100-WINNER(C*POW(1.1,-0.75))*100; 獲利縱橫:獲利盤-近鄰籌碼,COLORFFFFFF,LINETHICK1; AA:=IF(獲利縱橫>=N,獲利縱橫,N); QSSJ:=BARSLAST(COUNT(獲利縱橫>=N,2)=2); 備錢阻擊:IF(QSSJ<=3 AND COUNT(獲利縱橫<REF(獲利縱橫,1),2)=2,-10,N),COLOR00FF00; {下面兩行是通用版本變色柱} STICKLINE(
|
2009-09-03 23:09
{不怕洗盤} DRAWGBKLAST(CLOSE>0,STRIP(RGB(85,105,185),RGB(0,0,0),0)); 贏:=MA(C,1); 在:=SMA(SMA(SMA(贏,2,1),2,1),2,1); 龍:=MA(在,3); FILLRGN(在,龍,在>=龍),ColorFFFFFF; FILLRGN(在,龍,在<龍),color008800; 贏在龍頭:=(L+H+C*4)/6; 工作:EMA(贏在龍頭,12),COLOR00FF00; 度假:EMA(贏在龍頭,19); 贏在:=(工作-REF(工作,1))/REF(工作,1)*100; 龍頭:=(度假-REF(度假,1))/REF(度假,1)*100; G:=BARSLAST(CROSS(贏在,0)); 贏在龍:REF(贏在龍頭,G),COLORWHITE,LIN
|
2009-09-03 23:09
p1 3 1 100
短線多頭:EMA(CLOSE,5),COLORFF00FF; xxx1:=(O+C+L+H)/4; 短線空頭:EMA(xxx1,10); ma20:ma(close,20),COLORblue; ma30:ma(close,30),COLORgreen; ma60:ma(close,60); VAR2:=(HIGH+LOW+CLOSE*2)/4; VAR3:=EMA(VAR2,21); VAR4:=STD(VAR2,21); VAR5:=((VAR2-VAR3)/VAR4*100+200)/4; VAR6:=(EMA(VAR5,5)-25)*1.56; AK:=EMA(VAR6,2)*1.22; AD:=EMA(AK,2); AJ:=3*AK-2*AD; STICKLINE(CROSS(AK,AD),LOW,LOW-0.09,8,0),COLORRED;
|
2009-09-03 23:08
趨勢頂?shù)?0,COLOR9966FF,LINETHICK2; 80,COLOR996699; 20,COLORGREEN; 10,COLORCC6633,LINETHICK2;
長期線:MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,COLOR9900FF; 短期線:-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100,COLOR888888; 中期線:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORYELLOW,LINETHICK2;
見頂:(REF(中期線,1)>85 AND REF(短期線,1)>85 AND REF(長期線,1)>65) AND CROSS(長期線,短
|
2009-09-03 23:08
q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; q3:=SMA(q2, 9, 1); q4:=SMA(q3, 3, 1); 特殊會員專用:3*q3-2*q4,colorwhite,linethick2; q8:=HHVBARS(HIGH, 50); q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100; 跨越:EMA(q3, 3),COLORRED; DRAWTEXT(CROSS(特殊會員專用, 8) AND q10<-13,20,'*大底來'),coloryellow,linethick5; DRAWTEXT(CROSS(特殊會員專用, 93) AND q10<-13,40,'*大底'),linethick5; DRAWTEXT(CROSS(跨越, 特殊會員專用) AND ref(特殊會員
|
2009-09-03 23:07
{量能突破} 流通:=AMOUNT/VOL; PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))); ZLL:=VOL/CAPITAL; HSL1:=IF(ZLL>10,10,ZLL); HSL:=(XVL/20)/1.15; 攻擊流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)); GJJ:=EMA(攻擊流
|
2009-09-03 23:07
股神亮劍的大智慧L2版的指標(biāo)公式DRAWGBKLAST((c>0),'11'); V1:=MA(C,5)=HHV(MA(C,5),20); v2:=MA(C,5)>MA(C,20); V3:=COUNT(MA(c,1)>REF(C,1),3)=3; stickline(v1 and V2 and V3,110,100,5,1),color00ff00; V11:=MA(C,5)=HHV(MA(C,5),120); v21:=MA(C,5)>MA(C,120); V31:=COUNT(MA(c,1)>REF(C,1),3)=3; 風(fēng)險:if(v11 and V21 and V31,90,0),stick,colorf0f000,LINETHICK1; Var1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100; Var2:=SMA(Var1,3,1); Var3:=
|
2009-09-03 23:06
var2:=REF(LOW,1); var3:=SMA(ABS(LOW-var2),3,1)/SMA(MAX(LOW-var2,0),3,1)*100; var4:=EMA(IF(CLOSE*1.2,var3*10,var3/10),3); var5:=LLV(LOW,38); var6:=HHV(var4,38); var7:=IF(LLV(LOW,90),1,0); var8:=EMA(IF(LOW<=var5,(var4+var6*2)/2,0),3)/618*var7; 賣線: 99; 階賣: 90; 趨勢: 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); 底部: 10; 買注: IF(趨勢<=10,50,0)
|
2009-09-03 23:04
Var1:=c; Var2:=PPART(n); Var7:=IF(ABS(Var2*100)>101,Var2*100/100000,Var2*100); 活:=(C-C*Var7/100)/Var1*100; 活躍度:((cost(100)-cost(2))*活/100)+cost(2);
用在五分鐘k線上
n:=2……2 1 100
|
2009-09-03 23:03
買賣絕招推薦給大家:共同致富 DIFF :=( EMA(CLOSE,S) - EMA(CLOSE,LL))*100; DEA :=EMA(DIFF,M); MACD :=2*(DIFF-DEA); 炒股只要用此招:STICKLINE(DIFF>=0,0,DIFF,3,0),COLORRED; 不盡財富滾滾來:STICKLINE(DIFF<0,0,DIFF,3,0),COLOR00FF00; STICKLINE(DEA>=0,0,DEA,8,0),COLORBLUE; Jm:=CROSS("Macd.DIFF","Macd.DEA"); JmCOUNT:=COUNT(Jm,BARSLAST("Macd.DEA">=0)); Jmtj:40*("Macd.DEA"<0 and Count(JmCount=2,21)=1); Dra
|
2009-09-03 23:02
急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;{34日乖離率} 當(dāng)日收陽:=(h-l)/l>0.07{當(dāng)天振幅大于7%} and (c-o)/o>0.07{當(dāng)天的K線實體長度大于7%} and C/ref(C,1)>1.05{當(dāng)日漲幅超過5%}; CDSY:=急速超跌 and 當(dāng)日收陽 ;{自編*****} 枯木逢春:STICKLINE(CDSY,0,99,8,1),ColorD8E5FF; DRAWTEXT(CDSY,98,' 枯木逢春97.36%'),ColorD8E5FF;{平均成功率:97.36%, 成功率達(dá)到50%的股票有:25.3% 利潤1總平均:35.87% 最大平均利潤1:ST江 紙 168.89% 最小平均利潤1:ST啤酒花 4.48%} XL2:=llv(l,
|
2009-09-03 23:02
小小完全周期:=sumbars(v,0.37*capital); 小小完全股價:=sum(amount,小小完全周期)/sum(v,小小完全周期)/100; 小完全周期:=sumbars(v,0.618*capital); 小完全股價:=sum(amount,小完全周期)/sum(v,小完全周期)/100; 完全周期:=sumbars(v,capital); 完全股價:=sum(amount,完全周期)/sum(v,完全周期)/100; 大完全周期:=sumbars(v,1.618*capital); 大完全股價:=sum(amount,大完全周期)/sum(v,大完全周期)/100; 小小:(小小完全股價-小完全股價)/小完全股價*100; 小:=(小完全股價-完全股價)/完全
|
2009-09-03 23:01
經(jīng)典金叉 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:SMA(RSV,M1,1),linethick2,ColorFFFFFF; D:SMA(K,M2,1),linethick2,Color00FFFF; J:3*K-2*D; STICKLINE((CROSS(K,D)),K,D,30,15),Color00FF00;
|
2009-09-03 23:00
ma3:MA(C,3),colorwhite; ma5:MA(C,5),colorgreen; ma10:MA(C,10),colorred; ma20:MA(C,20),colorblue; ma30:MA(C,30),coloryellow; Var1:=EMA(C,3); Var2:=EMA(C,5); Var3:=EMA(C,10); Var4:=EMA(C,20); Var5:=EMA(C,30); Var6:=(Var2+Var3+Var4+Var5)/4; Var7:=(Var6-REF(Var6,15))/REF(Var6,15)*100; Var8:=(Var6-REF(Var6,15))/REF(Var6, 15)*100; Var9:=EMA(Var7,8); STICKLINE(Var7<1*REF(Var7,1),h,l,0.5,0),COLORBLUE;STICKLINE(Var7<1*REF(Var7,1),o,c
|
|
神獒看盤
2009-09-03 23:00
a1:=BARSCOUNT(CLOSE); DRAWTEXTREL(50,10,'資金凈流'),linethick2,colorYellow; DRAWTEXTREL(200,10,' 代碼: '+STKLABEL+' '+STKNAME+' 日期: '+YEAR+'年'+MONTH+'月 '+DAY+'日 '),linethick2,ColorFFFF80; a2:=DATE; a3:=(WEEKDAY); if (((BARSTATUS = 2) AND (a3 = 5)) ) Then DRAWTEXTREL(800,10,'星期五'),linethick2,ColorFFEF40; if (((BARSTATUS = 2) AND (a3 = 4)) ) Then DRAWTEXTREL(800,10,'星期四'),linethick2,ColorFFEF40; if (((BARSTATUS = 2) AN
|
2009-09-03 22:59
資金進(jìn)出 input:n(5); k1:=IF(CLOSE>=REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW+CLOSE-REF(CLOSE,1),HIGH-OPEN+CLOSE-LOW); k2:=IF(CLOSE<=REF(CLOSE,1),OPEN-LOW+HIGH-CLOSE+REF(CLOSE,1)-CLOSE,OPEN-LOW+HIGH-CLOSE); dt:=VOL*K1/(K1+K2); kt:=VOL-DT; 買量:sum(dt,n),COLOR0000FF; 賣量:-sum(kt,n),COLORFFFF00; FILLRGN(買量,0,1,RGB(0,120,0)); FILLRGN(賣量,0,1,RGB(0,80,0)); 進(jìn)出量:買量+賣量,POINTDOT,COLOR00FFFF; 凈量換手:100*進(jìn)出量/CAPITAL,POINTDOT,COLOR00FF33;
|
2009-09-03 22:59
{顧比均線} MA1:EMA(CLOSE,3),COLORYELLOW; MA2:EMA(CLOSE,5),COLORYELLOW; MA3:EMA(CLOSE,8),COLORYELLOW; MA4:EMA(CLOSE,10),COLORRED; MA5:EMA(CLOSE,12),COLORRED; MA6:EMA(CLOSE,15),COLORRED; MA7:EMA(CLOSE,30),COLORGREEN;
短買: DRAWICON(CROSS(MA1,MA2),l-0.2,4),COLORRED; 短賣: DRAWICON(CROSS(MA2,MA1),h+0.1,5),COLORGREEN; 紅三角買入: DRAWICON( CROSS(MA4,MA7),l-0.25,8),COLORRED;
MA8:EMA(CLOSE,35),COLORGREEN; MA9:EMA(CLOSE,40),COLORGREEN; M
|
2009-09-03 22:58
aaa:=c-ref(c,1); bbb:=ema(ema(ema(aaa,12)*100,12)/ema(ema(abs(aaa),12),12),3); STICKLINE(bbb>REF(bbb,1),bbb,0,7,0),color0000ff; STICKLINE(bbb<REF(bbb,1) ,bbb,0,7,0),colorff3300; m3:Ema(bbb,3),color00ff00,LAYER0; m13:Ema(bbb,13),colorffffff,LAYER0; m34:Ema(bbb,34),colorffaa00,LAYER0;
|
|