SmartScale Envelope DCA This is a Dollar-Cost Averaging (DCA) long strategy that buys when price dips below a moving average envelope and adds to the position in a stepwise, risk-controlled way. It uses up to 8 buy-ins, applies a cooldown between entries, and exits based on either a take profit from average entry price or a stop loss. Backtest range limits trades to the last 365 days for backtest control.
All input settings can and should be adjusted to the chart, as volatility in price action varies. Simply go into the inputs settings, and start from the top and move down to get better backtest results. Moving from the top down has been proven to give the best results. Then, move to properties and set your order size, pyramiding, and so on. It may be necessary to then fine tune your adjustments a second time to dial it in.
Works well on 1 hour time frames and in volatility.
Happy Trading!
Longposition
TO THE MOON by ZdormanThe indicator "TO THE MOON by Zdorman" is written in Pine Script version 5 and is designed for volatility analysis, detection of abnormal volumes, and generation of trading signals.
The indicator operates in a separate panel below the chart.
Parameters:
length: The period for calculating volatility.
threshold: The threshold value for volatility. If volatility exceeds this value, the indicator highlights it on the chart.
volume_threshold_multiplier: A multiplier for determining abnormal volumes. The average volume is multiplied by this factor to determine the threshold for abnormal volume.
annualize: An option to annualize volatility. If enabled, volatility is multiplied by the square root of 252 (the number of trading days in a year).
Daily Return Calculation:
The daily return is calculated as the percentage change in the closing price of the current bar relative to the previous bar.
Volatility Calculation:
Volatility is calculated as the standard deviation of daily returns over the specified period.
The ta.stdev function is used to compute the standard deviation.
If volatility exceeds the threshold value, the histogram bars are colored yellow. Otherwise, they are colored blue.
Histogram:
The histogram displays the volatility value.
The display style is columns.
A horizontal line corresponding to the volatility threshold is displayed on the chart.
The line is red and has a dashed style.
Conditions for a "Long" Signal:
Volatility exceeds the threshold value.
The closing price is higher than the opening price.
The volume is abnormal (exceeds the average volume by the specified multiplier).
The indicator supports the creation of alerts for "Long" signals. The alert triggers when all conditions for the signal are met.
Parameter Configuration:
Set the volatility period according to your trading strategy.
Configure the volatility threshold and volume multiplier to filter signals. It is recommended to use the default settings.
Signal Interpretation:
Yellow histogram bars indicate increased volatility.
"Long" signals appear when all conditions are met and can be used as entry points for a position.
The "TO THE MOON by Zdorman" indicator is a powerful tool for volatility analysis and finding market entry points. Its logic is based on a combination of volatility, volume, and price movements, making it useful for traders operating in various markets. Happy trading!
Whale Buy Activity Detector (Real-Time)Whale Buy Activity Detector (Real-Time)
This indicator helps to identify abnormal spikes in the volume of purchases, which may indicate the activity of large players ("whales"). It analyzes the volume of purchases and compares it with the average volume over a certain period of time. If the volume of purchases exceeds a set threshold, the indicator marks this as potential whale activity.
Basic parameters:
Volume Threshold (x Average): The coefficient by which the current purchase volume must exceed the average volume in order to be considered abnormal. The default value is 2.0, which means that the purchase volume should be 2 times the average volume for the selected time period. This parameter can be adjusted in the range from 1.0 and higher in increments of 0.1.
Example: If you set the value to 1.5, the indicator will mark situations when the volume of purchases exceeds the average volume by 1.5 times.
Lookback Period: The time period used to calculate the average purchase volume. The default value is 20, which means that the average purchase volume will be calculated for the last 20 candles. This parameter can be set in the range from 1 and above.Example: If you set the value to 10, the average purchase volume will be calculated for the last 10 candles.
How to use:
Buy Volume: Shows the volume of purchases on each candle. This is the volume that was sold at a price higher than the opening price of the candle.
Average Buy Volume: The average volume of purchases over a given time period (Lookback Period). This parameter helps to determine the "normal" level of purchase volume.
Whale Buy: Notes abnormal spikes in the volume of purchases, which may indicate the activity of "whales". The indicator draws a mark on the top of the candle when the purchase volume exceeds the threshold set by the Volume Threshold parameter.
Notifications:
The indicator can send notifications when an abnormal volume of purchases is detected. You can set up notifications via the TradingView menu to receive real-time alerts.
Usage example:
If you are trading in a highly volatile market, you can increase the Volume Threshold to filter out small volume spikes.
If you trade in a low-volatility market, you can reduce the Volume Threshold to capture even small anomalies.
Signal Tester [Cometreon]Signal Tester is a fast and intuitive tool designed to help you visualize and analyze up to 100 past trading signals directly on the TradingView chart. Whether your signals come from bots, communities, or your own strategies, this indicator is perfect for quick validation and real-time feedback.
🔷 Key Features
🟩 Visual Signal Mapping
Display long and short entries directly on your chart for clear, immediate analysis of signal behavior.
🟩 Multi-Timeframe Compatibility
Analyze how signals behave across different timeframes to identify strengths, weaknesses, and timing.
🟩 Universal Signal Input
Test signals coming from trading bots, private groups, external alerts, or manually built strategies.
🔷 Technical Details and Customizable Inputs
1️⃣ Position Selection - Choose up to 100 recent positions—both long and short—and plot them directly on your chart.
2️⃣ Data Entry - Easily define the date and type (Long or Short) for each position directly from the settings panel.
🔍 How to Use Signal Tester Pro
📥 Input Your Signals
Add your entries and exits manually in the indicator settings.
📊 Analyze on the Chart
Visualize each trade's placement in real historical context to evaluate timing and performance.
🔁 Connect with Strategy Tester
Use the generated signals as input for Strategy Tester Pro to backtest your trading logic with full control.
☄️ Start testing your trading signals now with TradeLab Beta's Signal Tester access this powerful tool and take your market analysis to the next level!
Don't waste any more time and visit the link to get access to all Cometreon indicators.
FibLevel Size CalculatorThis skript calculates position sizes and new take profits for sizing into an long or short position with 3 entrys defined at custom fibonacci retracement levels.
TP: -0,272
Entry1: 0.382
Entry2: 0.618
Entry3: 0.83
SL: 1.05
Expected RR per trade is 0.2 with a High Win rate definitly profitable.
Search for an established trend on the higher timeframe, drop to the smaller ones and look for correction waves. Once they break to the trenddirection of the higher timeframe take the fib from lowest to highes point. Draw a fib level on the chart and use the Indicator to define these Levels above. The calculator gives you the Margin to use in each position, and will check that you will not get liquidated an that you have enough margin. It tells you the new TP for Limit2 and Limit3 if they get hit so you can get out of the trade full TP with a small bounce.
Inputs:
Account Balance, Risk Percentage, and Leverage: These inputs are used to calculate the position size and risk.
Entry 1, Entry 2, Entry 3, Take Profit (TP), and Stop Loss (SL): These prices are used for calculating position sizes, risk, and profit for up to three entry points.
Calculations:
Risk Amount: Calculated based on the account balance and risk percentage.
Position Sizes (Qty): For each entry point, the position size is determined. The second and third entries have a multiplier (3x for Entry 2, 5x for Entry 3) compared to the first.
Stop Loss and Profit Calculation: The script calculates the potential profit and adjusts the TP levels based on the average entries for Limit 2 and Limit 3.
Margin Calculation: Margin requirements for each position are calculated based on leverage.
Output:
Table Display: A table shows key values like entry prices, position sizes, TP levels, potential profit, and margin requirements for each limit.
Warnings: It includes a liquidation warning and a check for whether the account is at risk of liquidation based on leverage.
Position Type: It automatically detects if the trade is a long or short based on the relationship between TP and SL.
Visualization:
Lines: It draws horizontal lines on the chart to visually represent the entry, TP, and SL levels.
Overall, this script is designed to help traders manage risk and calculate position sizes for multi-level entries using leverage.
Pls drop feedback in the comments.
Crypto Longs & Shorts (Multi Exchange) - InFinitoThis indicator uses data provided by different crypto derivative exchanges to estimate and display the potential Longs and Shorts opened and closed during a determined period. The indicator supports multiple exchanges and coins.
Knowing the the behavior of traders as in how they're positioning can be useful for different things like:
Get a sense of market sentiment
Better anticipating which way liquidity/stop hunts might potentially go.
All data is calculated based off OI data provided by exchanges except for Bitfinex which provides both Longs and Shorts opened and closed
Preset exchanges included are:
Bitfinex
Binance: USDT, USDPERP & BUSD pairs
Bitmex: USDT & USD pairs
Kraken
The indicator is preset to work with BTC but it can be easily changed to any coin by typing it's name (Capitalized) in the Coin Name box
RSI + MA StrategyHello, everyone!
We have just released an innovative strategy for TradingView. It allows you to facilitate the trading process when you have to use both indicators.
This strategy is:
User-friendly
Configurable
Equipped with the combination of Relative Strength Index (RSI) and Moving Average (MA) indicators
Designed with all required functions to manage positions
Features
The RSI+MA strategy can:
Identify entry points for Long and Short positions.
Depict RSI and MA values concerning each other.
Reduce visual congestion and import usability thanks to using a combo of 2 indicators.
Allow using pivot trading. The RSI+MA strategy will enter a Long position according to the Short position conditions. And vice versa.
Note! If you want to open a Long position, the RSI line should cross MA from top to bottom. If you want to open a Short position, RSI has to cross MA from bottom to top.
Parameters
We have equipped our strategy with more than 14 additional parameters. So, you can configure the EA according to your needs!
Inputs :
Use Reverse Trade — allows swapping Long and Short positions opening conditions.
Resolution — allows you to view an indicator with data on a higher or lower timeframe on the current chart.
RSI Length
RSI Source: Open, High, Low, Close, HL2, HLC3, OHLC4
Show MA — allows you to enable or disable MA displaying.
MA Length
MA Offset
Style:
RSI — RSI indicator line color and style settings.
MA — MA indicator line color and style configuration.
Upper Band — allows customizing line style, color, and RSI upper bound value.
Lower Band — allows you to customize line style, color, and RSI lower bound value.
Background — background color setting within the RSI upper and lower borders.
Precision — number of decimals for RSI values.
Note! Try RSI+MA on your demo account first before going live.
MACD Bull Crossover and RSI Oversold 5 Candles Ago-Long StrategyHello everyone, I've been having a great time perfecting this strategy for a few weeks now. I finally feel like it's time to release it to the public and share what I have been working on.
This strategy only enters a long trade when the MACD crosses over the signal line and the RSI was oversold looking back 5 candles ago. The logic behind this is to wait for RSI to enter the oversold territory, and then when the market starts to recovery the MACD will crossover telling us the sell off is over.
This strategy will close once these 2 conditions are met.
1. MACD Histogram is above 0 and MACD crosses under the signal line.
2. RSI was overbought 5 previous candles ago.
In the strategies settings, you'll be able to enable visual stop-loss and profit levels and change those levels to what you like, enable up to 5 EMA'S,
ADDONS That Affect Strategy:
* Enable visual stop-loss and profit levels as soon as a buy signal is triggered.
* Modify stop-loss and profit levels.
* Modify RSI oversold and RSI overbought levels.
* Modify MACD Fast and Slow moving average.
ADDONS That Do Not Affect Strategy:
* Enable up to 5 EMA's. (This will not affect strategy, and is the only purpose is for people who like following EMA's.)
Thank you for taking the time to try my strategy. I hope you have the best success. I will be making a short strategy, and alerts for this strategy soon. Follow me for updates!
Bollinger Band BreakoutIt 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 moving average.
3. Option 1 preferred over option 2 if the instrument is highly volatile.
4. Slippage and commissions are not considered in the return calculation.
LFH/ Long positions using MACD histogram, long EMA and short EMADisclaimer: I'm a noob.
Hey there!
I'm trying to implement a script which enter market long position when long EMA crossover short EMA and MACD histogram is positive and histogram at T time is lesser than histogram at T-1.
And when short EMA crossover long EMA, plus MACD histogram is negative and histogram at T is greater than histogram at T-1, I want the script to exit market long position.
Now, I have something pretty close to what I am looking for. What I am missing and can't figure out yet is:
How to moderate entries, ie. I would like it to enter positions when trends are really interesting not just every time the conditions are fulfilled (same for exits) as there is way too much positions
I need to find a way to exit appropriated positions.