Library "string_utils" Collection of string utilities that can be used to replace sub-strings in a string and string functions that are not part of the standard library. This a more simple replacement of my previous string_variables library since it uses types for better performance due to data locality and methods that give a more intuitive API.
Library "PineTradingbotWebhook" makeWebhookJson(webhookKey, direction, qty, entryLimit, entryStop, exitLimit, exitStop, orderRef, contract) Creates a Webhook message for Tbot on Tradingboat Parameters: webhookKey : the unique key to the Flask (TVWB) server direction : the same as the strategy's direction qty entryLimit ...
Library "json" JSON Easy Object Create/stringiffy Functions to add/write JSON new (name , kind) -> object set (_item , _obj , _key ) -> key index for parent object's array add (_obj , _key , _item ) -> key index for parent object's array write (object , kind ) -> stringified object // (enter kind to cut off key...
Library "POA" This library is a client script for making a webhook signal formatted string to POABOT server. entry_message(password, percent, leverage, kis_number) Create a entry message for POABOT Parameters: password : (string) The password of your bot. percent : (float) The percent for entry based on your wallet balance. leverage :...
Library "PlurexSignalStrategy" Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. NOTE: Be sure to: - set your strategy default_qty_value to the default entry percentage of your signal - set your strategy default_qty_type to strategy.percent_of_equity - set your strategy...
Library "PlurexSignalCore" General purpose functions and helpers for use in more specific Plurex Signal alerting scripts and libraries plurexMarket() Build a Plurex market string from a base and quote asset symbol. Returns: A market string that can be used in Plurex Signal messages. tickerToPlurexMarket() Builds Plurex market string from the...
Library "libcompress" numbers compressor for large output data compression compress_fp24() converts float to base64 (4 chars) | 24 bits: 1 sign + 5 exponent + 18 mantissa Returns: 4-character base64_1/5/18 representation of x compress_ufp18() converts unsigned float to base64 (3 chars) | 18 bits: 5 exponent + 13 mantissa Returns: 3-character...
Library "FrostyBot" JSON Alert Builder for FrostyBot.js Binance Futures and FTX orders github.com More Complete Version Soon. TODO: Comment Functions and annotations from command reference ^^ TODO: Add additional whitelist and symbol mappings. leverage() buy() sell() cancelall() closelong() closeshort() traillong() trailshort() ...
Library "PineHelper" This library provides various functions to reduce your time. recent_opentrade_entry_bar_index() get a recent opentrade entry bar_index Returns: (int) bar_index recent_closedtrade_entry_bar_index() get a recent closedtrade entry bar_index Returns: (int) bar_index recent_closedtrade_exit_bar_index() get a recent closedtrade...
Library "PlurexSignal" Provides functions that wrap the built in TradingView strategy functions so you can seemlessly integrate with Plurex Signal automation. NOTE: Be sure to set your strategy close_entries_rule="ANY" and pyramiding=20 or some other amount appropriate to your strategy in order to have multiple entries. plurexMarket() Build a Plurex market...
Library "myAutoviewAlerts" My Alerts Functions - To use with autoview @returns - These functions returns a string to use in alerts to send commands to autoview. You can open an order, place a stop or take order, close an opened order or a opened position, or open a hedge position. @param a = String - Account Identification @param e = String -...
Library "myAlerts" My Alerts Functions - To use with autoview f_order(_price, _qty, _position, _account, _exchange, _i, i_qtyTypeOrder, typeMsg, syminfoticker) - Write the entry order message Parameters: _price : - The order price _qty : - The order quantity _position : - The order side _account : - The user account _exchange : -...
Library "ccIndicator" isMACD_bullCondition() isMACD_bearCondition() getProfitPrice() getLossPrice() isTouchProfitPrice() isTouchLossPrice()
Library "Binance_Min_Limit_Order_amount_library" TODO: This library give us the minimum Limit Order amount for the contract in Binance. m_qty(n_v, m_fee, t_fee, cost, m_t) TODO: it give us the Minimum Qty for the trading in Binance Parameters: n_v : TODO: min_notional_value. 5 dollar is the minimum notional amount in Binance at the moment. ...
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...
Library "CalculatePercentageSlTp" This Library calculate the sl and tp amount in percentage sl_percentage(entry_price, sl_price) this function calculates the sl value in percentage Parameters: entry_price : indicates the entry level sl_price : indicates the stop loss level Returns: stop loss in percentage tp_percentage(entry_price,...