博易大师指标公式

合集下载

博易大师期货软件指标公式源码期货最准的指标准确率最高的期货指标

博易大师期货软件指标公式源码期货最准的指标准确率最高的期货指标

HH:=H;LL:=L;A:=IF(DATACOUNT-BARPOS<13,DATACOUNT-BARPOS-1,25/2);//多止损:=REFX(MA(LL,25),25/2)-(REFX(MA(HH,25),25/2)-REFX(MA(LL,25),25/2))*3.5,NODRAW,COLORY ELLOW;//多止盈:=(REFX(MA(HH,25),25/2)-REFX(MA(LL,25),25/2))*1+REFX(MA(HH,25),25/2),NODRAW,COLOR WHITE;//空止损:=(REFX(MA(HH,25),25/2)-REFX(MA(LL,25),25/2))*3.5+REFX(MA(HH,25),25/2),NODRAW,COLO RYELLOW;//空止盈:=REFX(MA(LL,25),25/2)-(REFX(MA(HH,25),25/2)-REFX(MA(LL,25),25/2))*1,NODRAW,COLORW HITE;多止损:=REFX(MA(LL,25),A)-(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*3.5,NODRAW,COLORYELLOW; 多止盈:=(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*1+REFX(MA(HH,25),A),NODRAW,COLORWHITE;空止损:=(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*3.5+REFX(MA(HH,25),A),NODRAW,COLORYELLOW; 空止盈:=REFX(MA(LL,25),A)-(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*1,NODRAW,COLORWHITE;短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;短低L:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;D90H:=EMA(短高H,90),COLORRED,LINETHICK1;D90L:=EMA(短低L,90),COLORRED,LINETHICK1;D90差:=D90H-D90L;D90顶:=D90H+D90差*2,COLORRED,LINETHICK1;D90底:=D90L-D90差*2,COLORRED,LINETHICK1;高0:=(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*1+REFX(MA(HH,25),A),LINETHICK1,COLORWHITE; 低0:=REFX(MA(LL,25),A)-(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*1,LINETHICK1,COLORWHITE; 多头定位:=低0>=D90底AND 高0>=D90顶;空头定位:=高0<=D90顶AND 低0<=D90底;震荡定位:=低0>=D90底AND 高0<=D90顶;短顶:=(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*2+REFX(MA(HH,25),A),LINETHICK2,COLORGREEN; 短底:=REFX(MA(LL,25),A)-(REFX(MA(HH,25),A)-REFX(MA(LL,25),A))*2,LINETHICK2,COLORGREEN; 短线收盘:=(C-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;短线开盘:=(O-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;短线高盘:=(H-短底)/(短顶-短底)*100000,LINETHICK2,COLORRED;短线低盘:=(L-短底)/(短顶-短底)*100000,NODRAW,COLORRED;顶1:=120000,COLORYELLOW,LINETHICK3;底1:=-20000,COLORYELLOW,LINETHICK3;STICKLINE(多头定位=1,顶1,底1,18,0),COLOR000066;STICKLINE(空头定位=1,顶1,底1,18,0),COLOR003300;STICKLINE(震荡定位=1,顶1,底1,18,0),COLOR555555;HD:=REFX(MA(短线高盘,25),A);LD:=REFX(MA(短线低盘,25),A);震荡顶:=(REFX(MA(LD,25),A)-REFX(MA(HD,25),A))*1+REFX(MA(LD,25),A),POINTDOT,COLORWHITE; 震荡底:=REFX(MA(HD,25),A)-((REFX(MA(LD,25),A))-REFX(MA(HD,25),A))*1,POINTDOT,COLORWHITE; 做空:=80000,COLORWHITE,LINETHICK1;做多:=20000,COLORWHITE,LINETHICK1;空损:=120000,COLORMAGENTA,LINETHICK2;多损:=-20000,COLORMAGENTA,LINETHICK2;多减仓:=65000,POINTDOT,COLORRED;空减仓:=35000,POINTDOT,COLORGREEN;DRAWTEXT(ISLASTBAR,120000,'损'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,80000,'空'),COLORWHITE;DRAWTEXT(ISLASTBAR,65000,'减'),COLORRED;DRAWTEXT(ISLASTBAR,35000,'减'),COLORGREEN;DRAWTEXT(ISLASTBAR,20000,'多'),COLORWHITE;DRAWTEXT(ISLASTBAR,-20000,'损'),COLORMAGENTA;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;今D:=EMA(D,3);昨D:=REF(今D,1);STICKLINE(今D>=昨D,短线低盘,短线高盘,1,0),COLORRED; STICKLINE(今D>=昨D,短线收盘,短线开盘,18,0),COLORRED; STICKLINE(今D<=昨D,短线低盘,短线高盘,1,0),COLORGREEN; STICKLINE(今D<=昨D,短线收盘,短线开盘,18,0),COLORGREEN;白色点多定位1:=短线低盘<做多AND 短线高盘>做多;白色点空定位1:=短线高盘>做空AND 短线低盘<做空;STICKLINE(白色点多定位1=1,短线低盘,做多,18,0),COLORWHITE; STICKLINE(白色点空定位1=1,短线高盘,做空,18,0),COLORWHITE;白色点多定位2:=短线高盘<做多;白色点空定位2:=短线低盘>做空;STICKLINE(白色点多定位2=1,短线低盘,短线高盘,1,0),COLORWHITE; STICKLINE(白色点多定位2=1,短线收盘,短线开盘,18,0),COLORWHITE; STICKLINE(白色点空定位2=1,短线低盘,短线高盘,1,0),COLORWHITE; STICKLINE(白色点空定位2=1,短线收盘,短线开盘,18,0),COLORWHITE;多头红色点:=今D>昨D;空头红色点:=今D<昨D;多头红色点定位1:=白色点多定位1=1 AND 多头红色点=1;空头红色点定位1:=白色点空定位1=1 AND 空头红色点=1;STICKLINE(多头红色点定位1=1,短线低盘,做多,18,0),COLORMAGENTA; STICKLINE(空头红色点定位1=1,短线高盘,做空,18,0),COLORMAGENTA;多头红色点定位2:=白色点多定位2=1 AND 多头红色点=1;空头红色点定位2:=白色点空定位2=1 AND 空头红色点=1;STICKLINE(多头红色点定位2=1,短线低盘,短线高盘,1,0),COLORMAGENTA; STICKLINE(多头红色点定位2=1,短线收盘,短线开盘,18,0),COLORMAGENTA; STICKLINE(空头红色点定位2=1,短线低盘,短线高盘,1,0),COLORMAGENTA; STICKLINE(空头红色点定位2=1,短线收盘,短线开盘,18,0),COLORMAGENTA; 多头多定位:=CROSS(做多,短线低盘) AND 多头定位=1;多头平定位:=CROSS(短线高盘,做空) AND 多头定位=1 AND 震荡定位=0; 空头空定位:=CROSS(短线高盘,做空) AND 空头定位=1;空头平定位:=CROSS(做多,短线低盘) AND 空头定位=1 AND 震荡定位=0; 震荡多定位:=CROSS(做多,短线低盘) AND 震荡定位=1;震荡空定位:=CROSS(短线高盘,做空) AND 震荡定位=1;DRAWICON(空头平定位=1,短线低盘,78);DRAWICON(多头平定位=1,短线高盘,67);DRAWICON(多头多定位=1 OR 震荡多定位=1,短线低盘,48);DRAWICON(空头空定位=1 OR 震荡空定位=1,短线高盘,49); STICKLINE(1,80000,80000,15,0),COLORWHITE; STICKLINE(1,20000,20000,15,0),COLORWHITE; STICKLINE(1,120000,120000,15,0),COLORMAGENTA; STICKLINE(1,-20000,-20000,15,0),COLORMAGENTA; STICKLINE(1,65000,65000,2,0),COLORRED; STICKLINE(1,35000,35000,2,0),COLORGREEN;。

