sosso_bott

LevelsManager

sosso_bott Mis à jour   
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.
Notes de version:
v2

Added:
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".
Notes de version:
v3

Added:
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".
Notes de version:
v4

Added:
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) .
Notes de version:
v5
Notes de version:
v6

Removed:
showOnlyFirstOccurence(booleanInput)
  Single out the occurence of a bool series between to 2 bool series.
Notes de version:
v7

Added:
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).
Notes de version:
v8
Notes de version:
v9 function ManageTrade Level tracking is done only if the entry is hit
Notes de version:
v10 function @ManageTrade Levels tracking is done only if the entry is hit
Notes de version:
v11
Notes de version:
v12

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
Bibliothèque Pine

Dans le véritable esprit de TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur ! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open-source, mais la réutilisation de ce code dans une publication est régie par notre Règlement.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser cette bibliothèque?

Copiez le texte dans le presse-papiers et collez-le dans votre script.