Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
So I am not quite sure what you're looking for, but I'll take a stab. In tradestation the functions highest and lowest may be of some help. So for example, if you are looking to identify and use the high of previous seven days, try highest(high,7). If you're are looking for the lowest low of the previous seven, then use lowest(low,7). In other words, if you want to sell short when the close crosses above the high of the previous 7 days , and reverse with a long when the close crosses below the low of the previous 7 days do this:
If close crosses under lowest(low,7) then buy next bar at market;
If close crosses above highest(high,7) then sell short next bar at market;
This, of course, is in easy language. However, most of these languages are very similar so transposition is not that difficult... most of the time.