首页 > 专栏 > 机构专栏 > 机构白银>正文

通达信精准线指标公式(求高手编写一个周k线macd在0轴以上金叉的通达信条件选股公式?)

机构白银
来源:中亿财经网 作者:gengxing 时间:2023-09-08 19:00:22
1. 求高手编写一个周k线macd在0轴以上金叉的通达信条件选股公式?DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,COLORSTICK;CROSS(DIF,DEA) AND DEA>0

1. 求高手编写一个周k线macd在0轴以上金叉的通达信条件选股公式?

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);iJI中亿财经网财经门户

DEA:EMA(DIF,9);iJI中亿财经网财经门户

MACD:(DIF-DEA)*2,COLORSTICK;iJI中亿财经网财经门户

CROSS(DIF,DEA) AND DEA>0 AND DIF>0; iJI中亿财经网财经门户

在选股周期中选周线。 iJI中亿财经网财经门户

2. 求高手编写一个周k线macd在0轴以上金叉的通达信条件选股公式?

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);iJI中亿财经网财经门户

DEA:EMA(DIF,9);iJI中亿财经网财经门户

MACD:(DIF-DEA)*2,COLORSTICK;iJI中亿财经网财经门户

CROSS(DIF,DEA) AND DEA>0 AND DIF>0; iJI中亿财经网财经门户

在选股周期中选周线。 iJI中亿财经网财经门户

3. 通达信在任意指定位置画垂直线的公式,怎么编写?

A:=CURRBARSCOUNT=10; STICKLINE(A,C,H+1,0,-1); 画线位置根据需要修改,但是要在满足条件的前提下。iJI中亿财经网财经门户

4. 通达信6个绝密公式源码?

TD1:=C;iJI中亿财经网财经门户

TD2:=IF(TD1=1 AND REF(TD1,-1)=1 AND REF(TD1,-2)=1 AND REF(TD1,-3)=1 ANDiJI中亿财经网财经门户

REF(TD1,-4)=1 AND REF(TD1,-5)=1 AND REF(TD1,-6)=1 AND REF(TD1,-7)=1 ANDiJI中亿财经网财经门户

REF(TD1,-8)=1, 1,0);iJI中亿财经网财经门户

TD3:=IF(REF(C,-9)>=REF(C,-13),1,0);iJI中亿财经网财经门户

TD4:=IF(TD2=1 AND TD3=1,1,0);iJI中亿财经网财经门户

TD5:=IF(H>=REF(LLV(L,5),-3),1,0);iJI中亿财经网财经门户

D8:=IF(REF(TD4,1)=1 AND TD5=1,1,0);iJI中亿财经网财经门户

5. 怎样通达信公式指标如何测试准确率?

首先登陆上咱们的通达信股票软件,然后点击左上角的功能——公式系统——公式管理器——点击或者新建需要测试的公式,设置检测条件,就可以开始检测了。iJI中亿财经网财经门户

6. 通达信在任意指定位置画垂直线的公式,怎么编写?

A:=CURRBARSCOUNT=10; STICKLINE(A,C,H+1,0,-1); 画线位置根据需要修改,但是要在满足条件的前提下。iJI中亿财经网财经门户

7. 通达信6个绝密公式源码?

TD1:=C;iJI中亿财经网财经门户

TD2:=IF(TD1=1 AND REF(TD1,-1)=1 AND REF(TD1,-2)=1 AND REF(TD1,-3)=1 ANDiJI中亿财经网财经门户

REF(TD1,-4)=1 AND REF(TD1,-5)=1 AND REF(TD1,-6)=1 AND REF(TD1,-7)=1 ANDiJI中亿财经网财经门户

REF(TD1,-8)=1, 1,0);iJI中亿财经网财经门户

TD3:=IF(REF(C,-9)>=REF(C,-13),1,0);iJI中亿财经网财经门户

TD4:=IF(TD2=1 AND TD3=1,1,0);iJI中亿财经网财经门户

TD5:=IF(H>=REF(LLV(L,5),-3),1,0);iJI中亿财经网财经门户

D8:=IF(REF(TD4,1)=1 AND TD5=1,1,0);iJI中亿财经网财经门户

8. 怎样通达信公式指标如何测试准确率?

