tomm1111 202 posts msg #66050 - Ignore tomm1111 |
8/11/2008 11:12:48 AM
I'm working on a filter and am stuck on a filter phrase. I'm looking for maximum highs and minimun lows from a certain time period. For example, "and 5 day high" or "high 5 day high" or "high from past 5 days", however none of these work.
Any suggestions out there on how to code?
|
tomm1111 202 posts msg #66051 - Ignore tomm1111 |
8/11/2008 11:22:28 AM
I might have answered my own question. The Day Position function. I'm going to give it a try.
|
maxreturn 745 posts msg #66055 - Ignore maxreturn modified |
8/11/2008 12:20:14 PM
Hello Tomm. You start the phrase by choosing the price you want (o,h,l,c). The second part of the phrase is either the highest high or lowest low of the chosen price:
Example 1: The phrase "high 5 day high" will return the highest high of the past 5 days.
Example 2: The phrase "close 5 day high" will return the highest close of the past 5 days.
HTH
Max
|
tomm1111 202 posts msg #66065 - Ignore tomm1111 |
8/11/2008 1:32:51 PM
Thanks for the reply Max. I got it to work.
|