PINE LIBRARY
已更新 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.
發行說明
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".
發行說明
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".
發行說明
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) .
發行說明
v5發行說明
v6Removed:
showOnlyFirstOccurence(booleanInput)
Single out the occurence of a bool series between to 2 bool series.
發行說明
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).
發行說明
v8發行說明
v9 function ManageTrade Level tracking is done only if the entry is hit發行說明
v10 function managetrade Levels tracking is done only if the entry is hit發行說明
v11發行說明
v12Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
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
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
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
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。