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

Library "Heikinashi"
This library calculates "Heikinashi".
calc(_o, _h, _l, _c, _my_close)
This function calculates "Heikinashi".
Parameters:
_o: open
_h: high
_l: low
_c: close
_my_close: Specify if you want to force only the closing price to a real value.
Returns: TODO: add what function returns
This library calculates "Heikinashi".
calc(_o, _h, _l, _c, _my_close)
This function calculates "Heikinashi".
Parameters:
_o: open
_h: high
_l: low
_c: close
_my_close: Specify if you want to force only the closing price to a real value.
Returns: TODO: add what function returns
เอกสารเผยแพร่
v2 Added sample code for multiple averaged heikinashi.
เอกสารเผยแพร่
v3Added:
calcFor(_o, _h, _l, _c, _close_type, _times)
This function calculates "Heikinashi".
Parameters:
_o: open
_h: high
_l: low
_c: close
_close_type: ['ohlc4', 'hlc3', 'oc2', 'hl2', 'close'] Sets the calculation method to be used for the closing price.
_times: Sets how many times to average.(min:1, max:10)
Returns: TODO: add what function returns
Updated:
calc(_o, _h, _l, _c, _close_type)
This function calculates "Heikinashi".
Parameters:
_o: open
_h: high
_l: low
_c: close
_close_type: ['ohlc4', 'hlc3', 'oc2', 'hl2', 'close'] Sets the calculation method to be used for the closing price.
Returns: TODO: add what function returns
เอกสารเผยแพร่
v4 Performance Improvement
เอกสารเผยแพร่
v5Bug fixed.
Added:
calcFor_v1(_o, _h, _l, _c, _close_type, _times)
This function calculates "Heikinashi".
Parameters:
_o: open
_h: high
_l: low
_c: close
_close_type: ['ohlc4', 'hlc3', 'oc2', 'hl2', 'close'] Sets the calculation method to be used for the closing price.
_times: Sets how many times to average.(min:1, max:10)
Returns: TODO: add what function returns
เอกสารเผยแพร่
v6Added the source types "ohlc4 smoothed".
เอกสารเผยแพร่
v7Removed:
calcFor_v1(_o, _h, _l, _c, _close_type, _times)
This function calculates "Heikinashi".
เอกสารเผยแพร่
v8revert v1
Added:
calcFor_v1(_o, _h, _l, _c, _close_type, _times)
This function calculates "Heikinashi".
Parameters:
_o (float): open
_h (float): high
_l (float): low
_c (float): close
_close_type (string): ['ohlc4', 'hlc3', 'oc2', 'hl2', 'close'] Sets the calculation method to be used for the closing price.
_times (int): Sets how many times to average.(min:1, max:10)
Returns: TODO: add what function returns
เอกสารเผยแพร่
v9Added:
f_heikinashi_close(_type, _o, _h, _l, _c)
Parameters:
_type (string)
_o (float)
_h (float)
_l (float)
_c (float)
เอกสารเผยแพร่
v10calcfor algo improved.
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน