Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Donchian Center Line Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
arathod
Posted : Monday, January 30, 2017 2:32:32 PM
Platinum Customer Platinum Customer

Joined: 10/20/2008
Posts: 357

Hello,

I need help to create and plot centerline for Donhian please.Thanks.

StockGuy
Posted : Monday, January 30, 2017 2:40:16 PM

Administration

Joined: 9/30/2004
Posts: 9,187

If you plot Dochian channels you can turn on the center line plot by editing the indicator.  But if you need the formula you can use:

plot = (price.MaxHigh(15, 1) + price.MinLow(15, 1)) / 2

This assumes a period of 15 and an offset of 1.

 

Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.