⑴ 這個通達信指標源碼有誤,請高手幫忙修改調整下,萬分感謝....
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*10;
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))); HSL:=(XVL/20)/1.15;
攻擊:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻擊,3);0,POINTDOT,COLORWHITE;
B1:SUM(LLJX,1),COLORCYAN,COLOR007575; B2:SUM(LLJX,2),COLORCYAN,COLOR007575;
B3:SUM(LLJX,3),COLORCYAN,COLOR007575; B4:SUM(LLJX,4),COLORCYAN,COLOR007575;
B5:SUM(LLJX,5),COLORCYAN,COLOR007575; B6:SUM(LLJX,6),COLORCYAN,COLOR007575;
B7:SUM(LLJX,7),COLORCYAN,COLOR007575; B8:SUM(LLJX,8),COLORCYAN,COLOR007575;
B9:SUM(LLJX,9),COLORCYAN,COLOR007575;
B10:SUM(LLJX,10),COLORCYAN,COLOR007575;
A1:IF(B1>REF(B1,1),B1,DRAWNULL),COLORRED;
A2:IF(B2>REF(B2,1),B2,DRAWNULL),COLORRED;
A3:IF(B3>REF(B3,1),B3,DRAWNULL),COLORRED;
A4:IF(B4>REF(B4,1),B4,DRAWNULL),COLORRED;
A5:IF(B5>REF(B5,1),B5,DRAWNULL),COLORRED;
A6:IF(B6>REF(B6,1),B6,DRAWNULL),COLORRED;
A7:IF(B7>REF(B7,1),B7,DRAWNULL),COLORRED;
A8:IF(B8>REF(B8,1),B8,DRAWNULL),COLORRED;
A9:IF(B9>REF(B9,1),B9,DRAWNULL),COLORRED;
A10:IF(B10>REF(B10,1),B10,DRAWNULL),COLORRED;
⑵ 通達信 這些小人、$、鑽石、4箭頭分別是什麼意思 各種常用指標等 解釋下
此圖是通達信圖標及代碼
每個指標編輯人喜好不一樣,他們會選擇自己認為能代碼該點狀態的圖標放入,你要知道圖標的意義要看指標原碼,才知道編制人的想法。一般1號圖標是可介入的意思,15號是離開的意思,2號也是離開的意思。
你如果需要知道某個圖標在指標中的含義,最好把原碼發上來,這樣就看得明白。
⑶ 通達信金牛判勢指標源碼和機構震倉指標怎麼寫,如下圖效果
金牛判勢主圖公式:
DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);
DRAWTEXT_FIX(1,0.88,5,0,'~☆~皓天~☆~'),COLORBLUE;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
金牛:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
金鑽趨勢:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
金牛2:EMA(金鑽趨勢,25)COLORCYAN,LINETHICK2;
DRAWBAND(金鑽趨勢,RGB(55,0,0),金牛2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(金鑽趨勢>LOW AND 金鑽趨勢<HIGH,金鑽趨勢,MIN(MIN(OPEN,CLOSE),金鑽趨勢),2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>MIN(C,O) AND 金鑽趨勢<MAX(C,O),金鑽趨勢,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(金鑽趨勢>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回調買:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=金鑽趨勢>HIGH AND 回調買 AND L<=金鑽趨勢;
DRAWTEXT(XG,L,'▲買入'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;
V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<金牛;
{DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<金鑽趨勢,L,'↖金鑽起漲'),COLORMAGENTA;
2機構震倉副圖公式:
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
綠探底震倉:IF(VAR2,10,DRAWNULL),COLORGREEN,LINETHICK9;
紅買: IF(VAR2>VAR3,10,DRAWNULL), COLORRED,LINETHICK9;
藍賣: IF(VAR2<VAR3,10,DRAWNULL),COLORFFFF00,LINETHICK9;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
上穿買:SMA(RSV,3,1),COLORRED;
下穿賣:SMA(上穿買,3,1),COLORFFFF00;
希望我的回答能使你滿意。
⑷ 用通達信金牛判勢指標設置選股為金牛大於金鑽趨勢,金鑽趨勢大於金牛2,股價偏離金牛2選股公式選出如圖
為什麼不把公式源碼復制粘貼上來呢?只發截圖是沒有人會浪費時間給你改編的!
你的這個公式使用了XMA(偏移移動平均)函數,它是未來函數,不可以做選股公式使用。
只可以做盤後分析使用.。
⑸ 金鑽漲起是什麼意思
金鑽起漲是一個通達信指標公式,股價跌到一定階段時,K線會顯示金色。
⑹ 跪求高手把通達信的指標轉成同花順能用: 自己改了很多遍但是出來的結果都不對
公式修改成同花順了,樓主可以試試看吧:MA30:=EMA(CLOSE,30);
強弱:EMA(CLOSE,900);
STICKLINE((MA30>強弱),MA30,強弱,1,0),COLOR0000FF;
STICKLINE((MA30<強弱),MA30,強弱,1,0),COLOR00FF00;
H1:=MAX(PRE,HIGH);
L1:=MIN(PRE,LOW);
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撐:L1+P1*0.5/8,COLOR00DD00;
現價:CLOSE,colorwhite,LINETHICK1;
STICKLINE(CROSS(支撐,現價),支撐,阻力,1,0),coloryellow;
DRAWTEXT(LONGCROSS(支撐,現價,2),支撐*1.001,'★B'),coloryellow;
DRAWTEXT(LONGCROSS(現價,阻力,2),現價,'★'),colorred;
⑺ 通達信指標編寫小問題
IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED;
IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORGREEN;
加入這個就可以了。
⑻ 把下面通達信指標公式改成條件選股公式
可以編寫選股公式,但首先要說明選股條件啊,是選買入提示啊,還是選那個金鑽起漲,還是選什麼其他的條件。還是某幾個條件,或者幾個條件同時發生。這需要你說明選股條件才好編寫啊
⑼ 有個金鑽公式通達信版的,東方財富通用不了,望哪路高手給改成東方財富通版的!
測試了你的源碼財富通裡面可以用的,公式用未來函數編寫的,慎用!
、