PINE LIBRARY

Primes_1

173
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_1"
Prime Numbers 2 - 339.991

primes_a()
  Prime numbers 2 - 81.689

primes_b()
  Prime numbers 81.701 - 175.897

primes_c()
  Prime numbers 175.909 - 273.997

primes_d()
  Prime numbers 274.007 - 339.991

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.