❶ 黄金分割(主图 指标)通达信指标公式源码
首先画黄金分割线一定要有确认高低点的判断条件只有判断了高低点的具体位置才能画黄金分内割线的主图指容标,例如下图的黄金分割指标,用n日高低点来做判断条件画黄金分割线效果如图.
通过调整n日内的高低点来改变黄金分割画线位置
❷ 股票软件指标黄金底怎么编公式
{“黄金底”--共参考}
MA4:=MA(C,4);
MA24:=MA(C,24);
MA10:=MA(C,10);
J:=KDJ.J;
SJ:=BARSLAST(CROSS(MA4,MA24));
TJ:=COUNT(CROSS(MA4,MA24),SJ+1)=1;
DD:=DMI.ADX;
XG:=CROSS(C,MA24) ;
DIF:=EMA(C,12)-EMA(C,27);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
T:=BARSLAST(MACD<0);
X:=HHV(MACD,T);
GD:=IF(T>0,X,-1);
FF:=CROSS(-0.5,GD);
T2:=BARSLAST(FF);
黄金底:=GD>REF(GD,T2+1);
JJ:=GD>REF(GD,T2+1) AND REF(MACD,1)<=REF(GD,T2+1) AND REF(MACD,2)>REF(GD,T2+1) AND MACD>REF(GD,T2+1) ;
XG2:=XG AND 黄金底 ;
XG3:=XG2=0 AND TJ AND SJ<5 AND 黄金底 ;
XG4:=FILTER(XG3,6);
GL:=COUNT(XG2,BARSLAST(XG2)+4) AND XG4;
ZXG:=(XG2 OR XG4) AND GL=0 AND MA4>REF(MA4,1) AND C>O ;
ZZ:FILTER(ZXG,5);
❸ 将终极黄金指标改为选股公式,选出最近四天前是蓝色点 最近连续三天出现黄金点的股票 ,谢谢大师!源码见下
公式应该是博奕的,缺少三个参数:N,N1,N2;请提供这三个参数并注明要应用于什么股软.
❹ 我想要一个能下载的黄金坑指标公式和超级短信指标公式源码,那位朋友能提供,谢谢
{黄金坑:}
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);
❺ 谁知道黄金坑的指标公式的准确率,到底怎么样
订书钉
❻ 求通达信黄金主图选股公式,非常感谢!
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的选股公式?
这条通达信不能做出选股公式。
仅供参考,希望分析对你有帮助,顺祝马年投资顺利!
❼ 求高手做个黄金目标主图指标公式,见补充
高点:=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;
❽ 黄金启动选股公式
选股来公式如下,就叫“源黄金建仓”吧,祝你好运:
var88:=ma(close,27);
var98:=(close-var88)/var88*100;
vara8:=ma(var98,2);
varb8:=barslast(cross(-10,vara8)=1);
varc8:=barslast(cross(vara8,10)=1);
vard8:=vara8<-10
and
varb8>3;
vare8:=vara8>10
and
varc8>3;
黄金坑:=if(vard8,vara8,0);
varo2:=(close-llv(low,26))/(hhv(high,26)-llv(low,26))*100;
varo3:=sma(sma(varo2,3,1),3,1);
varo4:=ema(varo3,5);
varo5:=llv(low,26);
varo6:=hhv(high,34);
varo7:=ema((close-varo5)/(varo6-varo5)*4,4)*25;
建仓区:=if((varo7<6),80,100);
xg:黄金坑<0
or
建仓区=80;