Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.
Two kids, no job. I wouldn't call trading a job. It's just in my blood. I'd do it for free... and I have at times... LOL.
LOL... yeah, I probably ought to work on that.
Yes, you are correct... I'm a chick.
Funny... I get your point completely cause I've had the exact same argument with myself... multiple times.
I have wavered between culling the herd using math and stats vs. selecting the best using only my eyes and experience. At this point, I'm all about letting the technology do what it can do competently, and I'll take over from there.
I. E. if you have the mathmojo, use it!!!!
LOL... if I had more energy I'd demand that you clarify your statement! But for now, I'll just say that I'm happy to be a geek.
<< I mean I can't play the whole market so why scan it.>>
LOL...my view is polar opposite... scan the entire market for the best, and play them.
Well, that's some interesting info, ctb. It seems they could fix that by limiting the number of concurrent sessions allowed vs. limiting the number of stocks a single user can view at once.
Must be a rookie at the technology helm.
Thanks, vegas. I think I can work around it. I generally scan the entire market for my bare minimum criteria once a week and then just use that list all week long to run more situation-specific live scans. Right now my bear minimum list is just over 3000 symbols, so I'll tighten up on my criteria some to make that list smaller.
What the person said that called me was that SD would only "display quotes" for 3000 at a time, but she also seemed ~clueless~ about SD and trading in general. And while she didn't say this, I'm thinking that a scan of the entire market (7000+ symbols) will no longer be available either.
But honestly, 3000 symbols is too dang many for anybody, so I don't mind the restriction... esp if it speeds up performance, which is what I understood to be the reason for the change.
Here's a go at the code for item number one. Play around with this and then we'll consider the second set.
You'll see the original code and my comments before each section in {brackets}. I don't have time to test it, and I wouldn't know if I pulled back a good candidate or not, but maybe you can give that a try. My guess is that it won't pull back too many candidates because there are too many conditions. My recommendation would be to paste the code into word or notepad so you can see how it translates. I'd also play around with deleting certain sections to see if you get better results.... like maybe start with the 3 most important conditions and pare down from there. Let me know how it works. Happy testing!
{[type = stock] and [country = us]… you can find these using the SD lists, so no code needed}
{[daily sma(20,daily volume) > 40000]….and}
MovingAverage[MA,Volume,20,0,D] > 40000
AND
{[daily rsi(14) <= 30]…. and}
RSI[RSI,14,D] <= 30
AND
{[daily rsi(2) >= 25]… and}
RSI[RSI,2,D] >= 25
AND
{[daily rsi(5) >= 25]… and}
RSI[RSI,5,D] >= 25
AND
{[daily plus di(14) <= 15]… and}
DirectionalMovement[+DI,14,14,D] <= 15
AND
{[daily ppo line(12,26,9) <= -10]…. and… I’m not too sure about this piece of code}
(100 * (ExpMovingAverage[EMA,Close,12,0,D] - ExpMovingAverage[EMA,Close,26,0,D]) / ExpMovingAverage[EMA,Close,26,0,D]) <= - 10
AND
{[daily adx line(14) >= 35]… and}
DirectionalMovement[ADX,14,14,D] >= 35
AND
{[daily williams %r(14) <= -70]… and I’m not too sure about this piece of code either}
(Stochastic[StocK,14,3,1,D] - 100) <= - 70
You put it in a positions window. L1s and Positions windows behave much the same, but a positions window has trade info available to you.
In your positions window, click Columns, then Position Fields. You'll find what you're looking for there.
A nifty thing about the positions windows too is that you can load a Watchlist instead of your current account positions.... the default is your current account positions. A watchlist can include trade info from other accounts. If you're trading multiple accounts, it's most helpful.
I've had both of those problems. It's a capacity issue best I can tell. Usually happens to me when I have too much running in SD.
There is an order in which the windows get updated. I've noticed that my level 1 windows' data changes before the chart does. Be curious to know if anybody else has seen that....
Did anybody else get a call from TDA yesterday saying that they were limiting SD to display no more than 3000 symbols as of June 16?
And is anyone else having an intermittent issue with their charts going wacko below the day timeframe?
Sure thing.
With your level 1 window open...
- click Columns
- click Color Fields
- choose Trend (Daily)
This is just a built-in example of what a color column does for you. The formula is simple...
Bar[Close,D] - Bar[Close,D,1]
But what this color column gives you is the value of this formula for the last 5 days. Play around with it and look at some stocks and you'll see what I mean. So without having to code it, you get the current value and as many past iterations of it as you want without having to code them all.
Now, if you want to create your own based on your own formula, with your level 1 window open...
- click Columns
- click Color Field Wizard
- click New and set up your field
- when you go back to your level 1 window/color fields, it will be in the list for you to add the same way you did in the example above
It might also be a good idea to choose Edit on the Trend (daily) color field just so you can just see how they set it up, then you can cancel out without saving your changes.
Let me know if you get stuck. There's also more detail in the Users Manual on page 26.
It's correct if your criteria are mutually exclusive... as in they both can't be true or you'll get a 0 value. I know, sounds like a no-brainer but sometimes the logic can get tricky depending on how complex it is.
You can always create one column for your entry and one for your exit and verify the data before you combine them. Then create a third column... with the two combined to verify that it translated correctly. That's how I test my code sometimes at least.
Hope that makes sense.
Hey, I promise I'm going to get to this when I can get myself caught up. Looks like it's mostly coded already. I'll give it a whirl, so be on the lookout over the next couple of days.
Thanks for those instructions, vegas. I'm putting together a table of contents for the board and that's exactly the kind of stuff I'm looking to include. I'm sure somebody else will have the same question.
Qwik, I hope it worked out for you.
Trader, did you know you can set your bollinger bands to be based on volume? It's not really completely comparable to what stockcharts has, but it might be somewhat of a substitute.
Howdy Trader0327, and welcome! Sorry for the late reply. I've been preoccupied with some other stuff as of late. I look forward to your participation.
Thanks vegas. Those are some good ones... a few I've requested myself already. I'll add them.
Thanks for this... that's a good tip. I got stuck in the same place because I saved a chart that had a backtest on it as my default. Had to rebuild from an older version.
HTW, sorry for the late follow-up on this message. I get wat you're asking for and I'll add it to the list.
Actually there kinda is a round-about a way to do this already built in, using Color Fields. Are you familiar with them?
Yeah. Sorry I've been MIA... I've just had a lot of stuffola going on. I'm going to try to catch up tonight.
DOW -44
Hey, then I'd use both! TAAV is pretty powerful. If I don't have a bunch of other stuff running in SD, I can load my bare minimum list (3000+ symbols) in a Level 1, with TAAV as a custom column and tell you exactly what's moving. That's obviously more of a momentum/day-trading tactic.
Well there is some mathematical correlation pre-market and after hours I suppose... I've been told there is. And maybe it's good for just comparing one stock to another. But it's really only accurate, as its defined, during market hours.
The difference between the approaches is that if you use the calc that you asked about, your chances of missing high volume early in the day is high. As the day goes on, your calc will become more accurate. The TAAV calc will tell you at 9:31 if the volume is higher than normal.
It just all depends upon what you're trying to accomplish.
ctb, you might try this as well...
http://investorshub.advfn.com/boards/read_msg.aspx?message_id=37507121
Instead of comparing today's volume to yesterday's volume, it tells you if today's volume is above or below average... and it works during market hours. "Volume" is really only a true indicator at the end of the day as the value continues to build throughout the day.
So for those low volume sleepers, do you wait for the volume, or do you want to enter before the volume comes.... in stealth mode... :x
Well good! Do you see anything that needs to be tweaked?
I might be interested in coding that... I've seen several references to pincher plays in the past two weeks especially.
I briefly reviewed the iBox that you linked us to but I don't have time to fully digest it. Can you briefly summarize the strategy and what you look for in the technical indicators?
Did you get your other issue resolved... with the moving average fan coding?
Syko, why wouldn't that just be another watchlist? I'm not sure I understand what you're asking for there.
I'll add the request for pulling a list from the website. I rarely visit the website, so it's not something I would have need of personally.
One of the things that I added to the list was the ability to right-click on a position and have it added to a watchlist automatically.
I'll add that, IBN... thanks!
Thanks HTW. Does this encapsulate what you're saying?
http://investorshub.advfn.com/boards/read_msg.aspx?message_id=38274125
Thanks. Yes. I'll add that one! I'm hoping they've had a lot of similar complaints and that they're working on it. Surely they have... from everybody that's ever used backtesting. Quite the frustration.
Those are some good ones. Thanks.
.... formula dialogue box drives me NUTS. I do all my work in Word. In fact, I save my code in a file and have it outlined by category, so that when I need a set of code, I can just go grab it and plug it in. I know it's been tested, no worries about typos, and it keeps stuff consistent. It's also a good backup to have code outside of the SD libraries, just in case.
Welcome klynn55!
There is a way to do that via complex date calcs, but if I were interested in that info, I'd create a Level 1 window with a "Volume" column, and take a snapshot to Excel at 9:30.
But it is a general capability that I've missed as well, so I'll add it to the list. Specifically, I'd like to be able to query the historical values of more technical indicators/info based on time designation vs "bars ago".
Thank you for your response.
I'm curious to see what impact the GM delisting will have on the markets in general. I'm assuming a bump... granted somewhat artificial... but amateurs just look at the number on the news at the end of the day and pile on without considering what's driving the number.
LOL.... perfect.
ROFL. Don't forget Barney Frank... hmmm, what would his instrument be?
** Assignment for Readers and Posters **
I am putting together a reference document or two for the board (e. g. new user bootcamp). I'm also getting ready to submit a list of bugs/enhancement requests. Your response to this assignment will help with all of that and you might find some workable solutions for what ails you as well.
1) Post at least 3 things that you wish SD would do for you. Those can be things that you know it won't do, or things that you can't figure out how to get it to do. If you're brand new to SD, your input is especially valuable.
2) Do you have any suggestions for how to make SD better? Any bugs you'd like to report?
Even if you don't normally post, you're welcome to chime in.
Thanks!
Mattie
The basics are there, if you want to add the 5 MA in there, feel free to do so. If you're having issues doing that, post your code and I'll point you in the right direction.