PINE LIBRARY
Cập nhật LevelsManager

Library "LevelsManager"
TODO: Track up to 6 TakeProfits and 1 StopLoss achievement for one or many of your buy/sell conditions.
manageTrade(bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float)
Track TakeProfits and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function managetrade" for Description
Parameters:
bool: useSignal.
bool: b_gameOVer.
bool: b_gameOVer.
string: bName.
string: sName.
float: buyEntrySource.
float: sellEntrySource.
bool: useTp1.
bool: useTp2.
bool: useTp3.
bool: useTp4.
bool: useTp5.
bool: useTp6.
float: tp1x.
float: tp2x.
float: tp3x.
float: tp4x.
float: tp5x.
float: tp6x.
float: slx.
Returns: check commented section: "Function managetrade".
showOnlyFirstOccurence(booleanInput)
Single out the occurence of a bool series between to 2 bool series.
Parameters:
booleanInput: to activate or deactivate occurences filtering.
Returns: filterred or not bool series.
TODO: Track up to 6 TakeProfits and 1 StopLoss achievement for one or many of your buy/sell conditions.
manageTrade(bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float)
Track TakeProfits and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function managetrade" for Description
Parameters:
bool: useSignal.
bool: b_gameOVer.
bool: b_gameOVer.
string: bName.
string: sName.
float: buyEntrySource.
float: sellEntrySource.
bool: useTp1.
bool: useTp2.
bool: useTp3.
bool: useTp4.
bool: useTp5.
bool: useTp6.
float: tp1x.
float: tp2x.
float: tp3x.
float: tp4x.
float: tp5x.
float: tp6x.
float: slx.
Returns: check commented section: "Function managetrade".
showOnlyFirstOccurence(booleanInput)
Single out the occurence of a bool series between to 2 bool series.
Parameters:
booleanInput: to activate or deactivate occurences filtering.
Returns: filterred or not bool series.
Phát hành các Ghi chú
v2Added:
manageLevel(bool, bool, bool, string, string, float, float, float, float)
Track 1 TakeProfit Level and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function managetrade" for Description
Parameters:
bool: useSignal.
bool: b_gameOVer.
bool: b_gameOVer.
string: bName.
string: sName.
float: buyEntrySource.
float: sellEntrySource.
float: tp1x.
float: slx.
Returns: check commented section: "Function @manageLevel".
Phát hành các Ghi chú
v3Added:
manageFilteredTrade(bool, bool, bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float)
Track TakeProfits and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function managetrade" for Description
Parameters:
bool: useSignal.
bool: b_gameOVer.
bool: longCancel.
bool: s_gameOVer.
bool: shortCancel.
string: bName.
string: sName.
float: buyEntrySource.
float: sellEntrySource.
bool: useTp1.
bool: useTp2.
bool: useTp3.
bool: useTp4.
bool: useTp5.
bool: useTp6.
float: tp1x.
float: tp2x.
float: tp3x.
float: tp4x.
float: tp5x.
float: tp6x.
float: slx.
Returns: check commented section: "Function @manageFilterredTrade".
Phát hành các Ghi chú
v4Added:
manageFilterredLevel(bool, bool, bool, bool, bool, string, string, float, float, float, float)
Track 1 TakeProfit Level and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function managetrade" for Description
Parameters:
bool: useSignal.
bool: b_gameOVer.
bool: longCancel.
bool: s_gameOVer.
bool: shortCancel.
string: bName.
string: sName.
float: buyEntrySource.
float: sellEntrySource.
float: tp1x.
float: slx.
Returns: check commented section: "Function @manageFilterredLevel" (lines: 146 - 172) .
Phát hành các Ghi chú
v5Phát hành các Ghi chú
v6Removed:
showOnlyFirstOccurence(booleanInput)
Single out the occurence of a bool series between to 2 bool series.
Phát hành các Ghi chú
v7Added:
tpLevels(bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float)
Track TakeProfits and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function @tpLevels" (lines: 175 - 226) for Description
Parameters:
bool: useSignal.
bool: b_gameOVer.
bool: s_gameOVer.
string: bName.
string: sName.
float: buyEntrySource.
float: sellEntrySource.
bool: useTp1.
bool: useTp2.
bool: useTp3.
bool: useTp4.
bool: useTp5.
bool: useTp6.
float: tp1x.
float: tp2x.
float: tp3x.
float: tp4x.
float: tp5x.
float: tp6x.
float: slx.
Returns: check commented section: "Function @tpLevels" (lines: 175 - 226).
Phát hành các Ghi chú
v8Phát hành các Ghi chú
v9 function ManageTrade Level tracking is done only if the entry is hitPhát hành các Ghi chú
v10 function managetrade Levels tracking is done only if the entry is hitPhát hành các Ghi chú
v11Phát hành các Ghi chú
v12Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Nội quy chung.
Scripts that I post publicly are experimental. They are not financial advices. Always backtest your ideas using your own methodologies.
automate your alert: signalautotrade.com
contact me directly on telegram: @Sosso_bott
automate your alert: signalautotrade.com
contact me directly on telegram: @Sosso_bott
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo Nội quy chung.
Scripts that I post publicly are experimental. They are not financial advices. Always backtest your ideas using your own methodologies.
automate your alert: signalautotrade.com
contact me directly on telegram: @Sosso_bott
automate your alert: signalautotrade.com
contact me directly on telegram: @Sosso_bott
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.