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.
Taking this daily scan code and trying to capture it on the 4 hour chart.
Hi there,
I'm trying to find this sort of scenario in 4 hour charts:
and [Open > Daily lower BB(20,2.0) *.98]
and [Open < Daily lower BB(20,2.0) *1.02]
and [close < Daily lower BB(20,2.0) *.98]
Now when I plug this into stockchart scans i can see this on the daily and then when i pull up the 4 hour chart it shows something similar. But let's say a stock drops from the upper bollinger band to the SMA 200, the 4 hour chart could be in the scenario code above, but this daily scan won't pick it up. So i'm just wondering if anyone has a little work around to this that i can't think of that would help capture more of these on the 4 hour chart. Thanks!
0
Comments
If you want to pick up more 4 hour patterns with a daily scan (you can't scan on intraday data, although that might be coming), you could try modifying the daily scan parameters - maybe some number where the 4 and 6.5 (1 day) are both divisors (in other words, multiply the daily parameter by 6.5 and divide the result by 4 and look for a 0 remainder).
I'm just guessing at this, and it might not work any better.
Thank you for this! I think it may be a little too complicated for me to try this method and see good results. Do you happen to know any other scanning websites that offer the ability to scan the 4 hour chart?
"All possible intervals / time compressions supported
Yearly, quarterly, monthly, weekly and daily charts, Intraday charts, N-minute charts, N-second charts (Pro version), N-tick charts (Pro version), N-range bars, N-volume bars"
https://www.amibroker.com/features.html
https://alvarezquanttrading.com/blog/welcome/
The Amibroker software was developed a couple decades ago when program customization required programmers.
Some of the "sample code" makes that clear for sure.
https://alvarezquanttrading.com/amibroker-sample-code/
I also noticed you can download Amibroker to every version of Windows from 2K on. That's pretty solid programming.