Margin This library calculates margin liquidation prices and quantities for long and short positions in your strategies. Usage example // ############################################################ // # INVESTMENT SETTINGS / INPUT // ############################################################ // Get the investment capital from the properties tab of the...
The Liquidation Estimates (Real-Time) experimental indicator attempts to highlight real-time long and short liquidations on all timeframes. Here with liquidations, we refer to the process of forcibly closing a trader's position in the market. By analyzing liquidation data, traders can gauge market sentiment, identify potential support and resistance levels,...
*** PLEASE NOTE: THIS SCRIPT WILL MAKE TV's SERVERS FLEX IT'S MUSCLES SO IT WILL SLOW DOWN OTHER PROCESSES WITHIN TV (HIDE THEM IF NECESSARY TO REGAIN THE SPEED/FUNCTION...OR DELETE THEM...WHAT DO I CARE???) ESP IF YOU HAVE 3-4 ITERATIONS AS I DO TO SHOW THE WHOLE KUCOIN MARGIN MARKET *** G'day Tradeurs, Hope everyone is having a FAN-FRIGGIN-TASTIC DAY!!! Right...
Props to @Veryfid for his original script 'ATR Stop Loss Finder'. The concept is simple. We use the average true range to determine an appropriate stop loss distance based on recent volatility. The original script calculated the stop loss offset from the current candle's high or low. Here, I've added the option to offset stop loss from the recent local low or...
ELEVATED LEVERAGE index SYSTEM (ELiS) tries to solve the problem of adjusting meaningful leverage in futures and margin trading. The biggest problem for traders is adjusting the leverage level manually. Concerning about the volatilities it's very hard to set a meaningful leverage level. ELiS includes 4 different volatility component which are: 1- nATR:...
This script allows you to determine the leverage required to enter one position based on the set entry price, the price of the expected take profit, stop loss and risk per transaction. It also allows you to schedule this transaction for 5 possible transactions, with different shoulders and a martingale coefficient for each subsequent gain at the same risk,...
This script allows you to determine the leverage required to enter one position based on the set entry price, the price of the expected take profit, stop loss and risk per transaction. It also allows you to schedule this transaction for 5 possible transactions, with different shoulders and a martingale coefficient for each subsequent gain at the same risk,...
Shows the Margin Pressure Zones for longs and shorts Longs & Shorts based on 2 Base prices to be configured by you. For definition of "Margin Pressure Zones" see: www.investopedia.com
En route to being absolutely the best and most complete trading platform out there, TradingView has just closed 2 gaps in their PineScript language. It is now possible to create and backtest a strategy for trading with leverage. Backtester now produces Margin Calls - so recognizes mid-trade drawdown and if it is too big for the broker to maintain your trade,...
When trading on KuCoin, it can be difficult to determine what you're exit price should be. This script solves this issue by giving you an exit price based on a given entry price, a base margin, and a target profit %. USE CASES: No Entry Price: If you have no position in KuCoin, then this use case could be more helpful. With no entry price inputted, two lines will...
Creates candlesticks of a cross pair of any symbol you want. Ideally both pairs would be denominated in the same currency. The candlesticks are plotted, a close value is available to use for applying indicators on, and a label shows what is being used. Options to configure are choosing the symbols, displaying the ticker without the exchange name, and removing...
Extended version of MZE script. This indicator can be set up for 5 different tickers, so you can fill up your favourite tikers as fixed and switch between them without changing settings options of Tick Count, Margin and POC Using option "Show default Zones if not Matched" - you can set up default options, switching off "Show default Zones if not Matched" - will...
Upgraded indicator Margin Zones with various number of options: - Number of Days Ago to limit days when Zones are visible - Price, margin and ticks can be set with decimal point - Zones can be switched off separately - all line are editable
Hello traders, I started this script as a joke for someone... finally appears it could be used for educational content Let's talk about leverage and margin call Margin Call A margin call is the broker's demand that an investor deposit additional money or securities so that the account is brought up to the minimum value, known as the maintenance margin. A...
Almost identical to the one I published before, but this one includes short orders as well. I didn't spend much time backtesting, so there may be a different set of parameters that gives better results. Please let me know if you find something!
This is the popular Bitfinex margin Longs/Shorts overlay script made compatible with other exchanges. So you can for example use it with BitMEXT XBTUSD and it will still plot Bitfinex BTCUSD. It always plots data for the same currency pair, so for ETHUSD of any exchange, it will always plot Bitfinex ETHUSD margin data.
Allows you to change between multiple assets to see open longs versus shorts. Includes BTC, ETH, LTC, TRX and more. You can also choose the quote pair of USD or BTC to get an idea for Bitmex assets as well. If you choose BTC on a BTC quote the USD positions will appear. All other assets will show the BTC paired positions. Like and follow for more free scripts in...