NexusFi: Find Your Edge


Home Menu

 





5 & 30 day price Trend vs market


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,748 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
heybone
Sottsdale AZ
 
Posts: 2 since May 2014
Thanks Given: 0
Thanks Received: 0

Hi fellow traders,

I was wondering if any of you guys/gals knew how to get a 5 & 30 day price trend vs market? I would like to have the ability to create an industry watch list with each of these studies to help determine performance relative to S&P. I believe the formula is:

100*((latest close of stock/latest close of S&P) / (XX period day close of stock/ XX period day close of S&P))

Thanks in advance!

Cheers,


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Friday Update: Markets Now Pricing Fed Rate HIKES as Sta …
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,585 since Aug 2011
Thanks Given: 2,095
Thanks Received: 9,704

you are trying to do. But, I'd have a couple suggestions.

Utilize % change last 5 days individual equity versus % change last 5 days ES. This way you have the ability to plot or call a universal number. The 8 dollar stock and the 80 dollar stock will have an equal measure against the ES. This would be more sophisticated if it measured each equity in index points, but Im not sure that is necessary or beneficial.

Make the period a variable so it can be changed in the settings of the indicator. Are you trying to evaluate the 5 period versus the 30 period or do you want to see the 5 period and see the 30 period independent of each other.

This is not a difficult calculation and would be a snap for many of the qualified code guys at NexusFi (formerly BMT).

You might get some interesting input if you describe what you are trying to do.

DB


Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
wldman's Avatar
 wldman 
Chicago Illinois USA
Market Wizard
 
Experience: Advanced
Broker: IB, ToS
Trading: /ES, US Equities/Options
Frequency: Several times daily
Duration: Hours
Posts: 3,585 since Aug 2011
Thanks Given: 2,095
Thanks Received: 9,704


Why not use a 5/30 period MACD of % net change? Then you could plot that value as a sortable field in a stock table. If I think of it when I'm logged in tomorrow I'll post what I mean.

On a daily time frame the 5 day would be one week and the 21 day would be a trading month.


Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
heybone
Sottsdale AZ
 
Posts: 2 since May 2014
Thanks Given: 0
Thanks Received: 0

Thanks for the reply Wldman.

Yes your absolutely right, the use of percentage change would be more applicable. Ill have to think about this some more...

In the past I have seen a 5 and 30 day price trend vs market indicator but I'm not sure how it was calculated or where I saw it. I recall the trader using it as indicator to show where money was rotating. It appeared to be a great tool for comparing how the price trend of an ETF (lets say XLE) compared to the market for the 5 and 30 day period. So if the 30 day indicator was around 0.00 and the 5 day indicator was .50 that would show 30 days ago the price trend of the XLE was similar to the market but recently money has been flowing into XLE due to the positive value. A negative value would show the opposite.

Ive looked through TOS and can't seem to find anything resembling this other than PVT but its not relative to the market.

I'm open to other suggestions or alternatives.

Appreciate your feedback,

Cheers


Reply With Quote




Last Updated on May 15, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts