三維立體k線
⑴ 求一個通達信的選股公式-----------(1)30分鍾MACD粘連或KDJ死叉,(2)60分鍾MACD粘連或KDJ死叉。
30分鍾KDJ死叉選股公式:
CROSS(KDJ.D#MIN30,KDJ.K#MIN30);
60分鍾KDJ死叉選股公式:
CROSS(KDJ.D#MIN60,KDJ.K#MIN60);
至於MACD粘連概念模糊,QQ1603161詳解。
⑵ 求公式高手!修改成大智慧經典公式!
公式修改好了,在大智慧新一代可以用,至於經典版能不能用,樓主可以試試:高位:=1; 低位:=1;
DRAWGBK(c>0),color000000;
年線:=emA(c,250);
牛股線:年線-(ema(c,3)-年線),Color555555,linethick1;
總股本:=FINANCE2(35) ;
流通股:=FINANCE2(37);
限售A股:=FINANCE2(41);
每股收益:=FINANCE2(3);
市盈率:=DYNAINFO(39);
每股公積金:=FINANCE2(7);
所屬板塊:=BKNAME;
DRAWTEXTABS(12,8, '所屬板塊:' +所屬板塊),ColorFFBB66;
DRAWTEXTABS(12,21,'每股收益:' +NUMTOSTRN(每股收益,2)+'元 '+ '市盈率:'+NUMTOSTRN(市盈率,1)+'倍 '+' 每股公積金:'+NUMTOSTRN(每股公積金,2)+'元'),Color666666;
DRAWTEXTABS(12,34,'總 股 本:' +NUMTOSTRN(總股本,2)+ ' 萬股'),Color666666;
DRAWTEXTABS(12,47,'流通 A股:' +NUMTOSTRN(流通股,2)+ ' 萬股'),ColorFFBB66;
DRAWTEXTABS(12,60, '限售 A股:' +NUMTOSTRN(限售A股,2)+ ' 萬股'),Color666666;
年認同價:=ma(c,240);
價格中樞:=(SUM(年認同價*1.5,0)/BARPOS);G2:價格中樞*2,Color00BBBB;
G3:價格中樞*1.618,LINETHICK1,color009900;G1:價格中樞*1.2,LINETHICK1,color009900;
G4:價格中樞*0.8*低位,Color999999;G5:價格中樞*(1+(1+0.382*高位)),LINETHICK1,POINTDOT,ColorFF5500;
價格中樞*1,LINETHICK1,COLORFF5500;價格中樞*1.764,LINETHICK1,POINTDOT,ColorFF5500;
價格中樞*1.382,LINETHICK1,POINTDOT,COLORFF55FF;
{以下設置東郭立體K線};
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLORff7700;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff9900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORffbb00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffcc00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffdd00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffee00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0 ),COLORffFF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000055;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000066;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000077;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR0000bb;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000dd;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0) ,COLOR0000ff;
var9Q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
stickline(var9Q,c,(o+c)/2,8,0),color000055;
stickline(var9Q,c,(o+c)/2,7,0),color000066;
stickline(var9Q,c,(o+c)/2,6,0),color000077;
stickline(var9Q,c,(o+c)/2,5,0),color000099;
stickline(var9Q,c,(o+c)/2,4,0),color0000bb;
stickline(var9Q,c,(o+c)/2,3,0),color0000dd;
stickline(var9Q,c,(o+c)/2,1.5,0),color0000ff;
varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4);
stickline(varaQ,c,(o+c)/2,8,0),colorff11ff;
stickline(varaQ,c,(o+c)/2,7,0),colorff33ff;
stickline(varaQ,c,(o+c)/2,6,0),colorff55ff;
stickline(varaQ,c,(o+c)/2,5,0),colorff77ff;
stickline(varaQ,c,(o+c)/2,4,0),colorff99ff;
stickline(varaQ,c,(o+c)/2,3,0),colorffbbff;
stickline(varaQ,c,(o+c)/2,1.5,0),colorffddff;
varbQ:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
stickline(varbQ,c,(o+c)/2,8,0),color333333;
stickline(varbQ,c,(o+c)/2,7,0),color555555;
stickline(varbQ,c,(o+c)/2,6,0),color777777;
stickline(varbQ,c,(o+c)/2,5,0),color999999;
stickline(varbQ,c,(o+c)/2,4,0),colorbbbbbb;
stickline(varbQ,c,(o+c)/2,3,0),colordddddd;
stickline(varbQ,c,(o+c)/2,1.5,0),colorffffff;
varcQ:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
stickline(varcQ,o,(o+c)/2,8,0),color003300;
stickline(varcQ,o,(o+c)/2,7,0),color005500;
stickline(varcQ,o,(o+c)/2,6,0),color007700;
stickline(varcQ,o,(o+c)/2,5,0),color009900;
stickline(varcQ,o,(o+c)/2,4,0),color00bb00;
stickline(varcQ,o,(o+c)/2,3,0),color00dd00;
stickline(varcQ,o,(o+c)/2,1.5,0),color00ff00;
vardQ:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1);
stickline(vardQ,o,(o+c)/2,8,0),colorff1100;
stickline(vardQ,o,(o+c)/2,7,0),colorff3300;
stickline(vardQ,o,(o+c)/2,6,0),colorff5500;
stickline(vardQ,o,(o+c)/2,5,0),colorff7700;
stickline(vardQ,o,(o+c)/2,4,0),colorff9900;
stickline(vardQ,o,(o+c)/2,3,0),colorffbb00;
stickline(vardQ,o,(o+c)/2,1.5,0),colorffdd00;
⑶ 如何能夠看懂K線
K線是最復雜也是最簡單的圖表
每一天的K線配合成交量都可以說明每一天的多空爭奪過程與結果.
讀懂K線.炒股就成功了一半
⑷ 求mt4立體k線指標
新平台
⑸ 股票的個股界面下 如何在指標欄下顯示大盤指數 (如圖)求代碼
將大盤指數設置為指標就可以將其顯示在個股的副圖里,大盤指數設置為指標的順序如下:(以通達信軟體為例)
1、菜單-功能-公式系統-公式管理器-用戶-其他類型-新建;進入「指標公式編輯器」如下圖:
上證指數副圖指標程序如下:
上證:"999999$C",NODRAW,COLORWHITE;
漲跌:"999999$C"-REF("999999$C",1),NODRAW,COLORLIGRAY;
{原系統K線}
DRAWKLINE("999999$H","999999$O","999999$L","999999$C");
{紅青立體K線}
開盤:="999999$O";
收盤:="999999$C";
最高:="999999$H";
最低:="999999$L";
STICKLINE(收盤>=開盤,收盤,開盤,3,0),COLOR000045;{紅色}
STICKLINE(收盤>=開盤,收盤,開盤,2.5,0),COLOR000065;
STICKLINE(收盤>=開盤,收盤,開盤,2,0),COLOR000085;
STICKLINE(收盤>=開盤,收盤,開盤,1.5,0),COLOR0000A5;
STICKLINE(收盤>=開盤,收盤,開盤,1,0),COLOR0000C5;
STICKLINE(收盤>=開盤,收盤,開盤,0.5,0),COLOR0000E5;
STICKLINE(收盤>=開盤,最高,最低,0,0),COLOR0000F5;
STICKLINE(收盤<開盤,收盤,開盤,3,0),COLOR656500;{青色}
STICKLINE(收盤<開盤,收盤,開盤,2.5,0),COLOR757500;
STICKLINE(收盤<開盤,收盤,開盤,2,0),COLOR858500;
STICKLINE(收盤<開盤,收盤,開盤,1.5,0),COLOR959500;
STICKLINE(收盤<開盤,收盤,開盤,1,0),COLORA5A500;
STICKLINE(收盤<開盤,收盤,開盤,0.5,0),COLORB5B500;
STICKLINE(收盤<開盤,最高,最低,0,0),COLORC5C500;
{均線}
MA5:MA("999999$C",5),COLORWHITE;
MA10:MA("999999$C",10),COLORYELLOW;
MA20:MA("999999$C",20),COLORMAGENTA;
{MA30:MA("999999$C",30),COLORCYAN;}
MA60:MA("999999$C",60),COLORGREEN;
{MA120:MA("999999$C",120),COLORBLUE;};
深證指數同樣可以設置為副圖。
⑹ 什麼是操盤黃金線
操盤黃金線是指導股票買入賣出的重要指標,可以根據黃金線的買入賣出信號進行股票買賣:
操盤黃金線{立體K線}公式:
STICKLINE(CLOSE>OPEN,H,LOW,0.3,0 ),COLOR9933FF;
STICKLINE(OPEN>=CLOSE,L,HIGH,0.3,0 ),COLOR66CC33;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0),COLOR00CC00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.5,0),COLOR33FF00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0),COLOR66FF00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0 ),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0 ),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0 ),COLOR0033FF;
{修正價格}{本文來源: 588.com }
重心:(C+0.618*ref(C,1)+0.382*ref(C,2)+0.236*ref(C,3)+0.146*ref(C,4))/2.382COLORRED,LINETHICK1;
GAO:=HHV(C,60)-LLV(C,60);
RSI:=SMA(MAX(重心-ref(重心,1),0),5,1)/SMA(ABS(重心-ref(重心,1)),5,1);
指導線:重心+GAO*(RSI-0.5),COLORMAGENTA,LINETHICK1;
STICKLINE(CROSS(RSI,0.1),指導線,ref(指導線,1),1,0),COLORMAGENTA;
STICKLINE(CROSS(0.9,RSI),指導線,ref(指導線,1),1,0),COLORCYAN;
{趨勢}
平衡:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
紅升:IF(重心>=平衡,平衡,DRAWNULL),COLORRED,LINETHICK2;
藍降:IF(重心<平衡,平衡,DRAWNULL),COLORGREEN,LINETHICK2;
⑺ 請期貨指標高手幫忙把我的指標更改一下,希望能更實用,更准確,多謝,博易大師里的。。。。C:=CLOSE; L:=
這些語句裡面只需要3句就可以達到目的:
WW:=(MA(C,4)+MA(C,8)+MA(C,16)+MA(C,32))/4;
DRAWTEXT(CROSS(C,WW),L-0.02,' 開多');
DRAWTEXT(CROSS(WW,C),H+0.06,' 平多');
其它的都沒有必要,比如,C、L和H在博易大師裡面,本來就默認是收盤價、最低價和最高價,沒有必要在此重復定義。
後面的YY、VV和AA都沒有反映在你的開倉、平倉條件裡面。
另外,很難更實用、更准確,因為這個是均線系統的變形,跳不出均線系統的優缺點。
關鍵在於,你如何使用。
⑻ 請高手做個大智慧5.6的立體三維K線
K線只表示開盤價、最高價、最低價、和收盤價,加上一個時間軸,就是K線圖了.K線沒有立體概念,沒有空間概念,沒有三維概念。
⑼ 大盤副圖指標,能顯示所以大盤的副圖指標
指數:INDEXC,NODRAW;
_:INDEXC-REF(INDEXC,1),NODRAW;
滬深:"000300$CLOSE",NODRAW;
__:"000300$CLOSE"-REF("000300$CLOSE",1),NODRAW;
五日:EMA(INDEXC,5);
三十日:EMA(INDEXC,30);
六十日:EMA(INDEXC,60);
大盤: DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
{畫線}
IF(三十日>REF(三十日,1),三十日,DRAWNULL),COLORRED,LINETHICK2;
IF(六十日>REF(六十日,1),六十日,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
{上證指數K線副圖指標}
DRAWKLINE("999999$H","999999$O","999999$L","999999$C");
上證:"999999$C",COLORWHITE,NODRAW;
_±:"999999$C"-REF("999999$C",1),COLORLIGRAY,NODRAW;
五:MA("999999$C",5),COLORWHITE;
十:MA("999999$C",10),COLORYELLOW;
二十:MA("999999$C",20),COLORMAGENTA;
六十:MA("999999$C",60),COLORGREEN;
⑽ 求高人把通達信公式轉飛狐公式
你的公式沒有問題,但你沒有給你的參數設定值。我給你設一個,你也可以改。
INPUT:M1(5),M2(13),M3(34),M4(89),M5(144),M6(233);
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
MA5:MA(CLOSE,M5);
MA6:MA(CLOSE,M6);
STICKLINE(C<O,v,L,0,1),COLOR00FF73;
STICKLINE(C>O,v,L,0,0),COLOR000DFF;
STICKLINE(C>O,v,O,3.2,0),COLOR000066;
STICKLINE(C>O,v,O,2.7,0),COLOR000077;
STICKLINE(C>O,v,O,2.1,0),COLOR000099;
STICKLINE(C>O,v,O,1.5,0),COLOR0000BB;
STICKLINE(C>O,v,O,0.9,0),COLOR0000DD;
STICKLINE(C>O,v,O,0.3,0),COLOR0000FF;
STICKLINE(C<O,v,O,3.2,0),COLOR005500;
STICKLINE(C<O,v,O,2.7,0),COLOR007700;
STICKLINE(C<O,v,O,2.1,0),COLOR009900;
STICKLINE(C<O,v,O,1.5,0),COLOR00BB00;
STICKLINE(C<O,v,O,0.9,0),COLOR00DD00;
STICKLINE(C<O,v,O,0.3,0),COLOR00FF00;
————————————————————
INPUT:M1(5),M2(13);
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
STICKLINE(C>O,V,O,3.2,0),COLOR000066;
STICKLINE(C>O,V,O,2.7,0),COLOR000077;
STICKLINE(C>O,V,O,2.1,0),COLOR000099;
STICKLINE(C>O,V,O,1.5,0),COLOR0000BB;
STICKLINE(C>O,V,O,0.9,0),COLOR0000DD;
STICKLINE(C>O,V,O,0.3,0),COLOR0000FF;
STICKLINE(C<O,V,O,3.2,0),COLOR005500;
STICKLINE(C<O,V,O,2.7,0),COLOR007700;
STICKLINE(C<O,V,O,2.1,0),COLOR009900;
STICKLINE(C<O,V,O,1.5,0),COLOR00BB00;
STICKLINE(C<O,V,O,0.9,0),COLOR00DD00;
STICKLINE(C<O,V,O,0.3,0),COLOR00FF00;