首页 > 原创>正文

通达信累计涨幅指标(通达信公式N~M日内涨幅30%的选股公式,除去一字板和的股票,然后根据时间段内满足条件更改N和M?)

中亿财经网 gengxing 2023-08-19 00:19:09

1. 通达信公式N~M日内涨幅30%的选股公式,除去一字板和的股票,然后根据时间段内满足条件更改N和M?

XG:(H-REF(L,N))/REF(L,N)>=0.3 AND COUNT(C=O,N)=0;你出的分太少啦,抠门儿 koO中亿财经网财经门户

2. 通达信右边显示涨幅大于7%多少家,涨幅大于5?

h/ref(l,3)*100>110 and c/ref(c,3)*100<105 and c>ref(c,3);koO中亿财经网财经门户

3. 通达信什么指标决定股价上升指标公式?

通达信中决定股价上升的指标有很多,其中一种是相对强弱指标(RSI),其公式如下:koO中亿财经网财经门户

RSI=100-[100/(1+(14日内收盘涨幅平均值÷14日内收盘跌幅平均值))]koO中亿财经网财经门户

其中,“14日内收盘涨幅平均值”是指最近14个交易日内股价上涨的平均幅度,“14日内收盘跌幅平均值”是指最近14个交易日内股价下跌的平均幅度。当RSI指标大于70时,表示市场上涨势过于强劲,股价可能存在超买的风险;当RSI指标小于30时,表示市场下跌势头强烈,股价可能存在超卖的机会。koO中亿财经网财经门户

4. 通达信右边显示涨幅大于7%多少家,涨幅大于5?

h/ref(l,3)*100>110 and c/ref(c,3)*100<105 and c>ref(c,3);koO中亿财经网财经门户

5. 通达信什么指标决定股价上升指标公式?

通达信中决定股价上升的指标有很多,其中一种是相对强弱指标(RSI),其公式如下:koO中亿财经网财经门户

RSI=100-[100/(1+(14日内收盘涨幅平均值÷14日内收盘跌幅平均值))]koO中亿财经网财经门户

其中,“14日内收盘涨幅平均值”是指最近14个交易日内股价上涨的平均幅度,“14日内收盘跌幅平均值”是指最近14个交易日内股价下跌的平均幅度。当RSI指标大于70时,表示市场上涨势过于强劲,股价可能存在超买的风险;当RSI指标小于30时,表示市场下跌势头强烈,股价可能存在超卖的机会。koO中亿财经网财经门户

6. 请高手给一个通达信5分钟涨幅的公式编写?

XG:C=ZTPRICE(REF(CLOSE,48),0.1)ANDCOUNT(C/REF(C,1)>1.05,47)>0;注意选股周期选择5分钟. koO中亿财经网财经门户

7. 请高手给一个通达信5分钟涨幅的公式编写?

XG:C=ZTPRICE(REF(CLOSE,48),0.1)ANDCOUNT(C/REF(C,1)>1.05,47)>0;注意选股周期选择5分钟. koO中亿财经网财经门户

8. 通达信公式N~M日内涨幅30%的选股公式,除去一字板和的股票,然后根据时间段内满足条件更改N和M?

XG:(H-REF(L,N))/REF(L,N)>=0.3 AND COUNT(C=O,N)=0;你出的分太少啦,抠门儿 koO中亿财经网财经门户

9. 通达信公式N~M日内涨幅30%的选股公式,除去一字板和的股票,然后根据时间段内满足条件更改N和M?

XG:(H-REF(L,N))/REF(L,N)>=0.3 AND COUNT(C=O,N)=0;你出的分太少啦,抠门儿 koO中亿财经网财经门户

10. 通达信什么指标决定股价上升指标公式?

通达信中决定股价上升的指标有很多,其中一种是相对强弱指标(RSI),其公式如下:koO中亿财经网财经门户

RSI=100-[100/(1+(14日内收盘涨幅平均值÷14日内收盘跌幅平均值))]koO中亿财经网财经门户

其中,“14日内收盘涨幅平均值”是指最近14个交易日内股价上涨的平均幅度,“14日内收盘跌幅平均值”是指最近14个交易日内股价下跌的平均幅度。当RSI指标大于70时,表示市场上涨势过于强劲,股价可能存在超买的风险;当RSI指标小于30时,表示市场下跌势头强烈,股价可能存在超卖的机会。koO中亿财经网财经门户

11. 通达信公式N~M日内涨幅30%的选股公式,除去一字板和的股票,然后根据时间段内满足条件更改N和M?

XG:(H-REF(L,N))/REF(L,N)>=0.3 AND COUNT(C=O,N)=0;你出的分太少啦,抠门儿 koO中亿财经网财经门户

