Ⅰ 誰能提供錢隆軟體中QIANLONG指標的原碼,該指標有兩條線一條是QIAN,另一條是6MA.能用到通達信股軟的。
我搜了一下,搜到的錢龍指標源碼如下:
僅提供源碼:QLSHO
錢龍短鼠
L3 1 300 5
L2 1 300 5
N 1 50 10
vZF:=ma((v-ref(v,1))/ref(v,1),l2);
BIAS3 :=(CLOSE-MA(CLOSE,L3))/MA(CLOSE,L3)*100;
{BIAS3:=MA((C-REF(C,1))/REF(C,1)*100,10);}
my:bias3*(1+vZF);
錢龍短線:my,colorstick;
ma(錢龍短線,n),coloryellow;
錢龍布林
N 1 100 20
D 1.01 5 2
mb:ma(c,n);
r:=pow((c-mb),2);
x1:=ma(r,n);
x:=SQRT(x1);
upper:mb+d*x;
lower:mb-d*x;
STICKLINE(close>=open,open,close,5,1),colorred;
STICKLINE(open>close,close,open,5,0 ),colorgreen;
STICKLINE(close>=open,close,HIGH,0.5 ,1 ),colorred;
STICKLINE(close>=open,open,low,0.5 ,1 ),colorred;
STICKLINE(open>close,close,low,0.5 ,0 ),colorgreen;
STICKLINE(open>close,open,HIGH,0.5 ,0 ),colorgreen;
LONG
乾龍長線
N 1 100 10
乾龍長線:0;
Var1:=REF(CLOSE,1);
Var2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
Var3:=(CLOSE-Var1)*Var2;
Var4:=SUM(Var3,0);
Var5:=SMA(Var4,10,1);
Var6:=SMA(Var4,20,1);
LONMA: MA(Var5-Var6,n)COLORgreen;
Var5-Var6,COLORyellow;
Var5-Var6,COLORSTICK
錢龍EXPMA
{n1=5 100 12 n2=5 100 50}
EXPMA1 : (CLOSE-REF(EMA(CLOSE,N1),1))*2/(N1+1)+REF(EMA(CLOSE,N1),1);
EXPMA2 : (CLOSE-REF(EMA(CLOSE,N2),1))*2/(N2+1)+REF(EMA(CLOSE,N2),1);
STICKLINE(CLOSE>OPEN,OPEN,CLOSE,6,1), , COLORRED;
STICKLINE(CLOSE=OPEN,OPEN,CLOSE,6,1), , COLORRED;
STICKLINE(CLOSE>OPEN,LOW,OPEN,0.8,1), , COLORRED;
STICKLINE(CLOSE=OPEN,LOW,OPEN,0.8,1), , COLORRED;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.8,1),,COLORRED;
STICKLINE(CLOSE=OPEN,CLOSE,HIGH,0.8,1),,COLORRED;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,6,0), , COLORCYAN;
STICKLINE(CLOSE<OPEN,LOW,HIGH,0.8,0), , COLORCYAN;
終極指標
TH:=MAX(HIGH,REF(CLOSE,1));
TL:=MIN(LOW,REF(CLOSE,1));
ACC1:=SUM(CLOSE-TL,7)/SUM(TH-TL,7);
ACC2:=SUM(CLOSE-TL,60)/SUM(TH-TL,60);
ACC3:=SUM(CLOSE-TL,28)/SUM(TH-TL,28);
UOS:(ACC1*60*28+ACC2*7*28+ACC3*7*60)*100/(7*60+7*28+60*28);
70,COLORYELLOW;
50,COLORMAGENTA;
35,COLORGREEN;
壓縮K線
hsl:=(v/ma(vol,55));
STICKLINE( c>open,c,o,hsl*10 ,1),COLORRED;
STICKLINE( c>open,h,c,0.5 ,0),COLORRED;
STICKLINE( c>open,o,l,0.1 ,0),COLORRED;
STICKLINE( c<open,c,o,hsl*10 ,0),COLORWHITE;
STICKLINE( c<open,h,l,0.1 ,0),COLORWHITE;
STICKLINE( c=open and c>ref(c,1),c,o,hsl*10 ,1),COLORRED;
STICKLINE( c=open and c>ref(c,1),h,l,0.1,0),COLORRED;
STICKLINE( c=open and c<ref(c,1),c,o,hsl*10 ,1),COLORWHITE;;
STICKLINE( c=open and c<ref(c,1),h,l,0.1,0),,COLORWHITE;;
STICKLINE( c=open ,h,l,0.1,0),,COLORWHITE;
STICKLINE( c=open ,c,o,hsl*10,0),,COLORWHITE;
錢龍DPO(區間振盪線)
dpo:C - REF(MA(CLOSE,20),11);
mb:=ma(dpo,20);
r:=(dpo-mb)*(dpo-mb);
x:=SQRT(ma(r,20));
mb+1.96*x;
mb-1.96*x
錢龍OSC
艾略特震盪器
Var1:=REF(CLOSE,1);
Var2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
Var3:=(CLOSE-Var1)*Var2;
Var4:=SUM(Var3,0);
Var5:=SMA(Var4,5,1);
Var6:=SMA(Var4,8,1);
OSC: Var5-Var6;
OSCMA: MA(OSC,4);
OSC, COLORSTICK;
VD: SUM(IF(OSC>0,OSC*1.003,OSC*1.003>0),34)/34;
VE: SUM(IF(OSC<=0,OSC*0.97,OSC*0.97<0),34)/34, ;
0;
錢龍地量線
a:=v*c/1000;
b:ma(a,9),COLORYELLOW;
STICKLINE(b,0,b,1.2,0);
平均地量線:llv(b,0),colorred,LINETHICK2;
相對地量線:llv(b,500),COLORBLUE,LINETHICK2;
錢龍量布林
mb:ma(v,13);
r:=pow((v-mb),2);
x1:=ma(r,13);
x:=SQRT(x1);
upper:mb+1*x;
lower:mb-1*x;
錢龍慢威廉
RSV:= (HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100;
LWR1:SMA(RSV,3,1);
LWR2:SMA(LWR1,3,1)
曲腰量
{Q(5,1,20)Q1(3,1,10)Q2(3,1,10)}
var1:=AMOUNT/10000000;
量能:var1/ma(var1,5) COLOR999999,POINTDOT;
var2:=if(c>=ref(c,1),var1,REVERSE(var1));
var3:=(c-ref(c,1))/ref(c,1)*100;
var4:=var3*36;
var5:=var4-var2;
曲腰量:EMA(SUM(var5,q),q1) COLORWHITE;
ma1:ema(曲腰量,q2),COLORSTICK;
STICKLINE(曲腰量>=ma1 ,ma1,曲腰量 ,2 ,0 ),COLORYELLOW;
變動速率
INPUT:N(13,1,100),M(6,1,50);
R:(C-REF(C,N))/REF(C,N)*100;
RMA:MA(R,M);
d:if(R<0,-R,R);
0,LINEDOT;
Ⅱ 誰有錢龍lon指標公式源碼
N:=10;
LC := REF(CLOSE,1);
VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON : DIFF-DEA;
LONMA : MA(LON,10);
LONT : LON, COLORSTICK;
{錢龍長線}
Ⅲ 滾動領先指標源碼
大智慧經典版上面的沒有公布源碼,不過大智慧L2上公布了,哇哈哈...
不知道樓主有沒有大智慧L2軟體?有的話你先打開軟體,輸入ZLMM,回車,點右鍵選擇[修改指標公式],剩下的就不用我說了吧?
要沒有的話,我給你粘貼出來吧:
名稱:ZLMM
參數N1(最小:1,最大:100,預設:6),N2(最小:1,最大100,預設:12),N3(最小:1,最大100,預設:26)
源碼:
mtm:=c-ref(c,1);
mms:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),color00ff00;
mmm:100*ema(ema(mtm,n2),n2)/ema(ema(abs(mtm),n2),n2),coloryellow;
mml:100*ema(ema(mtm,n3),n3)/ema(ema(abs(mtm),n3),n3),colorwhite;
原理:
MTM賦值:收盤價-昨收
輸出MMS:100*MTM的N1日指數移動平均的N1日指數移動平均/MTM的絕對值的N1日指數移動平均的N1日指數移動平均,COLOR00FF00
輸出MMM:100*MTM的N2日指數移動平均的N2日指數移動平均/MTM的絕對值的N2日指數移動平均的N2日指數移動平均,畫黃色
輸出MML:100*MTM的N3日指數移動平均的N3日指數移動平均/MTM的絕對值的N3日指數移動平均的N3日指數移動平均,畫白色
用法:
主力買賣
原理:趨向指標
用法:
綠線為短期趨勢線,黃線為中期趨勢線,白線為長期趨勢線。
1、主力買賣與主力進出配合使用時准確率極高。
2、當底部構成發出信號,且主力進出線向上時判斷買點,准確率極高。
3、當短線上穿中線及長線時,形成最佳短線買點交叉形態(如底部構成已發出信號或主力進出線也向上且短線乖離率不大時)。
4、當短線、中線均上穿長線,形成中線最佳買點形態(如底部構成已發出信號或主力進出線也向上且三線均向上時)。
5、當短線下穿中線,且短線與長線正乖離率太大時,形成短線最佳賣點交叉形態。
6、當短線、中線下穿長線,且是主力進出已走平或下降時,形成中線最佳賣點交叉形態。
7、在上升途中,短、中線回落受長線支撐再度上行之時,為較佳的買入時機。
8、指標在0以上表明個股處於強勢,指標跌穿0線表明該股步入弱勢。
Ⅳ 通達信版本-纏論筆段預測主圖指標,源代碼免費分享
顯示開關:=1;
頂價:=REF(H,BARSLAST(H>REF(H,1)));
底價:=REF(L,BARSLAST(L<REF(L,1)));
分型頂0:=H>頂價 AND L>底價;
分型底0:=L<頂價 AND H<底價;
分型頂1:=分型頂0 AND H=HHV(H,BARSLAST(分型底0));
分型底1:=分型底0 AND L=LLV(L,BARSLAST(分型頂0));
分型頂:=FILTERX(分型頂1,BARSLAST(分型底1));
分型底:=FILTERX(分型底1,BARSLAST(分型頂1));
UP1:=BARSLAST(分型底);
頂力度1:=HHV(L,UP1+1)>LLV(H,UP1+1);
頂包含1:=COUNT(L>REF(L,1),UP1)>2 AND COUNT(H>REF(H,1),UP1)>2;
DN1:=BARSLAST(分型頂);
底力度1:=HHV(L,DN1+1)>LLV(H,DN1+1);
底包含1:=COUNT(H>REF(H,1),DN1)>2 AND COUNT(L>REF(L,1),DN1)>2;
筆頂10:=分型頂 AND UP1>3 AND 頂力度1 AND 頂包含1;
筆底10:=分型底 AND DN1>3 AND 底力度1 AND 底包含1;
筆頂11:=筆頂10 AND H=HHV(H,BARSLAST(筆底10));
筆底11:=筆底10 AND L=LLV(L,BARSLAST(筆頂10));
筆頂12:=筆頂11 AND H=HHV(H,BARSLAST(筆底11));
筆底12:=筆底11 AND L=LLV(L,BARSLAST(筆頂11));
筆頂1:=FILTERX(筆頂12,BARSLAST(筆底12));
筆底1:=FILTERX(筆底12,BARSLAST(筆頂12));
UP2:=BARSLAST(筆底1);
頂力度2:=HHV(L,UP2+1)>LLV(H,UP2+1);
頂包含2:=COUNT(L>REF(L,1),UP2)>2 AND COUNT(H>REF(H,1),UP2)>2;
DN2:=BARSLAST(筆頂1);
底力度2:=HHV(L,DN2+1)>LLV(H,DN2+1);
底包含2:=COUNT(H>REF(H,1),DN2)>2 AND COUNT(L>REF(L,1),DN2)>2;
筆頂20:=分型頂 AND UP2>3 AND 頂力度2 AND 頂包含2;
筆底20:=分型底 AND DN2>3 AND 底力度2 AND 底包含2;
筆頂21:=筆頂20 AND H=HHV(H,BARSLAST(筆底20));
筆底21:=筆底20 AND L=LLV(L,BARSLAST(筆頂20));
筆頂2:=FILTERX(筆頂21,BARSLAST(筆底21));
筆底2:=FILTERX(筆底21,BARSLAST(筆頂21));
筆頂3:=筆頂1 OR 筆頂2;
筆底3:=筆底1 OR 筆底2;
筆頂41:=FILTERX(筆頂3 AND H=HHV(H,BARSLAST(筆底3)),BARSLAST(筆底3));
筆底41:=FILTERX(筆底3 AND L=LLV(L,BARSLAST(筆頂3)),BARSLAST(筆頂3));
筆頂42:=FILTERX(筆頂41 AND H=HHV(H,BARSLAST(筆底41)),BARSLAST(筆底41));
筆底42:=FILTERX(筆底41 AND L=LLV(L,BARSLAST(筆頂41)),BARSLAST(筆頂41));
筆頂431:=筆頂42 AND (BARSLAST(筆底42)>1 OR BARSLAST(筆底42)=DRAWNULL);
筆底431:=筆底42 AND (BARSLAST(筆頂42)>1 OR BARSLAST(筆頂42)=DRAWNULL);
筆頂432:=筆頂431 AND (H=HHV(H,BARSLAST(筆底431)) OR BARSLAST(筆底431)=DRAWNULL);
筆底432:=筆底431 AND (L=LLV(L,BARSLAST(筆頂431)) OR BARSLAST(筆頂431)=DRAWNULL);
筆頂43:=FILTERX(筆頂432,BARSLAST(筆底431));
筆底43:=FILTERX(筆底432,BARSLAST(筆頂431));
筆頂441:=筆頂43 AND (BARSLAST(筆底43)>2 OR BARSLAST(筆底43)=DRAWNULL);
筆底441:=筆底43 AND (BARSLAST(筆頂43)>2 OR BARSLAST(筆頂43)=DRAWNULL);
筆頂442:=筆頂441 AND (H=HHV(H,BARSLAST(筆底441)) OR BARSLAST(筆底441)=DRAWNULL);
筆底442:=筆底441 AND (L=LLV(L,BARSLAST(筆頂441)) OR BARSLAST(筆頂441)=DRAWNULL);
筆頂44:=FILTERX(筆頂442,BARSLAST(筆底441));
筆底44:=FILTERX(筆底442,BARSLAST(筆頂441));
筆頂451:=筆頂44 AND (BARSLAST(筆底44)>3 OR BARSLAST(筆底44)=DRAWNULL);
筆底451:=筆底44 AND (BARSLAST(筆頂44)>3 OR BARSLAST(筆頂44)=DRAWNULL);
筆頂452:=筆頂451 AND (H=HHV(H,BARSLAST(筆底451)) OR BARSLAST(筆底451)=DRAWNULL);
筆底452:=筆底451 AND (L=LLV(L,BARSLAST(筆頂451)) OR BARSLAST(筆頂451)=DRAWNULL);
筆頂45:=FILTERX(筆頂452,BARSLAST(筆底452));
筆底45:=FILTERX(筆底452,BARSLAST(筆頂452));
DN511:=BARSLAST(筆頂45);
底力度511:=HHV(L,DN511+1)>LLV(H,DN511+1);
底包含511:=COUNT(H>REF(H,1),DN511)>2 AND COUNT(L>REF(L,1),DN511)>2;
筆底511:=筆底43 AND (筆底45<>1) AND DN511>3 AND 底力度511 AND 底包含511 AND (L=LLV(L,BARSLAST(筆頂45)));
筆底51:=FILTERX(筆底511,BARSLAST(筆頂45));
UP512:=BARSLAST(筆底45);
頂力度512:=HHV(L,UP512+1)>LLV(H,UP512+1);
頂包含512:=COUNT(L>REF(L,1),UP512)>2 AND COUNT(H>REF(H,1),UP512)>2;
筆頂512:=筆頂43 AND (筆頂45<>1) AND UP512>3 AND 頂力度512 AND 頂包含512 AND (H=HHV(H,BARSLAST(筆底45)));
筆頂51:=FILTERX(筆頂512,BARSLAST(筆底45));
筆頂521:=筆頂45 OR 筆頂51;
筆底521:=筆底45 OR 筆底51;
筆頂52:=FILTERX(筆頂521 AND H=HHV(H,BARSLAST(筆底521)),BARSLAST(筆底521));
筆底52:=FILTERX(筆底521 AND L=LLV(L,BARSLAST(筆頂521)),BARSLAST(筆頂521));
UP53:=BARSLAST(筆底52);
頂力度53:=HHV(L,UP53+1)>LLV(H,UP53+1);
頂包含53:=COUNT(L>REF(L,1),UP53)>2 AND COUNT(H>REF(H,1),UP53)>2;
DN53:=BARSLAST(筆頂52);
底力度53:=HHV(L,DN53+1)>LLV(H,DN53+1);
底包含53:=COUNT(H>REF(H,1),DN53)>2 AND COUNT(L>REF(L,1),DN53)>2;
筆頂53:=筆頂52 AND UP53>3 AND 頂力度53 AND
Ⅳ 抄底指標公式源碼
抄底指標公式源碼:
指標公式源碼示例:
MACD指標源碼示例:
計算DIF值:DIF = EMA - EMA;計算DEA值:DEA = EMA;計算MACD值:MACD = M × ;其中EMA為指數平滑移動平均線,短期周期、長期周期和平滑周期為參數設置的時間周期,M為常數或變數系數。通過這些計算得到MACD指標的數值變化,幫助投資者判斷股票的買入時機。具體的參數設定需要根據市場情況和使用習慣來調整。這樣的指標可以幫助投資者在市場下行中尋找可能的抄底機會。其中公式代碼主要為數學運算與特定的金融數據處理邏輯組合而成。使用者可以針對特定股票數據應用公式軟體獲得數據解讀和指標表現。不同指標的源碼計算公式存在差異,需要針對特定需求設計並應用相應公式代碼。在具體使用中要配合實際情況對源碼進行相應的調整和優化以適應不同市場條件的變化。同時要考慮到風險因素的把控以避免因公式的局限造成的決策失誤。總之要結合其他分析方法綜合考慮炒底的決策依據並結合市場的動態做出理性的判斷與操作決策。以上為源碼的大致計算原理和注意事項簡單解釋,在實際使用中應進一步深入學習相關理論知識與實戰經驗積累相結合以確保決策的科學性和准確性。
以上為抄底指標公式源碼的一般解釋,具體內容會因不同指標而異。希望對您有所幫助。
Ⅵ 請幫我找這個圖的指標 源碼,通達信軟體使用的,謝謝
這個指標叫【粉進黃出】,源碼:
ma6:ma(c,6),Color0000ff;
ma18:ma(c,18),color0096ff;
ma30:ma(c,30),COLOR00ff99;
ma60:ma(c,60),Colorff00ff;
aaf:LLV(LOW,34),LINETHICK1,COLORffffcc;
bbf:MA(aaf,4),LINETHICK1,coloryellow;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(84,RSI) ,h*1.03,5);
DRAWICON(CROSS(RSI,11) ,l*0.99,4);
Var27:=REF(CLOSE,1);
Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100;
DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),
LOW,'☆'),linethick7 , COLORff00ff;
VARA:=((AMOUNT)/(VOL))/(100);
VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);
VARC:=((SUM(AMOUNT,7))/(VARA))/(100);
VARD:=DMA(VARB,(VOL)/(VARC));
VARE:=((CLOSE-VARD)/(VARD))*(100);
VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);
VARJ:=MA(VARE,20)+STD(VARE,20);
BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
aa:=SMA(VARF,3,1);
ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);
DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND
(aa>ss),h*1.02,'☆'),LINETHICK7,colorgreen;
Var1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未來}
Var2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;{高位黃色}
STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;{高位黃色}
STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;{高位黃色}
STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;{底位紅色}
STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位紅色}
STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;{底位紅色}
-------------------------------------------------------------------------------
但是,這個指標有未來函數,因為它的源碼里有未來函數ZIG,它的信號會顯示的。典型的馬後炮指標。
你可以看一下我回到別人關於這個指標的問題:http://..com/question/168660354.html
Ⅶ 通達信可用的 資金博弈指標的 源代碼
散戶:(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,LINETHICK1,COLORYELLOW;
中戶:(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,LINETHICK1,COLORGREEN;
大戶:(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,LINETHICK1;
機構:(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,LINETHICK2,COLORRED;
一、通達信炒股軟體是一款定位於提供多功能服務的證券信息平台,由深圳財富趨勢科技股份有限公司設計的一款移動證券軟體。通達信允許用戶自由劃分屏幕,並規定每一塊對應哪個內容。
二、股票是股份公司所有權的一部分,也是發行的所有權憑證,是股份公司為籌集資金而發行給各個股東作為持股憑證並藉以取得股息和紅利的一種有價證券。股票是資本市場的長期信用工具,可以轉讓,買賣,股東憑借它可以分享公司的利潤,但也要承擔公司運作錯誤所帶來的風險。每股股票都代表股東對企業擁有一個基本單位的所有權。每家上市公司都會發行股票。
三、同一類別的每一份股票所代表的公司所有權是相等的。每個股東所擁有的公司所有權份額的大小,取決於其持有的股票數量占公司總股本的比重。股票是一種有價證券,是股份公司在籌集資本時向出資人發行的股份憑證,代表著其持有者(即股東)對股份公司的所有權,購買股票也是購買企業生意的一部分,即可和企業共同成長發展。這種所有權為一種綜合權利,如參加股東大會、投票表決、參與公司的重大決策、收取股息或分享紅利差價等,但也要共同承擔公司運作錯誤所帶來的風險。獲取經常性收入是投資者購買股票的重要原因之一、分紅派息是股票投資者經常性收入的主要來源。
四、股票買進和賣出都要收傭金(手續費),買進和賣出的傭金由各證券商自定(最高為成交金額的千分之三、最低沒有限制,越低越好),一般為:成交金額的0.05%,傭金不足5元按5元收。賣出股票時收印花稅:成交金額的千分之一(以前為3‰,2008年印花稅下調,單邊收取千分之一)。股票收益即股票投資收益,是指企業或個人以購買股票的形式對外投資取得的股利,轉讓、出售股票取得款項高於股票賬面實際成本的差額,股權投資在被投資單位增加的凈資產中所擁有的數額等。股票收益包括股息收入、資本利得和公積金轉增收益。
Ⅷ 贏在龍頭的指標 個股資金強弱 源碼 哪位知道!
{修改以後,通達信已通過測試}
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
個股線:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,;
大盤線:MA(FORCAST(個股線,20),6),,COLORGREEN,;
YYA4:=MA(CLOSE,20);
YYA5:=(CLOSE > MA(CLOSE,5));
YYA6:=(MA(CLOSE,5) > MA(CLOSE,10));
YYA7:=(CLOSE > MA(CLOSE,10));
YYA8:=(MA(CLOSE,5) > MA(CLOSE,20));
YYA9:=(CLOSE > MA(CLOSE,20));
YYA10:=REF(YYA4,1);
YYA11:=(YYA4 > YYA10);
YYAVX:=(((((IF(YYA5,10,(0 - 10)) + IF(YYA6,10,(0 - 10))) + IF(YYA7,10,(0 - 10))) + IF(YYA8,10,(0 - 10))) + IF(YYA9,10,(0 -
10))) + IF(YYA11,10,(0 - 10)));
DSLX:=(CLOSE / INDEXC);
DSLX1:=MA(DSLX,5);
YYV1:=MA(VOL,5);
YYV2:=MA(VOL,10);
MA75:=MA(CLOSE,144);
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
LC:=REF(C,1);
K9:=SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1);
D9:=SMA(K9,3,1);
J9:=3*K9-2*D9;
VAR1:=DYNAINFO(17)*REF(MA(V,5),1);
VAR2:=DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT;
VAR3:=IF(DYNAINFO(7)=C AND DYNAINFO(10)=AMOUNT,VAR1,VAR2);
預量:=IF(V>=VAR3 AND PERIOD=5,V,VAR3);
TT:=240/FROMOPEN;
比:=TT;
比1:=預量/V;
買盤:=IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(23)*比),(IF(ISLASTBAR AND C>300,(V9+V8)*TT,(V9+V8))));
賣盤:=IF(ISLASTBAR AND PERIOD=5 AND C<300,(DYNAINFO(22)*比),(IF(ISLASTBAR AND C>300,(V6+V7)*TT,(V6+V7))));
買盤1:=DYNAINFO(23)*比1;
賣盤1:=DYNAINFO(22)*比1;
MFI:=(HIGH-LOW)*1000000/(VOL*比);
XXX:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)+1;
XX:=IF(1=1,POW(XXX,2)-10,DRAWNULL);
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,4),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,5),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 > YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,6),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(YYAVX,1) AND (YYV1 <= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,7),COLORFF00FF;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,8),COLORYELLOW;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,9),COLORYELLOW;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,10),COLORYELLOW;
DRAWTEXT((CONST(IF(((CROSS(1,YYAVX) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,70,11),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,12),COLOR00FFFF;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,13),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,14),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,15),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,16),COLORYELLOW;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX >= DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,17),COLORFFFF00;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,18),COLORFFFF00;
DRAWTEXT((CONST(IF(((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)) AND (DSLX < DSLX1)),1,0)))=1 AND (CLOSE < 200) AND CURRBARSCOUNT=59,60,19),COLORFFFFFF;
DRAWTEXT((CONST(IF((CROSS(YYAVX,1) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,20),COLOR00FF00;
DRAWTEXT((CONST(IF((CROSS(YYAVX,1) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,21),COLORFF00FF;
DRAWTEXT((CONST(IF((CROSS(1,YYAVX) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,22),COLORAAAAAA;
DRAWTEXT((CONST(IF((CROSS(1,YYAVX) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,23),COLORFF0000;
DRAWTEXT((CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,24),COLOR00FFFF;
DRAWTEXT((CONST(IF((((YYAVX >= 1) AND (REF(YYAVX,1) > 0)) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,25),COLOR00FF00;
DRAWTEXT((CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 >= YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,26),COLORFFFFFF;
DRAWTEXT((CONST(IF((((YYAVX < 1) AND (REF(YYAVX,1) < 0)) AND (YYV1 < YYV2)),1,0))) AND (CLOSE >200) AND CURRBARSCOUNT=59,50,27),COLORFFFFFF;
DRAWTEXT(CONST(MFI>=REF(MFI,1)AND VOL*比>=REF(VOL,1)) AND CURRBARSCOUNT=59,40,28),COLORFFFFFF;
DRAWTEXT(CONST(MFI<REF(MFI,1)AND VOL*比<REF(VOL,1)) AND CURRBARSCOUNT=59,40,29),COLORGREEN;
DRAWTEXT(CONST(MFI>=REF(MFI,1)AND VOL*比<REF(VOL,1)) AND CURRBARSCOUNT=59,40,30),COLORGREEN;
DRAWTEXT(CONST(MFI<REF(MFI,1)AND VOL*比>=REF(VOL,1)) AND CURRBARSCOUNT=59,40,31),COLORYELLOW;
DRAWTEXT(CONST((賣盤+買盤)/REF(VOL,1)>2) AND CURRBARSCOUNT=59,30,32),COLORGREEN;
DRAWTEXT(CONST(REF(VOL,1)/(賣盤+買盤)>1.5) AND CURRBARSCOUNT=59,30,33),COLORYELLOW;
DRAWTEXT(CONST((賣盤-買盤)/買盤>0.4) AND CURRBARSCOUNT=59,20,34),COLORGREEN;
DRAWTEXT(CONST((買盤-賣盤)/賣盤>0.4) AND CURRBARSCOUNT=59,20,35),COLORYELLOW;
DRAWTEXT(CONST(IF(預量=LLV(預量,10),1,0)) AND CURRBARSCOUNT=59,10,36),COLOR00FF00;
DRAWTEXT(CONST(IF(預量=LLV(預量,10) AND J9<70,1,0)) AND CURRBARSCOUNT=59,10,37),COLOR00FF00;
DRAWTEXT(CONST(IF(C>LC AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND C>MA(C,5) AND REF(MA(C,5),1)>=REF(MA(C,5),2) AND YYV1<=YYV2 AND (預量<REF (預量,1) AND 預量<YYV1) AND 買盤1>賣盤1,1,0)) AND CURRBARSCOUNT=28,20,38),COLORFF00FF;
DRAWTEXT(CONST(IF(C<LC AND C<MA(C,5) AND 買盤1<賣盤1 AND 預量>REF(預量,1) AND 預量>YYV1,1,0)) AND CURRBARSCOUNT=28,3,39),COLOR00FF00;
DRAWTEXT(CONST(IF(C<LC*0.96 AND C<MA(C,5) AND 買盤1>賣盤1*1.15 AND 預量>REF (預量,1) AND 預量>YYV1,1,0)) AND CURRBARSCOUNT=28,10,40),COLOR00CCCC;
DRAWTEXT(CONST(IF(C<LC AND MA(C,5)<REF(MA(C,5),1) AND MA(C,10)<=REF(MA(C,10),1) AND 買盤1<賣盤1 AND C<MA(C,5) AND C<MA(C,10)AND 預量>LLV(預量,10),1,0)) AND CURRBARSCOUNT=28,20,41),COLORFFFF00;
DRAWTEXT(CONST(IF((C>MA(C,5) AND C<MA(C,10)) OR (C<=MA(C,5) AND (C>=MA(C,10) OR MA(C,10)>=REF(MA(C,10),1))),1,0)) AND C<LC AND CURRBARSCOUNT=59,90,42),COLORFF77CC;
DRAWTEXT((CONST(IF(CLOSE>=MA(CLOSE,13),1,0))) AND CURRBARSCOUNT=59,80,43),COLORGREEN;
DRAWTEXT((CONST(IF(CLOSE<MA(CLOSE,13) AND C<MA(CLOSE,5),1,0))) AND CURRBARSCOUNT=59,80,44),COLORGREEN;
DRAWTEXT((CONST(IF(CROSS(MA(CLOSE,13),CLOSE),1,0))) AND CURRBARSCOUNT=49,90,45),COLORGREEN;
DRAWTEXT((CONST(IF(C>=MA75,1,0))) AND CURRBARSCOUNT=49,80,46),COLORGREEN;
DRAWTEXT((CONST(IF(C<MA75,1,0))) AND CURRBARSCOUNT=49,80,47),COLORGREEN;