TulipCharts / tulipindicators

Technical Analysis Indicator Function Library in C
https://tulipindicators.org/
GNU Lesser General Public License v3.0
818 stars 154 forks source link

Adding Donchian Channels #111

Open losvelle opened 3 years ago

losvelle commented 3 years ago

Looking to see if Donchian Channels can be added

gokhanbaydar commented 2 years ago

you can easily accomplish that using the min, max functions given by the tulip indicators for fast calculation: upper_donchian = ti.max(high, period) lower_donchian = ti.min(low, period)