PINE LIBRARY

Primes_3

69
These libraries (Primes_1 -> Primes_4) contain arrays of reduced Prime Numbers to minimize the amount of tokens, allowing more information to be exported.

Values, for example:
Pine Script®
7001, 7013, 7019, 7027, 7039, 7043, 7057, 7069, 7079, 7103, 7109, 7021

are reduced to:
Pine Script®
7001, 13, 19, 27, 39, 43, 57, 69, 79, 7103, 9, 21


With the restoreValues() function found in the Primes_4 library, the reduced values can be restored back to its original state.
Pine Script®
7001, 13, 19, 27, 39, 43, 57, 69, 79, 7103, 9, 21

is restored back to:
Pine Script®
7001, 7013, 7019, 7027, 7039, 7043, 7057, 7069, 7079, 7103, 7109, 7021


The libraries contain all Prime Numbers from 2 to 1.340.011

------------------------------------------------------------

Library "Primes_3"
Prime Numbers 713.021 - 1.095.989

primes_a()
  Prime numbers 713.021 - 820.997

primes_b()
  Prime numbers 821.003 - 928.979

primes_c()
  Prime numbers 929.003 - 1.038.953

primes_d()
  Prime numbers 1.039.001 - 1.095.989

免責聲明

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