博易大师期货软件指标公式源码期货最准的指标期货买卖指标

博易大师期货软件指标公式源码期货最准的指标期货买卖指标

LC:=REF(CLOSE,1);MAXDIF:=MAX(CLOSE-LC,0);ABSDIF:=ABS(CLOSE-LC);RSI:=SMA(MAXDIF,6,1)/SMA(ABSDIF,6,1)*100;周期:=40;盘1:=LLV(INDEXL,周期); 盘差:=HHV(INDEXH,周期)-盘1; 价1:=LLV(L,周期); 价差:=HHV(H,周期)-价1;价盘比:= 价差/盘差;{大盘: 价1+(INDEXC-盘1)*价盘比,COLORAA0077;}CX:=价1+(INDEXC-盘1)*价盘比;HX:=价1+(INDEXH-盘1)*价盘比;LX:=价1+(INDEXL-盘1)*价盘比;OX:=价1+(INDEXO-盘1)*价盘比;STICKLINE(OX<=CX,HX,LX,0,0),COLOR660066; STICKLINE(OX<=CX,OX,CX,1,1),COLOR660066; STICKLINE(OX>=CX,HX,LX,0,0),COLOR8A0000; STICKLINE(OX>=CX,OX,CX,1,1),COLOR8A0000;{重绘K线}DRAWKLINE(HIGH,OPEN,LOW,CLOSE);{以上代码加到你主图代码的前面}{以下是你的主图原码}{比如:布林线信号}H_L:=价差;BOLL:MA(C,26),COLORBLUE;UPPER:BOLL+2*STD(C,26),COLORWHITE;LOWER:BOLL-2*STD(C,26),COLORWHITE; DRAWTEXT(CROSS(C,LOWER),L-H_L*0.1,'多'),COLORRED;DRAWICON(CROSS(C,LOWER),L-H_L*0.1,5);{买信号B};DRAWTEXT(CROSS(UPPER,C),H+H_L*0.1,'空'),COLORGREEN;DRAWICON(CROSS(UPPER,C),H+H_L*0.1,6);{卖信号S};EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;EMA90:=MA(C,90),COLORGREEN;EMA120:=MA(C,120),COLORRED;EMA240:=MA(C,240),COLORBLUE;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<22,L-0.05,'●多'),COLORRED;DRAWTEXT(CROSS(庄家,散户) AND 散户>78,H+0.05,'空'),COLORGREEN;DRAWICON(CROSS(散户,庄家) AND 散户<22,L-0.05,3);DRAWICON(CROSS(庄家,散户) AND 散户>78,H+0.05,4);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,0); 买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK2,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK2,COLORGREEN;VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CL OSE-MA (CLOSE,32))/MA(CLOSE,32)*100)/3;S2:=IF(VC>20 AND FILTER(VC<REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORGREEN;A0:=(L+H+C*2)/4;A1:EMA(A0,14),COLORBLUE,LINETHICK1;A2:=EMA(A0,25),COLORBLUE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;看多:IF(A1X>=0 ANDBARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),LINETHICK2,C OLORMAGENTA{,LINETHICK2};逃顶:IF(A1X<0 ANDBARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),LINETHICK2,C OLORGREEN{LINETHICK2};买入持股:IF(A1X>=0,A1,DRAWNULL),COLORRED,LINETHICK2;卖出空仓:IF(A1X<0 AND A2X<0,A1,DRAWNULL),COLORGREEN,LINETHICK2;{红色的量能平台}STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF; STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLORRED; STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF; {黄色的量能平台}STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66FF99; STICKLINE(CROSS(0,A1X),C,O,3,0 ),COLOR66FF99; STICKLINE(CROSS(0,A1X),C,O,1,0 ),COLOR66FF99;。

博易大师指标公式 期货指标组合准确率高

博易大师指标公式 期货指标组合准确率高

DBO:=CROSS(DIFF,DEA)&&LLO<LL2O&&MLDO>MLD2O||ISLASTBAR&&MACD<0&&LLV(L,N2)<LL O&&LLV(MACD,N2)>MLDO;//底背离P:=REF(LLVBARS(MACD,BARSLAST(CROSS(DEA,DIFF))),BARSLAST(CROSS(DIFF,DEA))); DRAWLINE3(REFX(DBO,1),MLDO,P+BARSLAST(CROSS(DIFF,DEA)),DBO,MLDO,LLVBARS(MACD,BAR SLAST(CROSS(DEA,DIFF))),0)Z:=BACKSET(DBO,LLVBARS(MACD,BARSLAST(CROSS(DEA,DIFF)))+1);DRAWTEXT(CROSS(Z,0.5),MACD,'底背离');PP:=REF(HHVBARS(MACD,BARSLAST(CROSSDOWN(DEA,DIFF))),BARSLAST(CROSSDOWN(DIFF,DEA )));//DRAWLINE3(REFX(DINGO,1),MHDO,PP+BARSLAST(CROSSDOWN(DIFF,DEA)),DINGO,MHDO,HHV BARS(MACD,BARSLASRSV2:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;WEN:=3*SMA((CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1)-2*SMA(SMA((CLOSE-LLV (LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100,5,1),3,1);J1:=SMA(RSV1,5,1);J2:=SMA(J1,5,1);W1:=SMA(RSV2,5,1);W2:=SMA(W1,5,1);逃顶准备: IF(CROSS(J2,J1) AND J2>95,85,100),LINETHICK2,COLOR00FF00;抄底准备:IF(WEN<=5,5,0),LINETHICK2,COLORYELLOW;STICKLINE1(WEN>95,100,80,8,0),COLORGREEN;XXOPEN:=(REF(OPEN,MM)+REF(CLOSE,MM))/2;XXCLOSE:=(HIGH+LOW+CLOSE+OPEN)/4;XXHIGH:=MAX1(XXOPEN,XXCLOSE,HHV(HIGH,MM));XXLOW:=MIN1 (XXOPEN,XXCLOSE,LLV(LOW,MM));/*STICKLINE1(XXCLOSE>XXOPEN,XXCLOSE ,XXOPEN ,3,0 ),COLORRED;DRAWLINE(XXCLOSE>XXOPEN,XXHIGH ,XXCLOSE>XXOPEN,XXCLOSE,COLORRED ); DRAWLINE(XXCLOSE>XXOPEN,XXOPEN ,XXCLOSE>XXOPEN,XXLOW ,COLORRED);STICKLINE1(XXCLOSE<=XXOPEN,XXCLOSE ,XXOPEN ,3,0 ),COLORWHITE;DRAWLINE(XXCLOSE<=XXOPEN,XXOPEN ,XXCLOSE<=XXOPEN,XXHIGH,COLORWHITE);MA12:(MA(CLOSE,B1)+MA(CLOSE,B2)+MA(CLOSE,B3)+MA(CLOSE,B4))/4,COLOR871F78;X_12:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);X_13:=EMA(X_12,5);FILLRGN(IF(X_13-X_11>=0,X_13-X_11,0)>0,IF(X_13-X_11>=0,X_13-X_11,0),0,RGB(150,90,50)); FILLRGN(IF(X_13-X_11>=0,X_13-X_11,0)<0,IF(X_13-X_11>=0,X_13-X_11,0),0,RGB(50,50,50));X_14:=(2*CLOSE+HIGH+LOW)/4;X_15:=LLV(LOW,34);X_16:=HHV(HIGH,34);X_17:=MAX((X_14-X_15)/(X_16-X_15)*100,8);X_18:=SMA(X_17,8,1);X_19:=SMA(X_18,5,1);FILLRGN(X_18>X_19,X_18,X_19,RGB(250,248,0)); FILLRGN(X_18<X_19,X_18,X_19,RGB(0,118,0));。

博易大师指标

博易大师指标

博易大师指标简介博易大师指标(Bolinger Bands)是一种技术分析工具,由约翰·博林格(John Bollinger)在20世纪80年代初提出。

该指标通过计算价格的标准差来确定价格的高低区间,并在价格走势图上以线形图示。

博易大师指标广泛应用于股票、期货、外汇等金融市场的技术分析中,帮助分析师判断价格的波动情况,预测价格的未来走势。

计算公式博易大师指标的计算公式如下:•中轨线(中值线)= N日的移动平均线•上轨线 = 中轨线 + K倍的N日标准差•下轨线 = 中轨线 - K倍的N日标准差其中,N代表计算移动平均线和标准差的周期,K代表标准差的倍数。

特点与应用1. 趋势判断博易大师指标可以通过价格相对于上下轨线的位置来判断市场的趋势。

•当价格位于上轨线上方时,代表市场处于高位状态,可能会出现反向下跌的趋势。

•当价格位于下轨线下方时,代表市场处于低位状态,可能会出现反向上涨的趋势。

•当价格位于中轨线上方时,代表市场处于整体上升趋势。

•当价格位于中轨线下方时,代表市场处于整体下降趋势。

2. 价格波动性博易大师指标的上下轨线可以反映价格的波动范围。

当价格波动性较大时,上下轨线之间的距离会变大,反之则会变小。

通过观察上下轨线的宽度变化,可以判断价格的波动情况。

当上下轨线的距离变宽时,代表市场波动性增加,可能出现较大的价格波动。

当上下轨线的距离变窄时,代表市场波动性减小,可能出现价格相对稳定的行情。

3. 买入卖出信号博易大师指标可以根据价格穿越上下轨线生成买入和卖出信号。

•当价格从下方向上突破上轨线时,可以生成买入信号。

•当价格从上方向下突破下轨线时,可以生成卖出信号。

这些交易信号可以用作辅助决策,帮助投资者判断适合的买入和卖出时机。

优缺点优点•博易大师指标简单易懂,容易使用和计算。

•可以帮助投资者把握市场趋势和价格波动性,做出更合理的决策。

•可以结合其他技术指标和分析方法一起使用,提高分析的准确性和可靠性。

博易大师指标公式汇总以及源代码集成

博易大师指标公式汇总以及源代码集成

博易大师指标公式汇总以及源代码集成博易大师(Bollinger Bands)指标是一种常用的股票交易技术分析工具,由约翰·波林格(John Bollinger)在1980年代提出。

该指标通过计算标准差来衡量股票价格的波动性,并结合移动平均线来提供买入和卖出的参考。

以下是博易大师指标的公式和一些常见的源代码集成示例。

1.计算移动平均线(MA)MA=(收盘价1+收盘价2+...+收盘价n)/n2.计算标准差(SD)SD = sqrt(((收盘价1 - MA)^2 + (收盘价2 - MA)^2 + ... + (收盘价n - MA)^2) / n)3. 计算上轨线(Upper Band)Upper Band = MA + k * SD4. 计算下轨线(Lower Band)Lower Band = MA - k * SD其中,n为计算移动平均线和标准差的周期数,k为标准差的倍数。

以下是一些常用编程语言的源代码集成示例:Python:```pythonimport numpy as npdef bollinger_bands(data, n, k):ma = np.mean(data)sd = np.std(data)upper_band = ma + k * sdlower_band = ma - k * sdreturn upper_band, lower_band#示例用法closing_prices = [10, 12, 14, 16, 18, 20, 22, 24, 26, 28]n=10k=2upper_band, lower_band = bollinger_bands(closing_prices, n, k)print("Upper Band:", upper_band)print("Lower Band:", lower_band)```R:```rbollinger_bands <- function(data, n, k)ma <- mean(data)sd <- sd(data)upper_band <- ma + k * sdlower_band <- ma - k * sdreturn(c(upper_band, lower_band))#示例用法closing_prices <- c(10, 12, 14, 16, 18, 20, 22, 24, 26, 28) n<-10k<-2bands <- bollinger_bands(closing_prices, n, k)cat("Upper Band:", bands[1], "\n")cat("Lower Band:", bands[2], "\n")```以上是博易大师指标公式的汇总以及在Python和R编程语言中的源代码集成示例。

博易大师指标公式信管家指标准确率最高的期货指标15分钟准确率95指标

博易大师指标公式信管家指标准确率最高的期货指标15分钟准确率95指标

G:=EMA(C,5);D:=EMA(C,10);NNH:=BARSLAST(H=HHV(H,7)) ,NODRAW;NNL:=BARSLAST(L=LLV(L,7)) ,NODRAW;//PD:=REF(G,NNH)>REF(D,NNH) ,NODRAW;NN:=IF(REF(G,NNH)>REF(D,NNH) AND NNH<=4,NNH,IF(REF(G,NNL)<REF(D,NNL) ANDNNL<=4,NNL,5)) ,NODRAW;N:=IF(ISLASTBAR AND NN>0,NN,5) ,NODRAW;HH:=REF(H,N)=HHV(H,6);LL:=REF(L,N)=LLV(L,6);FG01:BACKSET(HH,N+1)>BACKSET(HH,N),NODRAW;//只设置前面第6个FD01:BACKSET(LL,N+1)>BACKSET(LL,N) ,NODRAW;FG02:=FG01=FD01 AND G>D,NODRAW;FD02:FG01=FD01 AND G<D,NODRAW;//FG02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND G>D,FG01,//高底是同一K看均线位置// IF(BARSLAST(FD01)>BARSLAST(FG01),FG01,0)),NODRAW;//高点处BARLAST(FG01)=0 //FD02:=IF(BARSLAST(FG01)=BARSLAST(FD01) AND D>G,FD01,//IF(BARSLAST(FG01)>BARSLAST(FD01),FD01,0)),NODRAW;TTTT:BARSLAST(FD01),NODRAW;//FG0:=FG01 AND H=HHV(H,IF(FG02=1,BARSLAST(REF(FD01,1))+1,BARSLAST(FD01))) AND FD02=0 ,NODRAW;//FD0:=FD01 AND L=LLV(L,IF(FD02=1,BARSLAST(REF(FG01,1))+1,BARSLAST(FG01))) ANDFG02=0 ,NODRAW;FG0:=FG01 ANDIF(FG02=1,H=HHV(H,BARSLAST(REF(FD01,1))+1),H=HHV(H,IF(BARSLAST(L=LLV(L,7))>=5,5,BARS LAST(FD01)))) AND FD02=0 ,NODRAW;FD0:=FD01 ANDIF(FD02=1,L=LLV(L,BARSLAST(REF(FG01,1))+1),L=LLV(L,IF(BARSLAST(H=HHV(L,7))>=5,5,BARSLA ST(FG01)))) AND FG02=0 ,NODRAW;//高低点间周期//高低点间周期GT:BARSLAST(FG0),NODRAW;DT:BARSLAST(FD0),NODRAW;//第一次处理高低点间多余的点LLLL:DT=0 AND REF(DT,1)<GT AND L>REF(L,REF(DT,1)+1),NODRAW;FG1:BACKSET(REFX(GT,1)=0 AND GT<DT AND REFX(H,1)>=REF(H,GT),GT+1),NODRAW;FD1:BACKSET(REFX(DT,1)=0 AND DT<GT AND REFX(L,1)<=REF(L,DT),DT+1),NODRAW;FG11:IF(GT=0 AND REF(GT,1)<DT ANDIF(REF(G,BARSLAST(L=LLV(L,7)))>REF(D,BARSLAST(L=LLV(L,7))),BARSLAST(L=LLV(L,7))<5,1) AND H<REF(H,REF(GT,1)+1),1,0),NODRAW;FD11:IF(DT=0 AND REF(DT,1)<GT ANDIF(REF(G,BARSLAST(H=HHV(H,7)))<REF(D,BARSLAST(H=HHV(H,7))),BARSLAST(H=HHV(H,7))<5,1) AND L>REF(L,REF(DT,1)+1),1,0),NODRAW;//再次周期GT1:BARSLAST(FG11<>1 AND FG1<>1 AND FG0),NODRAW;DT1:BARSLAST(FD11<>1 AND FD1<>1 AND FD0),NODRAW;//GGT1:=REF(GT1,1),NODRAW;//处理两边都少于3根的笔//HHHH:REF(H,GT1),NODRAW;//HHHHH:HHV(H,GT1+5),NODRAW;FD2:BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 ANDREF(L,DT1)>LLV(L,GT1+5),DT1+1),NODRAW;//加两句,低是最低,去两边;//NL:GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 ,NODRAW;//LLLLLLLL:LLV(L,GT1+5),NODRAW;FG2A:BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)<=LLV(L,GT1+5) AND REF(H,GT1)>HHV(H,GT1+5),GT1+1),NODRAW;FG2B:IF(GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 AND REF(L,DT1)<=LLV(L,REF(GT1,1)+6) AND H>HHV(H,REF(GT1,1)+6),1,0),NODRAW;FG2:BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 ANDREF(H,GT1)<HHV(H,DT1+5),GT1+1),NODRAW;FD2A:BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)>=HHV(L,DT1+5) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;FD2B:IF(DT1=0 AND GT1<4 AND REF(DT1,1)-GT1<4 AND REF(H,GT1)>=HHV(H,REF(DT1,1)+6)AND L>LLV(L,REF(DT1,1)+6),1,0),NODRAW;////HHV(H,GT1+1)<HHV(H,GT1+15)//GGG:HHV(H,GT1+1),NODRAW;//DDD:HHV(H,GT1+15),NODRAW;//处理单边都少于3根的笔//GT11:=BARSLAST(GT1=0 AND FG2<>1),NODRAW;//DT11:=BARSLAST(DT1=0 AND FD2<>1 AND FD20<>1),NODRAW;//FG21:IF(GT1=0 AND DT1<4 AND H<HHV(H,REF(GT1,1)+3),1,0),NODRAW;//FD21:IF(DT1=0 AND GT1<4 AND L>LLV(L,REF(DT1,1)+3) ,1,0),NODRAW;//FD22:BACKSET(REFX(GT1,1)=0 AND DT1<3 AND REFX(H,1)>REF(H,GT1) AND REF(L,DT1)>LLV(L,GT1+5),DT1+1),NODRAW;//FG22:BACKSET(REFX(DT1,1)=0 AND GT1<3 AND REFX(L,1)<REF(L,DT1) ANDREF(H,GT1)<HHV(H,DT1+5),GT1+1),NODRAW;TTTTTT: H<REF(H,REF(GT1,1)+1) AND DT1<4,NODRAW;HHHHHH:REF(LLV(L,10),DT1),NODRAW;//前长后短;FG21:IF(GT1=0 AND DT1<4 AND H<=REF(H,REF(GT1,1)+1) ,1,0),NODRAW;FD21:IF(DT1=0 AND GT1<4 AND L>=REF(L,REF(DT1,1)+1) ,1,0),NODRAW;//前短后长,前低后高(去低);FD231:BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND REF(L,DT1)>REF(LLV(L,10),DT1),DT1+1),NODRAW;FG23:BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND (REF(H,GT1)<REF(HHV(H,13),GT1) ORREF(FD231,DT1)=0),GT1+1),NODRAW;//前短后长,前高后低(去高);//NNN:REF(H,GT1)>=REF(HHV(H,8),GT1),NODRAW;//前短后长,去2;FG231:BACKSET(REFX(DT1,1)=0 AND GT1>3 AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND REF(H,GT1)<REF(HHV(H,10),GT1) ,GT1+1),NODRAW;FD23:BACKSET(REFX(DT1,1)=0 AND GT1>3 AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND ( REF(L,DT1)>REF(LLV(L,13),DT1) ORREF(FG231,GT1)=0),DT1+1),NODRAW;///前短后长,去3;FDD23:REF(H,GT1)<REF(HHV(H,10),GT1) OR REF(FD23,DT1)=0,NODRAW;FD24:BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 ANDREFX(H,1)<HHV(H,GT1+3) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;FG24:BACKSET(REFX(DT1,1)=0 AND GT1>3 AND DT1>GT1 AND DT1-GT1<4 ANDREFX(L,1)>LLV(L,DT1+3) AND REF(H,GT1)<HHV(H,GT1+5),GT1+1),NODRAW;//FG241:IF(GT1=0 AND DT1>4 AND REF(GT1,1)-DT1<3 AND H<HHV(H,REF(GT1,1)+3) AND REF(FD24,DT1+2)<>1,1,0),NODRAW;//FD241:IF(DT1=0 AND GT1>4 AND REF(DT1,1)-GT1<3 AND L>LLV(L,REF(DT1,1)+3) AND REF(FG24,GT1+2)<>1,1,0),NODRAW;//FGE:BACKSET(ISLASTBAR AND DT1-GT1<3 AND DT1>GT1, GT1+1),NODRAW;//FDE:BACKSET(ISLASTBAR AND GT1-DT1<3 AND GT1>DT1, DT1+1),NODRAW;//FG21:IF(GT1=0 AND DT1<4 AND REF(GT1,1)<4,1,0),NODRAW;//FD21:IF(DT1=0 AND GT1<4 AND REF(DT1,1)<4 ,1,0),NODRAW;//做两次高低点间多余的点GT2:BARSLAST(FG21<>1 AND FG23<>1 AND FG231<>1 AND FG24<>1 AND FG2<>1 AND FG2A<>1 AND FG2B<>1 AND GT1=0),NODRAW;DT2:BARSLAST(FD21<>1 AND FD23<>1 AND FD231<>1 AND FD24<>1 AND FD2<>1 AND FD2A<>1 AND FD2B<>1 AND DT1=0),NODRAW;FG3:BACKSET(REFX(GT2,1)=0 AND GT2<DT2 AND REFX(H,1)>=REF(H,GT2),GT2+1),NODRAW; //HHX:REF(H,GT2),NODRAW;FD3:BACKSET(REFX(DT2,1)=0 AND DT2<GT2 AND REFX(L,1)<=REF(L,DT2),DT2+1),NODRAW; FG31:IF(GT2=0 AND REF(GT2,1)<DT2 AND H<REF(H,REF(GT2,1)+1),1,0),NODRAW;FD31:IF(DT2=0 AND REF(DT2,1)<GT2 AND L>REF(L,REF(DT2,1)+1),1,0),NODRAW;GT3:BARSLAST(GT2=0 AND FG3<>1 AND FG31<>1 ),NODRAW;DT3:BARSLAST(DT2=0 AND FD3<>1 AND FD31<>1),NODRAW;FG4:BACKSET(REFX(GT3,1)=0 AND GT3<DT3 AND REFX(H,1)>=REF(H,GT3),GT3+1),NODRAW; FD4:BACKSET(REFX(DT3,1)=0 AND DT3<GT3 AND REFX(L,1)<=REF(L,DT3),DT3+1),NODRAW; FG41:IF(GT3=0 AND REF(GT3,1)<DT3 AND H<REF(H,REF(GT3,1)+1),1,0),NODRAW;FD41:IF(DT3=0 AND REF(DT3,1)<GT3 AND L>REF(L,REF(DT3,1)+1),1,0),NODRAW;//FD31:IF(DT2=0 AND REF(DT2,1)<REF(GT2,1) AND L>REF(L,DT2+1),1,0),NODRAW;//HHH:=GT3=0,NODRAW;//LLL:=DT3=0,NODRAW;HHH:=GT3=0 AND FG31<>1 AND FG3<>1,NODRAW;LLL:=DT3=0 AND FD31<>1 AND FD3<>1,NODRAW;//HHH:=FG0 AND FG11<>1 AND FG1<>1 AND FG2<>1 AND FG21<>1 AND FG31<>1 AND FG3<>1;//LLL:=FD0 AND FD11<>1 AND FD1<>1 AND FD2<>1 AND FD21<>1 AND FD31<>1 AND FD3<>1;DRAWLINE(HHH ,H,LLL,L,0),COLORWHITE,POINTDOT;DRAWLINE(LLL,L,HHH ,H,0),COLORWHITE,POINTDOT;//DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);//DEA := EMA(DIFF,9);//MACD:=2*(DIFF-DEA),COLORSTICK;//R1:=MACD<0&&DEA<0&&REF(MACD,1)<REF(DEA,1)&&MACD>DEA;//G1:=MACD>0&&DEA>0&&REF(MACD,1)>REF(DEA,1)&&MACD<DEA;//X:=BACKSET(ISLASTBAR,BARSLAST(G1||R1)+1);//DRAWSL(CROSS(X,0.5),H,0,1,2,COLORYELLOW);//DRAWSL(CROSS(X,0.5),H,0,-3,0,COLORYELLOW);//DRAWSL(CROSS(X,0.5),REF(VALUEWHEN(G1||R1,H),1),0,-BARSLAST(REF(G1||R1,1))-1-3,0,COLO RYELLOW);//X1:=BACKSET(ISLASTBAR,BARSLAST(G1||R1)+1);//DRAWSL(CROSS(X1,0.5),L,0,1,2,COLORYELLOW);//DRAWSL(CROSS(X1,0.5),L,0,-3,0,COLORYELLOW);//DRAWSL(CROSS(X1,0.5),REF(VALUEWHEN(G1||R1,L),1),0,-BARSLAST(REF(G1||R1,1))-1-3,0,COLO RYELLOW);。

博易大师期货软件指标公式源码期货最准的指标精确度98的波段指标

博易大师期货软件指标公式源码期货最准的指标精确度98的波段指标

{低吸高抛:强买}VAR1:=REF(CLOSE,2);趋势线:SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,LINETHICK2,COLORBLUE; VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;STICKLINE(趋势线>85,78,85,1.2,0), COLORYELLOW;STICKLINE(趋势线>90,78,85,1.8,0), COLORRED;DRAWICON(趋势线>95 ,100,2);吸:=IF(趋势线<12,23,12),COLORWHITE,LINETHICK2;强买:=IF(VAR3<12,30,12),COLORMAGENTA,LINETHICK2;{轻仓大底}长期线:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,COLOR9900FF,LINE THICK3;短期线:=-100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6))+100,COLORRED;中期线:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,COLORYELLOW,LIN ETHICK2;STICKLINE(中期线<12,23,12,2,0), COLORYELLOW;STICKLINE(长期线<12,23,12,2,0), COLORRED;{强势拉升}上趋势:=MA(LOW,20)*1.2,COLOR0080FF,LINETHICK2;次上趋势:=MA(LOW,20)*1.1,COLORYELLOW;次下趋势:=MA(HIGH,20)*0.9,COLORWHITE;下趋势:=MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1;ZD:=(C-REF(C,1))/REF(C,1)*100;HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势AND C<次上趋势,2,IF(C<下趋势,0,1))),NODRAW;底距:=(C-下趋势)/下趋势*100,NODRAW;{一目了然}MA多:=SMA(MAX(C-REF(C,1),0),8,1)/SMA(ABS(C-REF(C,1)),8,1)*100,COLORFFB5FF,LINETHICK2; 多方:EMA(MA多,5),COLORYELLOW,LINETHICK2;XX:=IF(多方<45,多方,DRAWNULL),COLORGREEN,LINETHICK3;三成:=IF(多方<25 AND 多方>=20,50,25),COLORWHITE,LINETHICK2;六成:=IF(多方<20 AND 多方>=15,35,25),COLORRED,LINETHICK3;全仓:IF(多方<15,37,25),COLORRED,LINETHICK5;STICKLINE(多方>75,68,60,1.2,0), COLORYELLOW;STICKLINE(多方>80,68,60,1.2,0), COLORRED;DRAWICON(多方>85 ,55,2);{砸锅卖田}趋线:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORAABBDD,NODRAW;AA:=((REF(趋线,1)<REF(趋线,2) AND 趋线<-30) AND 趋线>=REF(趋线,1)) OR (REF(CROSS(-30,趋线),1) AND CROSS(趋线,-30)) OR 趋线=-30;卖田:=IF(AA,65,12),COLORYELLOW,LINETHICK2;BB:=((REF(趋线,1)<REF(趋线,2) AND 趋线<-20 AND 趋线>-25) AND 趋线>=REF(趋线,1)) OR (REF(CROSS(-20,趋线),1) AND CROSS(趋线,-20));见底:=IF(BB,58,12),COLORRED,LINETHICK2;CC:=((REF(趋线,1)<REF(趋线,2) AND 趋线<-25 AND 趋线>-30) AND 趋线>=REF(趋线,1)) OR (REF(CROSS(-25,趋线),1) AND CROSS(趋线,-25));浅底:IF(趋线<-20,60,12),LINETHICK3,COLORF0F000;DRAWTEXT(CROSS(-20,趋线),80,'浅底'),COLORF0F000;IF(趋线<-25,80,12),LINETHICK2,COLORF00FF0;DRAWTEXT(CROSS(-25,趋线),90,'深底'),COLORF00FF0;IF(趋线<-30,35,12),LINETHICK4,COLORWHITE;DRAWTEXT(CROSS(-30,趋线),55,'砸锅'),COLORGRAY;{走势铁底}M:=88;N1:=6;VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);MA13:=(MA(VAR0A,13)*0.99),LINETHICK2;KK:=(MA(VAR0A,13)*0.999);TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW))); ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));生命:=(HHV(VAR1A,12)),LINETHICK4,COLOR0080FF;VARX1:=EMA(AMOUNT/VOL/100,3);控盘成本:=EMA(VARX1,M),LINETHICK2;低吸伏击:=EMA(VARX1,M)*0.85,LINETHICK2,COLORFFFF00;走势铁底:=低吸伏击*0.87,LINETHICK3,COLORFF00FF;距底:=(C-低吸伏击)/低吸伏击*100,NODRAW;机会:IF(趋势强度<=1 AND 中期线<12 AND 距底>0 AND 距底<5,55,25),COLORGREEN,LINETHICK2;低吸:IF(C<低吸伏击AND 中期线<12 AND 趋势强度=1,58,25),COLORYELLOW,LINETHICK3;伏击:IF(L<走势铁底,66,25),COLORRED,LINETHICK3;{俊俊建仓}VARZ1:=1;VARZ2:=REF(LOW,1)*VARZ1;VARZ3:=SMA(ABS(LOW-VARZ2),3,1)/SMA(MAX(LOW-VARZ2,0),3,1)*100*VARZ1;VARZ4:=(2*C+H+L)/4;VARZ5:=LLV(LOW,60);VARZ6:=(2*CLOSE+HIGH+LOW)/4;VARZ8:=LLV(LOW,34);VARZ11:=HHV(HIGH,34);VARZ12:=EMA((VARZ6-VARZ8)/(VARZ11-VARZ8)*100,13);VARZ13:=EMA(0.667*REF(VARZ12,1)+0.333*VARZ12,2);VARZ0:=HHV(HIGH,60);AAA:=EMA((VARZ4-VARZ5)/(VARZ0-VARZ5)*100,5);BBB:=EMA(AAA,5);上线:=IF(AAA>=BBB,100,100),COLOR00FF00,LINETHICK3;下线:=IF(AAA<BBB,0,0),COLOR00FFCC,LINETHICK3;中线:=IF(AAA<BBB,50,50),LINETHICK1,COLOR0033FF;HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA (SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); DRAWICON(趋势<=3 AND 趋势强度<=1,63,1);{临界点}C1:=((MA(C,30)-L)/MA(C,60))*200;临界点:=IF(C1>30,68,45),LINETHICK3,COLORRED;{主力进场:下方红绿柱}VR2:=REF(LOW,1);VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);VR5:=LLV(LOW,30);VR6:=HHV(VR4,30);VR7:=IF(MA(CLOSE,58),1,0);主力:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7,COLORMAGENTA,NODRAW; VR9:=IF(主力>100,100,主力);STICKLINE(VR9>0,0,VR9,3,0),COLORMAGENTA;STICKLINE(主力<REF(主力,1),0,VR9,3,0),COLORGREEN;STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;。

