FlexiMA x FlexiST - Strategy [presentTrading]█ Introduction and How it is Different
The FlexiMA x FlexiST Strategy blends two analytical methods - FlexiMA and FlexiST, which are opened in my early post.
- FlexiMA calculates deviations between an indicator source and a dynamic moving average, controlled by a starting factor and increment factor.
- FlexiST, on the other hand, leverages the SuperTrend model, adjusting the Average True Range (ATR) length for a comprehensive trend-following oscillator.
This synergy offers traders a more nuanced and multifaceted tool for market analysis.
BTC 6H L/S Performance
Local
█ Strategy, How It Works: Detailed Explanation
The strategy combines two components: FlexiMA and FlexiST, each utilizing unique methodologies to analyze market trends.
🔶FlexiMA Component:
- Calculates deviations between an indicator source and moving averages of variable lengths.
- Moving average lengths are dynamically adjusted using a starting factor and increment factor.
- Deviations are normalized and analyzed to produce median and standard deviation values, forming the FlexiMA oscillator.
Length indicator (50)
🔶FlexiST Component:
- Uses SuperTrend indicators with varying ATR (Average True Range) lengths.
- Trends are identified based on the position of the indicator source relative to the SuperTrend bands.
- Deviations between the indicator source and SuperTrend values are calculated and normalized.
Starting Factor (5)
🔶Combined Strategy Logic:
- Entry Signals:
- Long Entry: Triggered when median values of both FlexiMA and FlexiST are positive.
- Short Entry: Triggered when median values of both FlexiMA and FlexiST are negative.
- Exit Signals:
- Long Exit: Triggered when median values of FlexiMA or FlexiST turn negative.
- Short Exit: Triggered when median values of FlexiMA or FlexiST turn positive.
This strategic blend of FlexiMA and FlexiST allows for a nuanced analysis of market trends, providing traders with signals based on a comprehensive view of market momentum and trend strength.
█ Trade Direction
The strategy is designed to cater to various trading preferences, offering "Long", "Short", and "Both" options. This flexibility allows traders to align the strategy with their specific market outlook, be it bullish, bearish, or a combination of both.
█ Usage
Traders can effectively utilize the FlexiMA x FlexiST Strategy by first selecting their desired trade direction. The strategy then generates entry signals when the conditions for either the FlexiMA or FlexiST are met, indicating potential entry points in the market. Conversely, exit signals are generated when the conditions for these indicators diverge, thus signaling a potential shift in market trends and suggesting a strategic exit point.
█ Default Settings
1. Indicator Source (HLC3): Provides a balanced and stable price source, reducing the impact of extreme market fluctuations.
2. Indicator Lengths (20 for FlexiMA, 10 for FlexiST): Longer FlexiMA length smooths out short-term fluctuations, while shorter FlexiST length allows for quicker response to market changes.
3. Starting Factors (1.0 for FlexiMA, 0.618 for FlexiST): Balanced start for FlexiMA and a harmonized approach for FlexiST, resonating with natural market cycles.
4. Increment Factors (1.0 for FlexiMA, 0.382 for FlexiST): FlexiMA captures a wide range of market behaviors, while FlexiST provides a gradual transition to capture finer trend shifts.
5. Normalization Methods ('None'): Uses raw deviations, suitable for markets where absolute price movements are more significant.
6. Trade Direction ('Both'): Allows strategy to consider both long and short opportunities, ideal for versatile market engagement.
*More details:
1. FlexiMA
2. FlexiST
Deviation
FlexiSuperTrend - Strategy [presentTrading]█ Introduction and How it is Different
The "FlexiSuperTrend - Strategy" by PresentTrading is a cutting-edge trading strategy that redefines market analysis through the integration of the SuperTrend indicator and advanced variance tracking.
BTC 6H L/S
This strategy stands apart from conventional methods by its dynamic adaptability, capturing market trends and momentum shifts with increased sensitivity. It's designed for traders seeking a more responsive tool to navigate complex market movements.
Local
█ Strategy, How It Works: Detailed Explanation
The "FlexiSuperTrend - Strategy" employs a multifaceted approach, combining the adaptability of the SuperTrend indicator with variance tracking. The strategy's core lies in its unique formulation and application of these components:
🔶 SuperTrend Polyfactor Oscillator:
- Basic Concept: The oscillator is a series of SuperTrend calculations with varying ATR lengths and multipliers. This approach provides a broader and more nuanced perspective of market trends.
- Calculation:
- For each iteration, `i`, the SuperTrend is calculated using:
- `ATR Length = indicatorLength * (startingFactor + i * incrementFactor)`.
- `Multiplier = dynamically adjusted based on market conditions`.
- The SuperTrend output for each iteration is compared with the indicator source (like hlc3), and the deviation is recorded.
SuperTrend Calculation:
- `Upper Band (UB) = hl2 + (ATR Length * Multiplier)`
- `Lower Band (LB) = hl2 - (ATR Length * Multiplier)`
- Where `hl2` is the average of high and low prices.
Deviation Calculation:
- `Deviation = indicatorSource - SuperTrend Value`
- This value is calculated for each SuperTrend setting in the oscillator series.
🔶 Indicator Source (`hlc3`):
- **Usage:** The strategy uses the average of high, low, and close prices, providing a balanced representation of market activity.
🔶 Adaptive ATR Lengths and Factors:
- Dynamic Adjustment: The strategy adjusts the ATR length and multiplier based on the `startingFactor` and `incrementFactor`. This adaptability is key in responding to changing market volatilities.
- Equation: ATR Length at each iteration `i` is given by `len = indicatorLength * (startingFactor + i * incrementFactor)`.
incrementFactor - 1
incrementFactor - 2
🔶 Normalization Methods:
Purpose: To standardize the deviations for comparability.
- Methods:
- 'Max-Min': Scales the deviation based on the range of values.
- 'Absolute Sum': Uses the sum of absolute deviations for normalization.
Normalization 'Absolute Sum'
- For 'Max-Min': `Normalized Deviation = (Deviation - Min(Deviations)) / (Max(Deviations) - Min(Deviations))`
- For 'Absolute Sum': `Normalized Deviation = Deviation / Sum(Absolute(Deviations))`
🔶 Trading Logic:
The strategy integrates the SuperTrend indicator, renowned for its effectiveness in identifying trend direction and reversals. The SuperTrend's incorporation enhances the strategy's ability to filter out false signals and confirm genuine market trends. * The SuperTrend Toolkit is made by @QuantiLuxe
- Long Entry Conditions: A buy signal is generated when the current trend, as indicated by the SuperTrend Polyfactor Oscillator, turns positive.
- Short Entry Conditions: A sell signal is triggered when the current trend turns negative.
- Entry and Exit Strategy: The strategy opens or closes positions based on these signals, aligning with the selected trade direction (long, short, or both).
█ Trade Direction
The strategy is versatile, allowing traders to choose their preferred trading direction: long, short, or both. This flexibility enables traders to tailor their strategies to their market outlook and risk appetite.
█ Usage
The FlexiSuperTrend strategy is suitable for various market conditions and can be adapted to different asset classes and time frames. Traders should set the strategy parameters according to their risk tolerance and trading goals. It's particularly useful for capturing long-term movements, ideal for swing traders, yet adaptable for short-term trading strategies.
█ Default Settings
1. Trading Direction: Choose from "Long", "Short", or "Both" to define the trade type.
2. Indicator Source (HLC3): Utilizes the HLC3 as the primary price reference.
3. Indicator Length (Default: 10): Influences the moving average calculation and trend sensitivity.
4. Starting Factor (0.618): Initiates the ATR length, influenced by Fibonacci ratios.
5. Increment Factor (0.382): Adjusts the ATR length incrementally for dynamic trend tracking.
6. Normalization Method: Options include "None", "Max-Min", and "Absolute Sum" for scaling deviations.
7. SuperTrend Settings: Varied ATR lengths and multipliers tailor the indicator's responsiveness.
8. Additional Settings: Features mesh style plotting and customizable colors for visual distinction.
The default settings provide a balanced approach, but users are encouraged to adjust them based on their individual trading style and market analysis.
DMT TEMPELTON PECK STRATEGYIntroduction Templeton Peck Strategy Version .
Bring your A-game to the market in A-Team style with DMT Templeton Peck – you’ll love it when this plan comes together!
Using customized standard deviations between historic price action ranges and volume metrics, DMT Templeton Peck enables traders to never miss a change in trend.
In its default state, the DMT Templeton Peck Strategy displays key information, such as:
• Small trend line
• Large trend line
• Position entry prices
• Take profit levels
• Stop levels
• Buy and sell trend signals
In addition to providing core functionality for the indicator’s strategy signals, traders can use this data to enter or exit trades.
When price crosses both trend lines and consolidates there is a high probability that price will continue to move in the same direction. The most profitable results are achieved when trading in the direction of the current large time frame trend.
When small and large trend lines cross a trading signal is generated which can be used to automate trades. Please see the ‘TradingView Alerts’ section of this document for further details.
The Small & Large trend line’s display can be toggled, and their colors modified in the indicator’s style options as shown below.
Basic Strategy
In its simplest form, the strategy is to buy when the price crosses and consolidates above both trend lines and sell when the price crosses and consolidates below both trend lines.
Set amount of first entry to the inputs data.
You can add a commission fee.
Adjust initial capital for your needs.
How to Trade
Confident traders may choose to enter a long position at the point
#1 when the price passes above both trend lines and begins to consolidate.
However, the safer trade is to wait for the trend lines to cross at a point
#2 and then look for an entry in the direction of the local trend.
One price action begins to reverse to the downside the strategy reverses. Confident traders may choose to enter point
#3 when the price passes both trend lines and begins to consolidate once again under the previous price action structure that is now acting as resistance.
A sell signal is generated at the point
#4 which produced a small profit; however, a new short position could have been opened when the price retraced to resistance at a point
#5 and experienced a repeated number of strong rejections.
Do not worry if you miss a trade as there is often more than a single opportunity to enter – like at position #5 when price action retests the previous local price structure as resistance.
The indicator can be used on smaller time frames to scalp or find an entry after a larger time frame has signaled, however smaller time frames will also be “choppy” and should only be traded with a paper-tested strategy.
Traders should take profit on positions at resistance & support levels and look to have fully exited the trade by the time the price crosses back over both trend lines and/or loses a previously established price level.
Indicator Tuning
In its default state, the indicator is tuned for swing trades using 30 minute & 1 hour time frames, however, you are encouraged to experiment with the indicator options.
The input also allows you to set separately longs and shorts for a better view of the trend and to avoid hunts.
Large & Small Length options define how many historic candles are used for the calculation of the relevant trend line.
As a rule of thumb, larger time frames would use smaller values and smaller time frames would use larger values, ie. On a daily chart, a large and small length could be defined as 400 and 100 respectively.
Please be aware that there are limits to the amount of historical data for any intraday level based on your TradingView subscription level:
• Basic – 5000 bars/candles
• Pro & Pro+ - 10000 bars/candles
• Premium – 20000 bars/cables
TradingView Backtest
By utilizing TradingView backtest you can set a specific date for your analysis.
Loft Strategy V4This strategy is an advanced version of the Loft Strategy V1, I shared earlier. (Loft Strategy V1 consists of a kalman filter (by alexgrover ) and a "stop and reverse" line which is following and the kalman filter. If the price goes in the same direction as the position side, the "stop and reverse" line approaches the kalman filter as set on the "Approach Decrease Step" parameter.)
In addition to the previous version, it includes a martingale like deviation and multiple take-profit.
Here it is some parameters definitions of the strategy:
Kalman Filter: The higher this parameter, the faster and more aggressive the filter. Otherwise the filter goes very smoothly
Beginning Approach: First approximation as a percentage of stop-n-reverse line
Final Approach: Minimum approximation of stop-n-reverse line
Approach Decrease Step: If the price moves in the same direction as the strategy, the approach percentage is reduced by this parameter. Otherwise nothing do
Base Order Quantity: Initial capital of position
Max Safe Order Attempt: This parameter determines the maximum number of times the strategy will raise the bet after losing in a row.
Safe Order Deviation: if the last trade is loss, multiply the bet by this parameter (aka. martingale factor)
Profit Deviation: if last trade in loss, multiply the take-profit points
Max Order Quantity: Maximum capital allowed for a position
TP1, TP2, TP3 : Take profit spots in percentage
QT1, QT2, QT3: Amount of take-profit spots
Stop Loss: Maximum stop loss allowed for a trade
Long Entry, Short Entry: Only long side, only short side or both side
Safe Stop After TP2: If the price reaches the TP2 point, move the stop-loss point to the entry price.
Safe Stop After TP1: If the price reaches TP1, move the stop-loss point to the stop-n-reverse line.
[cache_that_pass] 1m 15m Function - Weighted Standard DeviationTradingview Community,
As I progress through my journey, I have come to the realization that it is time to give back. This script isn't a life changer, but it has the building blocks for a motivated individual to optimize the parameters and have a production script ready to go.
Credit for the indicator is due to @rumpypumpydumpy
I adapted this indicator to a strategy for crypto markets. 15 minute time frame has worked best for me.
It is a standard deviation script that has 3 important user configured parameters. These 3 things are what the end user should tweak for optimum returns. They are....
1) Lookback Length - I have had luck with it set to 20, but any value from 1-1000 it will accept.
2) stopPer - Stop Loss percentage of each trade
3) takePer - Take Profit percentage of each trade
2 and 3 above are where you will see significant changes in returns by altering them and trying different percentages. An experienced pinescript programmer can take this and build on it even more. If you do, I ask that you please share the script with the community in an open-source fashion.
It also already accounts for the commission percentage of 0.075% that Binance.US uses for people who pay fees with BNB.
How it works...
It calculates a weighted standard deviation of the price for the lookback period set (so 20 candles is default). It recalculates each time a new candle is printed. It trades when price lows crossunder the bottom of that deviation channel, and sells when price highs crossover the top of that deviation channel. It works best in mid to long term sideways channels / Wyckoff accumulation periods.
[BullShow]BollingerBands_Deviation StrategyHello Everyone.
Are you enjoying this crazy bull market?
I want to Introduce very classic and simple but powerful strategy.
My strategy is using Bollinger Bands. Yes! It's the indicator that everyone knows and uses.
First of all, let's look at how Wikipedia defines the Bollinger Bands.
Bollinger Bands - Wikipedia
------------
Introduce
Bollinger Bands (/ˈbɒlɪnjdʒər bændz/) are a type of statistical chart characterizing the prices and volatility over time of a financial instrument or commodity, using a formulaic method propounded by John Bollinger in the 1980s.
Purpose
The purpose of Bollinger Bands is to provide a relative definition of high and low prices of a market. By definition, prices are high at the upper band and low at the lower band. This definition can aid in rigorous pattern recognition and is useful in comparing price action to the action of indicators to arrive at systematic trading decisions.
Interpretation
The use of Bollinger Bands varies widely among traders. Some traders buy when price touches the lower Bollinger Band and exit when price touches the moving average in the center of the bands. Other traders buy when price breaks above the upper Bollinger Band or sell when price falls below the lower Bollinger Band. Moreover, the use of Bollinger Bands is not confined to stock traders; options traders, most notably implied volatility traders, often sell options when Bollinger Bands are historically far apart or buy options when the Bollinger Bands are historically close together, in both instances, expecting volatility to revert towards the average historical volatility level for the stock.
------------
However, the use of the Bollinger Bands described on the website is only very abstract without precise guidelines.
So, by calculating the deviation of the 20-days moving average line, the center line of the Bollinger Bands, I chose a strategy to buy when the deviation starts to widen and sell when the separation starts to narrow again.
As a result, I found a strategy that would give you a decent return.
Due to the nature of the strategy, trades in the box zone are frequent, so the win rate is small, but when the price trend is confirmed, you can get a big profit.
Therefore, you can expect good returns from pair with a clear trend rather than pair that trade frequently in the box zone.
If you are interested in my strategy, Use the link below to obtain access to this indicator or PM me to obtain access
Thank you for your supporting.
안녕하세요 여러분.
이 미친 강세장을 즐기고 있습니까?
매우 고전적이고 단순하지만 강력한 전략을 소개하고 싶습니다.
제 전략은 볼린저 밴드를 사용하는 것입니다. 예! 모두가 알고 사용하는 그 지표입니다.
그러나 웹에서 설명하는 사용 방법은 정확한 지침없이 매우 추상적 일 뿐입니다.
따라서 저는 볼린저 밴드의 중심선 인 20 일 이동 평균선의 편차를 계산하여 편차가 확대되기 시작하면 매수하고 편차가 다시 좁아지기 시작하면 매도하는 전략을 선택했습니다.
결과적으로, 나는 당신에게 적절한 수익을 줄 전략을 찾았습니다.
전략의 특성상 박스 존에서의 거래가 빈번해 승률은 적지 만 가격 추세가 확인되면 큰 수익을 얻을 수 있습니다.
따라서 박스 존에서 자주 거래되는 패어보다는 명확한 추세의 패어에서 좋은 수익을 기대할 수 있습니다.
전략에 관심이 있으시거나 사용을 원하신다면 아래를 참고 해 주시거나 PM을 보내주세요.
감사합니다.
Back Testing
*initial_capital: $10000
*default_qty_value: 100%
*commission_value: 0.1%
*Period: 2017.01.01~
Profit
BTCUSD: 3109%
ETHUSD: 11160%
YFIUSDT: 823.88%
ZILUSDT: 570.84%
BNBUSDT: 937.18%
LINKUSDT: 471.41%
*Due to the nature of the strategy, a pair with a strong trend yields better results.
*전략 특성상 추세가 강한 패어에서 더 좋은 결과를 도출합니다.
*Optimized for a 4 hour time frame and a 12 hour time frame.
*4 시간 시간 프레임과 12 시간 시간 프레임에 최적화되었습니다.
VWAP + Fibo Dev Extensions StrategyBased on my VWAP + Fibo deviations indicator, I tested some strategies to see if the indicator can be profitable; and I got it !
This strategy uses:
H1 timeframe
Weekly VWAP
+1.618 / +2.618 / -1.618 / -2.618 Deviations Extensions to create 2 bands
The value of the deviation
First, the 2 bands are plotted : +1.618/+2.618 painted in red and -1.618/-2.618 painted in lime.
Then, we wait for the deviation value to reach at least 150 (see thumbnail) to avoid littles moves when the gaps between bands are too short.
Entry long position :
first candle must crossunder the -1.618 level and low have to stay over the -2.618
low of the second one must stay in the lime band
enter the third one if the deviation value is over limit (150)
Exit long position :
TP : when a high crossover VWAP
SL : when a low crossunder -2.618
Entry short position :
first candle must crossover the +1.618 level and high have to stay under the +2.618
high of the second one must stay in the red band
enter the third one if the deviation value is over limit (150)
Exit short position :
TP : when a low crossunder VWAP
SL : when a high crossover +2.618
Notes :
this strategy uses pyramiding (5), be careful and calculate your risk management
the comission value is set to 0.08% to include slippages when entering a trade because of market orders
This strategy is not an advice to invest, make your own decisions.