Platinum Customer
Joined: 10/20/2008 Posts: 357
|
Hello,
I need help to create and plot centerline for Donhian please.Thanks.
|
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.
|