博易大师期货软件指标公式源码期货最准的指标 期货最好的指标

博易大师期货软件指标公式源码期货最准的指标 期货最好的指标

REFLINE: 0, 20, 50, 80, 100;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1);D:SMA(K,3,1);VARA:=LLV(LOW,35);VARB:=HHV(HIGH,30);VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;VARA:=LLV(LOW,35);VARB:=HHV(HIGH,30);VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;STICKLINE(VARC<10 AND100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))>97,0,25,3,0),COLORYELLOW; VARD:=87.5;VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,30);VARAA:=HHV(HIGH,30);VARD:=87.5;VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,30);VARAA:=HHV(HIGH,30);VARD:=87.5;VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR8:=LLV(LOW,30);VARAA:=HHV(HIGH,30);BB:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);C1:=EMA(BB,5);B1:=REF(C1,1);B2:=REF(C1,2);SS:=IF(C1>REF(C1,1) AND REF(C1,1)>=REF(C1,2),1,IF(C1<REF(C1,1) ANDREF(C1,1)<=REF(C1,2),-1,IF(C1>REF(C1,2) AND REF(C1,2)>REF(C1,1),2,IF(C1<REF(C1,2) AND REF(C1,2)<REF(C1,1),-2,0))));SM:=IF(REF(SS,1)!=0,REF(SS,1),IF(REF(SS,2)!=0,REF(SS,2),IF(REF(SS,3)!=0,REF(SS,3),IF(REF(SS,5)!=0, REF(SS,5),IF(REF(SS,6)!=0,REF(SS,6),IF(REF(SS,7)!=0,REF(SS,7),0))))));STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C1,10,0),COLORRED;STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C1,10,0),COLORFFCC66;STICKLINE(SS=2,B2,C1,10,0),COLORRED;STICKLINE(SS=-2,B2,C1,10,0),COLORFFCC66;STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,10,0),COLORRED;STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,10,0),COLORFFCC66;。

