NexusFi: Find Your Edge


Home Menu

 





Trend Calculation - what offset to use ?


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #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?
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
CFTC Approves First US Bitcoin Perpetual Futures -- Kals …
Traders Hideout
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
196 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
BERN ALGOS algo trading journal
8 thanks
Volume Indicators
8 thanks
  #3 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098



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:	283
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


© 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