❶ 求文檔: 經傳主力控盤指標通達信源碼
{N 1 300 35
M 1 500 35
N1 1 1000 3}
B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;
B2:=SMA(B1,N,1)+100;
B3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
控盤程度:(IF(B6>N1,B6-N1,0))*2.5,COLORYELLOW;
控盤度:100,COLORRED;
STICKLINE( 控盤程度,0,控盤程度 ,7,0 ),COLOR00FFFF;
STICKLINE( 控盤程度 AND 控盤程度>100,100,控盤程度 ,7,0 ),COLORRED;
這個是網上現在流傳的經傳主力控盤源碼。主要是模仿了指標的形態,指標的內在演算法是完全偏離不真實的。
❷ [通達信公式] 求圖中所含公式指標源碼,請高手幫忙,萬分感謝 !
{通達信已通過測試,會出現紅色箭頭時,報警}
DIFIF1:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEAEA1:= EMA(DIFIF1,9);
CROSS(DIFIF1,DEAEA1);
❸ 主圖均線MARPS(20200520)+通達信公式源碼
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA50:MA(CLOSE,50);
MA250:MA(CLOSE,250);
{劃記號}
GGXG:=HHV(C,1)=HHV(C,0);
DRAWICON(BARSSINCEN(GGXG,20)=0,LOW*0.95,41);
{偏移值}
偏10%:(C-MA(C,10))/MA(C,10)*100,NODRAW,COLORWHITE;
偏20%:(C-MA(C,20))/MA(C,20)*100,NODRAW,COLORWHITE;
偏50%:(C-MA(C,50))/MA(C,50)*100,NODRAW,COLORWHITE;
{一年新高}
一年新高價:HHV(H,250),NODRAW,COLORWHITE;
STICKLINE(ISLASTBAR,一年新高價,一年新高價,10,1),COLORRED;
距離:(一年新高價-CLOSE)/CLOSE*100,NODRAW;
{中期調整}
X:=CONST(HHV(HIGH,120));
X2:=HHVBARS(H,120)+1;
X3:=CONST(LLV(LOW,X2));
X4:=X3/X;X5:=X4*100-100;DRAWNUMBER(L=X3,X3,X5);
中期調整:X5,NODRAW;IF(X5<=-30,X5,DRAWNULL),NODRAW,COLORRED;
{AMA20}
N:=20;
DIR:=ABS(CLOSE-REF(CLOSE,N));
VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),N);
ER:=DIR/VIR;
CS:=ER*(2/3-2/31)+2/31;
CQ:=CS*CS;
AMA1:DMA(CLOSE,CQ),COLORGREEN,LINETHICK2;
AMA2:IF(AMA1>REF(AMA1,1),AMA1,DRAWNULL),COLORRED,LINETHICK2;
{AMA乖離位}
AMA值:=DMA(CLOSE,CQ);
乖離位1:AMA值*1.08,NODRAW,COLORFFFF00;
STICKLINE(ISLASTBAR,乖離位1,乖離位1,10,1),COLORFFFF00;
{月線反轉}
Z:=EXTDATA_USER(3,0);{50天的}
RPS50:=Z/10;
D:=IF(RPS50<=85,0,1);{RPS50大於85}
A:=C/MA(C,250)>1;{站上年線}
NH:=IF(H<HHV(H,50),0,1);
B:=COUNT(NH,30);{一月內曾創50日新高}
NN:=IF(C>MA(C,250),1,0);
AA:=COUNT(NN,30);
AB:=HIGH/HHV(HIGH,120)>0.9;{最高價距離120日內的最高價不到10%}
DRAWICON(BARSSINCEN((A AND B AND D AND AA>2 AND AA<30 AND AB),30)=0,LOW,34);
{小黃人}
K120:=EXTDATA_USER(1,0);{120天的RPS}
RPSK120:=K120/10;
K01:=IF(RPSK120<=90,0,1);{RPS120大於90};
K250:=EXTDATA_USER(2,0);{250天的RPS}
RPSK250:=K250/10;
K02:=IF(RPSK250<=90,0,1);{RPS250大於90};
K50:=EXTDATA_USER(3,0);{50天的RPS}
RPSK50:=K50/10;
K03:=IF(RPSK50<=90,0,1);{RPS50大於90};
DRAWICON(BARSSINCEN((K01 AND K02 AND K03),20)=0,LOW*0.95,15);
{漲停跌停標示}
{漲停紅色}
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.5,C,O,3.1,0),COLORYELLOW;
STICKLINE(ZDF>9.5,C,O,2.1,0),COLORYELLOW;
STICKLINE(ZDF>9.5,C,O,1.2,0),COLORYELLOW;
STICKLINE(ZDF>9.5,C,O,0.2,0),COLORYELLOW;
STICKLINE(ZDF>9.5,H,L,0,0),COLORYELLOW;
{跌停綠色}
STICKLINE(ZDF<-9.5,O,C,3.1,0),COLORGREEN;
STICKLINE(ZDF<-9.5,O,C,2.1,0),COLORGREEN;
STICKLINE(ZDF<-9.5,O,C,1.2,0),COLORGREEN;
STICKLINE(ZDF<-9.5,O,C,0.2,0),COLORGREEN;
STICKLINE(ZDF<-9.5,H,L,0,0),COLORGREEN;
{基本面信息}
DRAWTEXT_FIX(ISLASTBAR ,0.20,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.30,0.01,1,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.50,0.10,1,GNBLOCK),COLORWHITE;
{口袋支點個股}
GGM1:=MA(C,10);GGM2:=MA(C,50);GGM3:=MA(C,120);GGM4:=REF(GGM3,1);GGM5:=MA(C,20);
GGM6:=REF(GGM5,1);GGM7:=(H+L)/2;GGM8:=MA(C,200);GGM9:=REF(GGM2,1);GGL250:=LLV(LOW,250);
GGH120:=HHV(HIGH,120);GGX11:=IF(C<REF(C,1),V,0);GGX12:=(L-MA(C,10))/MA(C,10)*100;
GGX13:=(L-MA(C,50))/MA(C,50)*100;GGX14:=H>REF(H,1);GGX15:=C>=REF(O,1);
GGX16:=(C-MA(C,50))/MA(C,50);GGX17:=(C-MA(C,20))/MA(C,20)*100;
GGX18:=(C-MA(C,50))/MA(C,50)*100;
GGY:=EXTDATA_USER(3,0)/10;{50天的}GGY1:=EXTDATA_USER(1,0)/10;{120天的}
GGY2:=EXTDATA_USER(2,0)/10;{250天的}GGY3:=EXTDATA_USER(6,0)/10;{20天的}
{標准口袋支點個股}
DRAWICON((C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=REF(HHV(GGX11,10),1) AND
(GGX12<=1.5 OR GGX13<=1.5) AND C>=O
AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND C>=GGL250*1.2
AND (GGX17<=50 AND GGX18<=50)
AND H>=(GGH120*0.85) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR
(GGY3>=85 AND C>REF(C,1)*1.07)),L*1.01,9);
DRAWICON((C-REF(C,1))/REF(C,1)>=0.095 AND (GGX12<=1.5 OR GGX13<=1.5) AND GGX16<=0.6
AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND GGX17<=45 AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND
C>=GGL250*1.18 AND H>=(GGH120*0.85) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR GGY3>=85)
,L*1.01,9);
BBKD:=((C-REF(C,1))/REF(C,1)>=0.095 OR (VOL>=REF(HHV(GGX11,10),1) AND C>REF(C,1)*1.07))
AND (GGX12<=1.5 OR GGX13<=1.5) AND GGX16<=0.6
AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND GGX17<=45 AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND
C>=GGL250*1.18 AND H>=(GGH120*0.92) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR GGY3>=85);
BBKD1:=(C-REF(C,1))/REF(C,1)>=0.02 AND VOL>=REF(HHV(GGX11,10),1) AND
(GGX12<=1.5 OR GGX13<=1.5) AND C>=O
AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND C>=GGL250*1.2
AND (GGX17<=25 AND GGX18<=25)
AND HHV(C,1)=HHV(C,120) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR
(GGY3>=85 AND C>REF(C,1)*1.07));
{延伸口袋支點個股}
DRAWICON((C-REF(C,1))/REF(C,1)>=0.02 AND GGX12>1.5 AND VOL>=REF(HHV(GGX11,10),1)
AND C>=O AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND C>=GGL250*1.2 AND GGX17<=100
AND C>=(GGH120*0.85) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR (GGY3>=85
AND C>=REF(C,1)*1.07)),H*1.05,37);
DRAWICON((C-REF(C,1))/REF(C,1)>=0.095 AND GGX12>1.5 AND GGX16<=0.6 AND GGX17<=100
AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND C>=GGL250*1.2
AND C>=(GGH120*0.85) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR GGY3>=85)
,H*1.05,37);
YYKD:=(C-REF(C,1))/REF(C,1)>=0.02 AND GGX12>1.5 AND VOL>=REF(HHV(GGX11,10),1)
AND C>=O AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND C>=GGL250*1.2
AND (GGX17<=30 AND GGX18<=30)
AND HHV(C,1)=HHV(C,120) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR (GGY3>=85
AND C>=REF(C,1)*1.07));
YYKD1:=(C-REF(C,1))/REF(C,1)>=0.095 AND GGX12>1.5 AND GGX16<=0.6 AND GGX17<=100
AND GGM5>=GGM6 AND (GGM3>=GGM4 OR GGM2>=GGM9) AND C>GGM5 AND GGX14 AND GGX15
AND C>GGM1 AND C>GGM2 AND C>GGM3 AND C>GGM8 AND C>GGM7 AND C>=GGL250*1.2
AND (GGX17<=30 AND GGX18<=30)
AND C>=(GGH120*0.92) AND (GGY>=85 OR GGY1>=85 OR GGY2>=85 OR GGY3>=85);
DRAWICON(BARSSINCEN(YYKD OR YYKD1 OR BBKD OR BBKD1,20)=0,H*1.05,36);
❹ 求通達信用的機構資金公式源碼
我有個機構持倉量的 給你吧 希望對你有幫助
機構持倉量
換手:=V*100/CAPITAL;
主力:=MA(換手,4);
大戶:=MA(換手,9);
中戶:=MA(換手,17);
散戶:=MA(換手,34);
均量:=(主力+大戶+中戶+散戶)/4;
主力能量:=(主力-均量);
操盤:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;
減倉:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),0,主力能量,3,3),COLORGREEN;
反彈:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),0,主力能量,3,3),COLORRED;
尋底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),0,主力能量,3,3),COLORYELLOW;
❺ 通達信可用的 資金博弈指標的 源代碼
散戶:(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年印花稅下調,單邊收取千分之一)。股票收益即股票投資收益,是指企業或個人以購買股票的形式對外投資取得的股利,轉讓、出售股票取得款項高於股票賬面實際成本的差額,股權投資在被投資單位增加的凈資產中所擁有的數額等。股票收益包括股息收入、資本利得和公積金轉增收益。
❻ 通達信選股公式源碼
你好,通達信選股公式源碼如下。
次日漲停
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=交叉(C,REF(W3,1));
W4和計數(W4,5)=1;
黃轉紫選股
差異:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(差異,9);
MACD:=(DIFF-DEA)*2;
紫柱:MACD<0和MACD>REF(MACD,1)和REF(MACD,1)低位金叉選股
差異:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(差異,9);
MACD:=(DIFF-DEA)*2;
低位金叉:交叉(差異,DEA)和差異<-0.1;
二次金叉選股
差異:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(差異,9);
MACD:=(DIFF-DEA)*2;
JCCOUNT:=計數(交叉(差異,數據包絡分析),BARSLAST(數據包絡分析>=0));
二次金叉:交叉(差異,DEA)和DEA<0,計數(JCCOUNT=2,21)=1;
絕地反彈
(1)
VAR1:=參考值(低,1);
VAR2:=SMA(ABS(低VAR1),13,1)/SMA(最大值(低VAR1,0),13,1)*100;
VAR3:=EMA(如果(關閉*1.2,VAR2*13,VAR2/13),13);
VAR4:=LLV(低,34);
VAR5:=HHV(VAR3,34);
VAR6:=如果(LLV(低,55),1,0);
VAR7:=EMA(如果(低)<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
XL1:=MA(低,2)*0.96;
XL2:=MA(低,26)*0.85;
XL3:=REF(XL1,1)
XG:啟動>25;
(2)
倒退((參考(關閉,1)<參考(打開,1)和
關閉>打開和ABS(關閉參考(關閉,1))/關閉<0.002),2);
A2:=過濾器(A1<=V3,10);
ND資本<300000000
REF(V,1)=LLV(V,4)和V>=REF(V,1)
HHV(V,3)=參考(V,1)和HHV(V,5)=參考(V,1)和HHV(V,21)=參考(V,1)
和V>=REF(V,1)
01>0,T02>0;
1.三線粘合
M:=1;
M5:=MA(閉合,5);
M10:=MA(閉合,10);
M20:=MA(閉合,20);
K1:=最大值(最大值(M5,M10),最大值(M10,M20));
K2:=MIN(MIN(M5,M10),MIN(M10,M20));
A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))<1+0.03*M;
A1:=(K1/K2-1)<0.005;
A2:=(K1/K2-1)<0.005;
A3:=V>REF(V,1)*1.5和V>MA(V,5);
XG:A和A1,A2和A3,C>O和V>REF(V,1),資本<=300000000;
2.三條線粘合
N1:=5;N2:=10;N3:=20;M:=1;
MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);
A3:=V>REF(V,1)*1.5和V>MA(V,5);
最大值(MA1,最大值(MA2,MA3))/MIN(MA1,最小值(MA2,MA3))<1+0.01*M
C>O和V>REF(V,1)和財務(7)<=300000000
A3及資本<=300000000;
3.均線粘合
M:=1;
M5:=MA(閉合,5);
M10:=MA(閉合,10);
M20:=MA(閉合,20);
K1:=最大值(最大值(M5,M10),最大值(M10,M20));
K2:=MIN(MIN(M5,M10),MIN(M10,M20));
A:=最大(M5,最大(M10,M20))/MIN(M5,最小(M10,M20))<1+0.01*M;
A1:=(K1/K2-1)<0.005;
A2:=(K1/K2-1)<0.005;
A3:=V>REF(V,1)*1.5和V>MA(V,5);
XG:A和A1以及A2和A3;
3.金叉選股指標
快線:=均線(均線)(均線(收盤,2,2,2),;
慢線:=EMA(參考(快線,1),2);
A3:=V>REF(V,1)*1.5和V>MA(V,5);
交叉(快線,慢線) 和C>O和
五> =MA(V,21)和V>REF(V,1),資本<=300000000;
❼ 請高手把通達信的這條主力資金(開始控盤、控盤、主力出貨、主力吸貨)指標公式源碼改為可以在同花順上使
VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);
VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);
VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);
VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);
VAR6:=MA(VAR5,3);
開始控盤:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR00AAFF;
STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3.5,0),COLOR0044FF;
STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),2.5,0),COLOR0088FF;
STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),3,0),COLOR00AAFF;
VAR1:=EMA(EMA(CLOSE,3),1);
控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
STICKLINE(控盤<0,控盤,0,3.5,0),COLORFFAA00;
STICKLINE(控盤<0,控盤,0,3.5,2,0,),COLORFF4400;
STICKLINE(控盤<0,控盤,0,2.5,0),COLORFF8800;
STICKLINE(控盤<0,控盤,0,0,0),COLORFFAA00;
主力出貨:0,COLORFFAA00;
STICKLINE(控盤>REF(控盤,3) AND 控盤>0,控盤,0,3.5,0),COLOR000088;
STICKLINE(控盤>REF(控盤,3) AND 控盤>0,控盤,0,2.5,0),COLOR0000AA;
STICKLINE(控盤>REF(控盤,3) AND 控盤>0,控盤,0,1.5,0),COLOR0000CC;
STICKLINE(控盤>REF(控盤,3) AND 控盤>0,控盤,0,1,0),COLOR0000EE;
主力吸貨:0,COLOR0000FF;
STICKLINE(控盤<REF(控盤,3) AND 控盤>0,控盤,0,3.5,0),COLOR008800;
STICKLINE(控盤<REF(控盤,3) AND 控盤>0,控盤,0,2.5,0),COLOR00AA00;
STICKLINE(控盤<REF(控盤,3) AND 控盤>0,控盤,0,1.5,0),COLOR00CC00;
STICKLINE(控盤<REF(控盤,3) AND 控盤>0,控盤,0,1,0),COLOR00EE00;
對倒出貨洗盤:0,COLOR00FF00;
黃色底部吸貨:0,coloryellow;
DRAWTEXT(CROSS(控盤,0),0-3,'買。追'),COLORFF00FF;
DRAWTEXT(CROSS(0,控盤),0-0,'賣'),colorgreen;
{去除了收費專用函數和未來函數部分}
❽ 高分求通達信公式源碼轉換成大智慧源碼
LC:=REF(CLOSE,1);
RSI2:SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
OBV:=RSI2;
P:=10;
A3:=REF(OBV,P)=HHV(OBV,2*P+1);
B3:=FILTER(A3,P);
C3:=BACKSET(B3,P+1);
D3:=FILTER(C3,P);
A4:=REF(OBV,P)=LLV(OBV,2*P+1);
B4:=FILTER(A4,P);
C4:=BACKSET(B4,P+1);
D4:=FILTER(C4,P);
上:=REF(OBV,BARSLAST(D3));
下:=REF(OBV,BARSLAST(D4));
向上:=CROSS(OBV,上*1.01);
相對能量:(OBV-下)/(上-下)*100,COLORYELLOW,LINETHICK0;
R11:=BACKSET(REF(C,1),BARSLAST(D3)+1);
S11:=R11>REF(R11,1);
DRAWLINE(D3,OBV,S11,OBV,1),COLORYELLOW;
T11:=BACKSET(REF(C,1),BARSLAST(D4)+1);
U11:=T11>REF(T11,1);
DRAWLINE(D4,OBV,U11,OBV,1);
STICKLINE(C>0,下,下*0.995,2,0),COLOR00FF00;
STICKLINE(C>0,上,上*0.995,2,0),COLORFF00FF;
DRAWTEXT(CROSS(OBV,上*1.01),上,'上'),COLORYELLOW;
DRAWTEXT(CROSS(下*0.99,OBV),下,'下'),COLORYELLOW;
DRAWICON(D3,OBV,8);
DRAWICON(D4,OBV,7);
20,POINTDOT;
50,POINTDOT;
80,POINTDOT;
❾ 通達信pbx指標源碼
通達信PBX 指標源碼如下
PBX1:(EMA(CLOSE,M1)+MA(CLOSE,M1*2)+MA(CLOSE,M1*4))/3;
PBX2:(EMA(CLOSE,M2)+MA(CLOSE,M2*2)+MA(CLOSE,M2*4))/3;
PBX3:(EMA(CLOSE,M3)+MA(CLOSE,M3*2)+MA(CLOSE,M3*4))/3;
PBX4:(EMA(CLOSE,M4)+MA(CLOSE,M4*2)+MA(CLOSE,M4*4))/3;
PBX5:(EMA(CLOSE,M5)+MA(CLOSE,M5*2)+MA(CLOSE,M5*4))/3;
PBX6:(EMA(CLOSE,M6)+MA(CLOSE,M6*2)+MA(CLOSE,M6*4))/3;