A. 怎麼看通達信雙龍會主圖指標(源碼)
看通達信雙龍會主圖指標(源碼)的方法:
打開通達信軟體,然後有主圖跟副圖,副圖上有很多指標,選擇好你平時常用的指標,然後再指標上比如rsi,或者kdi等等,在它們的上面點擊右鍵,就可以看到指標設置,指標源碼,你點擊指標源碼確認,就可以看到所有的源代碼啦!
B. 通達信主圖指標源碼,求老師看有沒有未來,並幫改成選股和預警公式,謝謝
(1)無未來函數
(2)選股公式如下(買入):
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
CROSS(VAR2,MA(VAR3,6));
C. 通達信主波啟動公式
波峰波谷之加號選股指標公式
拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;
拉升力A:=SMA(拉升力,6.3,1);
波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;
拉升力B:=3*拉升力A-2.1*波峰波谷;
空方:=3*波峰波谷-1*拉升力A;做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;
做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;
多頭:IF(做空>=REF(做空,1),做空,DRAWNULL),COLORRED,LINETHICK3;DRAWICON(做空>=REF(做空,1)ANDREF(做空,1)REF(做空,2),做空,19);}短線:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*20,LINETHICK0,COLORWHITE;
中線:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;
紅柱:SMA(短線,3,1),LINETHICK0,COLOR0000FF;
藍柱:SMA(中線,3,1),COLORSTICK,COLORFFFF00;
{紅柱}STICKLINE(紅柱0,0,紅柱,2,0),COLOR888800;STICKLINE(紅柱0,0,紅柱,1.5,0),COLORAAAA00;STICKLINE(紅柱0,0,紅柱,0.8,0),COLORDDDD00;STICKLINE(紅柱0,0,紅柱,0.3,0),COLORFFFF00;STICKLINE(紅柱>REF(紅柱,1)AND紅柱>0,0,紅柱,2,0),COLOR000088;STICKLINE(紅柱>REF(紅柱
D. 誰能幫我編輯下一個條件選股指標 能選出出現全倉買進信號的,下面是源碼 謝謝了
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盤:=3*VAR300-2*VAR400;
全倉專屬:CROSS(操盤,VAR300) AND VAR300<2.1 AND C>O;
E. 請幫我找這個圖的指標 源碼,通達信軟體使用的,謝謝
MA1:MA(C,5),COLORRED,LINETHICK2;
MA2:MA(C,10),COLORYELLOW,LINETHICK2;
MA3:MA(C,30),COLOR9933CC,LINETHICK2;
MA4:MA(C,60),COLORGREEN,LINETHICK1;
K1:=BACKSET(MA1<REF(MA1,1),2);
MA5:IF(K1,MA1,DRAWNULL),COLOR00CC33,LINETHICK2;
K2:=BACKSET(MA2<REF(MA2,1),2);
MA10:IF(K2,MA2,DRAWNULL),COLORFFCC66,LINETHICK2;
K3:=BACKSET(MA3<REF(MA3,1),2);
MA30:IF(K3,MA3,DRAWNULL),COLORBLUE,LINETHICK2;
Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;
YY1:=C>MA(C,5) AND OPEN<MA(C,5);
YY3:=C>MA(C,10) AND OPEN<MA(C,10);
YY5:=C>MA(C,30) AND OPEN<MA(C,30);
DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'蛟龍出海'),COLORRED;
--------------------------------------------------------
指標的名字就叫【蛟龍出海】
會新建吧?不會懂可以單線聯系我~~~~
F. 通達信軟體怎麼編寫一個波段的頂及高點,一個波段的底及低點
{波峰抄波谷}
TY:=C;
Q1:=REF(TY,10)=HHV(TY,2*10+1); W1:=FILTER(Q1,10); P1:=BACKSET(W1,10+1); HD:=FILTER(P1,10);
Q2:=REF(TY,10)=LLV(TY,2*10+1); W2:=FILTER(Q2,10); P2:=BACKSET(W2,10+1); LD:=FILTER(P2,10);
M:=REF(C,BARSLAST(HD));
N:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波峰襲:IF(T1,M,M),COLORRED,POINTDOT;
STICKLINE(T1,M,M,9,0),COLORRED;
波谷:IF(T2,N,N),COLORGREEN,POINTDOT;
STICKLINE(T2,N,N,9,0),COLOR80FF00;
{波峰波谷--主圖公式}
G. 通達信軟體的主圖和兩個副圖的指標源碼改為條件選股公式
第一個
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,5);
B:=REF(A,1);
XG:A>B&&REF(A,1)<REF(B,1);
第二個回
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
XG:CROSS(VAR4,VAR5) AND VAR5<30;第三答個
N:=21; M:=5;
TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),N);
TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),N);
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);
VAR0:=100*(TH*2+TQ)/(TL*2+TQ);
VAR1:=MA(VAR0,M);
W:=CROSS(VAR0,VAR1);
WL1:=VAR1<100;
WLT1:=W AND WL1;
TJ1:FILTER(WLT1,5);
H. 請老師幫忙編寫下圖主圖指標公式,用在通達信版
通達信專用機構通道主圖指標公式
M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34);
MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);
判勢線:=NEWSAR(1,100),COLORYELLOW,LINETHICK2;
牛熊線:IF(MC1>MAX(MC2,MA4),MC1,IF(MC1<MIN(MC2,MA4),MC2,MA4)),COLORFF00CC,LINETHICK2;
AA:=1;
中軌:EMA(CLOSE,17)*AA,LINETHICK1,COLORFFFFFF;
賣出線:中軌+2*STD(CLOSE,17),LINETHICK1,COLOR0000FF;
買入線:中軌-2*STD(CLOSE,17),LINETHICK1,COLOR00CC00;
清倉線:中軌+3*STD(CLOSE,17),LINETHICK1,COLORFF00FF;
滿倉線:中軌-3*STD(CLOSE,17),LINETHICK1,COLOR00AA00;
LOCK:=IF(TIME<1160101,1,0);
VARA:=MA(CLOSE,20);
趨勢線:IF(VARA>REF(VARA,2),VARA,IF(VARA<REF(VARA,2),VARA,VARA)),COLOR00FF00;
IF(VARA>REF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLORFF00FF;
IF(VARA=REF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLORFF0000;
IF(VARA<REF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLOR00FF00;
買入:IF(VARA>REF(VARA,2) AND REF(VARA<=REF(VARA,2),1),1,0),NODRAW,COLORAAAAAA;
DRAWICON(CROSS(LOW,滿倉線),滿倉線*0.96,11);
DRAWICON(CROSS(HIGH,清倉線),HIGH,12);
TY:=CLOSE;
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
A:=REF(CLOSE,BARSLAST(HD)); B:=REF(CLOSE,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波峰:IF(T1,A,A),COLORFF00FF,POINTDOT;
STICKLINE(T1,A,A,1.5,0),COLORFF00FF;
波谷:IF(T2,B,B),COLOR80FF00,POINTDOT;
STICKLINE(T2,B,B,1.5,0),COLOR80FF00;
MA1:=MA(C,3);
XG1:=MA1>REF(MA1,1) AND REF(MA1,1)<REF(MA1,2) AND C>MA(C,7);
DRAWTEXT(FILTER(XG1,9),LOW*0.97,'B'),COLORRED,LINETHICK2;
DRAWICON(FILTER(XG1,9),LOW*0.98,1);
VAR2:=SUM(IF(CLOSE>OPEN,VOL,0),30)/SUM(VOL,30)*100;
VAR3:=100-SUM(IF(CLOSE>OPEN,VOL,0),30)/SUM(VOL,30)*100;
多頭力量:= VAR2;
空頭力量:= VAR3;
RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
XG2:=多頭力量 > 空頭力量 AND 多頭力量 - 空頭力量>30 AND CROSS(D,K) OR
MA1<REF(MA1,1) AND REF(MA1,1)>REF(MA1,2) AND REF(MA1,2)>REF(MA1,3) AND K>50;
DRAWTEXT(FILTER(XG2,9),H*1.06,'S'),COLORGREEN,LINETHICK2;
DRAWICON(FILTER(XG2,9),H*1.02,2);
{跳空缺口}
LL1:=REF(L,1);
HH1:=REF(H,1);
SQK:=L>HH1;
XQK:=H<LL1;
上跳:IF(SQK=1,L-HH1,DRAWNULL),COLORFF00FF,CROSSDOT,LINETHICK3,NODRAW;
下跳:IF(XQK=1,H-LL1,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW;
STICKLINE(SQK,L,HH1,4*1,1),COLORYELLOW;{上跳}
STICKLINE(XQK,H,LL1,4*1,2),COLOR00FF00;{下跳}
DRAWTEXT(SQK,H,'上跳'),COLORYELLOW;
DRAWTEXT(XQK,L,'下跳'),COLOR00FF00;
{補缺口}
K1:=BARSLAST(L>REF(H,1));
K2:=L<REF(H,K1+1) AND COUNT(L<REF(H,K1+1),K1)=1;
STICKLINE(K2,L,O,1,0),COLORFF00FF;{缺口回補};
DRAWTEXT(K2=1,L,'回補'),COLORFF00FF;