首先登陆上咱们的通达信股票软件,然后点击左上角的功能——公式系统——公式管理器——点击或者新建需要测试的公式,设置检测条件,就可以开始检测了。iJI中亿财经网财经门户

9. obv默认指标公式?

OBV 是成交量指标 用成交量真实变化来推测股价运行的变化 它并不是超买超卖指标 所以设置0-100就忽略了他的根本意义 它的取值是根据成交量来的 你把几万的数值改成区间内变化的数值 这个指标将会毫无用处iJI中亿财经网财经门户

Q2:哪种股票软件可以设置2条OBV平均线参数?iJI中亿财经网财经门户

通达信 OBV 指标的公式是:VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:MA(OBV,M);你只要再加一个参数 M1 2 100 50 然后加入下式就可以了MAOBV2:MA(OBV,M1);以后只要在“调整指标参数”中调整到你认为适合的数值。由于 OBV 是通达信系统的指标,在下一次启动时会恢复原来的设置,因此你要另外设置一个指标来使用上述公式。iJI中亿财经网财经门户

10. 通达信在任意指定位置画垂直线的公式,怎么编写?

A:=CURRBARSCOUNT=10; STICKLINE(A,C,H+1,0,-1); 画线位置根据需要修改,但是要在满足条件的前提下。iJI中亿财经网财经门户

11. 通达信在任意指定位置画垂直线的公式,怎么编写?

A:=CURRBARSCOUNT=10; STICKLINE(A,C,H+1,0,-1); 画线位置根据需要修改,但是要在满足条件的前提下。iJI中亿财经网财经门户

12. 通达信某均线穿某均线倍量阳指标源代码?

以下为通达信某均线穿某均线倍量阳指标的源代码:iJI中亿财经网财经门户

