New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Kevin
Comments
-
Histogram above or below zero is pretty simple, e.g. just use the greater than operator ">" or less than operator "<", like MACD Hist(...) > 0.
To see if an indicator is rising or falling, you have to compare the current value to a past value. To get the past value, you need a modifier in front of the indicator like "2 days ago", so, 2 day ago MACD Hist(...). If the past value is less than the current value, the indicator is rising.
You can build scans from the advanced editor. As you type, it makes suggestions, which you can select or edit. Or, you can make selections from the drop downs under the scan window on the scan workbench and edit them.
If you need a primer to get started:
https://stockcharts.com/docs/doku.php?id=scans
Or, you could look at the pre-defined scan code. Here's how:
Find "Pre-defined Scans" link on the Members Page in the "Members Tools" section (scroll down)
On the Pre-defined Scans page, click on any number in the first column.
On the results page, click on "Click here to edit this scan" in the upper right corner of the page.
0 -
Thanks for the help !0
-
markd, Thank you !0
-
Markd, please look at this, I think I'm close. Trying to find positions w/ a MACD below 0 but improving, all are weekly charts ?
[weekly macd hist (12,26,9)<0]
and [weekly macd hist (12,26,9)>1 day ago wekly macd hist (12,26,9)]0 -
A correction in the second line. I think you want to compare this week's Hist to last week's Hist.
[weekly macd hist (12,26,9)<0]
and [weekly macd hist (12,26,9)>1 week ago weekly macd hist (12,26,9)]
Keep in mind that the current value for a weekly indicator changes each day of the week. So one day, this week's value could be above last week's value, but the next day it could be below last week's value. That could be OK, as long as you know what's happening. In general, to get a "valid" signal, you should wait for the time frame to expire before scanning - so, in a daily time frame, scan after the day's close; in a weekly time frame, wait for the Friday close; in a monthly scan, wait for the close of the last trading day of the month.
Also, keep in mind that Hist is not the same as MACD Line. Hist measures the difference between MACD Line and MACD Signal. MACD Line measures the difference between the two emas you designate in the parameters . So, Line could be rising, but Hist could drop. So you might want to use MACD Line instead of Hist. Try it both ways and see. Also, you might want to try different look backs - maybe 3 weeks or 5 weeks instead of one. The longer look back may be more likely to get trends that will continue on. The shorter lookback could give you an earlier signal, but there will be more "false positives".0 -
markd- Thank you for the help0
Categories
- All Categories
- 2.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area