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 mesuteryilmaz with 1 posts (0 thanks)
    4. looks_4 April with 1 posts (0 thanks)
    1. trending_up 6,749 views
    2. thumb_up 8 thanks given
    3. group 7 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread
  #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?
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
Roland Garros Final Day: $3M on Zverev at 80.5% -- Leban …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Warsh Rate Hike at 40%, Iran June 15 Expires Tonight at …
Prediction Markets & Event Contracts
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
 
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
  #2 (permalink)
 April 
Boston
 
Posts: 10 since Nov 2013

not unless you can define trend.


Reply With Quote
  #3 (permalink)
Shaban
Turin + Italy
 
Posts: 201 since Feb 2020
Thanks Given: 26
Thanks Received: 138


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: 201 since Feb 2020
Thanks Given: 26
Thanks Received: 138

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,175 since Jan 2013
Thanks Given: 57,995
Thanks Received: 26,421


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: 201 since Feb 2020
Thanks Given: 26
Thanks Received: 138

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


© 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