博易大师函数语法指令与指标公式大全

博易大师函数语法指令与指标公式大全

博易大师函数语法指令与指标公式大全函数语法指令:1.收盘价:CLOSE返回当前时间点的收盘价。

2.最高价:HIGH返回当前时间点的最高价。

3.最低价:LOW返回当前时间点的最低价。

4.开盘价:OPEN返回当前时间点的开盘价。

5.成交量:VOL返回当前时间点的成交量。

6.移动平均线:MA(N)返回N日移动平均线的值。

例如,MA(5)表示5日移动平均线。

7.指数移动平均线:EMA(N)返回N日指数移动平均线的值。

例如,EMA(12)表示12日指数移动平均线。

8.MACD指标:MACD(M,N,P)返回MACD指标的值。

M为短期天数,N为长期天数,P为移动平均天数。

9.RSI指标:RSI(N)返回RSI指标的值。

N为计算RSI的天数。

10.BOLL指标:BOLL(N,P)返回BOLL指标的值。

N为计算BOLL指标的天数,P为计算标准差的倍数。

指标公式:1.移动平均线:MA(N)=(C1+C2+...+CN)/N其中,C1,C2,...,CN为过去N个周期的收盘价。

2.指数移动平均线:EMA(N)=(C1*(1-α)+C2*(1-α)*α+...+CN*(1-α)*α^(N-1))/(1-α^N)其中,α=2/(N+1),C1,C2,...,CN为过去N个周期的收盘价。

