PINE LIBRARY
Atualizado 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.
Notas de Lançamento
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".
Notas de Lançamento
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".
Notas de Lançamento
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) .
Notas de Lançamento
v5Notas de Lançamento
v6Removed:
showOnlyFirstOccurence(booleanInput)
Single out the occurence of a bool series between to 2 bool series.
Notas de Lançamento
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).
Notas de Lançamento
v8Notas de Lançamento
v9 function ManageTrade Level tracking is done only if the entry is hitNotas de Lançamento
v10 function managetrade Levels tracking is done only if the entry is hitNotas de Lançamento
v11Notas de Lançamento
v12Biblioteca do Pine
No verdadeiro espirito do TradingView, o autor desse código Pine o publicou como uma biblioteca de código aberto, para que outros programadores Pine da nossa comunidade possam reusa-los. Parabéns ao autor! Você pode usar essa biblioteca privadamente ou em outras publicações de código aberto, mas a reutilização desse código em publicações é regida pelas Regras da Casa.
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
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Biblioteca do Pine
No verdadeiro espirito do TradingView, o autor desse código Pine o publicou como uma biblioteca de código aberto, para que outros programadores Pine da nossa comunidade possam reusa-los. Parabéns ao autor! Você pode usar essa biblioteca privadamente ou em outras publicações de código aberto, mas a reutilização desse código em publicações é regida pelas Regras da Casa.
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
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.