```iJI中亿财经网财经门户

输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;iJI中亿财经网财经门户

VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;iJI中亿财经网财经门户

VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;iJI中亿财经网财经门户

VAR:BUY:INTEGER;iJI中亿财经网财经门户

IF BARSCOUNT>PERIOD THEN BEGINiJI中亿财经网财经门户

MA1=MA(CLOSE,M1);iJI中亿财经网财经门户

MA2=MA(CLOSE,M2);iJI中亿财经网财经门户

MA3=MA(CLOSE,M3);iJI中亿财经网财经门户

MA4=MA(CLOSE,M4);iJI中亿财经网财经门户

UPP=MA1+N1*STDEV(CLOSE,M1);iJI中亿财经网财经门户

LOW=MA1-N2*STDEV(CLOSE,M1);iJI中亿财经网财经门户

B1=CLOSE<MA1 AND CROSS(MA2,MA1);iJI中亿财经网财经门户

B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;iJI中亿财经网财经门户

B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;iJI中亿财经网财经门户

B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND iJI中亿财经网财经门户

(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);iJI中亿财经网财经门户

B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;iJI中亿财经网财经门户

B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;iJI中亿财经网财经门户

B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;iJI中亿财经网财经门户

B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;iJI中亿财经网财经门户

B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;iJI中亿财经网财经门户

B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;iJI中亿财经网财经门户

LC = Ref(CLOSE,-1);iJI中亿财经网财经门户

TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));iJI中亿财经网财经门户

B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;iJI中亿财经网财经门户

B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;iJI中亿财经网财经门户

B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND iJI中亿财经网财经门户

CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;iJI中亿财经网财经门户

IF B11 OR B12 OR B13 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

B14 = MA(CLOSE,N1) > MA(CLOSE,N2);iJI中亿财经网财经门户

B15 = MA(CLOSE,N2) > MA(CLOSE,N3);iJI中亿财经网财经门户

B16 = MA(CLOSE,N3) > MA(CLOSE,N4);iJI中亿财经网财经门户

B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B18 = VOLUME > MA(VOLUME,PERIOD)*N4;iJI中亿财经网财经门户

B19 = CLOSE > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);iJI中亿财经网财经门户

B21 = SUM(B20,PERIOD-1) = PERIOD-1;iJI中亿财经网财经门户

B22 = REF(B21,1);iJI中亿财经网财经门户

IF B21 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

IF B22 THEN BUY = 1;iJI中亿财经网财经门户

ENDiJI中亿财经网财经门户

ELSE BUY = 0;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

BUY不为0时表示出现该指标的买入信号。iJI中亿财经网财经门户

13. 通达信6个绝密公式源码?

TD1:=C;iJI中亿财经网财经门户

TD2:=IF(TD1=1 AND REF(TD1,-1)=1 AND REF(TD1,-2)=1 AND REF(TD1,-3)=1 ANDiJI中亿财经网财经门户

REF(TD1,-4)=1 AND REF(TD1,-5)=1 AND REF(TD1,-6)=1 AND REF(TD1,-7)=1 ANDiJI中亿财经网财经门户

REF(TD1,-8)=1, 1,0);iJI中亿财经网财经门户

TD3:=IF(REF(C,-9)>=REF(C,-13),1,0);iJI中亿财经网财经门户

TD4:=IF(TD2=1 AND TD3=1,1,0);iJI中亿财经网财经门户

TD5:=IF(H>=REF(LLV(L,5),-3),1,0);iJI中亿财经网财经门户

D8:=IF(REF(TD4,1)=1 AND TD5=1,1,0);iJI中亿财经网财经门户

14. obv默认指标公式?

OBV 是成交量指标 用成交量真实变化来推测股价运行的变化 它并不是超买超卖指标 所以设置0-100就忽略了他的根本意义 它的取值是根据成交量来的 你把几万的数值改成区间内变化的数值 这个指标将会毫无用处iJI中亿财经网财经门户

Q2:哪种股票软件可以设置2条OBV平均线参数?iJI中亿财经网财经门户

通达信 OBV 指标的公式是:VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:MA(OBV,M);你只要再加一个参数 M1 2 100 50 然后加入下式就可以了MAOBV2:MA(OBV,M1);以后只要在“调整指标参数”中调整到你认为适合的数值。由于 OBV 是通达信系统的指标,在下一次启动时会恢复原来的设置,因此你要另外设置一个指标来使用上述公式。iJI中亿财经网财经门户

15. 求高手编写一个周k线macd在0轴以上金叉的通达信条件选股公式?

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);iJI中亿财经网财经门户

DEA:EMA(DIF,9);iJI中亿财经网财经门户

MACD:(DIF-DEA)*2,COLORSTICK;iJI中亿财经网财经门户

CROSS(DIF,DEA) AND DEA>0 AND DIF>0; iJI中亿财经网财经门户

在选股周期中选周线。 iJI中亿财经网财经门户

16. 怎样通达信公式指标如何测试准确率?

首先登陆上咱们的通达信股票软件,然后点击左上角的功能——公式系统——公式管理器——点击或者新建需要测试的公式,设置检测条件,就可以开始检测了。iJI中亿财经网财经门户

17. 通达信某均线穿某均线倍量阳指标源代码?

以下为通达信某均线穿某均线倍量阳指标的源代码:iJI中亿财经网财经门户

```iJI中亿财经网财经门户

输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;iJI中亿财经网财经门户

VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;iJI中亿财经网财经门户

VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;iJI中亿财经网财经门户

VAR:BUY:INTEGER;iJI中亿财经网财经门户

IF BARSCOUNT>PERIOD THEN BEGINiJI中亿财经网财经门户

MA1=MA(CLOSE,M1);iJI中亿财经网财经门户

MA2=MA(CLOSE,M2);iJI中亿财经网财经门户

MA3=MA(CLOSE,M3);iJI中亿财经网财经门户

MA4=MA(CLOSE,M4);iJI中亿财经网财经门户

UPP=MA1+N1*STDEV(CLOSE,M1);iJI中亿财经网财经门户

LOW=MA1-N2*STDEV(CLOSE,M1);iJI中亿财经网财经门户

B1=CLOSE<MA1 AND CROSS(MA2,MA1);iJI中亿财经网财经门户

B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;iJI中亿财经网财经门户

B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;iJI中亿财经网财经门户

B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND iJI中亿财经网财经门户

(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);iJI中亿财经网财经门户

B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;iJI中亿财经网财经门户

B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;iJI中亿财经网财经门户

B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;iJI中亿财经网财经门户

B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;iJI中亿财经网财经门户

