Function Decimal To Binary/Binary To Decimal

NOTE: Experimental. Pinescript implementation of Decimal to Binary and Binary to Decimal that is intended for use in the development of a neural network proof of concept.

  • Intended for use in as subcomponent in the development of a more complex/highly experimental prototype.
  • Protection/logic for edge cases above 11111111/255 (8bits) is NOT implemented.
  • Do NOT use this in any trading system or component without edge case testing/unit tests.

// Decimal to Binary, Binary to Decimal Reference:
// //
Nov 11
Release Notes: Add license MIT
Remove from Favorite Scripts Add to Favorite Scripts
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out