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 %.
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...
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:
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...
-predicts volume on current bar based on how long is left in the bar
-shows how much volume is spent on margin positions
-shows how much buy & sell volume on margin positions
-shows volume in fiat value
-normalized view shows percent of volume spent on margin
-enter the security name for shorts & longs data, by default it is set to BITFINEX:BTCUSDLONGS and...
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
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)
This TMA study is called rollercoaster for the rounded ways it follows the moving average. Tried pinpointing entry/exit points as well as I could. Included alertconditions as well as syntax at the bottom for use with Autoview in a margin or spot trading environment. There is also the Strategy side chart use :)
As usual, free to use, change it to suit your needs,...
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!
Ratio of bitfinex longs versus the total btc in positions. Maybe a good indicator of market sentiment. It allows you to see too where were people taking profit or closing positions. Remember that ratio going up doesn't necesarily mean more longs positions are being added. It could mean shorts are closing position massively. The conversely is also true.