12. 请高手给一个通达信5分钟涨幅的公式编写?

XG:C=ZTPRICE(REF(CLOSE,48),0.1)ANDCOUNT(C/REF(C,1)>1.05,47)>0;注意选股周期选择5分钟. koO中亿财经网财经门户

13. 通达信右边显示涨幅大于7%多少家,涨幅大于5?

h/ref(l,3)*100>110 and c/ref(c,3)*100<105 and c>ref(c,3);koO中亿财经网财经门户

14. 通达信什么指标决定股价上升指标公式?

通达信中决定股价上升的指标有很多,其中一种是相对强弱指标(RSI),其公式如下:koO中亿财经网财经门户

RSI=100-[100/(1+(14日内收盘涨幅平均值÷14日内收盘跌幅平均值))]koO中亿财经网财经门户

其中,“14日内收盘涨幅平均值”是指最近14个交易日内股价上涨的平均幅度,“14日内收盘跌幅平均值”是指最近14个交易日内股价下跌的平均幅度。当RSI指标大于70时,表示市场上涨势过于强劲,股价可能存在超买的风险;当RSI指标小于30时,表示市场下跌势头强烈,股价可能存在超卖的机会。koO中亿财经网财经门户

15. 通达信右边显示涨幅大于7%多少家,涨幅大于5?

h/ref(l,3)*100>110 and c/ref(c,3)*100<105 and c>ref(c,3);koO中亿财经网财经门户

16. 通达信主图上,K线涨幅在1%至2%K线变色的公式。感谢了?

不知是否满意: STICKLINE(C/REF(C,1)>=1.01 AND C/REF(C,1)<=1.02,C,O,4,0),COLORB0B0FF; (后面颜色自选)koO中亿财经网财经门户

17. 通达信主图上,K线涨幅在1%至2%K线变色的公式。感谢了?

不知是否满意: STICKLINE(C/REF(C,1)>=1.01 AND C/REF(C,1)<=1.02,C,O,4,0),COLORB0B0FF; (后面颜色自选)koO中亿财经网财经门户

18. 请高手给一个通达信5分钟涨幅的公式编写?

XG:C=ZTPRICE(REF(CLOSE,48),0.1)ANDCOUNT(C/REF(C,1)>1.05,47)>0;注意选股周期选择5分钟. koO中亿财经网财经门户

19. 通达信主图上,K线涨幅在1%至2%K线变色的公式。感谢了?

不知是否满意: STICKLINE(C/REF(C,1)>=1.01 AND C/REF(C,1)<=1.02,C,O,4,0),COLORB0B0FF; (后面颜色自选)koO中亿财经网财经门户

20. 通达信主图上,K线涨幅在1%至2%K线变色的公式。感谢了?

不知是否满意: STICKLINE(C/REF(C,1)>=1.01 AND C/REF(C,1)<=1.02,C,O,4,0),COLORB0B0FF; (后面颜色自选)koO中亿财经网财经门户

21. 请老师帮忙写个通达信,涨幅上涨1.3到2.1同时买量现手大于500的预警公式,谢谢?

ZF:=(C-REF(C,1))/REF(C,1)*100; koO中亿财经网财经门户

现手:=DYNAINFO(9); koO中亿财经网财经门户

XG:BETWEEN(ZF,1.3,2.1) AND 现手>=500;koO中亿财经网财经门户

22. 请老师帮忙写个通达信,涨幅上涨1.3到2.1同时买量现手大于500的预警公式,谢谢?

ZF:=(C-REF(C,1))/REF(C,1)*100; koO中亿财经网财经门户

现手:=DYNAINFO(9); koO中亿财经网财经门户

XG:BETWEEN(ZF,1.3,2.1) AND 现手>=500;koO中亿财经网财经门户

23. 请老师帮忙写个通达信,涨幅上涨1.3到2.1同时买量现手大于500的预警公式,谢谢?

ZF:=(C-REF(C,1))/REF(C,1)*100; koO中亿财经网财经门户

现手:=DYNAINFO(9); koO中亿财经网财经门户

XG:BETWEEN(ZF,1.3,2.1) AND 现手>=500;koO中亿财经网财经门户

24. 请老师帮忙写个通达信,涨幅上涨1.3到2.1同时买量现手大于500的预警公式,谢谢?

ZF:=(C-REF(C,1))/REF(C,1)*100; koO中亿财经网财经门户

现手:=DYNAINFO(9); koO中亿财经网财经门户

XG:BETWEEN(ZF,1.3,2.1) AND 现手>=500;koO中亿财经网财经门户

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

ENDkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

ENDkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

ENDkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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;koO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINkoO中亿财经网财经门户

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

ENDkoO中亿财经网财经门户

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

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

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

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