B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;iJI中亿财经网财经门户

B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;iJI中亿财经网财经门户

LC = Ref(CLOSE,-1);iJI中亿财经网财经门户

TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));iJI中亿财经网财经门户

B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;iJI中亿财经网财经门户

B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;iJI中亿财经网财经门户

B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND iJI中亿财经网财经门户

CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;iJI中亿财经网财经门户

IF B11 OR B12 OR B13 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

B14 = MA(CLOSE,N1) > MA(CLOSE,N2);iJI中亿财经网财经门户

B15 = MA(CLOSE,N2) > MA(CLOSE,N3);iJI中亿财经网财经门户

B16 = MA(CLOSE,N3) > MA(CLOSE,N4);iJI中亿财经网财经门户

B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B18 = VOLUME > MA(VOLUME,PERIOD)*N4;iJI中亿财经网财经门户

B19 = CLOSE > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);iJI中亿财经网财经门户

B21 = SUM(B20,PERIOD-1) = PERIOD-1;iJI中亿财经网财经门户

B22 = REF(B21,1);iJI中亿财经网财经门户

IF B21 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

IF B22 THEN BUY = 1;iJI中亿财经网财经门户

ENDiJI中亿财经网财经门户

ELSE BUY = 0;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

BUY不为0时表示出现该指标的买入信号。iJI中亿财经网财经门户

18. 通达信6个绝密公式源码?

TD1:=C;iJI中亿财经网财经门户

TD2:=IF(TD1=1 AND REF(TD1,-1)=1 AND REF(TD1,-2)=1 AND REF(TD1,-3)=1 ANDiJI中亿财经网财经门户

REF(TD1,-4)=1 AND REF(TD1,-5)=1 AND REF(TD1,-6)=1 AND REF(TD1,-7)=1 ANDiJI中亿财经网财经门户

REF(TD1,-8)=1, 1,0);iJI中亿财经网财经门户

TD3:=IF(REF(C,-9)>=REF(C,-13),1,0);iJI中亿财经网财经门户

TD4:=IF(TD2=1 AND TD3=1,1,0);iJI中亿财经网财经门户

TD5:=IF(H>=REF(LLV(L,5),-3),1,0);iJI中亿财经网财经门户

D8:=IF(REF(TD4,1)=1 AND TD5=1,1,0);iJI中亿财经网财经门户

19. obv默认指标公式?

OBV 是成交量指标 用成交量真实变化来推测股价运行的变化 它并不是超买超卖指标 所以设置0-100就忽略了他的根本意义 它的取值是根据成交量来的 你把几万的数值改成区间内变化的数值 这个指标将会毫无用处iJI中亿财经网财经门户

Q2:哪种股票软件可以设置2条OBV平均线参数?iJI中亿财经网财经门户

通达信 OBV 指标的公式是:VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:MA(OBV,M);你只要再加一个参数 M1 2 100 50 然后加入下式就可以了MAOBV2:MA(OBV,M1);以后只要在“调整指标参数”中调整到你认为适合的数值。由于 OBV 是通达信系统的指标,在下一次启动时会恢复原来的设置,因此你要另外设置一个指标来使用上述公式。iJI中亿财经网财经门户

20. 通达信某均线穿某均线倍量阳指标源代码?

以下为通达信某均线穿某均线倍量阳指标的源代码:iJI中亿财经网财经门户

