This simple and very practical indicator is designed to manage your capital for each trade.
You can calculate your profit, loss, and margin for a trade.
This indicator is designed for crypto and forex markets.
If you like this indicator, donate me:
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...
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,...
This is a rewrite of the original:
I really like the above script (Thank you Pastafarian!) but it was annoying that
it always took so long to load, so I made some edits so it would run faster.
Basically I replaced all the custom code (the sum loop and the calculations)
with pinescript builtins since they are faster and I commented out price since it
This indicators shows the changes in margin data for Bitfinex from previous bar. This means if you're looking at the 1 hour chart, it will show changes since the previous hour. 1 day chart = changes since the previous day.
Useful for seeing if a price move was due to stop runs, if a trade has become too crowded, or whatever wacky theories you have for margin...
If green is over the red it means that longs are currently dominant on BitFinex for BTC.
Same goes if red is over green just that shorts are dominant.
If the green is over red the green will show how many more longs there are than shorts and if you hover over the red you will see how many more shorts there are compared to longs
Vice versa if red is over...
A very simple indicator to show the change of longs between the previous period and the current period on bitfinex, this works for any margin pair on Bitfinex but can also be locked to BITFINEX:BTCUSD, works hand in hand with my "Shorts Change" indicator
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:
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 %.
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...
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
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.
This is the same as my previous BITFINEX Longs & Shorts script but with an update by @slylandro to work with other pairs on BFX
Green area = Longs
Red area = Shorts
Lighter area = Longs - Shorts (good for spotting sentiment)
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...