NexusFi: Find Your Edge


Home Menu

 





Trend Calculation - what offset to use ?


Discussion in EasyLanguage Programming

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




 
Search this Thread

Trend Calculation - what offset to use ?

  #1 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146

I trade with 200 tick charts...which can be noisy. However, I plot an adaptive moving average with a period of 50....i.e. 10,000 trades. It works well, but I need to make a trend determination.
Given 50 bars, what should the delta be to determine the trend ?
Avg[0] - Avg[10] where 10 would be based on the period.....so 50 = 10, 100 = 20.....
these are only examples.
If the offset is too small, any slight change in the trend will be detected.
This of course would be the pullbacks....which absolutely KILL ME.
So I want an offset that would ignore the PB's.
Should I backtest this, or do one of you have a rule-of-thumb for this determination ?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Exit Strategy
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Bigger Wins or Fewer Losses?
24 thanks
Tao te Trade: way of the WLD
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090



syswizard View Post
I trade with 200 tick charts...which can be noisy. However, I plot an adaptive moving average with a period of 50....i.e. 10,000 trades. It works well, but I need to make a trend determination.
Given 50 bars, what should the delta be to determine the trend ?
Avg[0] - Avg[10] where 10 would be based on the period.....so 50 = 10, 100 = 20.....
these are only examples.
If the offset is too small, any slight change in the trend will be detected.
This of course would be the pullbacks....which absolutely KILL ME.
So I want an offset that would ignore the PB's.
Should I backtest this, or do one of you have a rule-of-thumb for this determination ?

you are right 200t is very noisy, so much that it will chop up whatever trend indicator you use, switch to fib indicator look for reversal points instead

Attached Thumbnails
Click image for larger version

Name:	NQ 06-19 (200 Tick)  4_25_2019.jpg
Views:	201
Size:	117.0 KB
ID:	265275  
Reply With Quote
  #4 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146


cory View Post
you are right 200t is very noisy, so much that it will chop up whatever trend indicator you use, switch to fib indicator look for reversal points instead

Not big on fibs....in fact, fib charts give me a huge headache.
200t is easily tamed with a 50 period moving average.....just that I need to determine trend from the average.
Using least squares regression for trend is overkill IMHO....just need to look-back a certain period.

Started this thread Reply With Quote




Last Updated on April 26, 2019


© 2024 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 - Privacy Policy - Downloads - Top
no new posts