Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Profile: thecurve
About
User Name: thecurve
Groups: Gold User, Member, Platinum User, TeleChart
Rank: Registered User
Real Name:
Location
Occupation:
Interests:
Gender: Unsure
Statistics
Joined: Thursday, October 7, 2004
Last Visit: Thursday, September 25, 2008 1:01:11 PM
Number of Posts: 69
[0.02% of all post / 0.01 posts per day]
Avatar
Last 10 Posts
Topic: MAX2D FORCE
Posted: Thursday, September 25, 2008 12:03:05 PM
Bruce,

   Can you go along with me although incorrect.  The fx I listed DOES an excellent job of finding entries for LONG positions.  IFFFF you had to reverse translate it for SHORTS what would you change: 1+6/7; (Cx-6/7)???

   Thank you
Topic: MAX2D FORCE
Posted: Thursday, September 25, 2008 10:55:39 AM
BRUCE,

   In the following post a fx for MIN 13D FORCE. ?? Can you write a fx for MAX 2D FORCE (LAST 15 DAYS)??

THANKS
-----------------------------------------------------------------------------------------------------------------------------------------
Bruce,

I assume the request is for a PCF equivalent to the form:

XAVGC13.0 < XAVGC13.1
AND XAVGC13.0 < XAVGC13.2
AND ...
AND XAVGC13.0 < XAVGC13.9

with C replaced by (C-C1)*V.

The direct method would require 18 series expansions of the EMAs.  We will show that it can be done with 9 series expansions of the EMAs  and 9 truncated series expansions of the EMAs.  The number of terms in the 9 truncated series expansions is 1,2,...,9.

The series expansion for XAVGCP is:

(1-a)*(a^0*C0+a^1*C1+...+a^k*Ck+...)

where a = (P-1)/(P+1).  Let XAVGCP.Q,R represent XAVGCP.Q with the series portion truncated to R terms, i.e., XAVGCP.Q,R is defined to be:

(1-a)*(a^0*CQ+a^1*C(Q+1)+...+a^(R-1)*C(Q+R-1))

Theorem:  Define a = (P-1)/(P+1).  Then, for N < M,

XAVGP.N - XAVGCP.M = XAVGP.N,(M-N) - (1-a^(M-N))*XAVGCP.M

As an application of the Theorem, let P = 13, N = 2. M = 7.  Then,

XAVG13.2 - XAVGC13.7

is equivalent to:

(1-6/7)
*(C2+6/7
*(C3+6/7
*(C4+6/7
*(C5+6/7
*(C6)))))
-(1-(6/7)^5)*XAVGC13.7

An application of the Theorem to each of the 9 inequalities results in each of the Cs replaced by (C-C1)*V being written only once and then in a particularly simple form.

For better accuracy, I would be inclined to approximate the infinite series of only XAVGC13.9.

I do not believe we can simplify more than I have indicated.

Your comments will be appreciated.

Thanks,
Jim Murphy
--------------------------------------------------------------------------------------------------------------------------------------
Topic: SGN FUNCTION TRANSLATION
Posted: Tuesday, August 12, 2008 12:01:27 PM
Hi Bruce,

    You're right the trading platform I use does not have an ABS fn.  I would be using the above syntax for the c/o of OBV (?- does the fx you wrote give the 10sma or 0 c/o?).
Thanks
Topic: SGN FUNCTION TRANSLATION
Posted: Tuesday, August 12, 2008 10:35:27 AM
Bruce,

  You wrote this fx last time for a generic OBV xUP it's 10sma:

9 * SGN(C - C1) * V + 8 * SGN(C1 - C2) * V1 + 7 * SGN(C2 - C3) * V2 + 6 * SGN(C3 - C4) * V3 + 5 * SGN(C4 - C5) * V4 + 4 * SGN(C5 - C6) * V5 + 3 * SGN(C6 - C7) * V6 + 2 * SGN(C7 - C8) * V7 + SGN(C8 - C9) * V8 > 0 AND 9 * SGN(C1 - C2) * V1 + 8 * SGN(C2 - C3) * V2 + 7 * SGN(C3 - C4) * V3 + 6 * SGN(C4 - C5) * V4 + 5 * SGN(C5 - C6) * V5 + 4 * SGN(C6 - C7) * V6 + 3 * SGN(C7 - C8) * V7 + 2 * SGN(C8 - C9) * V8 + SGN(C9 - C10) * V9 <= 0

Is this the correct way to translate the SGN function:

SGN(C-C1) =  (((C-C1)/(C-C1)2).05)  i.e., (X / absX) ?  If not are you able to write a simplified fx re. SGN?
Thanks
SC
Topic: OBV
Posted: Friday, August 8, 2008 11:52:02 AM
Good for you!
Topic: OBV
Posted: Friday, August 8, 2008 10:34:03 AM
Bruce,

    I glanced at another formula than the above (xavgs), now realize the formula you provided is Ok.  When you said that you'll do your best, what xavg's were you seeing?!

Your the best, I mean it, and thanks.
Topic: OBV
Posted: Friday, August 8, 2008 10:19:10 AM
Bruce,

   Oh dear!  Nested xavg's!.   Is it too much to ask for a translation?!  and that will be that this week, promise!
SC
Topic: OBV
Posted: Friday, August 8, 2008 10:15:58 AM
Bruce, thank you so much!
Topic: OBV
Posted: Thursday, August 7, 2008 9:26:15 AM
My guess is that you are asking for PCFs for conditions on OBV that are written without using the OBV notation.  For example, a PCF for OBV today greater than it was two days ago can be written:
OBV1.0 > OBV1.2 or without using the OBV notation as: SGN(C0-C1)*V0 + SGN(C1-C2)*V1 > 0 
Jim Murphy

Would you provide me the equation (as above) for OBV1.0xUP10SMA?
Thanks again,
SC
Topic: OBV
Posted: Wednesday, August 6, 2008 1:25:50 PM
Your are correct and thank you.  Would you also be able to supply the c/o of its' 10dsma? Thanks, again.