NexusFi: Find Your Edge


Home Menu

 





Trend Calculation - what offset to use ?


Discussion in EasyLanguage Programming

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




 
 

Trend Calculation - what offset to use ?

 
 
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

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
Are there any eval firms that allow you to sink to your …
Traders Hideout
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
Battlestations: Show us your trading desks!
26 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
The Program
17 thanks
 
 
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:	198
Size:	117.0 KB
ID:	265275  
 
 
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

 



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