通达信横盘洗不掉指标(通达信缩量突破横盘整理选股指标?)
1. 通达信缩量突破横盘整理选股指标?
XG:CROSS(C,MA(C,13)) AND CROSS(C,MA(C,34)) AND CROSS(C,MA(C,55));
2. 通达信软件里怎么看主力控盘情况?
如何看一只股被主力控盘力度呢 不随大盘涨跌而涨跌,或者随大盘反映过度。
1、经过长期横盘整理的过程后,上涨放量,下跌缩量。(形神兼备)
2、
3. 求通达信横盘整理公式?
boll:="boll.boll";every(c>=boll*0.96andc<=boll*1.04andv/capital*100>=3and(h-l)/ref(c,1)*100<=3,4);
4. 求通达信横盘整理公式?
boll:="boll.boll";every(c>=boll*0.96andc<=boll*1.04andv/capital*100>=3and(h-l)/ref(c,1)*100<=3,4);
5. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
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;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
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;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
6. 如何看长期横盘之后发力的股票?
我使用的是通达信软件,里面的条件选股。你选平台整理公式,可以设置整理的时间周期长度,和横盘整理幅度。就可以选出来横盘的股票。希望能帮到你。
7. 通达信缩量突破横盘整理选股指标?
XG:CROSS(C,MA(C,13)) AND CROSS(C,MA(C,34)) AND CROSS(C,MA(C,55));
8. 通达信缩量突破横盘整理选股指标?
XG:CROSS(C,MA(C,13)) AND CROSS(C,MA(C,34)) AND CROSS(C,MA(C,55));
9. 通达信软件里怎么看主力控盘情况?
如何看一只股被主力控盘力度呢 不随大盘涨跌而涨跌,或者随大盘反映过度。
1、经过长期横盘整理的过程后,上涨放量,下跌缩量。(形神兼备)
2、
10. 箱体指标的使用技巧?
“箱体”(XT)指标基本知识和用法
在炒股软件中,有一个“箱体”(XT)指标。使用它可以让炒股者比较准确地判断买入点和卖出点。下面介绍这一指标的基本知识和使用方法:
箱顶,也叫压力线,是股价每次波动的高点连成的直线。箱底,也叫支撑线,是股价每次波动的低点连成直线。
当股价上升到箱顶(压力线)时,若向上突破箱顶,可用MACD指标和成交量指标验证是否有效突破。MACD在0轴之上且已金叉,成交量持续放大,保持三日确认有效。如上冲动能很强,可在第一天放量突破箱顶时少量买进;如上冲动能一般,应观察三天再决定是否买进。若股价在高位滞涨,向右拐头沿横线运行,成交量萎缩,MACD红柱线缩短,应果断卖出。
当股价下挫到箱底(支撑线)时,若拐头向上,可参考MACD指标和成交量指标做出研判。MACD在0轴之上且已金叉,成交量持续放大,可以买进。若向下突破箱底,须当即卖出。
11. 求通达信横盘整理公式?
boll:="boll.boll";every(c>=boll*0.96andc<=boll*1.04andv/capital*100>=3and(h-l)/ref(c,1)*100<=3,4);
12. 通达信软件里怎么看主力控盘情况?
如何看一只股被主力控盘力度呢 不随大盘涨跌而涨跌,或者随大盘反映过度。
1、经过长期横盘整理的过程后,上涨放量,下跌缩量。(形神兼备)
2、
13. 通达信软件里怎么看主力控盘情况?
如何看一只股被主力控盘力度呢 不随大盘涨跌而涨跌,或者随大盘反映过度。
1、经过长期横盘整理的过程后,上涨放量,下跌缩量。(形神兼备)
2、
14. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
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;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
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;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
15. 箱体指标的使用技巧?
“箱体”(XT)指标基本知识和用法
在炒股软件中,有一个“箱体”(XT)指标。使用它可以让炒股者比较准确地判断买入点和卖出点。下面介绍这一指标的基本知识和使用方法:
箱顶,也叫压力线,是股价每次波动的高点连成的直线。箱底,也叫支撑线,是股价每次波动的低点连成直线。
当股价上升到箱顶(压力线)时,若向上突破箱顶,可用MACD指标和成交量指标验证是否有效突破。MACD在0轴之上且已金叉,成交量持续放大,保持三日确认有效。如上冲动能很强,可在第一天放量突破箱顶时少量买进;如上冲动能一般,应观察三天再决定是否买进。若股价在高位滞涨,向右拐头沿横线运行,成交量萎缩,MACD红柱线缩短,应果断卖出。
当股价下挫到箱底(支撑线)时,若拐头向上,可参考MACD指标和成交量指标做出研判。MACD在0轴之上且已金叉,成交量持续放大,可以买进。若向下突破箱底,须当即卖出。
16. 箱体指标的使用技巧?
“箱体”(XT)指标基本知识和用法
在炒股软件中,有一个“箱体”(XT)指标。使用它可以让炒股者比较准确地判断买入点和卖出点。下面介绍这一指标的基本知识和使用方法:
箱顶,也叫压力线,是股价每次波动的高点连成的直线。箱底,也叫支撑线,是股价每次波动的低点连成直线。
当股价上升到箱顶(压力线)时,若向上突破箱顶,可用MACD指标和成交量指标验证是否有效突破。MACD在0轴之上且已金叉,成交量持续放大,保持三日确认有效。如上冲动能很强,可在第一天放量突破箱顶时少量买进;如上冲动能一般,应观察三天再决定是否买进。若股价在高位滞涨,向右拐头沿横线运行,成交量萎缩,MACD红柱线缩短,应果断卖出。
当股价下挫到箱底(支撑线)时,若拐头向上,可参考MACD指标和成交量指标做出研判。MACD在0轴之上且已金叉,成交量持续放大,可以买进。若向下突破箱底,须当即卖出。
17. 求通达信横盘整理公式?
boll:="boll.boll";every(c>=boll*0.96andc<=boll*1.04andv/capital*100>=3and(h-l)/ref(c,1)*100<=3,4);
18. 如何看长期横盘之后发力的股票?
我使用的是通达信软件,里面的条件选股。你选平台整理公式,可以设置整理的时间周期长度,和横盘整理幅度。就可以选出来横盘的股票。希望能帮到你。
19. 如何看长期横盘之后发力的股票?
我使用的是通达信软件,里面的条件选股。你选平台整理公式,可以设置整理的时间周期长度,和横盘整理幅度。就可以选出来横盘的股票。希望能帮到你。
20. 箱体指标的使用技巧?
“箱体”(XT)指标基本知识和用法
在炒股软件中,有一个“箱体”(XT)指标。使用它可以让炒股者比较准确地判断买入点和卖出点。下面介绍这一指标的基本知识和使用方法:
箱顶,也叫压力线,是股价每次波动的高点连成的直线。箱底,也叫支撑线,是股价每次波动的低点连成直线。
当股价上升到箱顶(压力线)时,若向上突破箱顶,可用MACD指标和成交量指标验证是否有效突破。MACD在0轴之上且已金叉,成交量持续放大,保持三日确认有效。如上冲动能很强,可在第一天放量突破箱顶时少量买进;如上冲动能一般,应观察三天再决定是否买进。若股价在高位滞涨,向右拐头沿横线运行,成交量萎缩,MACD红柱线缩短,应果断卖出。
当股价下挫到箱底(支撑线)时,若拐头向上,可参考MACD指标和成交量指标做出研判。MACD在0轴之上且已金叉,成交量持续放大,可以买进。若向下突破箱底,须当即卖出。
21. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
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;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
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;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
22. 如何看长期横盘之后发力的股票?
我使用的是通达信软件,里面的条件选股。你选平台整理公式,可以设置整理的时间周期长度,和横盘整理幅度。就可以选出来横盘的股票。希望能帮到你。
23. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入:M1:SHORT,M2:SHORT,M3:SHORT,M4:SHORT,N1:SHORT,N2:SHORT,N3:SHORT,N4:SHORT,PERIOD:INTEGER;
VAR:MA1:DOUBLE,MA2:DOUBLE,MA3:DOUBLE,MA4:DOUBLE,LC:DOUBLE,TR:DOUBLE;
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;
VAR:BUY:INTEGER;
IF BARSCOUNT>PERIOD THEN BEGIN
MA1=MA(CLOSE,M1);
MA2=MA(CLOSE,M2);
MA3=MA(CLOSE,M3);
MA4=MA(CLOSE,M4);
UPP=MA1+N1*STDEV(CLOSE,M1);
LOW=MA1-N2*STDEV(CLOSE,M1);
B1=CLOSE<MA1 AND CROSS(MA2,MA1);
B2=CLOSE<MA1 AND MA1<=MA2 AND MA2<MA3 AND MA3<MA4;
B3=CLOSE<MA1 AND MA4<MA3 AND MA3<MA2 AND MA2<MA1;
B4=CLOSE<=MA2 AND MA2<MA1 AND MA1<=UPP AND
(CLOSE-MA2)>N3*(MA2-MA3) AND (MA2-MA3)<N4*(MA3-MA4);
B5=CLOSE<=MA2 AND MA2<MA1 AND UPP<CLOSE;
B6=CLOSE>MA1 AND MA2>=MA1 AND BARSSINCE(B1)=1;
B7=CLOSE>MA1 AND MA2<MA1 AND BARSSINCE(B2)=1;
B8=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND BARSSINCE(B3)=1;
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;
B10=CLOSE>MA1 AND UPP<=MA1 AND BARSSINCE(B5)=1;
LC = Ref(CLOSE,-1);
TR = Max(Max(HIGH-LOW,ABS(HIGH-LC)),ABS(LC-LOW));
B11=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B6)>=PERIOD;
B12=CLOSE>MA1 AND MA1>MA2 AND MA2>MA3 AND MA3>MA4 AND
CLOSE-MA4>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B7)>=PERIOD;
B13=CLOSE>MA1 AND MA3<MA2 AND MA2<MA1 AND
CLOSE-MA1>(N1+N2+N3+N4)/4*TR AND BARSSINCE(B8)>=PERIOD;
IF B11 OR B12 OR B13 THEN
BEGIN
B14 = MA(CLOSE,N1) > MA(CLOSE,N2);
B15 = MA(CLOSE,N2) > MA(CLOSE,N3);
B16 = MA(CLOSE,N3) > MA(CLOSE,N4);
B17 = MA(CLOSE,N4) > MA(CLOSE,PERIOD);
B18 = VOLUME > MA(VOLUME,PERIOD)*N4;
B19 = CLOSE > MA(CLOSE,PERIOD);
B20 = IFF(B14 AND B15 AND B16 AND B17 AND B18 AND B19,1,0);
B21 = SUM(B20,PERIOD-1) = PERIOD-1;
B22 = REF(B21,1);
IF B21 THEN
BEGIN
IF B22 THEN BUY = 1;
END
ELSE BUY = 0;
END;
END;
BUY不为0时表示出现该指标的买入信号。
24. 通达信缩量突破横盘整理选股指标?
XG:CROSS(C,MA(C,13)) AND CROSS(C,MA(C,34)) AND CROSS(C,MA(C,55));