protradingart

pta_plot

protradingart 업데이트됨   
Library "pta_plot"
pta_plot: This library will help you to plot different value. I will keep updating with your requirement

print_array(array_id, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.
릴리즈 노트:
v2

Added:
print_array_float(array_id, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.

print_array_int(array_id, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.

Removed:
print_array(array_id, border_color)
  Display array element as a table.
릴리즈 노트:
v3

Added:
print_array_string(array_id, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.
릴리즈 노트:
v4
릴리즈 노트:
v5

Added:
print_array_bool(array_id, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.
릴리즈 노트:
v6

Added:
peakprofit(longcondition, shortcondition)
  peakprofit: This function will create a label for max profit in trade range.
  Parameters:
    longcondition: is a Boolean Value
    shortcondition: is a Boolean Value
  Returns: peakprofit Create Label on Chart
Instruction: Don't forget to add max_labels_count=500, max_bars_back=500
릴리즈 노트:
v7

Updated:
print_array_float(array_id, position, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    position
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.

print_array_int(array_id, position, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    position: Position of Table
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.

print_array_string(array_id, position, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    position: Position of Table
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.

print_array_bool(array_id, position, border_color)
  Display array element as a table.
  Parameters:
    array_id: Id of your array.
    position: Position of Table
    border_color: Color for border (`color.black` is used if no argument is supplied).
  Returns: Display array element in bottom of the pane.

Removed:
peakprofit(longcondition, shortcondition)
  peakprofit: This function will create a label for max profit in trade range.
릴리즈 노트:
v8

Added:
calcCPR(High, Low, Close)
  Return CPR.
  Parameters:
    High (float)
    Low (float)
    Close (float)
  Returns: CPR Value as Tuple .
릴리즈 노트:
Version 9 Updates:
- `dll` function:
- Function's purpose : Plot a horizontal line and label at a specified price level on the chart.
- Parameters:
- Price (float): The Y value for the line and label.
- Text (string): The text to display alongside the label.
- Color (color): The color for the line and label text.
- Width (int, default=1): The width of the line.
- LineStyle (string, default=line.style_solid): The style of the line.
- Historical (bool, default=false): If true, the line and label will appear on historical chart data.
- Returns: Displays a horizontal line and label on the chart.
- Motive: Enhances readability and usability by providing a function for plotting customizable lines and labels on charts.
릴리즈 노트:
v10

- `dll` function updated:
- Function's purpose : Plot a horizontal line and label at a specified price level on the chart.
- Parameters:
- Price (float): The Y value for the line and label.
- Text (string): The text to display alongside the label.
- Color (color): The color for the line and label text.
- Width (int, default=1): The width of the line.
- LineStyle (string, default=line.style_solid): The style of the line.
- Historical (bool, default=false): If true, the line and label will appear on historical chart data.
- Returns: Displays a horizontal line and label on the chart.
- Motive: Enhances readability and usability by providing a function for plotting customizable lines and labels on charts.
릴리즈 노트:
v11

Updated:
dll(Price, Text, barCount, Color, Width, LineStyle, Historical)
  Parameters:
    Price (float)
    Text (string)
    barCount (int)
    Color (color)
    Width (int)
    LineStyle (string)
    Historical (bool)
릴리즈 노트:
v12

Added:
getExpiry(expiryType, expiryDay, changeExpiry, format)
  Parameters:
    expiryType (string)
    expiryDay (string)
    changeExpiry (int)
    format (string)

파인 라이브러리

트레이딩뷰 정신에 따라 오써는 이 파인 코드를 오픈 소스 라이브러리로 퍼블리쉬하여 당사 커뮤니티의 다른 파인 프로그래머들이 쓸 수 있도록 하였습니다. 오써에게 찬사를! 여러분은 이 라이브러리를 프라이빗 또는 오픈 소스 퍼블리케이션에 쓸 수 있지만 퍼블리케이션에 재사용은 하우스룰을 따릅니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

이 라이브러리를 쓰시겠습니까?

텍스트를 클립보드에 카피한 뒤 님의 스크립트에 붙여 넣기.