TradingView
sosso_bott
4. Aug. 2022 03:40

LevelsManager 

GoldOANDA

Beschreibung

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.

Versionshinweise

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".

Versionshinweise

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".

Versionshinweise

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) .

Versionshinweise

v5

Versionshinweise

v6

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

Versionshinweise

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).

Versionshinweise

v8

Versionshinweise

v9 function ManageTrade Level tracking is done only if the entry is hit

Versionshinweise

v10 function @ManageTrade Levels tracking is done only if the entry is hit

Versionshinweise

v11

Versionshinweise

v12
Kommentare
sumitsaurabh345gate
Thank you buddy, You have good heart. Finally i came to know how to use this library. Thank u so much.
sosso_bott
@sumitsaurabh345gate, always happy to help
sosso_bott
Functions Description index
@manageTrade (lines: 14 - 64).
@manageFilterredTrade (lines: 66 - 118).
@manageLevel (lines: 120 - 144).
@manageFilterredLevel (lines: 146 - 172).
coryfernandez
Can't seem to run this on my system. Am I missing something?
sosso_bott
@coryfernandez, we can have a remote zoom or teams call i will help you use it its really simple message me on telegram t.me/sosso_bott
Mehr