Supertrend.DownTrend
property · Supertrend · cAlgo.API.Indicators
DesktopCLICloud
Gets the Supertrend Down trend data series
Definition
IndicatorDataSeries DownTrend {get; set;}
supertrend.DownTrend: IndicatorDataSeries
Returns IndicatorDataSeries
Examples
var supertrend = Indicators.Supertrend(10, 3);
if (!double.IsNaN(supertrend.DownTrend.Last(1)))
Print("Down trend, Supertrend resistance at {0}", supertrend.DownTrend.Last(1));
import math
supertrend = api.Indicators.Supertrend(10, 3)
if not math.isnan(supertrend.DownTrend.Last(1)):
api.Print(f"Down trend, Supertrend resistance at {supertrend.DownTrend.Last(1)}")