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 |

Indicator Formula Help Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
garofjm
Posted : Monday, November 19, 2012 7:40:18 PM
Registered User
Joined: 11/15/2012
Posts: 7

Hello Worden Trainer,

I hope that you are doing well.  I wanted to see if you could help me create a couple indicator formulas that I used with my last charting software.   I am going to write them out with the formulas from the other software so I hope that it makes some sense.  If not, I will work with you to try and figure it out.  Thank you for your help!

1. MovAvg (Open - Close, bars used in Avg) / MovAvg (Range, bars used in Avg) * 50+50

    The Bars used in the Average would be "6"  

2. CumulativeSum (Open Interest * (Close - Close .1) / (True High - True Low)) + OBV

     The .1 is yesterdays close like worden has in their formulas.

3. MovAvg (Abs (Close - Open), X Days) / MovAvg ((True High - True Low), X Days) * 100

    "X" would equal 1 for this formula

4. Swing Point (Strength, Swing Point Method, Alt Mode): The settings for these would be Swing Point (1,0,2)

     For identifying swing points on the chart, I would like to have lines (or just dots) connecting swing point highs from swing point lows.  The criteria I have for a swing high is any bar that has lower highs on each side.  For a swing low, just the opposite, any bar that has higher lows on each side.

garofjm
Posted : Monday, November 19, 2012 7:41:16 PM
Registered User
Joined: 11/15/2012
Posts: 7

Thanks again for all your help.

Justin

Bruce_L
Posted : Tuesday, November 20, 2012 8:51:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

QUOTE (garofjm)
1. MovAvg (Open - Close, bars used in Avg) / MovAvg (Range, bars used in Avg) * 50+50

    The Bars used in the Average would be "6"  

Please try using the following Indicator Formula:

50 * (AVGO6 - AVGC6) / (AVGH6 - AVGL6) + 50

QUOTE (garofjm)
2. CumulativeSum (Open Interest * (Close - Close .1) / (True High - True Low)) + OBV

     The .1 is yesterdays close like worden has in their formulas.

You cannot include Open Interest in a formula as the Personal Criteria Formula Language does not have syntax for fundamentals. In addition, the actual value of OBV is completely meaningless.

Dealing with OBV & MS in PCF's - how to interp their "values"
PCF Formula Descriptions

QUOTE (garofjm)
3. MovAvg (Abs (Close - Open), X Days) / MovAvg ((True High - True Low), X Days) * 100

    "X" would equal 1 for this formula

100 * ABS(C - O) / ((H -L + ABS(H - C1) + ABS(C1 - L)) / 2)

Please provide a description and PCF for calculating an ATR value to be used as a stop loss value

QUOTE (garofjm)
4. Swing Point (Strength, Swing Point Method, Alt Mode): The settings for these would be Swing Point (1,0,2)

     For identifying swing points on the chart, I would like to have lines (or just dots) connecting swing point highs from swing point lows.  The criteria I have for a swing high is any bar that has lower highs on each side.  For a swing low, just the opposite, any bar that has higher lows on each side.

I'm guessing the (1,0,2) formula means there need to be two lower highs or two higher lows on either side?

Start by creating the following Custom PCF Indicator for the Swing Point High where it is first detected:

- Plot Style: Doesn't matter (because of the Plot Opacity setting below).
- Plot Color: Doesn't matter (because of the Plot Opacity setting below).
- Period: 1
- Average Type: Doesn't matter (becasue the Period is set to 1).
- Formula: H2 * ABS(H2 > MAXH2.3 AND H2 > MAXH2)
- Line Style: Doesn't matter (because of the Plot Opacity setting below).
- Line Width: Doesn't matter (because of the Plot Opacity setting below).
- Plot Opacity: All the way to the left.

Then create a Custom PCF Indicator for the Swing Point Low where it is first detected using the same settings as above with the exception of changing the Formula to:

L2 * ABS(L2 < MINL2.3 AND L2 < MINL2)

Now add 1-Period Simple Moving Averages to both Custom PCF Indicators and set the Offset to -2 (the negative is important). I would probably set the Plot Style of these Moving Average indicators to Dots.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
garofjm
Posted : Tuesday, November 20, 2012 9:51:06 AM
Registered User
Joined: 11/15/2012
Posts: 7

Thank you Bruce!  I did not know that Open Interest could not be included in custom indicators.  I was trying to search for a solution all day yesterday on the forums.  I have a couple of other questions concerning setting up Easy Scans, but I will post those later this morning b/c I want to be sure I have everything I want to set up first.  Thank you again for your time and help.

Justin

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.