文章目录 [显示]
英文名:Bears Power
中文名:熊力震荡指标
1:熊力震荡指标 Bears Power定义
熊市力量(Bears Power),是与牛市力量(Bulls Power)相对的,熊市力量是驱动市场价格下降的力量。
2:熊力震荡指标 Bears Power计算公式
熊市力量(Bears Power)=目前最低价-EMA(收盘价,13)
其中EMA t = Pt × 2/n+1 + EMA t-1 ×(1-2/n+1)
注解:t为当前时间段,Pt为当前收盘价,EMA(收盘价,13)为13个相同时间单位周期的EMA相加除13,其中13为系统默认参数,是可以改变的,而EMA中的参数值收盘价(close)也是可以在属性中更改的。
3:熊力震荡指标 Bears Power基本使用
1、BearsPower为负数,同时逐渐增大,表示市场出现了买入信号;
2、BearsPower为负数,同时逐渐减小,表示市场出现了卖出信号;
3、该指标通常与牛力震荡指标联合使用。

4:熊力震荡指标 Bears Power编程接口
【编程函数/参数】double iBearsPower( string symbol, int timeframe, int period, int applied_price, int shift)
1、symbol 指定货币对,NULL为默认当前货币对
2、timeframe 时间周期,0为当前时间周期
3、period 计算平均周期。默认选13
4、applied_price 选择价格,默认选收盘价PRICE_CLOSE
5、shift 指定柱值,0为当前柱,1为前一个柱,以此类推
【代码】
iBearsPower(NULL,0,13,PRICE_CLOSE,0)