3.MACD指标:DIFF=EMA(M)-EMA(N)DEA=EMA(P)MACD=(DIFF-DEA)*2其中,EMA(M)为M日指数移动平均线,EMA(N)为N日指数移动平均线,EMA(P)为P日指数移动平均线。

4.RSI指标:RSI(N)=100*EMA(U,N)/(EMA(U,N)+EMA(D,N))其中,EMA(U,N)为N日涨幅的指数移动平均线,EMA(D,N)为N日跌幅的指数移动平均线。

5.BOLL指标:MID=MA(N)UPPER=MID+P*STDEV(C,N)LOWER=MID-P*STDEV(C,N)其中,MA(N)为N日移动平均线,STDEV(C,N)为N日收盘价的标准差,P为计算标准差的倍数。

博易大师多空分明指标博易大师指标信管家公式高成功率

博易大师多空分明指标博易大师指标信管家公式高成功率

博易大师多空分明指标博易大师指标信管家公式高成功率博易大师指标是一种投资技术指标,用于判断股票市场的多空分明趋势。

它的优势在于高成功率和精确度。

在市场分为多头和空头的情况下,该指标可以帮助投资者更好地判断行情走势,制定投资策略。

博易大师指标的核心是信管家公式,它是通过加权平均价格得出的,可以衡量市场情绪、供需关系、资金流向等因素。

