LETF Leveraged Edge Strategy v1.5Overview
The strategy is based on Stochastics to detect trends and then makes Buys and Sell based on custom entry and exit criteria as described below in the Execution Logic Rules section. It will NOT work with standard Stochastics.
This is not a standard Stochastics implementation. It has been customized and modified, and does not match any widely known Stochastics variations (like Fast, Slow, or Full Stochastics) in its smoothing and iterative calculation process with:
• A unique smoothing mechanism.
• Iterative calculations.
• Additional conditional logic for strategy execution.
This strategy is designed to focus on volatile, liquid leveraged ETFs to capture gains equal to or better than Buy and Hold, and mitigate the risk of trading with a goal of reducing drawdown to a lot less than Buy and Hold. It has had successful backtest performance to varying degrees with TQQQ, SOXL, FNGU, TECL, FAS, UPRO, NAIL and SPXL. Results have not been good on other LETFs that have been backtested.
Performance
In this backtest the Net Profit shows to be $4,561 or 45.61%. Considering the initial order size was $1,000 I have to wonder if the Strategy Tester is calculating this correctly. The Strategy Tester Performance Summary shows the Buy and Hold Return at $61,165 or 611.7%. Based on calculating the price of the last shares sold, less the price paid, times the number of initial shares purchased, my math shows the Buy and Hold Gain at $4,572 or about equal with the strategy performance in this case. The Performance Summary also states the strategy had a Max DD of 3.46% which I believe is incorrect. Based on other backtests I’ve done, I believe the strategy drawdown here was closer to 28.4% and the Buy and Hold Drawdown at 82.7%. I manually calculated the Buy and Hold drawdown.
How it Works
The author provides training and support resource materials for this at his website. The strategy execution logic is driven by these rules:
Execution Logic Rules
Buy the LETF When:
BR #1a) The Daily Fast Line (FL) crosses above the Daily Slow Line (SL) and the FL is between the Low (L*) and High (H*) Range set (often referred to as Oversold and Overbought Lines). This can execute (Buy) any trading day of the week.
BR #1b) Re-Buy the next day after any Stop or Take Profit Sell if the Buy Rule condition is true (FL is above SL), if not, remain in cash and wait for the next Buy Signal.
Sell the LETF When:
SR #1a) The Daily Fast Line (FL) crosses below Daily Slow Line (SL) within the Low (L*) and High (H*) Range (often referred to as Oversold and Overbought Lines). “Crossunder Range Exit” This can execute (Sell) any trading day of the week.
SR #1b) If the (FL) crosses Below the SL above the Exit Level*, wait. Only Sell if the FL drops down below the Exit Level* “Crossunder Level Exit” This can execute (Sell) any trading day of the week.
SR #2a) Sell at the open any day the gap-down price is at or below the 1-Day Stop%*, based on previous day’s closing price (Execute on the day it happens.)
SR #2b) Sell intraday any day the price is at or below the 1-Day Stop %*, based on previous day’s closing price (Execute on the day it happens.)
SR #3a) Sell at the open any day the price is at or below the Trailing Stop %*, based on highest intraday price since Buy date (Execute on the day it happens.)
SR #3b) Sell intraday any day the price is at or below the Trailing Stop%*, based on highest intraday price since Buy date (Execute on the day it happens.)
SR #4) Sell any day when the opening price exceeds, or intraday price meets the Profit Target % price* (Execute on the day it happens.)
SR #5) After each Sell go to Rule BR #1b to determine if a Re-Buy should occur the next day, or stay in cash until next Buy Signal
Settings:
Properties Tab – Initial Capital has been set to $10,000 and order size 10% of Equity, 0.1% commission and 3 Ticks for slippage. Net order size is $1,000
Input Tab:
Stochastic
Timeframe is selected to Daily or Weekly based on preference. Daily has more trades, but on average higher profitability.
Type: Proprietary (best selection for most LETFs, but a few will work better with the Full selection
%k Length 20, %K Smoothing 14, %D Smoothing (many LETFs work better with a specific Stoch setting, often each different) A List of these is provided for your starting point.
Trade Settings
Direction: Longs (This strategy only works on the Long side)
Stop Type: Trailing is recommended, but Fixed is an option.
Stop % (based on user risk tolerance)
PD Stop % (Suggest start at 5%. Based on volatility of LETF and is a stop percentage from prior day’s close. Designed to protect against sudden market volatility. Will need to balance between strategy performance and user risk tolerance)
Profit Target: User preference. (I can help with suggestions based on historical performance)
Entry/Exit Conditions
Enter on Tie: Default Checked – if a Fast line crosses a Slow line for a Buy signal, but doesn’t do so in the range set, this will trigger if it crosses at a tie.
Renter – Default Checked – If stopped out of a position, this tells the strategy to re-buy the position the next day if the conditions are still positive.
Exit Level: This is a exit level for a Fast cross below a Slow line that takes place above the Sell Range, but only happens if the Fast continues down to the level set. These usually don’t happen often, but can have a significant impact on performance. Unfortunately, it’s a trial and error process starting with 90 and working down to see if there’s any positive impact.
Trade Range
Buy Range: Start at typical 20 to 80. Expand the low end down first to check on performance impact. Normally a wide buying range is better for performance.
Sell Range: Start at 20 to 80 and tighten gradually to see performance impact. In some cases a very tight sell range does better. I have worked on our primary LETFs for many months to determine ranges for each that typically produce better results.
External Indicator: Some additional indicators have a positive impact on the strategy performance by increasing P/l, reducing drawdown and reducing the number of trades. This is not always the case and each LETF and time period for the LETF will have a bearing on whether the secondary indicator will help or not. Two that have helped are the MACD Histogram, and the Sloe-Velocity Indicator by Kamleshkumar43. Sometimes a couple of different indicators will have a positive impact, then it’s a personal preference which you pick to use with the strategy.
Since this strategy is focused on a very narrow selection of liquid LETFs, I have a lot of experience experimenting with the settings for the primary ones and can suggest things that will help. Additional training on the rules, working with the settings, and mitigating some of the negative trades during choppy markets is available at the website.
Chart
The strategy can be selected to use either a Daily or Weekly version of stochastic. This is important because the characteristics are different while still generating very good gains and minimal drawdowns. Generally, the daily stochastic will have a greater number of, and certainly more frequent, trades than the weekly stochastic. However, on average the daily version of the stochastic will generates greater profitability.
The Settings tabs have tooltip icons that will assist in inputting values that correspond to the written rules for the strategy, and some include specific rule detail.
Buying
The strategy generates Buy signals with the Fast line crossing over the Slow line within a “Buy Range” which is adjusted based on volatility of the leveraged ETF. This is unique in that a default is set for these entries to occur if the values are tied and doesn’t need to be within the high and low range if that occurs. The trader can select in the strategy for this to occur the same day, if he’s selected a Daily Stochastic timeframe, or at the end of the trading week if he’s selected a Weekly stochastic timeframe. The volatility of a leveraged ETF will sometimes cause a shake-out exit, a trailing stop can be hit, or there can be an exit based on taking a profit. A big part of the timing challenge was how to handle these. The strategy normally (set as a default) will immediately re-buy the next day only if the original buy conditions are still true. This helps capture gains when conditions are still favorable but keeps the trader out when they’re not.
Selling
Exits are handled in several ways. The strategy will exit if there is a fast line cross below a slow line within the “range”. The range is adjusted based on volatility of the leveraged ETF. The exit occurs at the close of the day if the trader has selected to use a Daily stochastic setting. The exit will occur at the end of the trading week if the trader has chosen a weekly stochastic strategy. The trader will set a level based on the instrument and volatility for another exit type. The level will sometimes coincide with the range exit high level but does not need to. If a fast line crosses down through a slow line above the level set, and then comes down to that level, the strategy will exit the position.
Another unique aspect of the strategy is the PD Stop setting. This is short for “Prior Day”, Rather than a normal stop based on the price paid for a position, the PD Stop is based on a percentage drop from the previous day’s closing price. This helps account for the volatility of the leveraged ETF and will cause an exit quickly if there’s a market, or index moving event. This helps capture gains and reduce risk should there be continued pullback.
Exits will also occur based on setting a trailing stop level and profit taking level. These are adjusted based on the leveraged ETFs volatility and historical performance.
Limitations
Choppy, or sideways markets are the most prone to poor performance and potential for being stopped out multiple times. If stopped out two consecutive times, make sure you’re monitoring market health and there are clear signs of a new uptrend such as a 10D and 21D MA in proper alignment and moving up. If you get a Buy signal from the strategy and you’re not confident yet about market and price direction then it’s fine to wait a day, or several days, to enter after the Buy signal when you have greater confidence about market direction. The author can help with a short list of tactical rules developed for these sideways or choppy markets.
This strategy has proven successful backtest results with a very limited set of LETFs as discussed earlier. The author does not know if it will prove successful with any others, or other types of ETFs such as 2X or plain ETFs. A lot more testing needs to be done.
The strategy buys and sells , excluding stops or take profit, at the market close. It can be very challenging to enter an order at market close.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting. This post and the script do not provide any financial advice and are for educational and entertainment purposes only.
Leveragetrading
CryptoSignalScanner - DeFib v2 indicatorDESCRIPTION:
The DeFib indicator combines Moving Averages data points, Fibonacci sequence calculations and other methods to help traders make better decisions when it comes to entering and exiting trades at different time intervals. By analyzing these data points, the indicator provides valuable insights into the market trends and helps traders determine optimal moments to enter or exit a trade. Moving Averages helps smooth out price fluctuations over a specified period, providing a clearer picture of the overall market direction. The DeFib indicator uses a mix of these averages and Fibonacci methods to increase its chances of finding good trade opportunities. Whether analyzing short-term trends or longer-term patterns, this indicator assists traders in identifying favorable entry and exit points, thereby supporting more informed and strategic trading decisions.
By using Moving Averages data points based on the Fibonacci Sequence (+ some extra calculations we don't wish to share), we incorporate a unique perspective into the analysis. It helps to identify key levels of interest, potential trend reversals, and areas where price action may align with Fibonacci retracement levels. The Fibonacci Sequence is a mathematical sequence in which each number is the sum of the two preceding numbers (e.g., 0, 1, 1, 2, 3, 5, 8, 13, 21, and so on).
As a result of this information some L1, L2, S1 and S2 labels are printed on the chart. The labels are printed when a candle has been closed. Those labels are an indication when to enter or exit a trade. How to use those labels is described in the section "HOW TO USE" below.
This indicator is versatile and can be used on any timeframe, offering a wide range of features to support traders in their decision-making process. Here are some key aspects of this indicator:
User-Friendly:
Traders can easily customize all the settings according to their preferences, ensuring a personalized trading experience.
Long Signals:
The indicator provides both normal and strong long signals, which assist traders in identifying potential reversals in the market. These signals act as confirmation for traders to consider entering a long position.
Short Signals:
Similarly, the indicator offers normal and strong short signals, helping traders identify and confirm potential market reversals for short positions.
Fibonacci Sequence Calculation:
The calculation of the Long and Short labels is based on the Fibonacci Sequence, a mathematical pattern widely used in technical analysis. This adds a reliable and systematic approach to the indicator's signal generation.
Stop Loss:
When initiating a trade, it is our standard practice to implement a stop loss order based on the stop loss signal derived from the current or preceding candle. These stop loss signals are generated using the Average True Range (ATR) indicator.
Overlays:
The indicator includes overlays that visually represent market trends. These overlays identifying support and resistance levels, and providing valuable insights into the overall market behaviour.
Trend Table Box:
Traders can access a trend table box that displays the prevailing trend across different timeframes. This feature allows traders to assess the trend's strength and consistency. Additionally, users have the flexibility to adjust the timeframes based on their trading preferences.
Long/Short Alerts:
The indicator offers the functionality to add alerts for both long and short positions. Traders can set up notifications to be alerted when specific conditions are met, ensuring they stay informed even when they're not actively monitoring the charts.
Overall, this indicator provides traders with a comprehensive set of tools and features to enhance their trading decisions. Its user-friendly nature, combined with the inclusion of various signals, overlays, trend analysis, and alerts, enables traders to make informed choices and adapt to different market conditions effectively.
HOW TO USE:
This indicator incorporates specific signals that provide valuable insights into potential trend reversals in the market. Here's how each signal type is interpreted:
L1 (Long) Signal:
When an L1 signal appears, it suggests a potential uptrend reversal. Traders should pay attention to this signal as it indicates a possible shift from a downtrend to an uptrend. It serves as an early indication of a potential upward movement in prices. This is the fist point where we can take a long position. If we want to invest $100 into this trade we invest a maximum of $50 at this point. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
L2 (Long) Signal:
An L2 signal acts as confirmation of the potential uptrend reversal identified by the L1 signal. When an L2 signal emerges, it strengthens the case for an upcoming uptrend. Traders may consider this signal as a stronger indication to support their decision to enter a long position. This is the point where we can invest another $50 if we already invested on the L1 signal. If we did not invested yet and we still see a clear reversal we enter the trade here with $100. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
S1 (Short) Signal:
When an S1 signal is generated, it suggests a potential downtrend reversal. Traders should take note of this signal as it indicates a possible shift from an uptrend to a downtrend. It serves as an early indication of a potential downward movement in prices. This is the fist point where we can take a short position. If we want to invest $100 into this trade we invest a maximum of $50 at this point. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
S2 (Short) Signal:
An S2 signal confirms the potential downtrend reversal identified by the S1 signal. When an S2 signal emerges, it reinforces the likelihood of an upcoming downtrend. Traders may consider this signal as a stronger indication to support their decision to enter a short position. This is the point where we can invest another $50 if we already invested on the S1 signal. If we did not invested yet and we still see a clear reversal we enter the trade here with $100. Don't forget to put a stop loss as described below in the "STOP LOSS" section.
These signals provide traders with a systematic framework to identify and evaluate potential reversals in market trends. By combining the information provided by both the L1 and L2 signals (for uptrends) or the S1 and S2 signals (for downtrends), traders can gain more confidence in their assessments of trend reversals. This indicator offers traders a valuable tool to capitalize on these reversal opportunities and make more informed trading decisions.
It is important to exercise caution and avoid blindly following the signals generated by the indicator. Instead, it is recommended to seek additional confirmations from other technical indicators such as the RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), or any other indicators that you are familiar with and trust.
While the signals provided by the indicator can be a useful starting point, relying solely on them may not always guarantee accurate predictions. By considering other technical indicators, traders can gain a more comprehensive view of the market conditions and validate the signals received from the indicator.
The RSI is a popular momentum oscillator that measures the speed and change of price movements. It helps traders identify overbought and oversold conditions, giving insights into potential trend reversals. The MACD, on the other hand, combines moving averages to provide signals for trend identification, as well as momentum and divergence analysis.
By utilizing these additional indicators or any others that you are familiar with, you can confirm the signals generated by the indicator under consideration. This approach enhances the reliability of your trading decisions by adding another layer of analysis and reducing the potential for false signals.
Each trader may have their preferred set of technical indicators based on their trading style and experience. It is important to select indicators that align with your trading strategy and complement the signals received from the indicator in question. This way, you can make more informed and well-rounded trading decisions, increasing the probability of successful trades and minimizing potential risks.
Stop Loss:
When initiating a trade, it is our standard practice to implement a stop loss order based on the stop loss signal derived from the current or preceding candle. These stop loss signals are generated using the Average True Range (ATR) indicator.
By employing a stop loss order, we aim to limit potential losses in case the trade moves against our anticipated direction. The stop loss signal, determined from the current or previous candle, provides a specific level at which the stop loss order is placed.
The Average True Range indicator is utilized to gauge the volatility of the market and determine an appropriate stop loss level. It takes into account the price range of the asset over a defined period, considering both high and low price points. By using the ATR, we can identify an optimal stop loss level that accounts for the asset's recent price fluctuations.
Implementing a stop loss based on the ATR-derived signal adds a layer of risk management to our trading strategy. It helps mitigate potential losses by automatically triggering the stop loss order if the price reaches or exceeds the predetermined level. This approach allows us to protect our capital and minimize the impact of adverse price movements.
It is important to note that the ATR-based stop loss signals should be used in conjunction with other analysis techniques and indicators. They serve as a dynamic reference point that considers market volatility, ensuring the stop loss level is adjusted accordingly.
By incorporating stop loss orders based on the stop loss signals derived from the current or previous candle using the ATR indicator, we aim to safeguard our trades and manage risk effectively. However, it is important to continually monitor and adjust the stop loss level as market conditions evolve, adhering to our risk management strategy throughout the duration of the trade.
Candlestick Sequence:
The Candlestick Sequence is a calculation used to identify potential trend reversal points in the financial markets. It consists of two main components, the Candlestick Sequence and the Candlestick Reversal. The Candlestick Sequence and Candlestick Reversal offer a structured way to identify potential reversals in the market.
WARNING:
• It is not advisable to engage in Leverage Trading unless you possess chart reading skills.
• It is not advisable to engage in Leverage Trading unless you are capable of interpreting technical indicators such as RSI, Moving Average, MACD, and others.
• It is crucial not to blindly follow trading signals without conducting your own analysis (DYOR - Do Your Own Research).
• Avoid succumbing to FOMO (Fear Of Missing Out) and impulsively entering trades. If you miss an entry point, it is important to let it go and patiently wait for the next potential entry point.
Leverage trading involves trading with borrowed funds, which amplifies both potential profits and losses. To participate in this form of trading, it is imperative to possess a certain level of expertise and knowledge. One key requirement is the ability to read and analyze charts effectively. Chart reading involves understanding various chart patterns, price movements, and support and resistance levels, among other factors. Without this skill, it can be challenging to make informed decisions and manage risk appropriately.
Additionally, leverage trading relies on technical indicators to identify potential trading opportunities and gauge market conditions. It is essential to have the ability to interpret indicators such as RSI, Moving Average, MACD, and others, as they provide valuable insights into market trends, momentum, and potential reversals. Ignoring or misunderstanding these indicators can lead to incorrect trading decisions and increased risk exposure.
Moreover, it is crucial not to blindly rely solely on trading signals, including those generated by indicators or other sources. While signals can be helpful, they should always be complemented by conducting one's own analysis. This entails conducting thorough research, considering multiple factors, and validating the signals with additional indicators or technical analysis techniques. This approach helps in making more informed and well-rounded trading decisions.
Finally, FOMO can be a detrimental emotion that drives impulsive and irrational trading behavior. It is important to avoid entering trades solely because of the fear of missing out on potential profits. If an entry point is missed, it is recommended to exercise patience and discipline by waiting for the next suitable opportunity. This approach helps to avoid unnecessary risks and maintain a more strategic and calculated trading approach.
By adhering to these warnings and taking the necessary precautions, traders can approach leverage trading more responsibly and increase their chances of success while mitigating potential losses.
REMARKS:
• It is important to emphasize that any information or content you encounter here is not intended as financial advice. We want to make it clear that we are not authorized or qualified to provide personalized investment advice. Our content, including ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, should be viewed strictly as informational, entertaining, or educational material.
• We emphasize that you should not construe the information provided here as personal investment advice or as a recommendation to take specific investment actions. It is crucial to conduct your own research, consider your individual financial circumstances, and consult with a qualified financial professional before making any investment decisions.
• While we aim to provide accurate and reliable information, we cannot guarantee the absence of errors or inaccuracies. Therefore, it is recommended to independently verify any information provided and exercise your own judgment when using it for decision-making purposes.
• Please be aware that any actions you take based on the information found here are done so at your own risk. We disclaim any liability for the consequences of your actions or decisions stemming from the information presented.
• Our intention is to provide helpful information that can contribute to your overall understanding and assist you in making better-informed decisions. However, it is essential to exercise caution, seek professional advice, and take responsibility for your investment choices.
Cheers & Good luck.
Liquidations Meter [LuxAlgo]The Liquidation Meter aims to gauge the momentum of the bar, identify the strength of the bulls and bears, and more importantly identify probable exhaustion/reversals by measuring probable liquidations.
🔶 USAGE
This tool includes many features related to the concept of liquidation. The two core ones are the liquidation meter and liquidation price calculator, highlighted below.
🔹 Liquidation Meter
The liquidation meter presents liquidations on the price chart by measuring the highest leverage value of longs and shorts that have been potentially liquidated on the last chart bar, hence allowing traders to:
gauge the momentum of the bar.
identify the strength of the bulls and bears.
identify probable reversal/exhaustion points.
Liquidation of low-leveraged positions can be indicative of exhaustion.
🔹 Liquidation Price Calculator
A liquidation price calculator might come in handy when you need to calculate at what price level your leveraged position in Crypto, Forex, Stocks, or any other asset class gets liquidated to add a protective stop to mitigate risk. Monitoring an open position gets easier if the trader can calculate the total risk in order for them to choose the right amount of margin and leverage.
Liquidation price is the distance from the trader's entry price to the price where trader's leveraged position gets liquidated due to a loss. As the leverage is increased, the distance from trader's entry price to the liquidation price shrinks.
While you have one or several trades open you can quickly check their liquidation levels and determine which one of the trades is closest to their liquidation price.
If you are a day trader that uses leverage and you want to know which trade has the best outlook you can calculate the liquidation price to see which one of the trades looks best.
🔹 Dashboard
The bar statistics option enables measuring and presenting trading activity, volatility, and probable liquidations for the last chart bar.
🔶 DETAILS
It's important to note that liquidation price calculator tool uses a formula to calculate the liquidation price based on the entry price + leverage ratio.
Other factors such as leveraged fees, position size, and other interest payments have been excluded since they are variables that don’t directly affect the level of liquidation of a leveraged position.
The calculator also assumes that traders are using an isolated margin for one single position and does not take into consideration the additional margin they might have in their account.
🔹Liquidation price formula
the liquidation distance in percentage = 100 / leverage ratio
the liquidation distance in price = current asset price x the liquidation distance in percentage
the liquidation price (longs) = current asset price – the liquidation distance in price
the liquidation price (shorts) = current asset price + the liquidation distance in price
or simply
the liquidation price (longs) = entry price * (1 – 1 / leverage ratio)
the liquidation price (shorts) = entry price * (1 + 1 / leverage ratio)
Example:
Let’s say that you are trading a leverage ratio of 1:20. The first step is to calculate the distance to your liquidation point in percentage.
the liquidation distance in percentage = 100 / 20 = 5%
Now you know that your liquidation price is 5% away from your entry price. Let's calculate 5% below and above the entry price of the asset you are currently trading. As an example, we assume that you are trading bitcoin which is currently priced at $35000.
the liquidation distance in price = $35000 x 0.05 = $1750
Finally, calculate liquidation prices.
the liquidation price (longs) = $35000 – $1750 = $33250
the liquidation price (short) = $35000 + $1750 = $36750
In this example, short liquidation price is $36750 and long liquidation price is $33250.
🔹How leverage ratio affects the liquidation price
The entry price is the starting point of the calculation and it is from here that the liquidation price is calculated, where the leverage ratio has a direct impact on the liquidation price since the more you borrow the less “wiggle-room” your trade has.
An increase in leverage will subsequently reduce the distance to full liquidation. On the contrary, choosing a lower leverage ratio will give the position more room to move on.
🔶 SETTINGS
🔹Liquidations Meter
Base Price: The option where to set the reference/base price.
🔹Liquidation Price Calculator
Liquidation Price Calculator: Toggles the visibility of the calculator. Details and assumptions made during the calculations are stated in the tooltip of the option.
Entry Price: The option where to set the entry price, a value of 0 will use the current closing price. Details are given in the tooltip of the option.
Leverage: The option where to set the leverage value.
Show Calculated Liquidation Prices on the Chart: Toggles the visibility of the liquidation prices on the price chart.
🔹Dashboard
Show Bar Statistics: Toggles the visibility of the last bar statistics.
🔹Others
Liquidations Meter Text Size: Liquidations Meter text size.
Liquidations Meter Offset: Liquidations Meter offset.
Dashboard/Calculator Placement: Dashboard/calculator position on the chart.
Dashboard/Calculator Text Size: Dashboard text size.
🔶 RELATED SCRIPTS
Here are some of the scripts that are related to the liquidation and liquidity concept, for more and other conceptual scripts you are kindly invited to visit LuxAlgo-Scripts .
Liquidation-Levels
Liquidations-Real-Time
Buyside-Sellside-Liquidity
Lines and Table for risk managementABOUT THIS INDICATOR
This is a simple indicator that can help you manage the risk when you are trading, and especially if you are leverage trading. The indicator can also be used to help visualize and to find trades within a suitable or predefined trading range.
This script calculates and draws six “profit and risk lines” (levels) that show the change in percentage from the current price. The values are also shown in a table, to help you get a quick overview of risk before you trade.
ABOUT THE LINES/VALUES
This indicator draws seven percentage-lines, where the dotted line in the middle represents the current price. The other three lines on top of and below the middle line shows the different levels of change in percentage from current price (dotted line). The values are also shown in a table.
DEFAULT VALUES AND SETTINGS
By default the indicator draw lines 0.5%, 1.0%, and 1.5% from current price (step size = 0.5).
The default setting for leverage in this indicator = 1 (i.e. no leverage).
The line closest to dotted line (current price) is calculated by step size (%) * leverage (x) = % from price.
Pay attention to the %-values in the table, they represent the distance from the current price (dotted line) to where the lines are drawn.
* Be aware! If you change the leverage, the distance from the closest lines to the dotted line showing the current price increase.
SETTINGS
1. Leverage: set the leverage for what you are planning to trade on (1 = no leverage, 2 = 2 x leverage, 5 = 5 x leverage...).
2. Stepsize is used to set the distance between the lines and price.
EXAMPLES WITH DIFFERENT SETTINGS
1) Leverage = 1 (no leverage, default setting) and step size 0.5 (%). Lines plotted at (0.5%, 1%, 1.5%, and –0.5%, –1%, –1,5%) from the current price.
2) Leverage = 3 and stepsize 0.5(%). Lines plotted at (1.5%, 3.0%, 4.5%, and –1.5%, –3.0%, –4.5%) from the current price.
3) Leverage = 3 and stepsize 1(%). Lines plotted at (3%, 6%, 9%, and –3%, –6%, –9%) from the current price.
The distance to the nearest line from the current price is always calculated by the formula: Leverage * step size (%) = % to the nearest line from the current price.
How to use Leverage in PineScriptI believe there are many friends who have been confused by the leverage problem of TradingView strategy, when backtesting, it is always unable to bring its own leverage, so it is impossible to do leverage sustained compounding, this key point, and many friends are looking forward to solve. In particular, the default_qty_value = 100, where 100 is the upper limit.
Here I have used the official RSI strategy for demonstration, using the qty to place orders. Through strategy.equity, leverage and close price, and rounding, directly calculate the specific number of contracts need to be opened.
I hope you can enjoy solving the leverage problem, and I look forward to your pointing out my problems and shortcomings to me. Thank you.
Leverage and contracts toolThis script is more like a tool than an indicator.
The script determinates the amount of contracts and the leverage needed to do one trade.
You must specify the following parameters:
Entry price
Stop Loss price
Stop Loss risk. It's the capital that you will loss if the price hit the SL price.
Operation equity. It's the whole capital involved in the operation.
No matter what side of operation is, it works in both ways (short and long).
To determine the levels could be useful use the short-long position tool of TradingView.
BTC BOT [15min]This BOT is specialy designed for BTCUSDT 15 min Chart. It reacts to every Upward/Downward direction as fast as possible. It does not work well on higher time frame.
This BOT using 10 indicators to open a basic LONG/SHORT position.
1. CLOUD
2. TREND DETECTOR
3. TREND STRENGTH
4. PARABOLIC SAR
5. JMA
6. RANGE FILTER
7. ADX
8. TWAP TREND
9. FAST MA
10. MOMENTUM
This BOT also use 02 independent strategies for entering positions.
1. REVESALS (RSI Crossovers)
2. SCALPING (It can increase net profit but it can be risky)
ADX is the main component of this BOT.
This is purely BTC 15min strategy but this BOT could be easily convert into Altcoins Scalper.
Elevated Leverage index System - ELiSELEVATED 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:
1- nATR: Normalized Average True Range which is actually ATR/price to stabilize ATR's value differences when price changes are high on long term periods.
2- Standard Deviation
3- Kairi based nATR
4- Bollinger %B
which are scaled from 0 to 100 and takes different averages with different combinations & ratios and combines them as an index.
This index calculates an average volatility to set the true leverage level when trading futures especially in Crypto and FX markets.
There are 5 risk levels of "GEARS" like on automobiles to set the max leverage for risk management.
Gear 1 - CONSERVATIVE: max leverage level can be 20 for swing traders and beginners
Gear 2 - STANDARD: max leverage level can be 25 (default) for day traders
Gear 3 - AVERAGE: max leverage level can be 33 for day traders
Gear 4 - RISKY: max leverage level can be 50 for scalpers
Gear 5 - AGRESSIVE: max leverage level can be 100 for advanced scalpers
default length for ATR, Standard Deviation and %B are all 50
Simply:
When markets aren't volatile: ELiS indicateshigher leverage values to maximize profits.
When markets are volatile enough: ELiS indicates lower values to reduce risk level.
hope you all enjoy ELiS on profitable trades.
Trade Calculator by RealmixA clean Trade Calculator for any Asset, which calculates everything you need to know.
This script is a modified version of the Position Calculator by Mysteriown. Link:
I try to make it a bit better for Futures Trading.
MACD 50x Leveraged Strategy Real Equity Simulation Hello, I wrote this script to merge the two scripts I shared before.
The aim here is to see the real value of the state of the capital as a result of leveraged transactions and to combine both long and short directions.
Scripts :
MACD Long 50x Leverage Strategy :
MACD Short 50x Leverage Strategy :
The parameters have not changed so they are the same as the previous two scripts:
Adding margin: Forbidden or not specified. (Add Margin : No)
Position Size : %1 (0.01) (For each trade)
Stop-Loss : %2 (For each trade)
Long : Crossover(delta,0) (Standard MACD)
Long Exit : Long Stop Level or Short Entry
(In the case of Long Stop, all trades are closed and no positions are opened in short direction.)
Short : Crossunder(delta,0) (Standard MACD)
Short Exit : Short Stop or Long Entry
(In the case of Short Stop, all trades are closed and no positions are opened in the long direction.)
NOTE :
This is a simulation made using standard parameters, showing the state of the balance in very simple rules with leveraged transactions only.
The nice thing here is the direct observation of the results by making modifications on the strategy parameters.
Regards.
MACD 50x Leveraged Long Strategy Results with Real Equity Hello there.
I was looking for a way to simulate leveraged transactions in Tradingview and this script came out.
You can examine the equity graph without looking at the strategy results.
Thus, the facts will come to light.
Strategy parameters:
Adding margin: Forbidden or not specified. (Add Margin : No)
Position size: (for each trade) 1%
Stop-Loss: (2%)
Long: macd crossover
Exit: macd crossunder
Or ofc touching the stop-Loss value as predicted.
Warning: This strategy simulation is for Long direction only.
Regards.
Bitcoin1% : High Leverage Indicator______________________________________________________________________________________________________________________
NOTE: Bitcoin1% is designed to work EXCLUSIVELY on BYBIT BTCUSD PERPETUAL CONTRACT chart on 1min TimeFrame on regular Candles
______________________________________________________________________________________________________________________
Bitcoin1% is a specialised indicator suite designed to catch 1% Bitcoin moves in either direction for High Leverage Trading.
Example: At 10x leverage catching 1% Bitcoin move will yield 10% profit
__________________________________________________________
Mechanism Of Action:
1. Identify trend: The script observers multiple parameters on higher timeframes to identify general trend & strength.
2. Take position: Once the trend is identified the script intends to take high probability positions for a 1% move in the direction of the trend. Currently there are 21 conditions that use bespoke datasets, along with conventional datasets like RSI , MA, VWAP to filter & identify high probability entries.
3. Take profits: There are total 4 conditions for exits. Partial Exit & Total Exit for both Longs & Shorts. Although we recommend you book profit at 1% change in price of BTCUSD these 4 conditions will offer high volatility exits along the way, should you choose to hold for longer.
4. Evolving: We learn from mistakes when they happen, bad trades are dissected & studied. New conditions get added & bad trades get filtered out through updates. This keeps the script in sync with the market.
__________________________________________________________
Insight: The script performs best in trending markets, so it avoids trading structureless or sideways movement & expects reasonable judgement on the user's part to avoid trading unusual & directionless market conditions.
Trading Mindset: When Bitcoin1% indicates a long trade, it basically says "BTC is more likely to move up 1% than go down 1% form here" : The script only indicates direction of the next 1% which is all you need for High Leverage Trading. You can set target & stop at 1% & try different variations with experience.
Have Questions? Feel free to PM me on TradingView
FIVE POWER - BUY SELL by coinssporFOUR POWER - BUY SELL by coinsspor
Four Power include four diffrent indicator.
Heikin Ashi Smoothed
Marvelous Method
RSI BUY-SELL V3
Tillson T3
U can use all of them same time (it gives one common signal) or u can use only one indicator
for example: if u wanna use only one indicator u must select buy level power as 1 and u must select sell level power as 1 after that u need click on only one indicator
if u seleck higher 1 than indicator u need select buy level power higher
and i advice always to use buy power level > sell power level