BerkoBob |
Gold User, Member, Platinum User, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Thursday, March 29, 2007 |
Friday, April 9, 2010 4:49:18 AM |
19 [0.01% of all post / 0.00 posts per day] |
|
I've started getting +infinity and -infinity as results in backscanner. What does this mean?
Thanks.
|
Thank you. That's Great!
|
Oh yes, I see. Oops. Sorry about that.
What's the difference between the two conditions?
|
Hi Bruce,
Thanks. I get the following error:
"Static local variable "High" is already declared."
What do you suggest?
Bob
|
How do you find an all time high in Blocks?
|
Craig,
That's wonderful, thank you. All I need now is a way to set HighPeriod to be the date of the trade in BackScanner. I guess I'm going to have to wait for Realcode trade based stops for that, right?
Antoine
|
I was thinking I could create a condition to test if the low is less than the greatest high of the last 50 days minus the ATR * 3.
if price.close < max high(50) - ATR * 3 then pass
Would that work?
Let's say my stock ABC is trading at $45 and has an ATR of $2 and has a 50 day high of $50. If I'm right, the condition should pass when ABC reaches $43. It can happily trade in a range of 3 * ATR i.e. 3 * 2 = 6 from the high of 50.
Any thoughts?
|
I'd like to use average true range as a trailing stop in backscanner. Any ideas how I might do this? Thank you in advance.
|
That's amazing Bruce - thank you very much.
|
QUOTE (bustermu)
the rms error for the fit of the linear regression line would likely be a suitable indicator for your purpose.
What's rms error?
|
|