根据信管家公式的计算结果,投资者可以判断股票市场的买盘力量和卖盘力量,以及买卖双方的实力对比。

博易大师指标的公式为:N1=N2=N3=N4=6M1=2/(N1+1)M2=2/(N2+1)M3=2/(N3+1)M4=2/(N4+1)多空分明指标=(M1*C+M2*L+M3*V)/(M1+M2+M3)其中,C代表收盘价,L代表最低价,V代表成交量。

博易大师指标的实际应用可以分为以下几个步骤:1.计算信管家公式中的各个参数。

2.根据公式将收盘价、最低价和成交量进行加权平均计算。

3.根据计算结果判断多空分明指标,判断市场多头和空头的比重,以及主力资金的动向。

4.根据指标的变化情况制定投资策略,如多头信号时可适度增加仓位,空头信号时可适度减少仓位。

博易大师指标具有较高的成功率和精确度,这得益于它综合考虑了多种因素,并通过加权平均的方式进行计算。

而且博易大师指标对于市场情绪和资金流向的判断非常敏感,能够及时反应市场的变化趋势,帮助投资者把握时机,降低投资风险。

总之,博易大师指标是一种可靠的多空分明指标,可以帮助投资者更好地判断市场走势,制定投资策略。

它的高成功率和1200字以上的详尽说明,使得它成为投资者们进行股票交易时的有力辅助工具。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

