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)
@Sboarder, there's no direct function in ToS script to dynamically calc the upper/lower borders of the plot - specially when you zoom in & out of a chart. at least not that i'm aware of.
so what we did is take the highest value and the lowest value of price across the whole chart, and worked from that to draw the levels for the dots.
if it's up to me, i wouldn't use that technique at all in my study.. i may use a 10% space above either the highest price, or below the lowest price, and plot my study there if it "must be on the price chart", but not try to take both sides. but that will even be completely messed up on certain time aggregations, so would prefer to plot my study in a separate lower study windows to such a scenario.
these are the lines in the code that decide where to plot what.. pls feel free to change them to what you like.
(did i reverse the placement of long & short .. ? sorry if i did... it's all in these 6 lines below)
if you want this as a lower study, just choose this is study settings - uncheck the box "On Upper subgraph" .. and use constants for LongLevel & ShortLevel like 50 & 0,
Matt, i understand this code scans & displays some fundamentals on stocks. i ToS, you don't do this thru studies (plots on charts), but rather thru the Scan or MarketWatch screens .. there are some good tutorial around on how to do it..
sorry if that's not what you expected,
@taqalla, I may be able to help you with TradeStation to ToS conversion .. but not NT (sorry not my domain)
feel free to PM me a sample TS study - preferably with some description of what it does. I'll see what i can do .. I'm at least sure it will look nicer once it's plotted in ToS
I found this code for D -Wave on the web for Amibroker and I'd really like to have it in Think or Swim. Thanks...
P.S. It appears it is designed to only go up and I need it to go down as well...
********************************************
Basically, time and sequence constraints are added; something like this TD1 (that is EW1 D-wave) is completed when pre-TD1 conditions are filled; so here we go based on Perl interpretation on the link above: