① 在大智慧編入黃金坑的指標公式
1 源碼
「大智慧」指標「黃金坑」源碼
Var1:=MA(WINNER(CLOSE),9)*100;
買!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;
Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;
Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var4:=SMA(Var3,9,1);
Var5:=SMA(Var4,9,1);
Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);
Var7:=REF(Var6,1)>13 AND REF(Var6,1)/Var6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;
春筍: IF(Var7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;
Var8:=MA(CLOSE,27);
Var9:=(CLOSE-Var8)/Var8*100;
VarA:=MA(Var9,2);
VarB:=BARSLAST(CROSS(-10,VarA)=1);
VarC:=BARSLAST(CROSS(VarA,10)=1);
VarD:=VarA<-10 AND VarB>3;
VarE:=VarA>10 AND VarC>3;
黃金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;
財神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;
貪嘴樂: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF;
DRAWICON(貪嘴樂>0,40,1);
VarF:=REF(LOW,1)*0.9;
Var10:=LOW*0.9;
Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;
Var12:=EMA(Var11,30);
Var13:=CLOSE-REF(CLOSE,1);
Var14:=MAX(Var13,0);
Var15:=ABS(Var13);
Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;
Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;
Var18:=BARSCOUNT(CLOSE);
Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;
Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);
Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var1E:=SMA(Var1D,4,1);
Var1F:=SMA(Var1E,3,1);
Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;
血戰超跌: STICKLINE(Var21,0,60,5,0);
2 輸入方法
在軟體左上角點擊「功能」
選擇「自編指標」
點擊彈出的對話框里的「自編」
點擊「新建」
在新彈出的對話框里輸入名稱
在對話框下面輸入空白地方頂頭復制以上公式
點擊測試,成功後保存即可
② 百分百的黃金坑指標公式
百分百的黃金坑指標公式具體如下:
VAR1:=MA(CLOSE,27);VAR2:=(CLOSE-VAR1)/VAR1*100;VARA:=MA(VAR2,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);VARC:=BARSLAST(CROSS(VARA,10)=1);VARD:=VARA<-10 AND VARB>3;VARE:=VARA>10 AND VARC>3;
黃金坑:=IF(VARD,VARA,0);黃金:=REF(黃金坑,1)<0;黃金坑選股:黃金 AND 黃金坑=0
黃金坑指標基本技術特徵有幾點:股價在築底和探底的過程中,出現一個中陰線或大陰線向下破位;經過短期、快速下跌後,以一根長下影的K線止跌回升;股價經過短期快速下跌後,然後又比較快速地回到破位陰線上方,完成挖坑任務;黃金坑向下破位時可能有跳空缺口,反彈回升時可有起跳缺口;該股在單針探底時,常放出較大成交量,主力在此位置護盤以及吸籌。
拓展資料:
1.黃金坑意義:主力不給你補底買入的機會.主力拉升興奮的同時.使你就踏空!讓看淡後勢而在坑中出票的人叫苦不迭,再追時就只有給主力抬轎了,這正是主力利用黃金坑要達到的效果。對散戶而言「機會都是跌出來的」,這是股市裡常聽到的一句話,然而短線客們往往為追逐強勢股,常常追漲殺跌。波段操作的成功與否,關鍵是買入時是否找到最好的買點。而「黃金坑」正是跌出來的最佳買點,一旦抓住一個黃金坑的機會,短期內收益會迅速暴漲。連續下跌可怕,下跌的時候出局更可怕,黃金坑的股票是短線操作的最佳買點,在最近幾天開始出現,歷史上短線個股的目標空間在30%以上。中長線品種是極佳買入機會。
2.黃金坑指標存在的四種形態:大肆打壓擊穿成本位,主力在建倉後完成後,往往利用大勢轉弱或利空消息,瘋狂打壓股價,有時候甚至不惜擊穿自己的建倉成本,以此震懾中小投資者,獲取更多的廉價籌碼,為今後的拉升清除障礙;跌破平台整理區,在投資者看好該股時,主力利用籌碼優勢,做一根或幾根大陰線迅速擊穿平台區,散戶出逃,主力再迅速拉起,進入主升浪;擊穿箱底後迅速回拉,在中、大盤群眾基礎比較好的個股中,主力用這種手法進行洗盤;擊穿上升通道下軌後企穩回升,往往在初起階段會有非常多的個股採用這種手段延長吸籌時間,增加吸取低價籌碼的量。
③ 我想要一個能下載的黃金坑指標公式和超級簡訊指標公式源碼,那位朋友能提供,謝謝
{黃金坑:}
VAR8:=MA(CLOSE,27);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VARA:=MA(VAR9,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
黃金坑: IF(VARD,VARA/2,0),LINESTICK ,LINETHICK2, COLORYELLOW;
買穩賺: IF(VARA>REF(VARA,1) AND VARD AND VARA<-15,7,0),LINETHICK2,LINESTICK,COLORFFA2AF;
DRAWICON(買穩賺>0,10,7);
{超級短線:}
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4);
J: (VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D: MA(J,3);
K: MA(J,1);
④ 請老師編個選股指標條件是黃金坑、貪嘴樂、春筍、買在5天內都出現時,謝謝
REFLINE: -15, {0}, {20}, {40}, {60};
VAR1:=MA(WINNER(CLOSE),9)*100;
買!: CROSS(VAR1,2)*30,COLOR0000FF ,LINETHICK3 ;
VAR2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,9,1);
VAR6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);
VAR7:=REF(VAR6,1)>13 AND REF(VAR6,1)/VAR6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;
春筍: IF(VAR7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;
VAR8:=MA(CLOSE,27);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VARA:=MA(VAR9,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
VARE:=VARA>10 AND VARC>3;
黃金坑: IF(VARD,VARA,0),LINESTICK ,LINETHICK2, COLORYELLOW;
財神到: IF(VARE,VARA,0),LINESTICK , COLORGREEN;
貪嘴樂: IF(VARA>REF(VARA,1) AND VARD AND VARA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF;
選股:COUNT(黃金坑,5)>0 AND COUNT(貪嘴樂,5)>0 AND COUNT(春筍,5)>0 AND COUNT(買!,5)>0; {這就是你所要求的5天內滿足四種信號都曾出現的選股程序}
DRAWICON(貪嘴樂>0,40,1);
⑤ 怎麼通達信附圖上添加一個新指標公式我只想在附圖上添加一個黃金坑指標,不知怎麼添加,請老師告訴我,
您好。點擊通達信公式管理器,新建技術指標公式,然後將公式代碼拷貝進去就可以了。
祝投資順利。
⑥ 黃金坑找底指標,另外求助高手做一個選股公式
{黃金坑找底-選股}
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
黃金坑:=IF(RRD,1,0);
TYP := (HIGH + LOW + CLOSE)/3;
{CCI14:=IF((TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))<-120,1,0);}
CCI14:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
XG:黃金坑 AND CROSS(CCI14,-120);
{這個黃金坑找底選股不知是否符合你的要求?}
⑦ 黃金分割(主圖 指標)通達信指標公式源碼
首先畫黃金分割線一定要有確認高低點的判斷條件只有判斷了高低點的具體位置才能畫黃金分割線的主圖指標,例如下圖的黃金分割指標,用n日高低點來做判斷條件畫黃金分割線效果如圖.
通過調整n日內的高低點來改變黃金分割畫線位置
⑧ 請問哪位高手有通達信的黃金坑指標啊,想和你分享一下,謝謝!不是用來炒黃金的指標哦
REFLINE: -15, {0}, {20}, {40}, {60};
VAR1:=MA(WINNER(CLOSE),9)*100;
買!: CROSS(VAR1,2)*30,COLOR0000FF ,LINETHICK3 ;
VAR2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,9,1);
VAR6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);
VAR7:=REF(VAR6,1)>13 AND REF(VAR6,1)/VAR6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;
春筍: IF(VAR7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;
VAR8:=MA(CLOSE,27);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VARA:=MA(VAR9,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
VARE:=VARA>10 AND VARC>3;
黃金坑: IF(VARD,VARA,0),LINESTICK ,LINETHICK2, COLORYELLOW;
財神到: IF(VARE,VARA,0),LINESTICK , COLORGREEN;
貪嘴樂: IF(VARA>REF(VARA,1) AND VARD AND VARA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF;
DRAWICON(貪嘴樂>0,40,1);
VARF:=REF(LOW,1)*0.9;
VAR10:=LOW*0.9;
VAR11:=(VAR10*VOL+VARF*(CAPITAL-VOL))/CAPITAL;
VAR12:=EMA(VAR11,30);
VAR13:=CLOSE-REF(CLOSE,1);
VAR14:=MAX(VAR13,0);
VAR15:=ABS(VAR13);
VAR16:=SMA(VAR14,7,1)/SMA(VAR15,7,1)*100;
VAR17:=SMA(VAR14,13,1)/SMA(VAR15,13,1)*100;
VAR18:=BARSCOUNT(CLOSE);
VAR19:=SMA(MAX(VAR13,0),6,1)/SMA(ABS(VAR13),6,1)*100;
VAR1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1C:=SMA((SMA(VAR1B,4,1)-50)*2,3,1);
VAR1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1E:=SMA(VAR1D,4,1);
VAR1F:=SMA(VAR1E,3,1);
VAR20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR21:=VAR19<=25 AND VAR1A<-95 AND VAR20>20 AND VAR1C<-30 AND VAR1F<30 AND VAR12-CLOSE>=-0.25 AND VAR16<22 AND VAR17<28 AND VAR18>50;
血戰超跌: STICKLINE(VAR21,0,60,5,0);
我沒用過,因為不會用,如果你有所領悟,請教我分享行么?
⑨ 求大俠,根據通達信黃金坑附圖指標修改選股條件指標
第一,你的公式不全;第二,公式里有未來函數,這種指標最好別用,更不要作為選股指標。
送你個沒有未來函數的黃金坑指標:
VAR1:=MA(WINNER(CLOSE),9)*100;
買!: CROSS(VAR1,2)*20,COLOR0000FF ,LINETHICK3;
VAR2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;
VAR3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR4:=SMA(VAR3,9,1);
VAR5:=SMA(VAR4,9,1);
VAR6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);
VAR7:=REF(VAR6,1)>13 AND REF(VAR6,1)/VAR6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;
春筍: IF(VAR7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;
VAR8:=MA(CLOSE,27);
VAR9:=(CLOSE-VAR8)/VAR8*100;
VARA:=MA(VAR9,2);
VARB:=BARSLAST(CROSS(-10,VARA)=1);
VARC:=BARSLAST(CROSS(VARA,10)=1);
VARD:=VARA<-10 AND VARB>3;
VARE:=VARA>10 AND VARC>3;
黃金坑: IF(VARD,VARA/2,0),LINESTICK ,LINETHICK2, COLORYELLOW;
財神到: IF(VARA>5,VARA,0),LINESTICK,COLORFF66FF;
貪嘴樂: IF(VARA>REF(VARA,1) AND VARD AND VARA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF;
DRAWICON(貪嘴樂>0,40,1);
VARF:=REF(LOW,1)*0.9;
VAR10:=LOW*0.9;
VAR11:=(VAR10*VOL+VARF*(CAPITAL-VOL))/CAPITAL;
VAR12:=EMA(VAR11,30);
VAR13:=CLOSE-REF(CLOSE,1);
VAR14:=MAX(VAR13,0);
VAR15:=ABS(VAR13);
VAR16:=SMA(VAR14,7,1)/SMA(VAR15,7,1)*100;
VAR17:=SMA(VAR14,13,1)/SMA(VAR15,13,1)*100;
VAR18:=BARSCOUNT(CLOSE);
VAR19:=SMA(MAX(VAR13,0),6,1)/SMA(ABS(VAR13),6,1)*100;
VAR1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1C:=SMA((SMA(VAR1B,4,1)-50)*2,3,1);
VAR1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1E:=SMA(VAR1D,4,1);
VAR1F:=SMA(VAR1E,3,1);
VAR20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR21:=VAR19<=25 AND VAR1A<-95 AND VAR20>20 AND VAR1C<-30 AND VAR1F<30 AND VAR12-CLOSE>=-0.25 AND VAR16<22 AND VAR17<28 AND VAR18>50;
血戰超跌: STICKLINE(VAR21,0,50,1,0);