davidricardo2017 4 posts msg #133043 - Ignore davidricardo2017 |
12/4/2016 12:31:07 PM
Hi all,
I am experimenting with VarOffset() but it seems not working. Here is my filter:
|
four 5,087 posts msg #133044 - Ignore four modified |
12/4/2016 1:19:22 PM
StockFetcher uses this statement:
"The VarOffset() function is a new function that we are still working on and testing. So if you run into any bugs or unexpected results, please let us know. Additionally, due the performance concerns of this function, it is possible that some scenarios may not produce results. "
I would navigate to the bottom of the page and click CONTACT US and ask for assistance.
------------------------------------------------------------------------------------------
http://www.stockfetcher.com/forums///117202/-1/117263
12/6/2013 12:12:42 PM
Below is an example using the new "VarOffset()" function that should do what you are looking for:
The VarOffset() function is a new function that we are still working on and testing. So if you run into any bugs or unexpected results, please let us know. Additionally, due the performance concerns of this function, it is possible that some scenarios may not produce results.
VarOffset() takes 2 parameters:
Parameter #1 - The indicator you wish to access a past value from. For example, "close" or "RSI(10)"
Parameter #2 - The variable or value that determines how to calculate the variable offset. In the example above var_ago is the number of days since the stock reached a new 20 day high. Because "days()" can return -1, not all stocks will match this condition.
Here is another example:
|
davidricardo2017 4 posts msg #133047 - Ignore davidricardo2017 modified |
12/4/2016 6:42:30 PM
This is strange, but when I changed it to this it actually worked:
What I did what just using "high x day high" instead of "Donchian Upper Band(x,0)". Perhaps VarOffset has an untold limited of indicators that can be used inside it.
|