What does this script do ? This script is for pine script programmers and explains how to implement a dynamic stop-loss strategy. It is different from trailing stop-loss. Trailing stop-loss can only set the retracement value, but this script can take profit on part of the position at a fixed price and allows users to decide whether to take profit on all positions...
This is a manual profit and loss tracker. It takes the user's manual input of total cost and quantity, and then outputs a table on the bottom right of the chart showing the profit or loss %, average purchase price, gross profit or loss, and market value. Instructions: 1. Double click the indicator title at the top left of the chart 2. Select the "Inputs"...
The Consecutive Close Breakout Oscillator is an advanced trading indicator designed to detect sustainable market trends and provide timely buy and sell signals. This tool works by tracking the closing prices over specific intervals and identifying recurring patterns that indicate potential breakouts. The oscillator provides visual cues for easy interpretation....
––––HISTORY & CREDITS 🏦 The Trailing Stop Alert is a TradingView indicator developed by TintinTrading, which is designed to help traders manage their positions by updating and alerting them about their trailing stop levels. This tool is a valuable addition to a trader's arsenal, as it automates the process of maintaining trailing stop levels and alerts the user...
ENGLISH This 'Average Cost' script allows the user to input and visualize profit or loss for different stocks (up to 50) with average cost and quantity data on a single chart. This is useful for tracking the profit or loss of each stock in real-time. To use this script, the user should follow these steps: 1. Add the 'Average Cost' script to your TradingView...
Live P&L for multiple stocks, currencies, crypto and commodities can now be tracked for your favorite scripts, pair trading etc. This indicator gives provision to add up to 3 stocks/futures/currency with Buy and Sell, Quantity (can be lot size or any other) and Entry Price and set as default so that every time you put back this indicator you can monitor the live...
This indicator auto calculate the first visible bar to the last visible bar 1. Gain or loss in percentage 2. Highest price 3. Lowest price 4. Total up bar 5. Total down bar 6. Total unchanged bar 7. Total bar 8. Total volume *This indicator is not working on this page, you must add it in to your chart.
This script is to remind you of how much you would lose if the price went down to the all time low. This will make you think twice about your purchases!
This is an intuitive risk management tool with a minimalist design. This calculator will determine your position size per trade, profit, loss, risk/reward ratio and leverage if any. It will calculate your leverage if you are trading financial instruments e.g. Mini Futures , Turbo Warrants etc. that have a financing level. Tip: Use this as a complement to the...
The indicator helps to track the percentage loss/gain of the quantity of the asset as a result of LP rebalancing due to price changes. Calculations are based on the common AMM equation x * y = k. This is the initial version of the indicator. It is certainly a subject to further improvement. If you have any suggestions send them here at...
Library "MLLossFunctions" Methods for Loss functions. mse(expects, predicts) Mean Squared Error (MSE) " MSE = 1/N * sum ((y - y')^2) ". Parameters: expects : float array, expected values. predicts : float array, prediction values. Returns: float binary_cross_entropy(expects, predicts) Binary Cross-Entropy Loss (log). Parameters: ...
This script is designed as an ATR-based trailing stop tool to assist in managing open positions. Once you're involved in a profitable trade, if you add this script to your chart you'll be prompted to select a bar to begin trailing from. You can then adjust the candle lookback distance for swing high/lows (7 by default), the ATR multiplier (1.0 by default), and...
Gain/StopLoss Percentage Lines is a quick way to enter your Entry Price in to a stock and track the percentage of gain or loss at the 5% and 10% markers. Click on the gear settings icon and type in your entry price. The percentage is defaulted to 5%. You can change this to a different percentage at this screen. Note that whatever number you enter will be doubled...
An indicator that let's you visualize the current drawdown and maximum drawdown from an All-Time High
"How to code moving stop-loss mechanism", is one of the most often repeating questions in private messages I receive, so just to focus on this mechanism, I made a spin-off from my previous script: TradingView-Alerts-to-MT4-MT5-dynamic-variables-NON-REPAINTING . The logic here moves the stop-loss each time a trade is running and a new pivot high/low is detected....
Best used when applied for intraday trading. Users can customize length and deviation to fit their needs. Works best for high volatility stocks. This strategy only works intraday intervals, so it means when you try to apply it to day/week/month it won't show any entry or exits. Bollinger band breakout with non-standard deviation along with profit targets and...
This Indicator uses Average True Range (ATR) to determine a safe place to put stop losses to avoid being stop hunted or stopped out of a trade due to a tight stop loss. Default multiplier setting is 1.5. For a more conservative stop loss use 2 and for a tighter stop loss use 1. ATR and stop loss prices are displayed in table at bottom of screen. Use high(red) for...