NexusFi: Find Your Edge


Home Menu

 





Is there a script or indicator that determines a sideways or trend?


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Shaban with 3 posts (2 thanks)
    2. looks_two MasterYan with 2 posts (0 thanks)
    3. looks_3 bobwest with 1 posts (6 thanks)
    4. looks_4 mesuteryilmaz with 1 posts (0 thanks)
    1. trending_up 5,929 views
    2. thumb_up 8 thanks given
    3. group 7 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

Is there a script or indicator that determines a sideways or trend?

  #1 (permalink)
MasterYan
San Francisco, CA
 
Posts: 30 since Jul 2016
Thanks Given: 13
Thanks Received: 4

Is there a script or indicator that determines a sideways, long or short trend now in the market?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
 
  #2 (permalink)
 April 
Boston
 
Posts: 10 since Nov 2013

not unless you can define trend.

Reply With Quote
  #3 (permalink)
Shaban
Turin + Italy
 
Posts: 194 since Feb 2020
Thanks Given: 24
Thanks Received: 129


An indicator which can help to identify side periods and also trends quite quickly is the Supertrend;
Here you can see (on page 9) a chart with the Supertrend and its formula:



Another indicator that can confirm the presence of a sideways phase (low volatility) or a trend (high volatility) is the ADX.

Adaptive moving averages can also help you understand when the Market is in a sideways phase (when they are horizontal) or in a trend (when they are tilted).

Reply With Quote
  #4 (permalink)
MasterYan
San Francisco, CA
 
Posts: 30 since Jul 2016
Thanks Given: 13
Thanks Received: 4


Shaban View Post
An indicator which can help to identify side periods and also trends quite quickly is the Supertrend;
Here you can see (on page 9) a chart with the Supertrend and its formula:



Another indicator that can confirm the presence of a sideways phase (low volatility) or a trend (high volatility) is the ADX.

Adaptive moving averages can also help you understand when the Market is in a sideways phase (when they are horizontal) or in a trend (when they are tilted).

What do you think about ADX?

Reply With Quote
  #5 (permalink)
Shaban
Turin + Italy
 
Posts: 194 since Feb 2020
Thanks Given: 24
Thanks Received: 129

ADX is an interesting indicator to measure the strength of a trend or side phases and it is easy to insert it in a Trading System code, example: and ADX (14)>30 then... (or: and ADX (14)<30 then...);
it is also worth trying to invert the values, as suggested in this T.S. (the explanation is in Italian but it can be easily translated into English by selecting the language):

https://tradingsystemreports.blogspot.com/2012/11/oltre-il-trend-following-un-trading.html

Here is a video of one of the teachers of the Unger Academy in which he demonstrates with a code in easylanguage, that using the ADX in a different way from the classic Welles Wilder, you get better results (maybe with Google you can find the video in English):

https://ungeracademy.com/it/blog/adx-and-trading-systems-or-come-funziona-l-indicatore-adx-or-parte-2-2

Reply With Quote
Thanked by:
  #6 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,514
Thanks Received: 26,292


MasterYan View Post
Is there a script or indicator that determines a sideways, long or short trend now in the market?

I have to say that, if you have this and if it is reliable, you will soon become a very, very wealthy trader. This is something that would answer all trading questions, basically.

There are some indicators or other tools that attempt to do this, and perhaps they can be put to use in assessing the status of the market to some degree. But is there something nice and simple that you can download, that will reliably give a straightforward verdict that you can count on? Alas, probably not.

I don't think you should be expecting an indicator to solve this question. It would be great if it did, certainly. But everyone is working on trying to answer the questions of what is the present character of the market (what is it doing?) and what will be the next profitable trade (what should I do?). This is really the whole issue in trading. One version of these questions is the one you ask. An indicator is not going to just hand you the solution. Trading is just not that simple.

Sorry. And believe me, I really am. I would love to have it, too.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
  #7 (permalink)
 mesuteryilmaz 
istanbul turkey
 
Experience: None
Platform: meta
Trading: eur
Posts: 6 since Oct 2012
Thanks Given: 9
Thanks Received: 1


bobwest View Post
I have to say that, if you have this and if it is reliable, you will soon become a very, very wealthy trader. This is something that would answer all trading questions, basically.

There are some indicators or other tools that attempt to do this, and perhaps they can be put to use in assessing the status of the market to some degree. But is there something nice and simple that you can download, that will reliably give a straightforward verdict that you can count on? Alas, probably not.

I don't think you should be expecting an indicator to solve this question. It would be great if it did, certainly. But everyone is working on trying to answer the questions of what is the present character of the market (what is it doing?) and what will be the next profitable trade (what should I do?). This is really the whole issue in trading. One version of these questions is the one you ask. An indicator is not going to just hand you the solution. Trading is just not that simple.

Sorry. And believe me, I really am. I would love to have it, too.

Bob.

and Bob rests his case.
👍👌🙃

Reply With Quote
  #8 (permalink)
Shaban
Turin + Italy
 
Posts: 194 since Feb 2020
Thanks Given: 24
Thanks Received: 129

If it helps you, you could try the function: ChoppyMarketIndex, made by George Pruitt in his book:
Building Winning Trading System with Tradestation -2a ed, which was reported here:


Reply With Quote
Thanked by:




Last Updated on November 20, 2021


© 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