```iJI中亿财经网财经门户

输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;iJI中亿财经网财经门户

VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;iJI中亿财经网财经门户

VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;iJI中亿财经网财经门户

VAR:BUY:INTEGER;iJI中亿财经网财经门户

IF BARSCOUNT>PERIOD THEN BEGINiJI中亿财经网财经门户

MA1=MA(CLOSE,M1);iJI中亿财经网财经门户

MA2=MA(CLOSE,M2);iJI中亿财经网财经门户

MA3=MA(CLOSE,M3);iJI中亿财经网财经门户

MA4=MA(CLOSE,M4);iJI中亿财经网财经门户

UPP=MA1+N1*STDEV(CLOSE,M1);iJI中亿财经网财经门户

LOW=MA1-N2*STDEV(CLOSE,M1);iJI中亿财经网财经门户

B1=CLOSE<MA1 AND CROSS(MA2,MA1);iJI中亿财经网财经门户

B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;iJI中亿财经网财经门户

B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;iJI中亿财经网财经门户

B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND iJI中亿财经网财经门户

(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);iJI中亿财经网财经门户

B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;iJI中亿财经网财经门户

B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;iJI中亿财经网财经门户

B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;iJI中亿财经网财经门户

B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;iJI中亿财经网财经门户

B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;iJI中亿财经网财经门户

B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;iJI中亿财经网财经门户

LC = Ref(CLOSE,-1);iJI中亿财经网财经门户

TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));iJI中亿财经网财经门户

B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;iJI中亿财经网财经门户

B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;iJI中亿财经网财经门户

B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND iJI中亿财经网财经门户

CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;iJI中亿财经网财经门户

IF B11 OR B12 OR B13 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

B14 = MA(CLOSE,N1) > MA(CLOSE,N2);iJI中亿财经网财经门户

B15 = MA(CLOSE,N2) > MA(CLOSE,N3);iJI中亿财经网财经门户

B16 = MA(CLOSE,N3) > MA(CLOSE,N4);iJI中亿财经网财经门户

B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B18 = VOLUME > MA(VOLUME,PERIOD)*N4;iJI中亿财经网财经门户

B19 = CLOSE > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);iJI中亿财经网财经门户

B21 = SUM(B20,PERIOD-1) = PERIOD-1;iJI中亿财经网财经门户

B22 = REF(B21,1);iJI中亿财经网财经门户

IF B21 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

IF B22 THEN BUY = 1;iJI中亿财经网财经门户

ENDiJI中亿财经网财经门户

ELSE BUY = 0;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

BUY不为0时表示出现该指标的买入信号。iJI中亿财经网财经门户

21. 怎样通达信公式指标如何测试准确率?

首先登陆上咱们的通达信股票软件,然后点击左上角的功能——公式系统——公式管理器——点击或者新建需要测试的公式,设置检测条件,就可以开始检测了。iJI中亿财经网财经门户

22. 通达信某均线穿某均线倍量阳指标源代码?

以下为通达信某均线穿某均线倍量阳指标的源代码:iJI中亿财经网财经门户

```iJI中亿财经网财经门户

输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;iJI中亿财经网财经门户

VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;iJI中亿财经网财经门户

VAR:UPP:DOUBLE,LOW:DOUBLE,B1:DOUBLE,B2:DOUBLE,B3:DOUBLE,B4:DOUBLE,B5:DOUBLE,B6:DOUBLE,B7:DOUBLE,B8:DOUBLE,B9:DOUBLE,B10:DOUBLE,B11:DOUBLE,B12:DOUBLE,B13:DOUBLE,B14:DOUBLE,B15:DOUBLE,B16:DOUBLE,B17:DOUBLE,B18:DOUBLE,B19:DOUBLE,B20:DOUBLE,B21:DOUBLE,B22:DOUBLE,B23:DOUBLE,B24:DOUBLE,B25:DOUBLE,B26:DOUBLE,B27:DOUBLE,B28:DOUBLE,B29:DOUBLE,B30:DOUBLE,B31:DOUBLE,B32:DOUBLE,B33:DOUBLE,B34:DOUBLE,B35:DOUBLE,B36:DOUBLE,B37:DOUBLE,B38:DOUBLE,B39:DOUBLE,B40:DOUBLE,B41:DOUBLE,B42:DOUBLE,B43:DOUBLE,B44:DOUBLE,B45:DOUBLE,B46:DOUBLE,B47:DOUBLE,B48:DOUBLE;iJI中亿财经网财经门户

VAR:BUY:INTEGER;iJI中亿财经网财经门户

IF BARSCOUNT>PERIOD THEN BEGINiJI中亿财经网财经门户

MA1=MA(CLOSE,M1);iJI中亿财经网财经门户

MA2=MA(CLOSE,M2);iJI中亿财经网财经门户

MA3=MA(CLOSE,M3);iJI中亿财经网财经门户

MA4=MA(CLOSE,M4);iJI中亿财经网财经门户

UPP=MA1+N1*STDEV(CLOSE,M1);iJI中亿财经网财经门户

