日线的量比指标线(前两天日线收阴当天日线收阳选股公式?)
1. 前两天日线收阴当天日线收阳选股公式?
三个日线选股原理: 1、当个股短线连续三天以上调整时,第二天跳空高开或高开,量比(大于1)放大可以买入。只要大势不坏,没有转入调整,缩量反而说明筹码锁定性较好。 2、当个股横盘整理时,由小阴小阳连在一起的K线,每天开盘收盘几乎一个价位,且均线排列得好,5日线、10日线相互有点交叉也没事,则是介入的时机,就等“放量启动”。横盘整理中的个股,只要能够放量,或者盘中出现“量比突增”等放量迹象,则不论真突破还是假突破,均有短线机会出现。取投资书籍关注公1攻0粽0号:脱贫学习手册 3、“量能为王”。如果预估成交量比前一交易日的成交量明显放大,则属于放量,这时如果股价处于底部或者中低位,则属于介入时机、跟涨时机。 4、股价开始以小幅上扬的形式,不急不躁沿着坚挺的5日均线爬行,有的连续收小阳,有的一下收阳一下收阴。靠近5日均线就弹升,离远便回调,因此趁缩量落到5 日均线处大胆吸纳。 5、 看盘时,5日线往上翘头时,关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%);②10日线由下而上顶到5日线快要粘贴在一起时, 关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%)。 6、选择延45度角向上运行的股票,而成交量逐步递减的股票。沿45度角向上的股票走势最稳,走势最长。如果你一旦发现走势越接近45度角,而同时成交量却是逐步减少的某个股,那么你十有八九是发现庄家的影子了。
2. 前两天日线收阴当天日线收阳选股公式?
三个日线选股原理: 1、当个股短线连续三天以上调整时,第二天跳空高开或高开,量比(大于1)放大可以买入。只要大势不坏,没有转入调整,缩量反而说明筹码锁定性较好。 2、当个股横盘整理时,由小阴小阳连在一起的K线,每天开盘收盘几乎一个价位,且均线排列得好,5日线、10日线相互有点交叉也没事,则是介入的时机,就等“放量启动”。横盘整理中的个股,只要能够放量,或者盘中出现“量比突增”等放量迹象,则不论真突破还是假突破,均有短线机会出现。取投资书籍关注公1攻0粽0号:脱贫学习手册 3、“量能为王”。如果预估成交量比前一交易日的成交量明显放大,则属于放量,这时如果股价处于底部或者中低位,则属于介入时机、跟涨时机。 4、股价开始以小幅上扬的形式,不急不躁沿着坚挺的5日均线爬行,有的连续收小阳,有的一下收阳一下收阴。靠近5日均线就弹升,离远便回调,因此趁缩量落到5 日均线处大胆吸纳。 5、 看盘时,5日线往上翘头时,关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%);②10日线由下而上顶到5日线快要粘贴在一起时, 关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%)。 6、选择延45度角向上运行的股票,而成交量逐步递减的股票。沿45度角向上的股票走势最稳,走势最长。如果你一旦发现走势越接近45度角,而同时成交量却是逐步减少的某个股,那么你十有八九是发现庄家的影子了。
3. 量比指标中的黄白绿三色各代表什么意思啊?
黄色代表10日均线,白色代表5日均线,绿色代表60日均线的意思
4. 量比指标中的黄白绿三色各代表什么意思啊?
黄色代表10日均线,白色代表5日均线,绿色代表60日均线的意思
5. 前两天日线收阴当天日线收阳选股公式?
三个日线选股原理: 1、当个股短线连续三天以上调整时,第二天跳空高开或高开,量比(大于1)放大可以买入。只要大势不坏,没有转入调整,缩量反而说明筹码锁定性较好。 2、当个股横盘整理时,由小阴小阳连在一起的K线,每天开盘收盘几乎一个价位,且均线排列得好,5日线、10日线相互有点交叉也没事,则是介入的时机,就等“放量启动”。横盘整理中的个股,只要能够放量,或者盘中出现“量比突增”等放量迹象,则不论真突破还是假突破,均有短线机会出现。取投资书籍关注公1攻0粽0号:脱贫学习手册 3、“量能为王”。如果预估成交量比前一交易日的成交量明显放大,则属于放量,这时如果股价处于底部或者中低位,则属于介入时机、跟涨时机。 4、股价开始以小幅上扬的形式,不急不躁沿着坚挺的5日均线爬行,有的连续收小阳,有的一下收阳一下收阴。靠近5日均线就弹升,离远便回调,因此趁缩量落到5 日均线处大胆吸纳。 5、 看盘时,5日线往上翘头时,关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%);②10日线由下而上顶到5日线快要粘贴在一起时, 关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%)。 6、选择延45度角向上运行的股票,而成交量逐步递减的股票。沿45度角向上的股票走势最稳,走势最长。如果你一旦发现走势越接近45度角,而同时成交量却是逐步减少的某个股,那么你十有八九是发现庄家的影子了。
6. 前两天日线收阴当天日线收阳选股公式?
三个日线选股原理: 1、当个股短线连续三天以上调整时,第二天跳空高开或高开,量比(大于1)放大可以买入。只要大势不坏,没有转入调整,缩量反而说明筹码锁定性较好。 2、当个股横盘整理时,由小阴小阳连在一起的K线,每天开盘收盘几乎一个价位,且均线排列得好,5日线、10日线相互有点交叉也没事,则是介入的时机,就等“放量启动”。横盘整理中的个股,只要能够放量,或者盘中出现“量比突增”等放量迹象,则不论真突破还是假突破,均有短线机会出现。取投资书籍关注公1攻0粽0号:脱贫学习手册 3、“量能为王”。如果预估成交量比前一交易日的成交量明显放大,则属于放量,这时如果股价处于底部或者中低位,则属于介入时机、跟涨时机。 4、股价开始以小幅上扬的形式,不急不躁沿着坚挺的5日均线爬行,有的连续收小阳,有的一下收阳一下收阴。靠近5日均线就弹升,离远便回调,因此趁缩量落到5 日均线处大胆吸纳。 5、 看盘时,5日线往上翘头时,关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%);②10日线由下而上顶到5日线快要粘贴在一起时, 关注其开盘价,当天开盘价要高出昨收盘价,低也可,但不能低得太多(不超过昨收盘价的0.8%)。 6、选择延45度角向上运行的股票,而成交量逐步递减的股票。沿45度角向上的股票走势最稳,走势最长。如果你一旦发现走势越接近45度角,而同时成交量却是逐步减少的某个股,那么你十有八九是发现庄家的影子了。
7. 量比指标中的黄白绿三色各代表什么意思啊?
黄色代表10日均线,白色代表5日均线,绿色代表60日均线的意思
8. 量比指标中的黄白绿三色各代表什么意思啊?
黄色代表10日均线,白色代表5日均线,绿色代表60日均线的意思
9. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入: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时表示出现该指标的买入信号。
10. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入: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时表示出现该指标的买入信号。
11. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入: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时表示出现该指标的买入信号。
12. 通达信某均线穿某均线倍量阳指标源代码?
以下为通达信某均线穿某均线倍量阳指标的源代码:
```
输入: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时表示出现该指标的买入信号。