博易大师 精品压力支撑指标 博易大师指标 信管家公式 高成功率
博易大师期货软件指标公式源码期货最准的指标准确率最高的期货指标
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;。
博易大师函数语法指令与指标公式大全
NOT(HISEXPDATE)。可限制仅在最后交易日前交易
HISEXPDAYS
合约距交割日的天数
取当前周期期货合约距离最后交易日的天数。注意:该函数仅适用于期货品种
同上:限制仅在交割日前交易
DATE+HISEXPDAYS<HISEXPDATE
ISDOWN
是否阴线
判断当前周期是否下跌
示例
历史行情
ADVANCE
上涨家数
取当前周期上涨家数
注意:该函数适用于指数行情
AMOUNT
持仓量
取当前周期持仓量
注意:该函数适用于期货行情
BONDYIELD
债券到期收益率
取当前周期的债券到期收益率(%)
注意:该函数适用于债券品种。
BUYVOL
外盘量。
取当前周期外盘量(主动买量)
C
收盘价
取当前周期收盘价。同CLOSE
市场凸性
取得债券信息:市场凸性
BONDSINFO(25)
市场基点价值
取得债券信息:市场基点价值
BONDSINFO(32)
估价收益率(%)
取得债券信息:估价收益率(%)
BONDSINFO2
跨品种债券信息
BONDSINFO2(Index,Code)
取指定品种对应序号Index的债券信息数据。Index为数据序号,顺序同BONDSINFO;Code为债券代码。
委买量二
取得动态行情:委买量二
DYNAINFO(43)
委买量三
取得动态行情:委买量三
DYNAINFO(44)
委买量四
取得动态行情:委买量四
DYNAINFO(45)
博易大师函数语法指令与指标公式大全
REF(X,N)
向前引用
引用N周期前的X值。
REF(CLOSE,1)。表示前一周期收盘价。
REFX(X,N)
向后引用
引用N周期后的X值。
REFX(CLOSE,1)。表示后一周期收盘价。
STKCALC(Code,Period,'Expr')
第一次出现满足X1或X2时,设置该周期数值为1,此后直到出现不同信号时设置该信号周期数值为1,否则设置数值为0,依此方法过滤所有信号。
ALTFILTER(MA(C,5)>MA(C,10),MA(C,5)<MA(C,10))。
表示寻找5日收盘均线和10日收盘均线的交叉点。
BACKSET(X,N)
向前赋值
DYNAINFO(07)
最新价
取得动态行情:最新价
DYNAINFO(08)
总成交量
取得动态行情:总成交量
DYNAINFO(09)
最新成交量
取得动态行情:最新成交量
DYNAINFO(10)
总成交金额
取得动态行情:总成交金额
DYNAINFO(11)
均价
取得动态行情:均价
DYNAINFO(12)
涨跌
取得动态行情:涨跌
FINANCE2(Index,Code)
跨品种基础财务
取指定品种对应序号Index的基础财务数据。Index为数据序号,顺序同FINANCE;
Code为证券代码。
例如:FINANCE2(07,'000001.SZ'),表示深发展A的总资产。
函数
功能
解释
博易大师指标公式信管家指标准确率最高的期货指标日内期货策略
RSVL:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;KL:=SMA(RSVL,3,1);DL:=SMA(KL,3,1);KKL:=SMA(RSVL,3,1);DD:=SMA(KL,3,1);NL:=KKL+DD;DRAWICON(CROSS(NL,50),L,1);DRAWICON(CROSS(160,NL),H,2);卖出K:=CROSS(160,NL);TM:=(CLOSE*1.0+LOW*0.0+HIGH*0.0);T1M:=V;TR := MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));//求最高价减去最低价,一个周期前的收盘价减去最高价的绝对值,一个周期前的收盘价减去最低价的绝对值,这三个值中的最大值ATR :=MA(TR,26),COLORYELLOW;//求N个周期内的TR的简单移动平均SL1M:=(TM/REF(TM,1)-1)*1000;趋势5:=MA(MA(MA(SL1M,20),20),20),COLORYELLOW;趋势6:=MA(MA(MA(SL1M,10),10),10),COLORMAGENTA;QA9:=趋势6-趋势5;QA10:=EMA(QA9,89);买入M:=(QA9-QA10)*2,COLORSTICK;M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34),COLORBLUE,LINETHICK2;MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);VAR1A1H:=(REF(CLOSE,1)-REF(ATR,1));买线1:=REF(EMA(C,14),1),COLORWHITE,LINETHICK3;卖线1:=IF(MC1>MAX(MC2,MA4),MC1,IF(MC1<MIN(MC2,MA4),MC2,MA4)),COLORFF00CC,LINETHICK3;高1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);FILLRGN(SMA(C,6.5,1)>SMA(C,13.5,1),SMA(C,6.5,1),SMA(C,13.5,1)),COLOR0061FF; FILLRGN(SMA(C,6.5,1)<SMA(C,13.5,1),SMA(C,6.5,1),SMA(C,13.5,1)),COLOR008000;MA5:=MA(C,5),COLOR000099;MA10:=MA(C,10),COLOR006600;MA20:=MA(C,20),COLOR005555;ZB1:=EMA(C,34);长期趋势:EMA(ZB1,13),COLORRED,LINETHICK3;STICKLINE(C>=REF(C,1),O,C,3,1),COLOR000000;STICKLINE(C<REF(C,1),O,C,3,1),COLOR000000;AA3:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);AA2:= EMA(CLOSE,14)>EMA(CLOSE,15)AND EMA(CLOSE,15)>EMA(CLOSE,20) AND EMA(CLOSE,20)>EMA(CLOSE,30) ANDEMA(CLOSE,30)>EMA(CLOSE,60) AND EMA(CLOSE,60)>EMA(CLOSE,90)AND EMA(CLOSE,90)>EMA(CLOSE,120) AND EMA(CLOSE,120)>EMA(CLOSE,250);A1:= AA2 AND AA3;A2:=EMA(CLOSE,5)>EMA(CLOSE,6) AND EMA(CLOSE,6)>EMA(CLOSE,7) ANDEMA(CLOSE,7)>EMA(CLOSE,8) AND EMA(CLOSE,8)>EMA(CLOSE,9)AND EMA(CLOSE,9)>EMA(CLOSE,10) AND EMA(CLOSE,10)>EMA(CLOSE,11) ANDEMA(CLOSE,11)>EMA(CLOSE,12)AND EMA(CLOSE,12)>EMA(CLOSE,13) AND EMA(CLOSE,13)>EMA(CLOSE,14);B1:=IF(A1,1,2);VAR1MZ:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));VAR2MZ:=((REF(VAR1MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR3MZ:=((REF(VAR2MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR4MZ:=((REF(VAR3MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR5MZ:=((REF(VAR4MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR6MZ:=((REF(VAR5MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR7MZ:=((REF(VAR6MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR8MZ:=((REF(VAR7MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR9MZ:=((REF(VAR8MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARAMZ:=((REF(VAR9MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARBMZ:=((REF(VARAMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARCMZ:=((REF(VARBMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),L,H,0,0),COLOR0000DD;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),C,REF(C,1),3,0),COLOR000099;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),C,REF(C,1),2,0),COLOR0000BB;STICKLINE((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) ORVARCMZ),C,REF(C,1),1,0),COLOR0000DD;VARDMZ:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));VAREMZ:=((REF(VARDMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARFMZ:=((REF(VAREMZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR10MZ:=((REF(VARFMZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR11MZ:=((REF(VAR10MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR12MZ:=((REF(VAR11MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR13MZ:=((REF(VAR12MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR14MZ:=((REF(VAR13MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR15MZ:=((REF(VAR14MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR16MZ:=((REF(VAR15MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR17MZ:=((REF(VAR16MZ,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR18MZ:=((REF(VAR17MZ,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),3 ,0 ),COLOR00BB00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),2 ,0 ),COLOR00DD00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),C,REF(C,1),1 ,0 ),COLOR00FF00;STICKLINE((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) ORVAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) ORVAR18MZ),H,L,0,0 ),COLOR00DD00;VAR19MZ:=(REF((((((((((((VARDMZ OR VAREMZ) OR VARFMZ) OR VAR10MZ) OR VAR11MZ) OR VAR12MZ) OR VAR13MZ) OR VAR14MZ) OR VAR15MZ) OR VAR16MZ) OR VAR17MZ) OR VAR18MZ),1) AND VAR1MZ);VAR1AMZ:=(REF((((((((((((VAR1MZ OR VAR2MZ) OR VAR3MZ) OR VAR4MZ) OR VAR5MZ) OR VAR6MZ) OR VAR7MZ) OR VAR8MZ) OR VAR9MZ) OR VARAMZ) OR VARBMZ) OR VARCMZ),1) AND VARDMZ);STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),3 ,0 ),COLORFF11FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),2 ,0 ),COLORFF44FF;STICKLINE(VAR19MZ,REF(CLOSE,1),REF(CLOSE,2),1 ,0 ),COLORFF66FF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00AAFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR00CCFF;STICKLINE(VAR1AMZ,REF(CLOSE,1),REF(CLOSE,2),1,0),COLOR00EEFF;FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1Q:=EMA(CLOSE,5);MA2Q:=ATAN((MA1Q/REF(MA1Q,1)-1)*100)*180/3.1416;MA3Q:=IF(MA2Q>0,MA2Q,MA2Q);MA5Q:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=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) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) ORREF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) ANDREF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<REF(C,1);VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN; VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) ANDCROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) ANDCROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSVQ,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;PL5:=ZIG(C,5,1);EN1:=ZIG(C,5,1)>REF(ZIG(C,5,1),1) AND REF(ZIG(C,5,1),1)<=REF(ZIG(C,5,1),2) ANDREF(ZIG(C,5,1),2)<=REF(ZIG(C,5,1),3);EX1:=ZIG(C,5,1)<REF(ZIG(C,5,1),1) AND REF(ZIG(C,5,1),1)>=REF(ZIG(C,5,1),2) ANDREF(ZIG(C,5,1),2)>=REF(ZIG(C,5,1),3);PL10:=ZIG(C,10,1);EN2:=ZIG(C,10,1)>REF(ZIG(C,10,1),1) AND REF(ZIG(C,10,1),1)<=REF(ZIG(C,10,1),2) ANDREF(ZIG(C,10,1),2)<=REF(ZIG(C,10,1),3);EX2:=ZIG(C,10,1)<REF(ZIG(C,10,1),1) AND REF(ZIG(C,10,1),1)>=REF(ZIG(C,10,1),2) ANDREF(ZIG(C,10,1),2)>=REF(ZIG(C,10,1),3);PL20:=ZIG(C,20,1);EN3:=ZIG(C,20,1)>REF(ZIG(C,20,1),1) AND REF(ZIG(C,20,1),1)<=REF(ZIG(C,20,1),2) ANDREF(ZIG(C,20,1),2)<=REF(ZIG(C,20,1),3);EX3:=ZIG(C,20,1)<REF(ZIG(C,20,1),1) AND REF(ZIG(C,20,1),1)>=REF(ZIG(C,20,1),2) ANDREF(ZIG(C,20,1),2)>=REF(ZIG(C,20,1),3);PL40:=ZIG(C,40,1);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;XGQ:=XG11 OR XG22;W18:=COUNT(XGQ,1);DRAWTEXT(XGQ,L-0.1,'●放心买'),COLORRED;SQX:=(C-MA(CLOSE,13))*100;DIFF:=EMA(MA(SQX,7),1),COLORWHITE;DEA:=EMA(DIFF,7),COLORYELLOW;MACD:=(DIFF-DEA)*2,COLORSTICK;奉献理想专用:IF((CROSS(DIFF,DEA) ANDDIFF<-0.1) ,L-0.2,DRAWNULL),COLORMAGENTA,LINETHICK7,CROSSDOT;低位金叉:=IF(CROSS(DIFF,DEA) ANDDIFF<-0.1,15,DRAWNULL),COLORMAGENTA,LINETHICK7,CROSSDOT;IF(CROSS(DIFF,DEA) AND DIFF<-0.1,L-0.2,DRAWNULL),COLORYELLOW,LINETHICK4,POINTDOT; {再上N均线N 10 1 100 1}MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,21);破N:=REF(MA1,1)<REF(MA2,1) AND MA2>REF(MA2,1);试摸N:=C>MA(C,10) OR H>=MA2;再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)<MA(C,10);有行情:=再上N AND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势)); DRAWTEXT(有行情,LOW-0.2,'●有行情'),COLORGREEN;VAR10B:=IF(TROUGHBARS(C,16,1,1)=0 AND HIGH>LOW+0.04,4,0);VAR11B:=ZIG(C,6,1)>REF(ZIG(C,6,1),1) AND REF(ZIG(C,6,1),1)<=REF(ZIG(C,6,1),2) ANDREF(ZIG(C,6,1),2)<=REF(ZIG(C,6,1),3);VAR12B:=ZIG(C,6,1)<REF(ZIG(C,6,1),1) AND REF(ZIG(C,6,1),1)>=REF(ZIG(C,6,1),2) ANDREF(ZIG(C,6,1),2)>=REF(ZIG(C,6,1),3);VAR13B:=ZIG(C,22,1)>REF(ZIG(C,22,1),1) AND REF(ZIG(C,22,1),1)<=REF(ZIG(C,22,1),2) AND REF(ZIG(C,22,1),2)<=REF(ZIG(C,22,1),3);VAR14B:=ZIG(C,22,1)<REF(ZIG(C,22,1),1) AND REF(ZIG(C,22,1),1)>=REF(ZIG(C,22,1),2) AND REF(ZIG(C,22,1),2)>=REF(ZIG(C,22,1),3);VAR15B:=ZIG(C,51,1)>REF(ZIG(C,51,1),1) AND REF(ZIG(C,51,1),1)<=REF(ZIG(C,51,1),2) AND REF(ZIG(C,51,1),2)<=REF(ZIG(C,51,1),3);VAR16B:=ZIG(C,51,1)<REF(ZIG(C,51,1),1) AND REF(ZIG(C,51,1),1)>=REF(ZIG(C,51,1),2) AND REF(ZIG(C,51,1),2)>=REF(ZIG(C,51,1),3);VAR17B:=ZIG(C,72,1)>REF(ZIG(C,72,1),1) AND REF(ZIG(C,72,1),1)<=REF(ZIG(C,72,1),2) AND REF(ZIG(C,72,1),2)<=REF(ZIG(C,72,1),3);VAR18B:=ZIG(C,72,1)<REF(ZIG(C,72,1),1) AND REF(ZIG(C,72,1),1)>=REF(ZIG(C,72,1),2) AND REF(ZIG(C,72,1),2)>=REF(ZIG(C,72,1),3);VAR19B:=EMA(CLOSE,2)-EMA(CLOSE,150);买1B:=VAR10B;买2B:=(VAR11B+VAR13B+VAR15B+VAR17B);BB:=IF(买1B>0 OR 买2B>0 ,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; 红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK5,COLORWHITE;牛节点:=CROSS(EMA(C,5),EMA(C,30)) AND CROSS(EMA(C,10),EMA(C,20));DRAWICON(牛节点,L-0.1,13);CSAR:=SAR(10,2,20);持币:=IF(CSAR>=H,CSAR,0),CIRCLEDOT,COLORGREEN{持币};持股:=IF(CSAR<=L,CSAR,0),CIRCLEDOT,COLORRED{持股};生命线2:=EMA(SLOPE(C,21)*20+C,42),LINETHICK2,COLORYELLOW;止损:=EMA(C,5),COLORYELLOW,LINETHICK1;菩提B:=MA(H,20);参买:=IF(止损>=REF(止损,1),止损,DRAWNULL),LINETHICK2,COLORRED;DRAWICON(CROSS(L,CSAR) AND 参买>0 AND H<菩提B AND 持股>0 AND H>长期趋势,(LOW- 0.1),5);VVAR1D:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);短底:=EMA(VVAR1D,5);支撑:=HHV(短底,60);MAN:=(SMA(HIGH,21,2) * 1.05);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1D:=EMA(中D,10);RSVD:=SMA(下档线,3,1);K大:=SMA(RSVD,3,1);D大:=((3 * RSVD) - (2 * K大));J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMA(J12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力位:=IF(CROSS(D24,D大),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D大)))),COLORFFFFFF; 牛浮面:=CROSS(CLOSE,MA20) AND HIGH < 压力位AND OPEN < MA20AND HIGH < 支撑AND MAN - REF(MAN,1) > 0 AND X1D - REF(X1D,1)>0 ANDD大< 63 AND MA20 - REF(MA20,1) > 0,COLORWHITE;DRAWTEXT(牛浮面,L,'●牛浮面'),COLORWHITE;CO:=(C-O);。
博易大师指标公式
博易大师指标公式博易大师指标公式-原代码(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;。
博易大师指标公式集锦以及编写方法大集合
博易大师指标公式集锦以及编写方法大集合1.移动平均线(MA):移动平均线是一种平滑线,用于显示价格的趋势。
常用的计算方法有简单移动平均线(SMA)和指数移动平均线(EMA)。
SMA的计算方法是将一定周期内的价格加总,然后除以周期数。
EMA的计算方法是对最近的价格给予更高的权重。
2. 动量指标(Momentum):动量指标用于显示价格的变动速度和幅度。
常用的计算方法是计算当前价格与一定周期前价格的差异。
如果差异为正值,则表示价格上升动能强劲,如果差异为负值,则表示价格下降势头强劲。
3.相对强弱指标(RSI):相对强弱指标用于衡量一段时间内价格的上涨与下跌的力量。
它的计算公式是通过比较一段时间内价格上涨的平均数与价格下降的平均数,来判断市场的超买和超卖情况。
4.平均真实范围(ATR):平均真实范围用于衡量价格的波动性。
它的计算方法是计算一段时间内最高价与最低价之差的平均值。
5. 随机指标(Stochastic Oscillator):随机指标用于衡量价格在一定周期内的位置相对于价格范围的位置。
它的计算公式是将当前价格与一定周期内的最高价和最低价进行比较,然后计算出所占比例。
6.移动平均收敛/发散指标(MACD):移动平均收敛/发散指标用于衡量价格的趋势。
它的计算方法是计算两条不同周期移动平均线之间的差异。
以上仅是博易大师指标公式集锦的一小部分,还有更多的指标可以用于技术分析和交易决策。
要编写这些指标,需要具备编程技巧和计算机语言的基础。
下面是一个简单的编写方法示例:```#计算移动平均线def calculate_sma(prices, period):sma = []for i in range(period - 1, len(prices)):sum_prices = sum(prices[i - period + 1:i + 1]) avg = sum_prices / periodsma.append(avg)return sma#计算动量指标def calculate_momentum(prices, period): momentum = []for i in range(period, len(prices)):diff = prices[i] - prices[i - period] momentum.append(diff)return momentum#计算RSI指标def calculate_rsi(prices, period):rsi = []for i in range(period, len(prices)):gains = [prices[i - j] - prices[i - j - 1] for j in range(1, period + 1) if prices[i - j] > prices[i - j - 1]]losses = [-1 * (prices[i - j] - prices[i - j - 1]) for j in range(1, period + 1) if prices[i - j] < prices[i - j - 1]] avg_gain = sum(gains) / periodavg_loss = sum(losses) / periodrsi.append(100 - (100 / (1 + avg_gain / avg_loss)))return rsi#计算ATR指标def calculate_atr(highs, lows, closes, period):tr = []for i in range(1, len(highs)):tr.append(max(highs[i] - lows[i], abs(highs[i] - closes[i - 1]), abs(lows[i] - closes[i - 1])))atr = []atr.append(sum(tr[:period]) / period)for i in range(1, len(tr) - period + 1):atr.append((atr[-1] * (period - 1) + tr[i + period - 1]) / period)return atr#计算随机指标def calculate_stochastic(highs, lows, closes, period):stochastic = []for i in range(period - 1, len(closes)):highest_high = max(highs[i - period + 1:i + 1])lowest_low = min(lows[i - period + 1:i + 1])k = (closes[i] - lowest_low) / (highest_high - lowest_low) * 100stochastic.append(k)return stochastic#计算MACD指标def calculate_macd(prices, short_period, long_period,signal_period):short_ema = calculate_ema(prices, short_period)long_ema = calculate_ema(prices, long_period)macd = [short - long for short, long in zip(short_ema,long_ema)]signal = calculate_ema(macd, signal_period)histogram = [macd[i] - signal[i] for i in range(len(macd))]return macd, signal, histogram```以上是一个使用Python编写的示例,可以根据需要进行修改和扩展。
博易大师指标公式集锦以及编写方法大集合
博易大师指标公式集锦以及编写方法大集合博易大师指标公式集锦以及编写方法大集合(用时把前面空格删掉)利多方舟VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /(HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) -LLV(LOW,6))),34));DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(CLOSE*0.95),'↑'),COL OR0000FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'卖'),COLORFFFF34;年:MA(CLOSE,30),COLORGREEN;STICKLINE(C>=年 ANDC>=O,C,O,3,0),COLORRED;STICKLINE(C>=年 ANDC>=O,H,L,0,0),COLORRED;STICKLINE(C>=年 ANDC<O,C,O,3,1),COLORRED;STICKLINE(C>=年 ANDC<O,O,H,0,0),COLORRED;STICKLINE(C>=年 ANDC<O,C,L,0,0),COLORRED;STICKLINE(C<年 ANDC>O,C,O,3,1),COLORFFFF00;STICKLINE(C<年 ANDC<=O,C,O,3,1),COLORFFFF00;STICKLINE(C<年 ANDC<=O,H,L,0,1),COLORFFFF00;STICKLINE(C<年 ANDC>O,C,H,0,1),COLORFFFF00;STICKLINE(C<年 ANDC>O,O,L,0,1),COLORFFFF00;符号↑为"买”变色MACDDIFF:(EMA(CLOSE,12) -EMA(CLOSE,26))*20,COLORFFFFFF,LINETHICK1;DEA:EMA(DIFF,9),COLOR00FFFF,LINETHICK1;MACD:2*(DIFF-DEA), COLORSTICK;MACD1:2*(DIFF-DEA),COLORRED,LINETHICK0;MACD2:SMA(MACD1,0,3),COLORFFFF00,LINETHICK0;STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),COLORRED;STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),COLOR00FFFF;STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLOR40FF00;S1:=MACD<0;S2:= (MACD>=0);S3:=BARSLAST(CROSS(DIFF,DEA));S4:=REF(S3,S3+1);S5:=DEA>REF(DEA,S4);S6:=DEA;上成立:=CROSS(DIFF,DEA) AND S5;下成立:=CROSS(DIFF,DEA) AND S6;L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));L2:=EMA(L1,9);L3:=BARSLAST(CROSS(L1,L2));L4:=REF(L3,L3+1);L5:=L2;变盘:CROSS(L1,L2) ANDL5,LINETHICK0,COLORD6FF9C;STICKLINE(变盘,5,-5,4,1),COLORD6FF9C;成立距今:BARSLAST(CROSS(DIFF,DEA)),LINETHICK0;L6:=BARSCOUNT(CLOSE);DRAWTEXT(CROSS(L1,L2),DIFF,'买'),COLOR0000FF;DRAWTEXT(CROSS(L2,L1),DIFF,'卖'),COLORFFFF00;REF(DEA,S3),POINTDOT,COLORGREEN;IF(L1>L2,REF(DEA,S3),0),POINTDOT,LINETHICK5,COLORB078 FF;IF(MACD<0,REF(DEA,S3),0),POINTDOT,LINETHICK5,COLORG REEN;LS:=IF(DIFF>DEA AND DIFF>0,1,0);加速上扬:IF(REF(LS=0,1) ANDLS=1,0.1,0);XG1:CROSS(MACD1,MACD2) AND MACD1<0,LINETHICK0;XG2:CROSS(DIFF,DEA),LINETHICK0;M1:=MACD>REF(MACD,1) AND DIFF<DEA;绿柱短了:M1 AND COUNT(M1,10)=1 ANDC>MA(C,55) AND COUNT(MACD<0,5)>=5,LINETHICK0;DRAWTEXT(绿柱短了,MACD,'绿柱短了'),COLOR00FF80;渔家乐渔家:3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),LINETHICK2, COLORYELLOW;渔家乐: IF(CROSS(渔家,MA(渔家,10)) AND 渔家<=10,35,0),LINETHICK3 , COLORMAGENTA;渔家出海: IF(CROSS(渔家,MA(渔家,10)) AND 渔家<35,70,0),LINETHICK3 , COLORRED;渔家网: IF(CROSS(MA(渔家,9),渔家) AND 渔家>70,110,72),LINETHICK1 , COLORCYAN;DRAWICON(CROSS(渔家,62),68,1);DRAWICON(CROSS(渔家,72),70,1);DRAWICON(CROSS(渔家,66),72,1);DRAWICON(CROSS(渔家,68),66,1);DRAWICON(CROSS(76,渔家),70,2);DRAWICON(CROSS(68,渔家),84,2);DRAWICON(CROSS(66,渔家),80,2);DRAWICON(CROSS(64,渔家),70,2);准备下网: IF(渔家<=10,30,0),STICK,COLOR8080FF,LINETHICK4;此处下网: IF(CROSS(渔家,10),45,0),STICK,COLORRED,LINETHICK4;DRAWTEXT(此处下网,40,'关注'),COLORYELLOW;准备休渔吧: IF(渔家>=90,70,0),STICK, COLORGREEN;休渔吧: IF(CROSS(84,渔家),100,0),STICK,COLOR77AAFF,LINETHICK5;DRAWTEXT(休渔吧,98,'回家!'),COLOR77AAFF ;水面: 72, COLORCYAN ;网架: 105;水底: 10;渔家2: MA(渔家,9),LINETHICK2 ,COLORFF0000;IF(CROSS(渔家,MA(渔家,6)) AND 渔家2<45,渔家2,0),COLORCCB3E2 ,LINETHICK3 ;仿DDXVOL,VOLSTICK;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交:VOL,VOLSTICK;主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,COLORSTICK;主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,COLORSTICK;增仓减仓: IF(主买>=(ABS(主卖)),主买+主卖,主卖+主买),COLORYELLOW,LINETHICK2;无敌趋势RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;RSV2:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;J1:=SMA(RSV1,3,1);J2:=SMA(J1,3,1);趋势线:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1),LINETHICK2,COLORFF84FF;K:SMA(RSV2,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLORF408F4;DI:IF(趋势线<=10,30,0),LINETHICK2,COLORYELLOW;KI:IF(CROSS(J2,J1) ANDJ2>85,70,100),LINETHICK2,COLOR00FF00;强弱界线:49,POINTDOT,LINETHICK3,COLOR99AACC;STICKLINE(趋势线>88,100,趋势线,4,1),COLORGREEN;STICKLINE(趋势线<=10,0,趋势线,4,1),COLORYELLOW;STICKLINE(COUNT(趋势线<REF(趋势线,1) AND 趋势线<10,2)=2,0,20,4,0),COLORRED;STICKLINE(CROSS(J2,J1) ANDJ2>85,100,80,4,0),COLORGREEN;DRAWICON(CROSS(趋势线,49),趋势线,1),COLORRED;DRAWICON(FILTER(CROSS(D,K) AND D>88,10),D*1.05,2);DRAWTEXT(CROSS(趋势线,49),47,'转强'),COLORRED;DRAWTEXT(CROSS(49,趋势线),52,'转弱'),COLORGREEN;无敌精灵空方:=(EMA(CLOSE,24)-EMA(CLOSE,4))/2*0.95;0;多方:=(EMA(CLOSE,4)-EMA(CLOSE,24))/2*0.95;多头:多方,COLORYELLOW;空头:空方,,COLORFFFF00;引路精灵:(多方-空方),COLORRED,LINETHICK2;STICKLINE(多方>空方 ,0,多方 ,0.8 , 1),COLOREEAAFE;STICKLINE(空方>多方 ,0,空方 ,0.8 , 1),COLORFFFF00;STICKLINE(多方>空方 ,0 ,空方 ,0.8 , 1),COLOREEAAFE;STICKLINE(空方>多方,0 ,多方 ,0.8 , 1),COLORFFFF00;DRAWICON(CROSS(引路精灵 ,0 ) ,引路精灵+0.3,1 );买卖航标VAR1:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;操盘线:SMA(VAR1,5,1),LINETHICK2,COLORRED;趋势线:SMA(操盘线,3,1),LINETHICK2,COLORYELLOW;买入航标:IF(CROSS(操盘线,趋势线) AND 趋势线<25,50,0),LINETHICK2,COLORRED;DRAWTEXT(买入航标>0,50,'买入'),LINETHICK1,COLORRED;卖出时间:IF(CROSS(趋势线,操盘线)AND操盘线>70,80,100),COLORGREEN;DRAWTEXT(卖出时间<100,80,'卖出'),LINETHICK1,COLOR00FF00;天风地火{天风地火 N:1 100 3 M:1 100 30}VAR0:=(3*CLOSE+LOW+OPEN+HIGH)/6;多头线:(20*VAR0+19*REF(VAR0,1)+18*REF(VAR0,2)+17*REF(VAR0,3) +16*REF(VAR0,4)+15*REF(VAR0,5)+14*REF(VAR0,6)+13*REF(VA R0,7)+12*REF(VAR0,8)+11*REF(VAR0,9)+10*REF(VAR0,10)+9*RE F(VAR0,11)+8*REF(VAR0,12)+7*REF(VAR0,13)+6*REF(VAR0,14)+ 5*REF(VAR0,15)+4*REF(VAR0,16)+3*REF(VAR0,17)+2*REF(VAR0, 18)+REF(VAR0,20))/210,CIRCLEDOT,COLORRED,LINETHICK2;空头线: MA(多头线,10),CIRCLEDOT,COLORGREEN,LINETHICK2;STICKLINE(多头线>空头线,多头线,空头线,10,10),COLORRED;STICKLINE(多头线<空头线,多头线,空头线,10,10),COLORGREEN;STICKLINE(C>O,O,C,7,0),COLORRED;STICKLINE(C>O,O,C,4,0),COLORB0B0FF;STICKLINE(C>O,O,C,2,0),COLORYELLOW;STICKLINE(C>O,L,H,0.1,0),COLORYELLOW;STICKLINE(C< O,O,C,7,0),COLORFF2020;STICKLINE(C< O,O,C,4,0),COLORFF6600;STICKLINE(C< O,O,C,2,0),COLORFFCC66;STICKLINE(C< O,L,H,0.1,0),COLORFFCC66;STICKLINE(C=OANDC>=REF(C,1),O,C,7,0),COLORRED;STICKLINE(C=OANDC>=REF(C,1),O,C,4,0),COLORB0B0FF;STICKLINE(C=OANDC>=REF(C,1),O,C,2,0),COLORYELLOW;STICKLINE(C=OANDC>=REF(C,1),L,H,0.1,0),COLORYELLOW;STICKLINE(C=O ANDC<REF(C,1),O,C,7,0),COLORFF2020;STICKLINE(C=O ANDC<REF(C,1),O,C,4,0),COLORFF6600;STICKLINE(C=O ANDC<REF(C,1),O,C,2,0),COLORFFCC66;STICKLINE(C=O ANDC<REF(C,1),L,H,0.1,0),COLORFFCC66;VAR1:=(CLOSE*1.1)-(CLOSE*0.9)*80顶底奇准买:=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)>=5AND WR>90;跑:=COUNT(WR>60,7)>=5AND CROSS(80,WR);慌:WR<=10AND WR>0,POINTDOT,COLOR00FF00;绝:WR=0,POINTDOT,COLORFF6600;买:REF(WR,1)<10AND C>REF(C,1) AND C>O,POINTDOT,COLORWHITE;攻:WR>=90AND 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) ANDC>O;助涨:(涨 OR 强) AND FLSZ,POINTDOT,COLORFF00FF;DRAWICON(优选=100,50,1);{以下设置副图显示方式}STICKLINE(WR>=50,50,WR,1,0),COLORWHITE;STICKLINE(WR>=90 ANDWR<100,100,95,4,0),COLORWHITE;STICKLINE(WR=100,100,95,4,0),COLORFF00FF;STICKLINE(WR<=10 ANDWR>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 andc>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;趋势线(主图)AA10:=MA(C,10);BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416; STICKLINE(BB10>1 AND AA10>REF(AA10,1),AA10,REF(AA10,1),8,0),COLORRED;STICKLINE(BB10<1 ANDAA10<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN; AA20:=MA(C,20);BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416; STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW; STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;变色主图线O1:=MA(C,O), LINETHICK1;N1:=MA(C,21), LINETHICK1;M2:MA(C,55),COLOR0080FF;PARTLINE(N1>M2,M2),COLORRED,LINETHICK2; PARTLINE(N1<=M2,M2),COLORGREEN,LINETHICK2;CCI主图K线TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,13))/(0.015*AVEDEV(TYP,13)); STICKLINE(CCI>=0,O,C,4,1),COLORRED;STICKLINE(CCI>=0,O,L,0.1,0),COLORRED;STICKLINE(CCI>=0,C,H,0.1,0),COLORRED;STICKLINE(CCI<0,O,C,4,0),COLORCYAN;STICKLINE(CCI<0,O,H,0.1,0),COLORCYAN;STICKLINE(CCI<0,C,L,0.1,0),COLORCYAN;DRAWTEXT(CROSS(CCI,-200) ANDCCI>REF(CCI,1),L,'平空'),COLORGREEN;DRAWTEXT(CROSS(200,CCI) ANDCCI<REF(CCI,1),H,'平多'),COLORYELLOW;DRAWTEXT(CROSS(CCI,100) ANDCCI>REF(CCI,1),L,'加多'),COLORYELLOW;DRAWTEXT(CROSS(-100,CCI) ANDCCI<REF(CCI,1),H,'加空'),COLORGREEN多空参考(副图)VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;VAR2:=SMA(VAR1,10,1);慢速:=SMA(VAR2,5,1);RSV:=((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FATK:=SMA(RSV1,3,1);形态:=SMA(FATK,3,1);VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VARB:=SMA(VARA,3,1);VARC:=SMA(VARB,3,1);加速:EMA(3*VARB-2*VARC,2),COLORYELLOW;底:6,COLOR00BF00;大底:-6,COLOR007300;顶:90,COLORFFA500;大顶:100,COLORWHITE;VAR11:=LLV(LOW,5)=LLV(LOW,45) ANDCLOSE>=OPEN*1.04;VAR22:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;买入:=VAR11 ANDVAR22,LINETHICK2,COLORRED;VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;卖出:=CROSS(80,VAR4),LINETHICK2,COLORGREEN;VAR5:=CROSS(加速,100);VAR6:=CROSS(加速,-6);VAR7:=CROSS(80,加速);VAR8:=CROSS(加速,6);DRAWTEXT(VAR5,85,'注意顶'),COLORBLUE;DRAWTEXT(VAR6,0,'关注底'),COLORRED;DRAWTEXT(VAR7,95,'空'),COLORGREEN;DRAWTEXT(VAR8,5,'多'),COLORMAGENTA;资金量指标VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR3:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;VAR4:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;VAR5:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;VAR6:=(VAR3+VAR4+VAR5)/3;ZH: EMA(EMA(VAR3,5),5)*3, COLORSTICK;VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR8:=IF(VAR6<=-20,10,0);STICKLINE(VAR8=10,20,10,4,0),COLORRED;VAR11:=VARF<REF(VAR10,1) ANDVOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,5,'狮子提醒'),COLORFF00FF;STICKLINE(VAR11 ANDCOUNT(VAR11,30)=1,1,10,8,0),COLORYELLOW;DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,3,'大资金进入'),COLORFF00FF;机构做空能量线VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线:SMA(VAR1,3,1),LINETHICK2,COLORGREEN;VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;机构做多能量线:SMA(VAR2,5,1)-8,LINETHICK2,COLORRED;弱势区:20,POINTDOT,COLORGREEN;强弱分水岭:50,POINTDOT,COLORWHITE;强势区:80,POINTDOT,COLORF00FF0;专业快刀手N1:=21;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;VAR2:=8,COLORGREEN,LINETHICK0;小试牛刀:IF(CROSS(VAR1,VAR2),50,0),STICK,COLORRED;DRAWICON(小试牛刀>0,50,4);发现庄迹:IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区:IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))-0.7;CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1))-0.5;CD5:=IF(CD4>0.00,CD4,0.00);CD6:=REF(CD5,1);VAR81:=MA(C,9),COLORRED;空头1:=IF(CD6-CD5,CD6,CD5),LINETHICK3,COLORGREEN;减仓空仓:CROSS(CD6,CD5),COLORGREEN;DRAWICON(减仓空仓>0,113,5);VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2A:=SMA(VAR1A,9,1)+100;VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4A:=SMA(VAR3A,3,1);VAR5A:=SMA(VAR4A,3,1)+100;VAR6A:=VAR5A-VAR2A;端庄窝:=IF(VAR6A>N1,VAR6A-N1,0),COLORLIRED;果断出击:IF(CROSS(端庄窝,0.01),100,0),STICK,COLORGREEN,LINETHICK2;DRAWICON(果断出击>0,100,4),COLORGREEN;XG:=CROSS(端庄窝,0.01);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),3,0),COLORRED;STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),3,0),COLOR00FF00;红持绿空:0,COLORGREEN;中分线: 20;VAR1E:=((CLOSE - LLV(LOW,20)) /(HHV(HIGH,20) - LLV(LOW,20))) * 100;VAR2E:=SMA(SMA(VAR1E,3,1),3,1);VAR3E:=EMA(VAR2E,5);GZ:=3*VAR2E-2*VAR3E;趋势J:EMA(GZ,3),colorgreen,linethick3;partline(趋势J>ref(趋势J,1),趋势J),colorred,linethick3;VAR37:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR38:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR39:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;天机均线均:=(3*C+H+L+O)/6;短线:(8*均+7*REF(均,1)+6*REF(均,2)+5*REF(均,3)+4*REF(均,4)+3*REF(均,5) +2*REF(均,6)+REF(均,7))/36,COLORWHITE,PRECIS0;中线:(LLV(短线,3)+LLV(短线,5)+LLV(短线,8))/3,COLORYELLOW,PRECIS0;金山银山DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);STICKLINE(DIFF>DEA,CLOSE,OPEN,3,0),COLORRED;STICKLINE(DIFF>DEA,HIGH,LOW,3,0),COLORRED;STICKLINE(DIFF<=DEA,CLOSE,OPEN,3,0),COLORGREEN;STICKLINE(DIFF<=DEA,HIGH,LOW,3,0),COLORGREEN;量能指标VAR1:=(HHV(HIGH,13)-LLV(LOW,13));VAR2:=(HHV(HIGH,13)-CLOSE);VAR3:=(CLOSE-LLV(LOW,13));VAR4:=(((VAR2/VAR1)*100)-70);VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);VAR7:=SMA(((VAR3/VAR1)*100),3,1);VAR8:=LLV(LOW,34);VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));VAR10:=IF((VAR9>100),(VAR9-100),0);VAR11:=HHV(HIGH,34);VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),N);VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);STICKLINE(((VAR12-VAR13)>0),VAR12,VAR13,4,0),COLOR0000FF;STICKLINE(((VAR12-VAR13)<0),VAR12,VAR13,4,0),COLORFF0000;MA11:EMA(VAR13,5);(N 1100 15 )即时趋势副图R1:3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,3,1),2,1);ZP:IF(R1<7,20,0),COLORGREEN;XG:IF(CROSS(R1,7),38,0),COLORRED;A:95,COLORGREEN;快慢多空主图叠加AA10:=MA(C,10);BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;STICKLINE(BB10>1 ANDAA10>REF(AA10,1), AA10,REF(AA10,1),8,0),COLORRED;STICKLINE(BB10<1 ANDAA10<REF(AA10,1), AA10,REF(AA10,1),8,1),COLORGREEN;AA20:=MA(C,20);BB20:=ATAN((AA20-REF(AA20,1)))*180/3.1416;STICKLINE(BB20>1,AA20,REF(AA20,1),8,0),COLORYELLOW; STICKLINE(BB20<1,AA20,REF(AA20,1),8,1),COLORBBCCCC;彩色K线HH:=HHV(HIGH,3);LL:=LLV(LOW,3);HH1:=BARSLAST((HH > REF(HH,1)));LL1:=BARSLAST((LL < REF(LL,1)));IF((HH1 <LL1),LL,HH),LINETHICK2,COLORBB0066;IF((HH1 >LL1),HH,LL),LINETHICK2,COLOR1B8800;STICKLINE((HH1 <LL1),CLOSE,OPEN,3,0),COLORRED;STICKLINE((HH1 <LL1),HIGH,LOW,0,0),COLORRED;STICKLINE((HH1 >LL1),CLOSE,OPEN,3,0),COLORFF0000;STICKLINE((HH1 >LL1),HIGH,LOW,0,0),COLORFF0000;DRAWTEXT(CROSS(HH1,LL1),HH,'开空'),COLORYELLOW; DRAWTEXT(CROSS(LL1,HH1),LL,'开多'),COLORFF00FF;鳄鱼分形主图叠加Y:=(HIGH+LOW)/2;上唇:SMA(Y,5,1),COLORGREEN;牙齿:SMA(Y,8,1),COLORRED;下鄂:SMA(Y,13,1),COLORFF6600;{分形- 没有未来函数}KU1:=IF(HIGH=HHV(HIGH,3),1,0);KD1:=IF( LOW=LLV( LOW,3),1,0);UL:=IF(REF(KU1,2)=1 AND REF(KU1,1)=0 ANDKU1=0,REF(HIGH,2),REF(HIGH,2+BARSLAST(REF(KU1,2)=1 AND REF(KU1,1)=0 ANDKU1=0)));DL:=IF(REF(KD1,2)=1 AND REF(KD1,1)=0 ANDKD1=0,REF(LOW,2), REF(LOW,2+BARSLAST(REF(KD1,2)=1 AND REF(KD1,1)=0 AND KD1=0)));上分形:IF(HIGH>=MA(CLOSE,3),UL,REF(UL,BARSLAST(HIGH>MA(CLO SE,3)))),LINETHICK0,COLORMAGENTA;{分形数字}下分形:IF(LOW<=MA(CLOSE,3),DL,REF(DL,BARSLAST(LOW<=MA(CLO SE,3)))),LINETHICK0,COLORYELLOW;STICKLINE(BARSLAST(ABS(上分形-REF(上分形,1)))<BARSLAST(CLOSE>上分形AND REF(CLOSE,1)<REF(上分形,1)),上分形,上分形,4,1),COLORMAGENTA;{分形横线}STICKLINE(BARSLAST(ABS(下分形-REF(下分形,1)))<BARSLAST(CLOSE<下分形AND REF(CLOSE,1)>REF(下分形,1)),下分形,下分形,4,1),COLORYELLOW;DRAWTEXT(CLOSE>上分形AND REF(CLOSE,1)<REF(上分形,1),LOW,'买'),COLORFF00FF;{箭头突破分形}DRAWTEXT(CLOSE<下分形AND REF(CLOSE,1)>REF(下分形,1),H,'卖'),COLORFF0000;{AOAC-K区域}VAR1:=(HIGH+LOW)/2;AO:=MA(VAR1,5)-MA(VAR1,34);AC:=AO-MA(AO,5);VF:=AO>REF(AO,1) ANDAC>REF(AC,1),COLORRED;VG:=AO<REF(AO,1) ANDAC<REF(AC,1),COLORGREEN;VH:=AO>REF(AO,1) ANDAC<REF(AC,1),COLORGRAY;VI:=AO<REF(AO,1) AND AC>REF(AC,1),COLORGRAY;VJ:=VH OR VI;STICKLINE(VF ANDCLOSE>OPEN,CLOSE,OPEN,4,1),COLORRED;STICKLINE(VF ANDCLOSE<=OPEN,CLOSE,OPEN,4,0),COLORRED;STICKLINE(VF,HIGH,LOW,1,0),COLORRED;STICKLINE(VG ANDCLOSE>OPEN,CLOSE,OPEN,4,1),COLORGREEN;STICKLINE(VG AND CLOSE<=OPEN,CLOSE,OPEN,4,0),COLORGREEN;STICKLINE(VG,HIGH,LOW,1,0),COLORGREEN;STICKLINE(VJ ANDCLOSE>OPEN,CLOSE,OPEN,4,1),COLORGRAY;STICKLINE(VJ ANDCLOSE<=OPEN,CLOSE,OPEN,4,0),COLORGRAY;STICKLINE(VJ,HIGH,LOW,1,0),COLORGRAY;{平衡线}P1:=REF(HIGH,1)>HIGH AND REF(HIGH,1)>下鄂;平衡线买:REF(REF(HIGH,1),BARSLAST(P1)),LINETHICK0,COLORWHITE;STICKLINE(CROSS(HIGH,平衡线买) AND LOW>平衡线买,(HIGH+LOW)/2,(HIGH+LOW)/2,4,0),COLORWHITE;STICKLINE(CROSS(HIGH,平衡线买) AND LOW<=平衡线买,平衡线买,平衡线买,4,0),COLORWHITE;P2:=REF(LOW,1)<LOW AND REF(LOW,1)<下鄂;平衡线卖:REF(REF(LOW,1),BARSLAST(P2)),LINETHICK0,COLORCYAN;STICKLINE(CROSS(平衡线卖,LOW) AND HIGH<平衡线卖,(HIGH+LOW)/2,(HIGH+LOW)/2,4,0),COLORCYAN;STICKLINE(CROSS(平衡线卖,LOW) AND HIGH>=平衡线卖,平衡线卖,平衡线卖,4,0),COLORCYAN;DRAWTEXT(ISLASTBAR AND AO>REF(AO,1) ANDAC>REF(AC,1),Y,'↑AO↑AC'),COLORRED;DRAWTEXT(ISLASTBAR AND AO<REF(AO,1) ANDAC<REF(AC,1),Y,'↓AO↓AC'),COLORGREEN;DRAWTEXT(ISLASTBAR AND AO>REF(AO,1) ANDAC<REF(AC,1),Y,'↑AO↓AC'),COLORWHITE;DRAWTEXT(ISLASTBAR AND AO<REF(AO,1) ANDAC>REF(AC,1),Y,'↓AO↑AC'),COLORWHITE;多空之王DKX:=(EMA(C,18)),POINTDOT;STICKLINE(((C >=DKX) AND (C >=O)),H,L,0,1),COLORRED;STICKLINE(((C >=DKX) AND (C >=O)),O,C,2,1),COLORRED;STICKLINE(((C >=DKX) AND (C <=O)),H,L,0,0),COLORRED;STICKLINE(((C >=DKX) AND (C <=O)),O,C,2,0),COLORRED;STICKLINE(((C <DKX) AND (C >=O)),H,L,0,1),COLORGREEN;STICKLINE(((C < DKX) AND (C >=O)),O,C,2,1),COLORGREEN;STICKLINE(((C < DKX) AND (C <=O)),H,L,0,0),COLORGREEN;STICKLINE(((C < DKX) AND (C <=O)),O,C,2,0),COLORGREEN;VAR1:=(HHV(HIGH,15)-LLV(LOW,15));VAR2:=(HHV(HIGH,15)-CLOSE);VAR3:=(CLOSE-LLV(LOW,15));VAR4:=(((VAR2/VAR1)*100)-70);VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);VAR7:=SMA(((VAR3/VAR1)*100),3,1);VAR8:=LLV(LOW,34);VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));VAR10:=IF((VAR9>100),(VAR9-100),0);VAR11:=HHV(HIGH,34);VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15);VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);MA11:=EMA(VAR13,5);DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多');DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空');利多方舟VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /(HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) /(HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) -LLV(LOW,6))),34));DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(CLOSE*0.95),'↑'),COL OR0000FF;DRAWTEXT(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.035),'卖'),COLORFFFF34;年:MA(CLOSE,30),COLORGREEN;STICKLINE(C>=年 ANDC>=O,C,O,3,0),COLORRED;STICKLINE(C>=年 ANDC...。
(完整版)博易大师函数、语法指令与指标公式大全
收盘价
取当前周期收盘价。简写为:C
DATACOUNT
总周期数
取总周期数
DECLINE
下跌家数
取当前周期下跌家数
注意:该函数适用于指数行情
H
最高价
取当前周期最高价,同HIGH
HIGH
最高价
取当前周期最高价。简写为:H
HISEXPDATE
合约最后交易日
取当前周期期货合约的最后交易日
注意:该函数仅适用于期货品种
取得动态行情:委卖量三
DYNAINFO(64)
委卖量四
取得动态行情:委卖量四
DYNAINFO(65)
委卖量五
取得动态行情:委卖量五
函数
功能
解释
示例
即时行情
DYNAINFO(71)
委卖价一
取得动态行情:委卖价一
DYNAINFO(72)
委卖价二
取得动态行情:委卖价二
DYNAINFO(73)
委卖价三
取得动态行情:委卖价三
DYNAINFO(74)
委卖价四
取得动态行情:委卖价四
DYNAINFO(75)
委卖价五
取得动态行情:委卖价五
函数
功能
解释
示例
即时行情
DYNAINFO2
跨品种动态行情
DYNAINFO2(Index,Code)
取指定品种对应序号Index的动态行情数据。Index为行情序号,顺序同DYNAINFO;Code为品种代码,当代码为常量时,可以动态更新该品种数据,否则只能使用本地最近保存的数据。
FILTER(CLOSE>OPEN,5)。表示查找阳线,5天内再次出现的阳线不被记录在内。
博易大师 KDJ指标 高成功率
博易大师 KDJ指标高成功率简介KDJ指标是一种技术分析指标,由随机指标(K)和随机平均值(D)两条线组成,同时还包括随机指标的快速移动平均线(J)。
KDJ指标被广泛应用于股票、期货等金融市场的技术分析中,旨在帮助投资者判断价格的超买和超卖状态,预测市场价格的变动趋势。
KDJ指标计算方法KDJ指标的计算方法如下:1. 计算周期内最高价(H)和最低价(L);2. 计算当日收盘价(C)与之前一天的收盘价(LC)的比例(CD);3. 根据公式计算未成熟随机值(RSV):RSV = (C - L) / (H - L) * 100;4. 计算K值:K = RSV的n日移动平均值;5. 计算D值:D = K的m日移动平均值;6. 计算J值:J = 3 * K - 2 * D。
高成功率策略通过分析KDJ指标的数值变化,结合其他技术分析工具,可以制定一些高成功率的交易策略。
以下是一些常用的策略:1. 超买超卖策略:当K线超过80时,为超买状态;当K线低于20时,为超卖状态。
在超买状态下,可以考虑卖出;在超卖状态下,可以考虑买入。
但需要注意,KDJ指标是一种多次调整后再使用的指标,需要和其他指标结合使用才能有效。
超买超卖策略:当K线超过80时,为超买状态;当K线低于20时,为超卖状态。
在超买状态下,可以考虑卖出;在超卖状态下,可以考虑买入。
但需要注意,KDJ指标是一种多次调整后再使用的指标,需要和其他指标结合使用才能有效。
2. 金叉死叉策略:当K线从下方向上穿越D线,形成金叉时,为买入信号;当K线从上方向下穿越D线,形成死叉时,为卖出信号。
金叉和死叉的出现,代表着市场的多空力量的变化,通常可以作为投资决策的参考。
金叉死叉策略:当K线从下方向上穿越D 线,形成金叉时,为买入信号;当K线从上方向下穿越D线,形成死叉时,为卖出信号。
金叉和死叉的出现,代表着市场的多空力量的变化,通常可以作为投资决策的参考。
3. 背离策略:当价格创新高或新低时,KDJ指标没有创新高或新低,形成背离现象时,表示市场的趋势可能即将反转。
波段青龙指标 博易大师指标 量化交易公式 高成功率
波段青龙指标博易大师指标量化交易公式高成功率1. 引言本文介绍了波段青龙指标和博易大师指标,并提供了一种基于这两个指标的量化交易公式,旨在帮助投资者提高交易成功率。
2. 波段青龙指标2.1 定义波段青龙指标是一种技术分析指标,用于判断股票的短期走势。
它综合考虑了价格、成交量、换手率等多种因素,通过计算得出独立的指标数值。
2.2 特点波段青龙指标能够准确地识别股票的短期走势,包括上涨、下跌和盘整等情况。
它具有以下特点:- 独立性:波段青龙指标的计算不受其他指标的影响,具有相对的独立性。
- 综合性:波段青龙指标综合考虑了多个因素,能够全面地反映股票的短期走势。
- 实时性:波段青龙指标的计算是即时进行的,能够及时反映市场的变化。
3. 博易大师指标3.1 定义博易大师指标是一种基于波动率的技术指标,用于预测股票价格的波动情况。
它通过测量价格的波动程度来判断股票的风险水平和涨跌幅度。
3.2 特点博易大师指标具有以下特点:- 预测性:博易大师指标能够对股票价格的波动情况进行准确预测,帮助投资者制定相应的交易策略。
- 相对性:博易大师指标根据市场的实际情况进行计算,能够反映当前市场的风险水平。
- 灵活性:博易大师指标可以根据投资者的需求进行调整,适应不同的交易策略。
4. 量化交易公式基于波段青龙指标和博易大师指标,我们提供如下量化交易公式,以提高交易成功率:如果波段青龙指标高于某一预设阈值,并且博易大师指标预测股票价格将上涨,则买入股票。
如果波段青龙指标低于某一预设阈值,并且博易大师指标预测股票价格将下跌,则卖出股票。
5. 总结本文介绍了波段青龙指标和博易大师指标,并提供了一种基于这两个指标的量化交易公式。
通过合理运用这个公式,投资者可以提高交易的成功率,并根据市场的实际情况进行调整。
当然,量化交易公式只是辅助工具,投资者还应结合其他因素进行综合分析,谨慎决策。
希望本文对您有所帮助,祝您投资顺利!。
【史上最全】博易大师指标公式编写教程、指标函数大全、指标代码大全
目录博易大师指标编写教程 (3)一、技术指标公式基础 (3)二、公式的构成 (5)三、指标公式编写技巧 (6)四、指标公式编写举例 (8)博易大师指标函数列表 (13)一、行情函数 (13)二、常数函数 (14)三、时间函数 (15)四、引用函数 (16)五、逻辑函数 (17)六、数学函数 (18)七、统计函数 (19)八、指标函数 (20)九、协方差函数 (21)十、输出修饰符 (22)博易大师指标代码大全 (23)利多方舟 (23)变色MACD (23)渔家乐 (24)仿DDX (24)king趋势 (25)无敌趋势 (25)粉K线 (26)无敌精灵 (26)买卖航标 (26)天风地火 (26)无影手 (27)合并即涨 (28)顶底奇准 (29)一品操盘 (29)一品操盘 (30)★底部提示:副 (31)博易顶底王 (31)趋势线(主图) (32)CCI主图K线 (32)优化MACD (32)博易指标公式(量能多空) (33)多空参考(副图) (33)趋势顶底 (34)资金量指标 (35)机构做空能量线 (35)专业快刀手 (35)无双多空 (37)金山银山 (37)量能指标 (37)即时趋势 (38)快慢多空 (38)彩色K线 (38)量能多空 (39)鳄鱼分形 (39)多空之王 (40)博易大师指标代码大全注释 (41)博易大师指标编写教程一、技术指标公式基础技术指标公式编辑器是澎博软件公式系统的第一类编辑器,是最基础的编辑器,通过该编辑器将单调的数据行情转换成为有形的图形世界,转换成为易观察,视觉效果强烈的曲线,或者其它的图形,方便我们获取有益的信息。
公式系统有以下特点:用户只需要描述一个数据是如何计算的,公式系统就能将所有数据计算出来,并以曲线的形式显示出来。
公式系统以时间序列为基础,其计算对象是一组沿时间递增的数据序列,每一个时间周期包含一组数据,公式系统能对其中的任何数据进行操作。