Position calcCurrent script was created to help faster calculate possible gain or loss from a furure trade. Making money management a bit simpler, by changing values you can adjust proper trade leverage and see possible target values
Position
Supertrend / Position SizingSuperTrend with position sizing calculator.
This is based on SuperTrend by Kivanc. I only added the position size calculation and displaying the result.
Position SizingATR based position sizing calculator that takes into account the capital, risk percentage and commissions to be paid. Color changes to green as the affordable position size significantly increases relative to recent history.
Position Size Calculator - Fixed Dollar amount, point value ATRHello Traders,
A very simple code aiming to help you size your position, according to the amount you're accepting to lose AND the current volatility ATR.
Why is it important to use ATR size ? Markets move, and having fixed stoploss values will lead to getting stopped out in case of volatility increase.
You also need to size down your trades in case of more volatily, as more points can be taken or lost.
Hope it helps!
Kudos to Racer9 who inspired me :
海龟头寸 (turtle position)Determine the position of the product to purchase according to:
1. max loss that you could tolerate
2. max volatility that you could tolerate (defined as the multiple of the current ATR)
For example:
current ATR = $5
max loss = $1000
volatility multiple = 2
The position will be
p = $1000 / $5 / 2 = 100 (shares)
Position Size Calculator w/ profit targetsThis script helps the user visualize profit targets and calculates position size based on the input risk amount.
Input variables:
- Risk amount
- Entry price
- Stop loss amount
- Profit target amount
Calculated variables:
- Profit loss ratio
- Position size
- Postion cost
Plotted variables:
- shaded: entry price --> price target (green filled)
- shaded: entry price --> stop loss target (red filled)
- 1:1 p/l ratio --> yellow line
- 2:1, 3:1, 4:1 p/l ratios --> green lines
Overlay text can be toggled on/off in parameter input section
Weighted Average Calculator - evoTest version of a weighted average calculator, will make an update later with more functions and a better view.
For now it's mainly useful for getting an average value and see how you can ladder into your position,
if you use the weights as the amount you want to order, you can see the total value and expected loss in the label.
You can use the weights as percentage or any numbers you like, but expected loss won't apply to that for now (before update)
5 values and weights available
If you have ideas to add anything or find mistakes send me a message.
Whale Trading SystemThis script is an advanced version of the distributional blocks script.
In distributional buys and sells:
I used a high - low cloud filter, which makes it more prudent to sell the next sell higher for sells and to buy the next purchase lower for buys.
I also used the Stochastic Money Flow Index function because it also uses volume to separate regions.
The long period is 52 weeks, which is equal to one year,
The short period is one-fourth of its value, which is equal to a financial quarter.
Then the values calculated with these periods are calculated by stochastic - rsi logic within the function, giving us two averages and separating the regions according to crossovers and crossunders .
In buys and sales, the higher your next distributional position size makes your profit more .
In the old system, there was a confusion as it was not divided into zones.
Because we divide into zones here, zone changes are the last stop to free up existing positions, and you must reopen each time you change zones.
And I changed standard distribution days, depending on the price change and the histogram, as StochMFI also took into account the volume.
In this way, there is sustainability.
I am also sharing my educational idea that explains the logic of this system in more detail :
Now that we have been divided into regions, a maximum of 10 pieces will suffice us.
And the regional shifts will allow us to sell and buy all of our position size, and now we will feel much more comfortable.
The most timeframe I find most accurate are the weekly bars.
Even in the example, we see how we have benefited from the sharp drop in bitcoin, while the price is falling, and we have lowered the average with higher-weight purchases than the previous one.
In both buys and sales here, both the histogram intensities and the average of the purchases you have reduced with the transactions, or the earnings you have increased with the sales, guide you.
In areas with high volatility ,if we adjust our positions properly, even if we follow the changes in the region, we will get rid of those situations with few wounds and we will surely catch the trend!
NOTE : Crossover/crossunder and distributional buy/sell alerts added.
Best regards , Noldo.
Position calculatorThis position calculator can be used to see if the potential trade is a good one. Enter the values as inputs and the output will be listed next to the settings of the indicator. Nearest support/resistance is meant to be your price target. I have found running this analysis prior to a trade to be helpful. This will output number of shares to buy/sell based on your risk percent and then also give a potential profit factor. I wish the outputs in Tradingview were cleaner but this works for now. Let me know if you have any questions or suggestions. Happy trading!
Bitfinex Sentiment Index [Long-Short]BSI provides two attractive graphs that breakdown the long (green area) and short (red area) positions ratio for the all Bitfinex margin cryptocurrency pairs only .
It is a quantitative measure of the bullishness or bearishness that can be used as a trading rule or in a trading system entries or exits. Included slow stochastic oscillator.
Position Size for ATR Trailing StopThis indicator will calculate your position size, short or long, based on the ATR Trailing Stop indicator of mine, and are needed to be used together. General risk management suggests risking just 1 percent of your equity and using low leverage.
AutoView - Hodl to SodlWrite your own strategy and use Hodl to Sodl to send Alerts for when to buy & sell, and automatically plot your anticipated buys/sells to the chart. A must have for AutoView users. Requires Pine Script coding. Not compatible with "Strategy Tester" tab and "Paper Trading" tab in TradingView.
Hodl-Sodl itself is not a strategy. It is a framework for building AutoView strategies. For demonstration purposes, the image featured with this script shows an example of a very simple CCI strategy (and not a very good one), but you would presumably replace that with your own ideas. If you'd like a little help plugging in your own strategy, contact jdhadwin for custom coding.
Bitfinex BTC longs vs Short ratioSelf explanatory...
Shows the long / short ratio of trader's positioning in bitfinex exchange.
The higher the ratio, it means there are more longs. The lower the ratio, the more shorts are currently being opened,.