博易大师指标公式博易大师指标公式-原代码(2009-01-15 09:35:31)标签:博易代码公式期货指标财经分类:期货指标合并即涨Var0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;Var3:=SMA(Var0,3,1);Var1:=SMA(Var3,4,1)-10;Var4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;Var5:=SMA(Var4,3,1);Var2:=SMA(Var5,4,1)-90;STICKLINE(REF(Var1,1)<Var1,Var1,REF(Var1,1),10,0),COLOR0000FF; 0, CIRCLEDOT;STICKLINE(REF(Var1,1)>Var1,Var1,REF(Var1,1),5,0),COLOR00ff00; STICKLINE(REF(Var2,1)>Var2,Var2,REF(Var2,1),10,0),COLOR0000FF; STICKLINE(REF(Var2,1)<Var2,Var2,REF(Var2,1),5,0),COLOR00ff00;0,COLOR0000FF;顶底奇准买:=MA(CLOSE,1);卖:=(LOW+HIGH+CLOSE)/3;奇:= MA(卖,5);准:= HHV(奇,10);急卖奇准:IF(HHV((买<准),5),50,10),COLORFF6699;STICKLINE(急卖奇准=10,50,10,1,1),COLORFF6699;短卖奇准:IF(HHV((买<准),10),50,20),COLORGREEN;STICKLINE(短卖奇准=20,50,20,1,0),COLORGREEN;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);XXX:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));奇准:= MA(卖,5);买卖:=LLV(奇准,10);底部关注:IF(((XXX > 88) AND (神偷线 <5.8)),95,50),LINETHICK1,COLORYELLOW;STICKLINE(底部关注=95,50,95,1.5,0),COLORYELLOW,LINETHICK1;急买奇准:IF(LLV((买<买卖),5),75,50),COLORRED,LINETHICK1;STICKLINE(急买奇准=75,50,75,1.5,0),COLORRED,LINETHICK1;短买奇准:IF(LLV((买<买卖),10),85,50),COLORred,LINETHICK1;STICKLINE(短买奇准=85,50,85,1.5,0),COLORred,LINETHICK1;ADXR:=((XXX + REF(XXX,3)) / 2);VAR1:=MA(LOW,1);VAR2:=MA(HIGH,2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);动向趋势线:XXX,LINETHICK2,COLORFFAA66;一品操盘{N:1,8,1;}WR:=ABS(100-100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5)));IF(WR>0,WR,0),COLORYELLOW;涨:CROSS(WR,50),POINTDOT,COLOR0000FF;强:CROSS(WR,80),POINTDOT,COLORYELLOW;回:CROSS(80,WR) AND WR>50,POINTDOT,COLORWHITE; 险:=COUNT(WR>60,7)>=5 AND WR>90;跑:=COUNT(WR>60,7)>=5 AND CROSS(80,WR);慌:WR<=10 AND WR>0,POINTDOT,COLOR00FF00;绝:WR=0,POINTDOT,COLORFF6600;买:REF(WR,1)<10 AND C>REF(C,1) AND C>O,POINTDOT,COLORWHITE;攻:WR>=90 AND WR<100 OR (H=HHV(H,5) ANDH/REF(C,1)>=1.05),POINTDOT,COLORFF00FF;停:WR=100,POINTDOT,COLORRED;优选:IF((涨 AND COUNT(WR<=10,6) ANDREF(WR,1)>10)*100,100,50),COLORFF6666,LINETHICK2; FLSZ:=V*N>REF(V,1) AND C>REF(C,1) AND C>O; 助涨:(涨 OR 强) AND FLSZ,POINTDOT,COLORFF00FF; DRAWICON(优选=100,50,1);{以下设置副图显示方式}STICKLINE(WR>=50,50,WR,1,0),COLORWHITE;STICKLINE(WR>=90 AND WR<100,100,95,4,0),COLORWHITE; STICKLINE(WR=100,100,95,4,0),COLORFF00FF; STICKLINE(WR<=10 AND WR>0,0,5,4,0),COLORWHITE; STICKLINE(WR=0,0,5,4,0),COLORFF6600;DRAWTEXT(涨,60,'涨'),COLOR0000FF;DRAWTEXT(助涨,25,'?'),COLORFF00FF;DRAWTEXT(助涨,20,'‖'),COLORFF00FF;DRAWTEXT(强,70,'强'),COLORYELLOW;DRAWTEXT(回,50,'回'),COLORWHITE;DRAWTEXT(险,100,'?'),COLOR0000FF;DRAWTEXT(跑,100,'跑'),COLORFFFF00;DRAWTEXT(慌,20,'慌'),COLOR00FF00;DRAWTEXT(绝,20,'绝'),COLORWHITE;DRAWTEXT(买,50,'买'),COLORWHITE;DRAWTEXT(攻,50,'攻'),COLORFF00FF;DRAWTEXT(停,85,'停'),COLOR0000FF;50,COLORFFFF00,LINETHICK2;10,COLOR00FF00;90,COLOR00FF00;{?底部提示:副}Var2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;Var3:=SMA(SMA(Var2,3,1),3,1)/28.57; Var4:=EMA(Var3,5);Var5:=3*Var3-2*Var4;AA:=CROSS(Var5,Var3) AND Var3<2.1 and c>o;Var6:=(2*CLOSE+HIGH+LOW)/4;Var7:=LLV(LOW,13);Var8:=HHV(HIGH,13);Var9:=EMA((Var6-Var7)/(Var8-Var7)*100,13);VarA:=EMA(0.667*REF(Var9,1)+0.333*Var9,2); 多:Var9,COLORRED,POINTDOT;空:EMA(0.382*REF(Var9,2)+0.618*Var9,12),COLORgreen;STICKLINE(Var9>VarA,Var9,VarA,6,0),COLORred;STICKLINE(Var9<=VarA,Var9,VarA,6,0),COLORFFCC66;STICKLINE(AA,0,30,40,1),coloryellow; STICKLINE(AA,16,29,38,0),colorred; STICKLINE(AA,1,14,38,0),colorred;STICKLINE(AA,15,15,40,1),coloryellow;STICKLINE(AA,30,50,10,0),coloryellow; STICKLINE(AA,53,55,10,1),colorred; STICKLINE(AA,57,59,10,1),colorred; STICKLINE(AA,61,63,10,1),colorred; STICKLINE(AA,65,67,10,1),colorred; STICKLINE(AA,69,75,12,0),colorffcccc; DRAWTEXT(AA,85,'底'),coloryellow;博易顶底王VAR1:=LLV(LOW,34);VAR2:=HHV(HIGH,30);VAR3:=REF(CLOSE,1);VAR4:=EMA((CLOSE-VAR1)/(VAR2-VAR1),3)*100;主力:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100,COLORRED;CC:主力,COLORWHITE;散户:=VAR4;VAR5:=(VAR4-LLV(VAR4,21))/(HHV(VAR4,21)-LLV(VAR4,21))*100;Q1:IF(CROSS(VAR5,90) AND 散户<40,18,10);Q2:IF(CROSS(主力,12) AND REF(散户,5)<20 AND REF(散户,3)<20,18,10); P1:IF(CROSS(84,主力),82,90),COLOR99FF33;P2:IF(CROSS(84,散户),82,90),COLORCYAN;VY:=SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,5,1);L2:=SMA(0.618*REF(VY,1)+0.382*VY,3,1), COLORFF9900; L3:=MA(L2,5);STICKLINE(L2>L3,L3+2,L3-2,5,0),COLORRED;STICKLINE(L2<=L3,L3+2,L3-2,5,0),COLORGREEN;80,POINTDOT;50,POINTDOT;20,POINTDOT;。

相关文档
最新文档