PINE LIBRARY

SizeAndPlace

Updated
Library "SizeAndPlace"
size and location shortcuts

posYtoInt(string) posYtoInt as titled..
  Parameters:
    string: _inp

posXtoInt(string) posXtoInt as titled..
  Parameters:
    string: _inp

sizeToInt(string) sizeToInt as titled..
  Parameters:
    string: size

sizeToString(int) sizeToString as titled..
  Parameters:
    int: size

sizeStringToSize(string) sizeStringToSize as titled..
  Parameters:
    string: size

locationIntToStr(int) locationIntToStr as titled..
  Parameters:
    int: inp

locStringToLoc(string) locStringToLoc as titled..
  Parameters:
    string: location

posIntToString(int, int) posIntToString as titled..
  Parameters:
    int: _x
    int: _y
Release Notes
v2

Breaking...
cleanup.

Added:
table_posittion(_inp)
  table posittion from integer
  Parameters:
    _inp: 1-9

size(txtSize)
  Size by Short String for input to string
  Parameters:
    txtSize

location(_inp)
  location from number
  Parameters:
    _inp: Sttring name

Removed:
posYtoInt(_inp)
  posYtoInt as titled..

posXtoInt(_inp)
  posXtoInt as titled..

sizeToInt(size)
  sizeToInt as titled..

sizeToString(size)
  sizeToString as titled..

sizeStringToSize(txtSize)
  sizeStringToSize as titled..

locationIntToStr(inp)
  locationIntToStr as titled..

locStringToLoc(location)
  locStringToLoc as titled..

posIntToString(_x, _y)
  posIntToString as titled..
formatting

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer