Welcome to NexusFi: the best trading community on the planet, with over 150,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 -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hi all,
I want to draw a bunch of trendlines from the last bar on the chart, extending them 'x'-bars (a number computed from another process) into the future i.e. the space to the right of the chart.
I can draw a trendline using EL:
But, the '_end' is in the space to the right, or the limit of the available space (whichever is smaller), found using:
Using negative indexes doesn't work for me.
How can I achieve this please?
Alf.
Can you help answer these questions from other members on NexusFi?
TradeStation is limited to trendline Start and End points within the "currently drawn chart", which means no further right than the last bar on the chart PLUS the number of bars specified as Space to the right under Customize Window for that chart window. See attached screenshot.
To get the rightmost bar available for Start/End points, use GetAppInfo(aiRightDispDateTime)
To extend trendlines beyond that point, all the way to the right edge of the chart window, use the Extend Right feature. For old style trendlines created using TL_New, use TL_SetExtRight to enable/disable this on a given trendline.
For more complete control of TrendLines in EasyLanguage (including control of labels as well as the ability to "persist" when drawn on intrabar ticks) I recommend using the newer Object Oriented versions of Trendlines (OOEL).
Surely there is something I am missing here: I am scratching my head, trying to come up with a single reason why anybody would ever do that.
I have most of my charts set to 14 bars to the right, mostly to allow for right-justified price labels without obscuring the bars, but also to leave a little room for visualization. See attached screenshot.
I know some who prefer 30 bars or more for visualization. But 999 would mean scrolling many pages to the left before I can see any bars.
I always tell clients and new traders there are a thousand ways to skin a cat, and anybody who tells them their way is the only way to trade (or even the best way) probably don't know what they're talking about.
What you showed here is something I never though of, but I absolutely see what you mean.
Consistently profitable trading is one of the most challenging endeavors. As it should be, since otherwise everybody would do it -- in which case it would stop working.
And certainly it (trading) is an endeavor where academic background has little bearing on one's success.