We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/// Normalized Average True Range /// - Parameter inputs: An array of Quotable elements. public func natr<T: Quotable>(_ inputs: [T], period n: Int) -> (Int, [Double]) { return Tulip.shared.call_indicator(name: "natr", inputs: HLC(inputs), options: [Double(n)]) }
Quotable
Remove next:
/// Normalized Average True Range /// - Parameter inputs: An array of Quotable elements. public func nvi<T: Quotable>(_ inputs: [T], period n: Int) -> (Int, [Double]) { return Tulip.shared.call_indicator(name: "natr", inputs: CV(inputs), options: [Double(n)]) }
Replace with:
/// Negative Volume Index /// - Parameter inputs: An array of Quotable elements. public func nvi<T: Quotable>(_ inputs: [T]) -> (Int, [Double]) { return Tulip.shared.call_indicator(name: "nvi", inputs: CV(inputs), options: []) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/// Normalized Average True Range
/// - Parameter inputs: An array of
Quotable
elements.public func natr<T: Quotable>(_ inputs: [T], period n: Int) -> (Int, [Double]) {
return Tulip.shared.call_indicator(name: "natr", inputs: HLC(inputs), options: [Double(n)])
}
Remove next:
/// Normalized Average True Range
/// - Parameter inputs: An array of
Quotable
elements.public func nvi<T: Quotable>(_ inputs: [T], period n: Int) -> (Int, [Double]) {
return Tulip.shared.call_indicator(name: "natr", inputs: CV(inputs), options: [Double(n)])
}
Replace with:
/// Negative Volume Index
/// - Parameter inputs: An array of
Quotable
elements.public func nvi<T: Quotable>(_ inputs: [T]) -> (Int, [Double]) {
return Tulip.shared.call_indicator(name: "nvi", inputs: CV(inputs), options: [])
}
The text was updated successfully, but these errors were encountered: