BarType_ex

BarType 的延伸版本,返回更具体的数据周期类型。

返回值表明脚本所在数据的详细周期类型。

用法

BarType_ex

不同的周期类型对应返回值为:

  1 —— Ticks
  2 —— 分Minutes
  3 —— 时Hours
  4 —— 日Days
  5 —— 周Weeks
  6 —— 月Months
  7 —— 年Years
  8 —— Volume
  9 —— 秒Seconds
  10 —— 季Quarters
  11 —— 点Points
  12 —— 变动Change
  13 —— Points (Original)
  14 —— OX图Point & Figure
  15 —— 卡吉图Kagi
  16 —— 新价线Line Break
  17 —— 砖型图Renko
  18 —— Heikin Ashi

范例

取数据的详细周期类型,赋给变量Value1:

Value1=BarType_ex;