Philadelphia, Pa/United States
Posts: 3 since Jan 2013
Thanks Given: 1
Thanks Received: 1
|
Hello all... this is my 2nd post requesting thinkscript help. The first was answered immediately with fantastic coding. I'm loving this site. Hopefully someone(s) can help me with my current task.
I want to write a script to find breakouts on the daily charts.
I'm trying to get used to tos syntax. I want to code a script to run in the scan tab, to look for stocks whose current price is > the previous high, and make sure the high is at least n days ago. The 'n' might be hard- coded, might be a variable, I'm open to suggestions. Easier is usually better. So I'm interested in daily charts, but will this work when I run it intraday? In other words, will the current price during the trading day trigger the alert when run against a script based on daily data?
Many thanks in advance.
|