NexusFi: Find Your Edge


Home Menu

 





WillTrend Indicator


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Afriend247 with 5 posts (0 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 Lampert with 1 posts (0 thanks)
    4. looks_4 bobwest with 1 posts (0 thanks)
    1. trending_up 9,040 views
    2. thumb_up 1 thanks given
    3. group 5 followers
    1. forum 11 posts
    2. attach_file 3 attachments




 
Search this Thread

WillTrend Indicator

  #1 (permalink)
noumann
Napoli/italy
 
Posts: 2 since Jun 2012
Thanks Given: 0
Thanks Received: 0

Hi everyone,
i read kottgolf's thread "Trying to program WillTrend by Larry Williams".I'm trying to understand what kind indicator is this,plotted on the monthly chart of eurostoxx 50:



The author says that it is based on range,volatility and the position of the closes in the last n bars and that it works on any time frame without modifications(so i presume it's adaptive) .When High touches the upper band(blue line) a buy signal is given,when low touches the lower band(red) a sell signal is given.Furthermore,in the graph you can see two grey lines:If we are long and prices(low) touch the lower grey line,the market becomes neutral;if we are short and prices(high)touch the upper grey line,the market becomes neutral.
In other words,the indicator gives, at the end of every period, the levels of trend changes for the next period. It seems to me that it's a kind of willtrend indicator or adaptive atr bands.
I don't know other.
Thank you all and forgive my poor english

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
 
  #3 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690



noumann View Post
In other words,the indicator gives, at the end of every period, the levels of trend changes for the next period. It seems to me that it's a kind of willtrend indicator or adaptive atr bands.
I don't know other.

See the https://nexusfi.com/easylanguage-programming/17783-trying-program-willtrend-larry-williams.html thread.

Reply With Quote
  #4 (permalink)
 
Lampert's Avatar
 Lampert 
Calgary, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: IB, IQFeed
Trading: GC
Posts: 76 since Nov 2011
Thanks Given: 73
Thanks Received: 142


noumann View Post
I'm trying to understand what kind indicator is this, plotted on the monthly chart of eurostoxx 50:


noumann - Could you state your objective more clearly? You have made two posts about this indicator which was developed by Francesco Caruso. He called it the Change of Trend Point system, but now it is called the Disciplined Investor or the Algorithm "ID". Mr Caruso says that this is an indicator that "no one else could imitate or copy" but apparently he will provide more information if you subscribe to his analysis service.

Len

Reply With Quote
  #5 (permalink)
Afriend247
Los Angeles, California
 
Posts: 9 since Sep 2022
Thanks Given: 3
Thanks Received: 2

I know this is an old Post, but I have not been able to find an answer here or anywhere. And this post comes up first on my web search. I have the answer. Here it is:
upperBand = ((high-low)/2 + 2.236) * atr(66)
lowerBand = ((high-low)/2 - 2.236) * atr(66)

If your programming language does its math from left you right, you WON'T need the parenthesis.


noumann View Post
Hi everyone,
i read kottgolf's thread "Trying to program WillTrend by Larry Williams".I'm trying to understand what kind indicator is this,plotted on the monthly chart of eurostoxx 50:

Attachment 78916

The author says that it is based on range,volatility and the position of the closes in the last n bars and that it works on any time frame without modifications(so i presume it's adaptive) .When High touches the upper band(blue line) a buy signal is given,when low touches the lower band(red) a sell signal is given.Furthermore,in the graph you can see two grey lines:If we are long and prices(low) touch the lower grey line,the market becomes neutral;if we are short and prices(high)touch the upper grey line,the market becomes neutral.
In other words,the indicator gives, at the end of every period, the levels of trend changes for the next period. It seems to me that it's a kind of willtrend indicator or adaptive atr bands.
I don't know other.
Thank you all and forgive my poor english


Reply With Quote
  #6 (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


Afriend247 View Post
I know this is an old Post, but I have not been able to find an answer here or anywhere. And this post comes up first on my web search. I have the answer. Here it is:
 
Code
upperBand = ((high-low)/2 + 2.236) * atr(66)
lowerBand = ((high-low)/2 - 2.236) * atr(66)

Wow, how were the 2.236 and 66 values derived ?

Reply With Quote
  #7 (permalink)
Afriend247
Los Angeles, California
 
Posts: 9 since Sep 2022
Thanks Given: 3
Thanks Received: 2

That is what Larry Williams had in his presentation. He showed an image of a chart with the WillTrend indicator and the settings were there for everyone to see. Not sure how he came up with those values. I tried to add an image, but the posting here is archaic, cannot paste an image. I need to upload it somewhere and place the link here. Really? LOL not going to do all that. Sorry.


syswizard View Post
Wow, how were the 2.236 and 66 values derived ?


Reply With Quote
  #8 (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,513
Thanks Received: 26,292


Afriend247 View Post
I'll tried to add an image, but the posting here is archaic, cannot paste an image. I need to upload it somewhere and place the link here. Really? LOL not going to do all that. Sorry.

Not really.

I used the Windows snipping tool to capture an image from a chart to the clipboard (I could have used any other image capture tool), and then did a copy-paste (ctl-v) into the editor window:




Not that archaic.

If something doesn't work the way you think it should, just ask. Maybe in fact there's a way.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
  #9 (permalink)
Afriend247
Los Angeles, California
 
Posts: 9 since Sep 2022
Thanks Given: 3
Thanks Received: 2

Well, I am not allowed to paste a clip or post a link unless I have 5 posts. Sorry, this may work, but not for me. Thanks anyway.
bobwest View Post
Not really.

I used the Windows snipping tool to capture an image from a chart to the clipboard (I could have used any other image capture tool), and then did a copy-paste (ctl-v) into the editor window:



Not that archaic.

If something doesn't work the way you think it should, just ask. Maybe in fact there's a way.

Bob.


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


Larry Williams' WillTrend indicator, though, is not the one pointed out in the first post by: noumann, because this is the indicator (...it resembles a SuperTrend):

https://postimg.cc/5jCQKQbF

so the formula could be this:

-----------------------------------------------------------------------

{WillTrend - by Larry Williams}

Inputs:
Period(66),
ATRMultiplication(2.236),
MidPriceVar(10);

Variables:
upperBand(0), lowerBand(0), atr(0), trail(0),
midPrice1(0), midPrice2(0), midPrice(0);

atr = AvgTrueRange(Period) * ATRMultiplication;


midPrice1=Lowest(low,MidPriceVar);
midPrice2= Highest(high,MidPriceVar);
midPrice= (midPrice1 + midPrice2)/2;

lowerBand= midPrice + atr;
upperBand= midPrice - atr;


trail = IFF(Close > trail[1] and Close[1] > trail[1], MaxList(trail[1], upperBand),
IFF(Close < trail[1] and Close[1] < trail[1], MinList(trail[1], lowerBand),
IFF(Close > trail[1], upperBand, lowerBand)));


Plot1(trail);

if (Close > trail) then
SetPlotColor(1, green)
else
SetPlotColor(1, red);

------------------------------------------------------------------------

Reply With Quote
Thanked by:




Last Updated on October 17, 2022


© 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