首页 > 专栏 > 机构专栏 > 机构黄金>正文

美联储加息25个基点并暗示暂停,鲍威尔称“现在降息为时过早”

机构黄金
来源:中亿财经网 作者:gengxing 时间:2023-07-23
1. 如何编写股价突破月线图的20均线公式指标?通达信,要求MA均线指标使用缺省参数 CROSS(C,MA.MA3#MONTH);2. 如何编写股价突破月线图的20均线公式指标?通达信,要求MA均线

1. 如何编写股价突破月线图的20均线公式指标?

通达信,要求MA均线指标使用缺省参数 CROSS(C,MA.MA3#MONTH);Zpu中亿财经网财经门户

2. 如何编写股价突破月线图的20均线公式指标?

通达信,要求MA均线指标使用缺省参数 CROSS(C,MA.MA3#MONTH);Zpu中亿财经网财经门户

3. 移动平滑平均线公式?

指数平滑均线指标的计算公式如下所示:Zpu中亿财经网财经门户

EXPMA=(当日或当期收盘价一上一日或上期EXPMA)/N+上一日或上期EXPMAZpu中亿财经网财经门户

其中,首次上期EXPMA值为上一期收盘价,N为天数。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

4. 如何编写股价突破月线图的20均线公式指标?

通达信,要求MA均线指标使用缺省参数 CROSS(C,MA.MA3#MONTH);Zpu中亿财经网财经门户

5. 如何编写股价突破月线图的20均线公式指标?

通达信,要求MA均线指标使用缺省参数 CROSS(C,MA.MA3#MONTH);Zpu中亿财经网财经门户

6. 分时均线计算公式?

公式:T1:=DAY>REF(DAY,1);Zpu中亿财经网财经门户

T2:=BARSLAST(T1)+1;Zpu中亿财经网财经门户

分时图均价:(SUM(AMO,T2)/SUM(VOL,T2))/100;Zpu中亿财经网财经门户

提示:与分时图中的均价线数值有微小出入,不影响使用。1分钟K线从9:31分开始画,而分时图从9:30分开始画Zpu中亿财经网财经门户

大智慧分时均线(主图)公式如下: rcc:=DYNAINFO(3); s2:=sma(c,3,1); s6:=sma(c,5,1); dk:=10*(s2-s6); kk:=IF(DATATYPE=Zpu中亿财经网财经门户

7. macd快慢线对应均线是多少?

根据MACD指标的计算公式,MACD快线和慢线对应的均线分别是EMA12和EMA26。其中,EMA是指数移动平均线的意思,它是一种常用的技术分析工具。Zpu中亿财经网财经门户

8. 分时均线计算公式?

公式:T1:=DAY>REF(DAY,1);Zpu中亿财经网财经门户

T2:=BARSLAST(T1)+1;Zpu中亿财经网财经门户

分时图均价:(SUM(AMO,T2)/SUM(VOL,T2))/100;Zpu中亿财经网财经门户

提示:与分时图中的均价线数值有微小出入,不影响使用。1分钟K线从9:31分开始画,而分时图从9:30分开始画Zpu中亿财经网财经门户

大智慧分时均线(主图)公式如下: rcc:=DYNAINFO(3); s2:=sma(c,3,1); s6:=sma(c,5,1); dk:=10*(s2-s6); kk:=IF(DATATYPE=Zpu中亿财经网财经门户

9. macd快慢线对应均线是多少?

根据MACD指标的计算公式,MACD快线和慢线对应的均线分别是EMA12和EMA26。其中,EMA是指数移动平均线的意思,它是一种常用的技术分析工具。Zpu中亿财经网财经门户

10. 均线弱转强指标公式?

均线所谓的弱转强,指均线在一段时间弱势,今日开始由弱势转强势放量上涨。Zpu中亿财经网财经门户

均线弱转强主图指标公式:Zpu中亿财经网财经门户

A1:=Ma(C,5); A2:=Ma(C,10);Zpu中亿财经网财经门户

A3:=(A1+A2)/2;Zpu中亿财经网财经门户

IF (A1>A2,A1,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF (A1>A2,A2,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A1,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A2,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

A3,colorwhite,linethick2;Zpu中亿财经网财经门户

这是以中心线为轴通过A1、A2这两条线与中心线的交叉来变换颜色的。Zpu中亿财经网财经门户

11. macd快慢线对应均线是多少?

根据MACD指标的计算公式,MACD快线和慢线对应的均线分别是EMA12和EMA26。其中,EMA是指数移动平均线的意思,它是一种常用的技术分析工具。Zpu中亿财经网财经门户

12. 成本均线指标计算方法?

成本均线指标计算方法如下:Zpu中亿财经网财经门户

函数cyc:成本均线(以换手率为权证的股价移动平均线)。Zpu中亿财经网财经门户

cyc2=DMA((var1,vol/var2)。var=成交额/成交量/100。其中:DMA(动态移动平均)=短期平均值-长期平均值;var1为估算样本方差,var2为N日的var的总和。Zpu中亿财经网财经门户

指标原理:成本均线指标是个量价均发挥作用的指标,分别代表5、13、34日市场平均建仓成本,因而叫成本均线。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

13. 分时均线计算公式?

公式:T1:=DAY>REF(DAY,1);Zpu中亿财经网财经门户

T2:=BARSLAST(T1)+1;Zpu中亿财经网财经门户

分时图均价:(SUM(AMO,T2)/SUM(VOL,T2))/100;Zpu中亿财经网财经门户

提示:与分时图中的均价线数值有微小出入,不影响使用。1分钟K线从9:31分开始画,而分时图从9:30分开始画Zpu中亿财经网财经门户

大智慧分时均线(主图)公式如下: rcc:=DYNAINFO(3); s2:=sma(c,3,1); s6:=sma(c,5,1); dk:=10*(s2-s6); kk:=IF(DATATYPE=Zpu中亿财经网财经门户

14. 均线弱转强指标公式?

均线所谓的弱转强,指均线在一段时间弱势,今日开始由弱势转强势放量上涨。Zpu中亿财经网财经门户

均线弱转强主图指标公式:Zpu中亿财经网财经门户

A1:=Ma(C,5); A2:=Ma(C,10);Zpu中亿财经网财经门户

A3:=(A1+A2)/2;Zpu中亿财经网财经门户

IF (A1>A2,A1,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF (A1>A2,A2,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A1,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A2,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

A3,colorwhite,linethick2;Zpu中亿财经网财经门户

这是以中心线为轴通过A1、A2这两条线与中心线的交叉来变换颜色的。Zpu中亿财经网财经门户

15. 成本均线指标计算方法?

成本均线指标计算方法如下:Zpu中亿财经网财经门户

函数cyc:成本均线(以换手率为权证的股价移动平均线)。Zpu中亿财经网财经门户

cyc2=DMA((var1,vol/var2)。var=成交额/成交量/100。其中:DMA(动态移动平均)=短期平均值-长期平均值;var1为估算样本方差,var2为N日的var的总和。Zpu中亿财经网财经门户

指标原理:成本均线指标是个量价均发挥作用的指标,分别代表5、13、34日市场平均建仓成本,因而叫成本均线。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

16. 移动平滑平均线公式?

指数平滑均线指标的计算公式如下所示:Zpu中亿财经网财经门户

EXPMA=(当日或当期收盘价一上一日或上期EXPMA)/N+上一日或上期EXPMAZpu中亿财经网财经门户

其中,首次上期EXPMA值为上一期收盘价,N为天数。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

17. 均线角度的计算公式?

均线角度指的是均线的斜率,通常用来分析价格趋势的变化,其计算公式如下:Zpu中亿财经网财经门户

简单移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日简单移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

指数移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日指数移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

以上公式中,斜率为正数表示股票价格上涨趋势,斜率为负数表示股票价格下跌趋势,斜率越大表示趋势变化越剧烈。需要注意的是,均线角度只是价格趋势变化的一个指标,不能单独作为买卖股票的依据,还需要结合其他技术指标和基本面分析来进行综合判断。Zpu中亿财经网财经门户

18. 移动平滑平均线公式?

指数平滑均线指标的计算公式如下所示:Zpu中亿财经网财经门户

EXPMA=(当日或当期收盘价一上一日或上期EXPMA)/N+上一日或上期EXPMAZpu中亿财经网财经门户

其中,首次上期EXPMA值为上一期收盘价,N为天数。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

19. 均线弱转强指标公式?

均线所谓的弱转强,指均线在一段时间弱势,今日开始由弱势转强势放量上涨。Zpu中亿财经网财经门户

均线弱转强主图指标公式:Zpu中亿财经网财经门户

A1:=Ma(C,5); A2:=Ma(C,10);Zpu中亿财经网财经门户

A3:=(A1+A2)/2;Zpu中亿财经网财经门户

IF (A1>A2,A1,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF (A1>A2,A2,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A1,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A2,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

A3,colorwhite,linethick2;Zpu中亿财经网财经门户

这是以中心线为轴通过A1、A2这两条线与中心线的交叉来变换颜色的。Zpu中亿财经网财经门户

20. 移动平滑平均线公式?

指数平滑均线指标的计算公式如下所示:Zpu中亿财经网财经门户

EXPMA=(当日或当期收盘价一上一日或上期EXPMA)/N+上一日或上期EXPMAZpu中亿财经网财经门户

其中,首次上期EXPMA值为上一期收盘价,N为天数。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

21. 均线角度的计算公式?

均线角度指的是均线的斜率,通常用来分析价格趋势的变化,其计算公式如下:Zpu中亿财经网财经门户

简单移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日简单移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

指数移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日指数移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

以上公式中,斜率为正数表示股票价格上涨趋势,斜率为负数表示股票价格下跌趋势,斜率越大表示趋势变化越剧烈。需要注意的是,均线角度只是价格趋势变化的一个指标,不能单独作为买卖股票的依据,还需要结合其他技术指标和基本面分析来进行综合判断。Zpu中亿财经网财经门户

22. 分时线均线公式?

分时均价线计算公式Zpu中亿财经网财经门户

  1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。Zpu中亿财经网财经门户

  2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。Zpu中亿财经网财经门户

  设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。Zpu中亿财经网财经门户

  (一)Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  (二)Zpu中亿财经网财经门户

  STICKLINE(C>0,L,H,3,0),COLORBLACK;Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  =DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6);Zpu中亿财经网财经门户

  STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;Zpu中亿财经网财经门户

  STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;Zpu中亿财经网财经门户

  (三)Zpu中亿财经网财经门户

  A:=CURRBARSCOUN:=DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

23. macd快慢线对应均线是多少?

根据MACD指标的计算公式,MACD快线和慢线对应的均线分别是EMA12和EMA26。其中,EMA是指数移动平均线的意思,它是一种常用的技术分析工具。Zpu中亿财经网财经门户

24. 成本均线指标计算方法?

成本均线指标计算方法如下:Zpu中亿财经网财经门户

函数cyc:成本均线(以换手率为权证的股价移动平均线)。Zpu中亿财经网财经门户

cyc2=DMA((var1,vol/var2)。var=成交额/成交量/100。其中:DMA(动态移动平均)=短期平均值-长期平均值;var1为估算样本方差,var2为N日的var的总和。Zpu中亿财经网财经门户

指标原理:成本均线指标是个量价均发挥作用的指标,分别代表5、13、34日市场平均建仓成本,因而叫成本均线。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

25. 均线角度的计算公式?

均线角度指的是均线的斜率,通常用来分析价格趋势的变化,其计算公式如下:Zpu中亿财经网财经门户

简单移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日简单移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

指数移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日指数移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

以上公式中,斜率为正数表示股票价格上涨趋势,斜率为负数表示股票价格下跌趋势,斜率越大表示趋势变化越剧烈。需要注意的是,均线角度只是价格趋势变化的一个指标,不能单独作为买卖股票的依据,还需要结合其他技术指标和基本面分析来进行综合判断。Zpu中亿财经网财经门户

26. 分时均线计算公式?

公式:T1:=DAY>REF(DAY,1);Zpu中亿财经网财经门户

T2:=BARSLAST(T1)+1;Zpu中亿财经网财经门户

分时图均价:(SUM(AMO,T2)/SUM(VOL,T2))/100;Zpu中亿财经网财经门户

提示:与分时图中的均价线数值有微小出入,不影响使用。1分钟K线从9:31分开始画,而分时图从9:30分开始画Zpu中亿财经网财经门户

大智慧分时均线(主图)公式如下: rcc:=DYNAINFO(3); s2:=sma(c,3,1); s6:=sma(c,5,1); dk:=10*(s2-s6); kk:=IF(DATATYPE=Zpu中亿财经网财经门户

27. 均线弱转强指标公式?

均线所谓的弱转强,指均线在一段时间弱势,今日开始由弱势转强势放量上涨。Zpu中亿财经网财经门户

均线弱转强主图指标公式:Zpu中亿财经网财经门户

A1:=Ma(C,5); A2:=Ma(C,10);Zpu中亿财经网财经门户

A3:=(A1+A2)/2;Zpu中亿财经网财经门户

IF (A1>A2,A1,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF (A1>A2,A2,A3),Colorred,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A1,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

IF(A1<=A2,A2,A3),Color00ff00,linethick2;Zpu中亿财经网财经门户

A3,colorwhite,linethick2;Zpu中亿财经网财经门户

这是以中心线为轴通过A1、A2这两条线与中心线的交叉来变换颜色的。Zpu中亿财经网财经门户

28. 分时线均线公式?

分时均价线计算公式Zpu中亿财经网财经门户

  1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。Zpu中亿财经网财经门户

  2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。Zpu中亿财经网财经门户

  设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。Zpu中亿财经网财经门户

  (一)Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  (二)Zpu中亿财经网财经门户

  STICKLINE(C>0,L,H,3,0),COLORBLACK;Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  =DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6);Zpu中亿财经网财经门户

  STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;Zpu中亿财经网财经门户

  STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;Zpu中亿财经网财经门户

  (三)Zpu中亿财经网财经门户

  A:=CURRBARSCOUN:=DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

29. 成本均线指标计算方法?

成本均线指标计算方法如下:Zpu中亿财经网财经门户

函数cyc:成本均线(以换手率为权证的股价移动平均线)。Zpu中亿财经网财经门户

cyc2=DMA((var1,vol/var2)。var=成交额/成交量/100。其中:DMA(动态移动平均)=短期平均值-长期平均值;var1为估算样本方差,var2为N日的var的总和。Zpu中亿财经网财经门户

指标原理:成本均线指标是个量价均发挥作用的指标,分别代表5、13、34日市场平均建仓成本,因而叫成本均线。Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

30. 均线角度的计算公式?

均线角度指的是均线的斜率,通常用来分析价格趋势的变化,其计算公式如下:Zpu中亿财经网财经门户

简单移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日简单移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

指数移动平均线的角度计算公式:均线角度 = ATAN((今日收盘价 - N日指数移动平均价) / N)Zpu中亿财经网财经门户

其中,ATAN()是反正切函数,今日收盘价是指当天股票的收盘价格,N为均线周期数。Zpu中亿财经网财经门户

以上公式中,斜率为正数表示股票价格上涨趋势,斜率为负数表示股票价格下跌趋势,斜率越大表示趋势变化越剧烈。需要注意的是,均线角度只是价格趋势变化的一个指标,不能单独作为买卖股票的依据,还需要结合其他技术指标和基本面分析来进行综合判断。Zpu中亿财经网财经门户

31. 分时线均线公式?

分时均价线计算公式Zpu中亿财经网财经门户

  1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。Zpu中亿财经网财经门户

  2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。Zpu中亿财经网财经门户

  设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。Zpu中亿财经网财经门户

  (一)Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  (二)Zpu中亿财经网财经门户

  STICKLINE(C>0,L,H,3,0),COLORBLACK;Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  =DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6);Zpu中亿财经网财经门户

  STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;Zpu中亿财经网财经门户

  STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;Zpu中亿财经网财经门户

  (三)Zpu中亿财经网财经门户

  A:=CURRBARSCOUN:=DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

32. 分时线均线公式?

分时均价线计算公式Zpu中亿财经网财经门户

  1分钟均线:在查看—系统设置—设置4—锁定初始K线数是240。Zpu中亿财经网财经门户

  2分钟均线:在查看—系统设置—设置4—锁定初始K线数是120。Zpu中亿财经网财经门户

  设置2分钟:在查看—系统设置1—把多分钟线分钟数10改为2。Zpu中亿财经网财经门户

  (一)Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL);Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  (二)Zpu中亿财经网财经门户

  STICKLINE(C>0,L,H,3,0),COLORBLACK;Zpu中亿财经网财经门户

  A:=CURRBARSCOUNT;Zpu中亿财经网财经门户

  =DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6);Zpu中亿财经网财经门户

  STICKLINE(DK>0,RC,RC+DK,0,1),COLORRED;Zpu中亿财经网财经门户

  STICKLINE(DK<0,RC,RC+DK,0,1),COLORCYAN;Zpu中亿财经网财经门户

  (三)Zpu中亿财经网财经门户

  A:=CURRBARSCOUN:=DAY!=REF(DAY,1);Zpu中亿财经网财经门户

  A2:=BARSLAST+1;Zpu中亿财经网财经门户

  A3:=MA(C,A2);Zpu中亿财经网财经门户

  A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;Zpu中亿财经网财经门户

  A5:=IF(CAPITAL>0,A4,A3);Zpu中亿财经网财经门户

  现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLORWHITE;Zpu中亿财经网财经门户

  均价:IF(A<=CONST(A2),A5,DRAWNULL);Zpu中亿财经网财经门户

  前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK2;Zpu中亿财经网财经门户

  RC:=DYNAINFO( 3);Zpu中亿财经网财经门户

  S2:=SMA(C,2,1);Zpu中亿财经网财经门户

  S6:=SMA(C,6,1);Zpu中亿财经网财经门户

  DK:=2*(S2-S6Zpu中亿财经网财经门户

Zpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

ENDZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

ENDZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

ENDZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

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

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

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

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

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

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

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

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

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

BEGINZpu中亿财经网财经门户

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

ENDZpu中亿财经网财经门户

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

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

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

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

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