Library "catchChecks" Type Check for Function Builders to allow Single item to be passed in, and determine what to do with the item, ie: need an x value? function that allows label, line, box, float, or even a string.. check item type? string ? 'str.tonumber(_item)' can be in the same switch as a 'line.get_price(_item, bar_index)' both outputting float or for pulling a value from simple, array, or matrix, one function that can switch between them. reduce overhead of many functions. there are many ways to use this tool, the simplest may be string/floats on one switch or grabbing colors from line/fill/label please Share any great recipes you come up with!
typeIs(_temp, _doMeth) Input anything.. Determine what it is.
Parameters: _temp: (any) Matrix, Array, or Simple Item _doMeth: (bool) True for M/A/S , false for int/float/string.. etc..
Returns: (string) Type of item checked. ('bool' .. or 'array'.. etc..)
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.