PINE LIBRARY
ที่อัปเดต: MyLibrary001

Library "MyLibrary001"
Library for calculating the number of bars in the last X trading days
BarsInLastXDays(numTradingDays)
BarsInLastXDays
description Calculates the number of bars in the last X trading days
Parameters:
numTradingDays (int): int Number of trading days to consider
Returns: tuple(float, float) A tuple with the number of bars and the bar duration
Library for calculating the number of bars in the last X trading days
BarsInLastXDays(numTradingDays)
BarsInLastXDays
description Calculates the number of bars in the last X trading days
Parameters:
numTradingDays (int): int Number of trading days to consider
Returns: tuple(float, float) A tuple with the number of bars and the bar duration
เอกสารเผยแพร่
v2Added:
BarsInLastXDaysXXX(numTradingDays)
Parameters:
numTradingDays (int)
เอกสารเผยแพร่
v3Added:
InTimeRange(my_start, my_finish, my_time)
Parameters:
my_start (int)
my_finish (int)
my_time (int)
isWithinLastInterval(my_time, my_time1)
Parameters:
my_time (int)
my_time1 (int)
Removed:
BarsInLastXDaysXXX(numTradingDays)
เอกสารเผยแพร่
v4Added:
CloseToEarnings(max_days)
Parameters:
max_days (int)
เอกสารเผยแพร่
v5เอกสารเผยแพร่
v6Added:
CheckAndTriggerManualSignals(open_time, close_time, signals)
Parameters:
open_time (int)
close_time (int)
signals (array<string>)
เอกสารเผยแพร่
v7Added:
TestAlertAndStrat(jsonLONG)
Parameters:
jsonLONG (simple string)
เอกสารเผยแพร่
v8Updated:
TestAlertAndStrat(jsonLONG)
Parameters:
jsonLONG (string)
เอกสารเผยแพร่
v9Updated:
TestAlertAndStrat(jsonLONG, jsonSHORT, long)
Parameters:
jsonLONG (string)
jsonSHORT (string)
long (bool)
เอกสารเผยแพร่
v10Added:
ServerAlert(symbol, strategy_name, action, price)
Parameters:
symbol (string)
strategy_name (string)
action (string)
price (float)
เอกสารเผยแพร่
v11เอกสารเผยแพร่
v12เอกสารเผยแพร่
v13เอกสารเผยแพร่
v14ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน