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...
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)
current ATR = $5
max loss = $1000
volatility multiple = 2
The position will be
p = $1000 / $5 / 2 = 100 (shares)
A brand new Moving Average , calculated using Momentum, Acceleration and Probability (Psychological Effect).
Momentum adjusted Moving Average(MaMA) is an indicator that measures Price Action by taking into consideration not only Price movements but also its Momentum, Acceleration and Probability. MaMA, provides faster responses comparing to the regular Moving...
With this script, you can see CFTC COT Non Commercial and Commercial Positions together.
This way, you can analyze net values greater than 0 and smaller, as well as very dense and very shallow positions of producers and speculators.
Green - Non Commercials - Speculators
Red - Commercials - Producers
This script is multi time-frame and...
This script aims to look at the markets from a manufacturer's point of view.
Producers or large enterprises gradually sell their goods as the price increases.
Because both the amount of product and position in their hands is too high, otherwise they can not find buyers, and they have to make a safe profit.
Therefore, I have shown short positions in green and long...
This 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.
This indicator was originally developed by Paul L. Dysart in the 1930s and then described and popularized by Norman G. Fosback in his book "Stock Market Logic: A Sophisticated Approach to Profits on Wall Street"
Like and follow for more cool indicators!
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.
This script was created due to the lack of position of US Dollar Index Futures (DXY).
It is designed to perform a much more liquid and inclusive position analysis.
As the exponential ratios do not mean anything to positions, weights are used as multipliers instead of exponential functions.
Swedish Krona (SEK) Futures are not directly quoted in Quandl, therefore...
The theory behind the indexes is as follows: On days of increasing volume,
you can expect prices to increase, and on days of decreasing volume, you can
expect prices to decrease. This goes with the idea of the market being in-gear
and out-of-gear. Both PVI and NVI work in similar fashions: Both are a running
cumulative of values, which...
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,.
This script helps the user visualize profit targets and calculates position size based on the input risk amount.
- Risk amount
- Entry price
- Stop loss amount
- Profit target amount
- Profit loss ratio
- Position size
- Postion cost
- shaded: entry price --> price target (green filled)
It is a long only strategy.
1. Buy when price breaks out of the upper band.
2. Exit has two options. Option 1 allows you to exit using lower band. Option 2 allows you to exit using basis line.
3. Slippage and commissions are not considered in the return calculation.
This 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...
This 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.
Alpha Performance of Period (PoP) produces a visualization of returns (gains and losses) over a quarterly, monthly, or annual period. It also displays the total % gain and loss over any length of days, months, and years as defined by the user.
Performance of Period (PoP) can be used to understand the performance of an asset over multiple periods using a single...
Write 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...