interrobang |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Unsure |
|
Monday, March 7, 2005 |
Wednesday, March 22, 2006 12:50:32 PM |
23 [0.01% of all post / 0.00 posts per day] |
|
Greetings!
Is there a site people prefer for paper trading? I'd like to paper-trade $10,000, using both long and short sales of stock. I'd also like eventually to work with options. I want to be able to place an order and have my cash on hand automatically adjusted and my portfolio value automatically updated.
Thanks!
RobR
|
Greetings!
I have a PCF I am trying to tweak. The PCF is used in an EasyScan. After I change the PCF, the EasyScan's number of selections changes to "Not Calculate". Fine, that makes sense. But how do I recalculate it? I know I can do it by updating everything in the system, but for now that just wastes time. I have the data I want; I just want to update one EasyScan. How do I do it?
This is yet another example of the worst complaint I have against TC2005: There is so much that a user can do with it, but it is very difficult to find how to do something if you don't already know how.
RobR
|
Bruce,
Could you explain where your numbers came from?
Thanks!
Rob
|
Greetings!
On my chart, I have an indicator that is labeled "Stochastics (12,5,3)". That indicator gives me two lines. I am having a hard time understanding how those numbers correspond to the Stochastics function in PCFs, which, IIRC, only takes two arguments. How would I write a PCF that tells me when the faster-moving of the two lines crosses over the slower-moving one? For the sake of this post, let's limit it to an upward crossing.
Thanks very much!
Rob
|
QUOTE (Doug_H) I don't know this for sure, but after running a bunch of very simple tests, it appears as though the order is:
Division then multiplication then subtraction then addition.
I'll run this by my colleagues, and they can pipe up to confirm this, or to let you know if they know something different.
Doug,
I certainly hope not. Multiplication and division should have equal precedence, meaning whichever is on the left is done first. Addition and subtraction are the same. (That makes sense, considering that multiplication and division are the same thing, as are addition and subtraction.)
I don't think that it matters which order multiplication and division are done in if multiplication is on the left. (4*2)/3 = 4*(2/3). But if it's written the other way, the left-most rule applies, division is done first, and you get the correct answer: 4/2*3 = (4/2)*3 = 6. If you did the multiplication first, you'd get 2/3, which is wrong.
Rob
|
Greetings!
I added a very simple indicator to my chart. Here's the formula: C*1.03. I wanted a marker 3% over the closing price. I am testing it against a stock that closed at 52.3. The Test Formula button gives me the correct answer of 53.87. I am drawing both the closing price of the stock and the indicator as lines. The line for the indicator is very close to the line for the closing prices. Using the pointer tool and clicking at the end of the indicator line, I see that its value is about 52.43, which is a difference of about 0.25%, not the 3% I was expecting. Why did this happen?
Rob Richardson
|
Bruce,
Yes, I figured I'd have to reproduce the denominator. It's too bad we don't have a nice little IIF() method guaranteed to evaluate only one of its two expressions.
Rob
|
Greetings!
I saw the following PCF in another thread:
100/(1+((H+L+C>H1+L1+C1)*(H+L+C)*V +(H1+L1+C1>H2+L2+C2)*(H1+L1+C1)*V1 +(H2+L2+C2>H3+L3+C3)*(H2+L2+C2)*V2 +(H3+L3+C3>H4+L4+C4)*(H3+L3+C3)*V3 +(H4+L4+C4>H5+L5+C5)*(H4+L4+C4)*V4 +(H5+L5+C5>H6+L6+C6)*(H5+L5+C5)*V5 +(H6+L6+C6>H7+L7+C7)*(H6+L6+C6)*V6 +(H7+L7+C7>H8+L8+C8)*(H7+L7+C7)*V7 +(H8+L8+C8>H9+L9+C9)*(H8+L8+C8)*V8 +(H9+L9+C9>H10+L10+C10)*(H9+L9+C9)*V9)/((H+L+C<H1+L1+C1)*(H+L+C)*V +(H1+L1+C1<H2+L2+C2)*(H1+L1+C1)*V1 +(H2+L2+C2<H3+L3+C3)*(H2+L2+C2)*V2 +(H3+L3+C3<H4+L4+C4)*(H3+L3+C3)*V3 +(H4+L4+C4<H5+L5+C5)*(H4+L4+C4)*V4 +(H5+L5+C5<H6+L6+C6)*(H5+L5+C5)*V5 +(H6+L6+C6<H7+L7+C7)*(H6+L6+C6)*V6 +(H7+L7+C7<H8+L8+C8)*(H7+L7+C7)*V7 +(H8+L8+C8<H9+L9+C9)*(H8+L8+C8)*V8 +(H9+L9+C9<H10+L10+C10)*(H9+L9+C9)*V9+.00001))
I understand that the .00001 is added to avoid the possibility of dividing by zero. But in a function that has a continuous range of possible values that includes both 0 and -0.00001, isn't it just as likely that the function's value will be -0.00001 as it is to be exactly zero? Is there some generic way, perhaps using the SGN() function, to ensure that division by zero cannot possibly happen?
Rob Richardson
|
Jim,
I never even thought about precedence in an expression like "a/bc". If I came across that, I would probably handle it the way the society says I should without even thinking about it. I am a reasonably mathematical person, but I would have proceeded to come up with the correct answer without any consideration that I was violating a rule I've known since second grade!
Rob
|
The link labeled "July Sectors Games" gets to a page that says that the deadline for entry is 6/30/2005. Is there going to be a contest for July? Is the fact that I couldn't see any way to allocate my money among sectors due to the fact that the June contest had ended?
Rob
|
|