PINE LIBRARY

AutoColor

1 775
Library "AutoColor"
Function provides rgb color based on deviation of highest and lowest value for the period from current value

fColor(src1, len1) Calculates rgb color based on deviation of highest and lowest value for the period from current value
Parameters:
  • src1: Series to use (`close` is used if no argument is supplied).
  • len1: Length for highest and lowest series (`10` is used if no argument is supplied).

Returns: color for series

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。