LOW=MA1-N2*STDEV(CLOSE,M1);iJI中亿财经网财经门户

B1=CLOSE<MA1 AND CROSS(MA2,MA1);iJI中亿财经网财经门户

B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;iJI中亿财经网财经门户

B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;iJI中亿财经网财经门户

B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND iJI中亿财经网财经门户

(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);iJI中亿财经网财经门户

B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;iJI中亿财经网财经门户

B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;iJI中亿财经网财经门户

B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;iJI中亿财经网财经门户

B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;iJI中亿财经网财经门户

B9=CLOSE>MA1 AND MA1<=UPP AND MA2<MA1 AND (CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4) AND BARSSINCE(B4)=1;iJI中亿财经网财经门户

B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;iJI中亿财经网财经门户

LC = Ref(CLOSE,-1);iJI中亿财经网财经门户

TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));iJI中亿财经网财经门户

B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;iJI中亿财经网财经门户

B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 ANDiJI中亿财经网财经门户

CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;iJI中亿财经网财经门户

B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND iJI中亿财经网财经门户

CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;iJI中亿财经网财经门户

IF B11 OR B12 OR B13 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

B14 = MA(CLOSE,N1) > MA(CLOSE,N2);iJI中亿财经网财经门户

B15 = MA(CLOSE,N2) > MA(CLOSE,N3);iJI中亿财经网财经门户

B16 = MA(CLOSE,N3) > MA(CLOSE,N4);iJI中亿财经网财经门户

B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B18 = VOLUME > MA(VOLUME,PERIOD)*N4;iJI中亿财经网财经门户

B19 = CLOSE > MA(CLOSE,PERIOD);iJI中亿财经网财经门户

B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);iJI中亿财经网财经门户

B21 = SUM(B20,PERIOD-1) = PERIOD-1;iJI中亿财经网财经门户

B22 = REF(B21,1);iJI中亿财经网财经门户

IF B21 THENiJI中亿财经网财经门户

BEGINiJI中亿财经网财经门户

IF B22 THEN BUY = 1;iJI中亿财经网财经门户

ENDiJI中亿财经网财经门户

ELSE BUY = 0;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

END;iJI中亿财经网财经门户

BUY不为0时表示出现该指标的买入信号。iJI中亿财经网财经门户

23. obv默认指标公式?

OBV 是成交量指标 用成交量真实变化来推测股价运行的变化 它并不是超买超卖指标 所以设置0-100就忽略了他的根本意义 它的取值是根据成交量来的 你把几万的数值改成区间内变化的数值 这个指标将会毫无用处iJI中亿财经网财经门户

Q2:哪种股票软件可以设置2条OBV平均线参数?iJI中亿财经网财经门户

通达信 OBV 指标的公式是:VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:MA(OBV,M);你只要再加一个参数 M1 2 100 50 然后加入下式就可以了MAOBV2:MA(OBV,M1);以后只要在“调整指标参数”中调整到你认为适合的数值。由于 OBV 是通达信系统的指标,在下一次启动时会恢复原来的设置,因此你要另外设置一个指标来使用上述公式。iJI中亿财经网财经门户

24. 求高手编写一个周k线macd在0轴以上金叉的通达信条件选股公式?

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);iJI中亿财经网财经门户

DEA:EMA(DIF,9);iJI中亿财经网财经门户

MACD:(DIF-DEA)*2,COLORSTICK;iJI中亿财经网财经门户

CROSS(DIF,DEA) AND DEA>0 AND DIF>0; iJI中亿财经网财经门户

在选股周期中选周线。 iJI中亿财经网财经门户

关键字:通达信   高手   通达信  
1.中亿财经网(http://www.zhongyi9999.com/)遵循行业规范,任何转载的稿件都会明确标注作者和来源;
2.中亿财经网的原创文章,请转载时务必注明文章作者和"来源:中亿财经网",不尊重原创的行为或将追究责任;
3.作者投稿可能会经中亿财经网编辑修改或补充。
【免责声明】本文仅代表作者本人观点,与本网站无关。本网站对文中陈述、观点判断保持中立,不对所包含内容的准确性、可靠性或完整性提供任何明示或暗示的保证。请读者仅作参考,并请自行承担全部责任。