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.
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".
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".
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) .
Removed:
showOnlyFirstOccurence(booleanInput)
Single out the occurence of a bool series between to 2 bool series.
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).
Libreria Pine
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Complimenti all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.
automate your alert: signalautotrade.com
contact me directly on telegram: @Sosso_bott
Declinazione di responsabilità
Libreria Pine
In pieno spirito TradingView, l'autore ha pubblicato questo codice Pine come libreria open-source in modo che altri programmatori Pine della nostra comunità possano riutilizzarlo. Complimenti all'autore! È possibile utilizzare questa libreria privatamente o in altre pubblicazioni open-source, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento.
automate your alert: signalautotrade.com
contact me directly on telegram: @Sosso_bott