找回密码
 注册
搜索
查看: 872|回复: 0

[知识] Any TOS ThinkScript expert here?

[复制链接]
发表于 2010-2-5 03:05 AM | 显示全部楼层 |阅读模式


TOS Thinkscript is notorious for its lack of documentation. I am currently stuck on how recursion works in ThinkScript and in particular how compoundValue is used for recursion initialisation. The help file in TOS ThinkScript editor states that

compoundValue(int length, IDataHolder visible data, IDataHolder historical data)

length  default value: 1

Calculates compound value that is equal to 'historical data'(if bar number is less than 'length') or 'visible data' expressions calculations. It is used to initialize studies with recursion.

Usage in:

  HeikinAshiDiff; ReverseEngineeringRSI; CyberCyclesOscillator; VariableMA; RelativeStrength; PositiveVolumeIndex; NegativeVolumeIndex; MovAvgAdaptive;

Any idea what it means? I am a fairly competent programmer but I am very stuck on TOS ThinkScript right now.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|www.hutong9.net

GMT-5, 2025-7-27 05:31 PM , Processed in 0.082390 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表