㈠ 求通達信主圖指標公式
X0:=BACKSET(REF(C,3)<MA(C,3) AND REF(V,3)>MA(V,3) AND REF(C/REF(C,1)>1.03 AND C>O,3),4);
X1:=X0 AND REF(X0,1)=0;
STICKLINE(X1,H,C,0,0),COLORFF0080;
STICKLINE(X1,O,C,3,0),COLORFF0080;
STICKLINE(X1,L,O,0,0),COLORFF0080;
X3:=BACKSET(LLV(L,3)>REF(C,3) AND REF(X1,3),4);
STICKLINE(X3,REF(C,BARSLAST(X1)),REF(C,BARSLAST(X1)),5,0),COLORFF0080;
X5:=BACKSET(LLV(L,3)<REF(O,3) AND REF(X1,3),4);
STICKLINE(X5,REF(L,BARSLAST(X1)),REF(L,BARSLAST(X1)),5,0),COLORFF0080;
㈡ 求高手做個黃金目標主圖指標公式,見補充
高點:=10;
低點:=10;
高點選擇:=1;
低點選擇:=1;
波浪尺1:=0;
波浪尺2:=1;
PURC:=CONST(FINDHIGH(H,0,高點*10,高點選擇));
PLZ:=CONST(BARSLAST(PURC=H))+1;
頂X:=CONST(IF(PLZ=1,H,REF(H,PLZ-1)));
QQT:=CONST(FINDLOW(L,0,低點*10,低點選擇));
PLL:=CONST(BARSLAST(QQT=L))+1;
低X:=CONST(IF(PLL=1,L,REF(L,PLL-1)));
DRAWKLINE(H,O,L,C);
頂點:頂X,COLORRED;
底點:低X,COLORRED;
波動速率:=100*((頂X-低X)/(IF(PLL>PLZ,低X,頂X)))/(PLL-PLZ),NODRAW,COLORMAGENTA;
波動幅度:=((頂X-低X)/(IF(PLL>PLZ,低X,頂X)))*100;
波動價位:=(頂X-低X)*(IF(PLL>PLZ,1,-1));
BPURC:=CONST(FINDHIGH(H,0,(IF(波浪尺1>0,波浪尺1,IF(PLZ<PLL,高點,低點)))*5,波浪尺2));
BPLZ:=CONST(BARSLAST(BPURC=H))+1;
BQQT:=CONST(FINDLOW(L,0,(IF(波浪尺1>0,波浪尺1,IF(PLZ<PLL,高點,低點)))*5,波浪尺2));
BPLL:=CONST(BARSLAST(BQQT=L))+1;
BLC1:=CONST(FINDHIGH(H,0,(IF(波浪尺1>0,波浪尺1,IF(PLZ<PLL,高點,低點)))*5,波浪尺2));
BLC2:=CONST(BARSLAST(BPURC=H))+1;
BLC頂X:=CONST(IF(BPLZ=1,H,REF(H,BPLZ-1)));
BLC3:=CONST(FINDLOW(L,0,(IF(波浪尺1>0,波浪尺1,IF(PLZ<PLL,高點,低點)))*5,波浪尺2));
B6C4:=CONST(BARSLAST(BQQT=L))+1;
BLC低X:=CONST(IF(BPLL=1,L,REF(L,BPLL-1)));
BASE:=IF(波動速率<0,BLC頂X,BLC低X)COLORRED;
BLCX:=IF(波動速率<0,-1,1);
BLCZ:=(頂點-底點)*(IF(PLL>PLZ,1,-1));
B618:=BASE+(BLCZ*0.618)COLORRED,DOTLINE;
B382:=BASE+(BLCZ*0.382)COLORRED,DOTLINE;
B05:=BASE+(BLCZ*0.5)COLORRED,DOTLINE;
B809:=BASE+(BLCZ*0.809)COLORRED,DOTLINE;
B191:=BASE+(BLCZ*0.191)COLORRED,DOTLINE;
B100:=BASE+(BLCZ*1)COLORRED;
B200:=BASE+(BLCZ*2)COLORRED;
B11:=BASE+(BLCZ*1.191)COLORRED;
B12:=BASE+(BLCZ*1.382)COLORRED;
B13:=BASE+(BLCZ*1.5)COLORRED;
B14:=BASE+(BLCZ*1.618)COLORRED;
B15:=BASE+(BLCZ*1.809)COLORRED;
BZ1:=BASE+(BLCZ*0.236)COLORRED;
BZ2:=BASE+(BLCZ*1.236)COLORRED;
BZ3:=BASE+(BLCZ*2.236)COLORRED;
B11B:=BASE+(BLCZ*2.191)COLORRED;
B12B:=BASE+(BLCZ*2.382)COLORRED;
B13B:=BASE+(BLCZ*2.5)COLORRED;
B14B:=BASE+(BLCZ*2.618)COLORRED;
B15B:=BASE+(BLCZ*2.809)COLORRED;
B300:=BASE+(BLCZ*3)COLORRED;
XZDD:=IF(PLL>PLZ,BPLL,BPLZ);
STICKLINE(CURRBARSCOUNT=XZDD ,BASE,B300,0,0),COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B05,'---------0.500')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,BASE,'---------BASE')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B618,'---------0.618')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B809,'---------0.809')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B382,'---------0.382')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B191,'---------0.191')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B100,'---------1.000')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B11,'---------1.191')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B12,'---------1.382')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B13,'---------1.500')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B14,'---------1.618')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B15,'---------1.809')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B200,'---------2.000')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B11B,'---------2.191')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B12B,'---------2.382')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B13B,'---------2.500')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B14B,'---------2.618')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B15B,'---------2.809')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,B300,'---------3.000')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,BZ1,'---------0.236')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,BZ2,'---------1.236')COLORRED;
DRAWTEXT(CURRBARSCOUNT=XZDD,BZ3,'---------2.236')COLORRED;
QADQ:=IF(PLL>PLZ,PLL,PLZ);
QADH:=IF(PLL>PLZ,PLZ,PLL);
QHL1:=IF(PLL>PLZ,L,H);
QHL2:=IF(PLL>PLZ,H,L);
DRAWLINE(CURRBARSCOUNT=QADQ,QHL1,CURRBARSCOUNT=QADH,QHL2,0)COLORRED;
DRAWLINE(CURRBARSCOUNT=QADH,QHL2,CURRBARSCOUNT=XZDD,QHL1,0)COLORRED;
㈢ 黃金分割(主圖 指標)通達信指標公式源碼
首先畫黃金分割線一定要有確認高低點的判斷條件只有判斷了高低點的具體位置才能畫黃金分內割線的主圖指容標,例如下圖的黃金分割指標,用n日高低點來做判斷條件畫黃金分割線效果如圖.
通過調整n日內的高低點來改變黃金分割畫線位置
㈣ 請做個通達信黃金柱公式
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
A:=BARSLAST(LJL);
B1:=REF(L,A);
B2:=B1>REF(B1,1);
XG:COUNT(A=1 AND B2,250)>=6;
{希望幫到你}
㈤ 求通達信黃金柱預警公式
HJZ:=(3*C+H+L+O)/6;
HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
黃金柱:FILTER(HJZ3,5);
㈥ 通達信公式:怎麼在指標上加一個原有的軟體自帶的主圖,並且讓漲停的柱子里標注一個黃柱,非常謝謝老師了
ZT:=(C-REF(C,1))/REF(C,1)*100>9.96;
STICKLINE(ZT,C,O,1,0),COLORYELLOW;
只需把這兩句代碼加入原主圖公式即可。
㈦ 求通達信黃金主圖選股公式,非常感謝!
1、怎樣選出由藍點變成第一個黃點的票?即條件選股M1>M2
{選股}
N:=20; N1:=7; N2:=79;
M1:=EMA(CLOSE,3);
M2:=EMA(CLOSE,8);
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
XG1:REF(A<B,1) AND A>B AND M1>M2;
2、條件選股周K線最高價上穿M4的選股公式?
這條通達信不能做出選股公式。
僅供參考,希望分析對你有幫助,順祝馬年投資順利!
㈧ 如何使用通達信黃金柱指標選股
VARF:=TROUGHBARS(3,15,1)<4;
XG:FILTER(VARF=1,3);
{這個指標有未來函數 使用時要注意}
㈨ 在通達信軟體里怎樣導入黃金柱主圖公式
功能---專家系統---公式管理器---導入公式(查找你下載的公式),按照提示即可導入。