sosso_bott

LevelsManager

sosso_bott 已更新   
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.
版本注释:
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".
版本注释:
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".
版本注释:
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) .
版本注释:
v5
版本注释:
v6

Removed:
showOnlyFirstOccurence(booleanInput)
  Single out the occurence of a bool series between to 2 bool series.
版本注释:
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).
版本注释:
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
版本注释:
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
Pine脚本库

本着真正的TradingView精神,作者将此Pine代码以开源脚本库发布,以便我们社区的其他Pine程序员可以重用它。向作者致敬!您可以私下或在其他开源出版物中使用此库,但在出版物中重用此代码受网站规则约束。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想使用这个脚本库吗?

复制以下行并将其粘贴到您的脚本中。