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...
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.
-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
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...
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 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,...