VXD SupercycleVXD is a brand new indicator and still developing. to minimize stop losses and overcome sideways market conditions, Higher Timeframe are recommended
Trend lines
-using Rolling VWAP as trend line to determined if Volume related to a certain price.
-you can switch RVWAP to EMA in the setting
ATR
-trailing 12*ATR and 2.4 Mutiplier
Pivot point and Rejected Block
Pivot show last High and low of a price in past bars
Rejected Block show when that High or Low price are important level to determined if it's Hidden Divergence or Divergence
Symbols on chart show Premium and Discount Prices
X-Cross - show potential reversal trend with weak volume .
O-circle - show potential reversal trend with strong volume .
Setting
Momentum: RSI = 25 , RSI MA = 14
Trend: Rolling VWAP and ATR and Subhag
Trailing STOP: ATR 12 x 2.4
Highlight Bars color when volume is above SMA 6
SMA200 act as TP Line
Risk:Reward Calculation
if Buy your Stoploss will be previous Pivot low
if Sell your Stoploss will be previous Pivot high and will be calculated form there, then show TP in Orange color line
VXD เป็นระบบเทรดที่ผมทดลองเอาหลาย ๆ ไอเดีย ทั้งจาก Youtube facebook และกลุ่มคนต่าง ๆ มารวบรวมไว้ แล้วตกผลึกขึ้นมาเป็นระบบนี้ ใน Timeframe ใหญ่ ๆ สามารถลากได้ทั้ง Cycle กันเลย
Trend lines
-ใช้ Rolling VWAP ของแอพ Tradingview (สามารถตั้งแค่าเป็น EMA ได้)
ATR
-ใช้ค่า ATR 12 Mutiplier 2.4
Pivot point and Rejected Block
Pivot โชว์เส้น High low และมีผลกับออเดอร์ หากแท่งเทียนปิดทะลุเส้นนี้
Rejected Block วาดแนวรับ-ต้าน อัตโนมัติ ใช้ประกอบ RSI ว่ามี Divergence หรือไม่
สัญลักษณ์ต่าง ๆ
X-Cross - แท่งกลืนกิน วอลุ่มน้อย
O-circle - แท่งกลืนกิน มีวอลุ่ม
Setting
Momentum: RSI = 25 , RSI MA = 14
Trend: Rolling VWAP and ATR and Subhag
Trailing STOP: ATR 12 x 2.4
Highlight Bars color when volume is above SMA 6
SMA200 act as TP Line
Risk:Reward Calculation
หาก Buy จุด SL จะอยู่ที่ Pivot low
หาก Sell จุด SL จะอยู่ที่ Pivot high และระบบจะคำนวณจากตรงนั้น จากนั้นแสดงเป็นเส้น TP สีส้ม
This Strategy Combined the following indicators and conditioning by me
ATR , RSI , EMA , SMA
Rolling VWAP - /script/ZU2UUu9T-Rolling-VWAP/
Regression Lines - Subhag form Subhag Ghosh /script/LHHBVpQu-Subhag-Ghosh-Algo-Version-for-banknifty/
Rejection Block , Pivots , High Volume Bars and PPDD form Super OrderBlock / FVG / BoS Tools by makuchaku & eFe /script/aZACDmTC-Super-OrderBlock-FVG-BoS-Tools-by-makuchaku-eFe/
ขอให้รวยครับ.
Indicators and strategies
Vix FIX / StochRSI Strategy
Updated to Pine V5
Enter upon a filtered or aggressive entry
If there are multiple entry signals, allow pyramiding
Exit when there is Stochastic RSI crossover above 80
Work with some futures and futures timeframes
Based on Chris Moody's Vix Fix
Customizable Non-Repainting HTF MACD MFI Scalper Bot StrategyThis script was originally shared by Wunderbit as a free open source script for the community to work with.
WHAT THIS SCRIPT DOES:
It is intended for use on an algorithmic bot trading platform but can be used for scalping and manual trading.
This strategy is based on the trend-following momentum indicator . It includes the Money Flow index as an additional point for entry.
HOW IT DOES IT:
It uses a combination of MACD and MFI indicators to create entry signals. Parameters for each indicator have been surfaced for user configurability.
Take profits are fixed, but stop loss uses ATR configuration to minimize losses and close profitably.
HOW IS MY VERSION ORIGINAL:
I started trying to deploy this script myself in my algorithmic trading but ran into some issues which I have tried to address in this version.
Delayed Signals : The script has been refactored to use a time frame drop down. The higher time frame can be run on a faster chart (recommended on one minute chart for fastest signal confirmation and relay to algotrading platform.)
Repainting Issues : All indicators have been recoded to use the security function that checks to see if the current calculation is in realtime, if it is, then it uses the previous bar for calculation. If you are still experiencing repainting issues based on intended (or non intended use), please provide a report with screenshot and explanation so I can try to address.
Filtering : I have added to additional filters an ABOVE EMA Filter and a BELOW RSI Filter (both can be turned on and off)
Customizable Long and Close Messages : This allows someone to use the script for algorithmic trading without having to alter code. It also means you can use one indicator for all of your different alterts required for your bots.
HOW TO USE IT:
It is intended to be used in the 5-30 minute time frames, but you might be able to get a good configuration for higher time frames. I welcome feedback from other users on what they have found.
Find a pair with high volatility (example KUCOIN:ETH3LUSDT ) - I have found it works particularly well with 3L and 3S tokens for crypto. although it the limitation is that confrigurations I have found to work typically have low R/R ratio, but very high win rate and profit factor.
Ideally set one minute chart for bots, but you can use other charts for manual trading. The signal will be delayed by one bar but I have found configurations that still test well.
Select a time frame in configuration for your indicator calculations.
Select the strategy config for time frame. I like to use 5 and 15 minutes for scalping scenarios, but I am interested in hearing back from other community memebers.
Optimize your indicator without filters (trendFilter and RSI Filter)
Use the TrendFilter and RSI Filter to further refine your signals for entry. You will get less entries but you can increase your win ratio.
I will add screenshots and possibly a video provided that it passes community standards.
Limitations: this works rather well for short term, and does some good forward testing but back testing large data sets is a problem when switching from very small time frame to large time frame. For instance, finding a configuration that works on a one minute chart but then changing to a 1 hour chart means you lose some of your intra bar calclulations. There are some new features in pine script which might be able to address, this, but I have not had a chance to work on that issue.
Scalping Support Resistance StrategyScalping strategy for BTC using one line: Support Resistance.
The strategy draws a line based on the minimum value of the average of High, Low, and Close for a given bar. The entries are carried out on the breakdown of this line. Exits are managed by the specified in the script's inputs take-profit and stop-loss percentages.
From Stream:
www.tradingview.com
Short Selling EMA Cross (By Coinrule)BINANCE:AVAXUSDT
This short selling script works best in periods of downtrends and general bearish market conditions, with the ultimate goal to sell as the the price decreases further and buy back before a rebound.
This script can work well on coins you are planning to hodl for long-term and works especially well whilst using an automated bot that can execute your trades for you. It allows you to hedge your investment by allocating a % of your coins to trade with, whilst not risking your entire holding. This mitigates unrealised losses from hodling as it provides additional cash from the profits made. You can then choose to to hodl this cash, or use it to reinvest when the market reaches attractive buying levels.
Entry
The exponential moving average ( EMA ) 20 and EMA 50 have been used for the variables determining the entry to the short. EMAs can operate better than simple moving averages due to the additional weighting placed on the most recent data points, whereas simple moving averages weight all the data the same. This means that price is tracked more closely and the most recent volatile moves can be captured and exploited more efficiently using EMAs.
Our backtesting data revealed that the most profitable timeframe was the 30-minute timeframe, this also enabled a good frequency of trades and high profitability.
A fast (shorter term) exponential moving average , in this strategy the EMA 20, crossing under a slow (longer term) moving average, in this example the EMA 50, signals the price of an asset has started to trend to the downside, as the most recent data signals price is declining compared to earlier data. The entry acts on this principle and executes when the EMA 20 crosses under the EMA 50.
Enter Short: EMA 20 crosses under EMA 50.
Exit
This script utilises a take profit and stop loss for the exit. The take profit is set at -8% and the stop loss is set at +16% from the entry price. This would normally be a poor trade due to the risk:reward equalling 0.5. However, when looking at the backtesting data, the high profitability of the strategy (93.33%) leads to increased confidence and showcases the high probability of success according to historical data.
The take profit (-8%) and the stop loss (+16%) of the strategy are widely placed to ensure the move is captured without being stopped out due to relief rallies. The stop loss also plays a role of mitigating losses and minimising risk of being stuck in a short position once there has been a fundamental trend reversal and the market has become bullish .
Exit Short: -8% price decrease from entry price.
OR
Exit Short: +16% price increase from entry price.
Tip: Research what coins have consistent and large token unlocks / highly inflationary tokenomics, and target these during bear markets to short as they will most likely have substantial selling pressure that outweighs demand - leading to declining prices.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
The backtesting data was recorded from December 1st 2021, just as the market was beginning its downtrend. We therefore recommend analysing the market conditions prior to utilising this strategy as it operates best on weak coins during downtrends and bearish conditions.
SuperIchi StrategyTRADE CONDITIONS
Long entry:
Tenkan-Sen is above Kijun-Sen (blue line above red line)
Price closes above both Tenkan-Sen and Kijun-Sen (price closes above both blue and red lines)
Tenkan-Sen and Kijun-Sen is above Senkou Span (both blue and red lines are above cloud)
Senkou Span is green (cloud is green)
Price pulled back and closed below both Tenkan-Sen and Kijun-Sen within last X (configurable in settings) candles (price pulled back below blue and red lines)
Short entry:
Tenkan-Sen is below Kijun-Sen (blue line below red line)
Price closes below both Tenkan-Sen and Kijun-Sen (price closes below both blue and red lines)
Tenkan-Sen and Kijun-Sen is below Senkou Span (both blue and red lines are below cloud)
Senkou Span is red (cloud is red)
Price pulled back and closed above both Tenkan-Sen and Kijun-Sen within last X (configurable in settings) candles (price pulled back above blue and red lines)
Risk management:
Each trade risks 2% of account (configurable in settings)
SL size determined by swing low/high of previous X candles (configurable in settings) or using the ATR override (configurable in settings) where the max of swing high/low or ATR value will be used to calculate SL
TP is calculated by Risk:Reward ratio (configurable in settings)
TIPS
Timeframe: I have found best results running on anything 5M and above
CREDITS
SuperIchi by LuxAlgo
Nifty & BN 2 Candle Theory Back Testing and Alert Notification How To Initiate Long Trade-in Index Future/ Buy Call Options – 3 Min TF
▪ If The Index Futures Trades Above The VWAP, the Following Parameters are Checked For 2 Candle Theory on the long side
▪ RSI Trades Above 50 & Between 50-75/80
▪ Volume Of 2 Consecutive Bars Is Above 50 K for BN & 125 K For Nifty
▪ All the indicators (Parabolic SAR, Super Trend, VMA, VWAP) Below the Candles
▪ When the above conditions are met enter In 3rd Candle, With 1st Candle High As SL
How I Initiate Short Trade-In Index Future/ Buy Put Options – 3 Min TF
▪ If The Index Futures Trades Below The VWAP, the Following Parameters are Checked For 2 Candle Theory on the short side
▪ RSI Trades Below 40 & Between 40-25/20
▪ Volume Of 2 Consecutive Bars Is Above 50 K for BN & 125 K For Nifty
▪ All the Indicators (Parabolic SAR, Super Trend, VMA, VWAP) Above The Candles
▪ When the above conditions are met enter In 3rd Candle, With 1st Candle High As SL
The indicator checks the above and notifies to enter a long trade and short trade respectively. There is also volume cutoff and change in the volumes respectively, also non-trading times that can be set.
Pinbar trailing stop strategyThe strategy finds the nearest pinbar pattern and opens a position (long or short). You choose your take profit and stop loss multiplier.
Take Profit - X times the pinbar size from it's highest point.
Stop loss - X times the pinbar size from it's lowest point.
You can find more detailed screenshots and the source-code on my github page: samgozman/pinbar-strategy-tradingview
Mean reversionSimple mean reversion strategy.
Strategy aims to find three bullish or bearish candle pattern which ends with strong move. Position will be open until we get close above previous highs.
Strategy uses also simple moving average to filter short positions.
This strategy works well with QQQ and daily time frame but it seems to do fairly well intraday also.
User can modify moving average length and how strong is the move of the last candle.
This strategy is inspired a strategy by hackertrader. The original idea by QuantpT.
Soren test 222Say we use strategy.risk.allow_entry_in() to only trade longs. When our script uses the strategy.entry() function to open a short trade, TradingView of course won’t allow our strategy to go short. But that doesn’t mean the trade is ignored. Instead the ‘enter short’ trade – which is actually a sell command – becomes an ‘exit long’ order.
Another way to think about this is the following. The strategy.entry() function can reverse positions: longs into shorts, and shorts into longs. That reverse behaviour gets stopped by strategy.risk.allow_entry_in(). What strategy.entry() instead ends doing is close positions: from long to flat, or from short to flat.
(The example strategies that we discuss later in this article show how strategy.risk.allow_entry_in() makes strategy.entry() close instead of open trades.)
# Can still trade both long or short
strategy.risk.allow_entry_in() can also allow our strategy to trade both long or short. That’s a bit silly, since this is already the default behaviour. But to cod
Traling.SL.TargetTrailing SL and Target
I have seen few requests in PineScripters telegram group asking questions about implementation of trailing stop-loss (SL) and targets. This script is one of the way to implement the same.
This script is developed based on dark color theme and is best viewed using dark color theme.
How and where can this script be used:
The script is built to demonstrate how one can implement the trailing SL and target, so by referring the script one can mimic the approach and add trailing SL and target implementation in their own strategy.
How it works:
To demonstrate the SL and target implementation, i have considered simple EMA crossover strategy.
Key Input Parameters
Method to use for SL/Target trailing:
1. % Based Target and SL - Used to calculate trailing based on parameters defined under group '% Based Target SL'
2. Fixed point Based Target and SL - Used to calculate trailing based on parameters defined under group 'Fixed point Based Target and SL'
% Based Target and SL:
Initial profit % - This is used to calculate target when trade is initiated
Initial SL % - This is used to calculate SL when trade is initiated
Initiate trailing % - This parameter determines, when to start trailing SL and target.
Trail profit by % - Target would be trailed by % specified as this parameter
Trail SL by % - SL would be trailed by % specified as this parameter
e.g.
Trade type: - Long
Trade price: 10000
initial profit %: 1
Initial SL %: 1
Initiate trailing %: 0.5
Trail profit by %: 0.3
Trail SL by %: 0.4
Calculations based on above:
initial profit %: 10100 (trade price + 1%)
Initial SL %: 9900 (trade price - 1%)
Initiate trailing %: 10049.5 (initial profit - 0.5%)
Trail profit by %: 10130 (initial profit + 0.3%)
Trail SL by %: 9939.6 (initial SL + 0.4%)
For next iteration of Trailing SL and target above calculated values will be taken as a base and next set of values will be calculated. these calculations will continue till the trade is exited either on price reaching profit or SL point.
Fixed point Based Target and SL:
Initial profit target points - To derive initial target, parameter value is added to trade price in case of long trade.
Initial SL points - To derive SL point, parameter value is subtracted from trade price
Initiate trailing points - To derive start of trailing logic, parameter value is subtracted from initial profit point.
Trail profit by points - In case of long trade, parameter value is added to the profit target to derive new trailed profit target.
Trail SL by % - In case of long trade, parameter value is added to the SL initial point to derive new trailed SL.
Calculation of Trailing SL and target will continue till the trade is exited either on price reaching profit or SL point.
Plots displayed on the chart:
Apart from default trade markings i have added 3 shapes on the chart to describe working of Trailing SL and targets.
Diamond shape marks - These are added on the chart when trade is initiated. These shapes gives additional trade information by way of 'tooltip'. This information can be viewed by placing mouse pointer on the shape.
Circle shape marks - These are added on the chart whenever Trailing SL and targets are calculated. These shapes gives additional trade information by way of 'tooltip'. This information can be viewed by placing mouse pointer on the shape. You will also notice a number displayed just above or below circle denoting Trailing iteration.
Labels up and label down shapes - These are dynamically placed on the chart whenever trade is in progress. These labels will display ongoing trades, Target and SL points.
AlphaTrend StrategyI turned the Alpha Trend indicator coded by our teacher Kıvanç Özbilgiç into a strategy. You can find the original version of the indicator here.
It sends trading signals in the regions where AlphaTrend produces Buy and Sell signals. It is a two-way strategy.
Buy Entry Long opens trade, Sell Entry Short opens trade.
Bollinger Bands + EMA 9A 1 minute scalping strategy.
Uses Bollinger Bands (no basis line) and a 9 period EMA.
Waits for price to close below the lower Bollinger Band and the next candle to close bullish above the lower Bollinger Band but below the 9 Period EMA.
If all conditions are met, the script enters a long position with TP at the 9 Period EMA.
Boom Hunter + Hull Suite + Volatility Oscillator StrategyTRADE CONDITIONS
Long entry:
Boom Hunter (leading indicator): Trigger line crosses over Quotient 2 line (white cross over red)
Hull Suite (trend confirmation): Price closed above hull suite line and hull suite is green (represented by horizontal line at -10 in strategy pane)
Volatility Oscillator (volatility confirmation): Volatility spike trigger line is above upper band (represented by horizontal line at -30 in strategy pane)
Short entry:
Boom Hunter (leading indicator): Trigger line crosses under Quotient 2 line (white cross under red)
Hull Suite (trend confirmation): Price closed below hull suite line and hull suite is red (represented by horizontal line at -10 in strategy pane)
Volatility Oscillator (volatility confirmation): Volatility spike trigger line is below lower band (represented by horizontal line at -30 in strategy pane)
Risk management:
Each trade risks 3% of account (configurable in settings)
SL size determined by swing low/high of previous X candles (configurable in settings) or 1 ATR if swing is less than 1 ATR
TP is calculated by Risk:Reward ratio (configurable in settings)
TIPS
Timeframe: I have found good results running on BTC/USDT 5M chart
Note: To help visual identification of trade entries and exits you may wish to add the Hull Suite and Volatility Oscillator to the chart separately. It was not possible to display them in a clear way within a single panel for the strategy. Make sure you set the settings of the auxiliary indicators to match what is in the settings of this indicator if you do decide to add them.
CREDITS
Boom Hunter Pro by veryfid
Hull Suite by InSilico
Volatility Oscillator by veryfid
AlphaTrend For ProfitViewThis strategy is based on the AlphaTrend indicator by KivancOzbilgic A full description of this algorithm functionality may be found by clicking the linked image above.
Changes and/or additions:
It is now a backtestable strategy
Updated alert trigger logic
Easy integration with ProfitView to use this algorithm for automated trading
When you create an alert, and you are using ProfitView, select " alert() function calls only " as the condition option. If you would rather set your own custom alert message, select " Order fills only " instead.
There is a selectable setting in the options to trigger alert() function calls immediately, that you may use to see what text it will send.
EMA_TREND_CATCHERSimple strategy based on the crossing of moving averages of 50,100 and 200 periods. Designed to identify trends
You are ready to use trading bots (all you have to do is fill in "Variables for Alert"). However, it can also be used for discretionary operations.
BTCUSDT FUTURES BINANCE
4H
Steven Primo's bollinger bands strategyHi, this strategy is taken from a video made by Steven Primo. You can look it up on YouTube if you want to know about it.
It is a mean-reversion strategy based on the Bollinger Bands, in which we wait for 5 consecutive closes above the upper band, and for a short-term top. Once it happens, we place an entry order on this top, with a stop at the nearest bottom before the movement started, and use the difference from the stop and entry point to determine the target. For shorting, it's the same process, but for the downside. From my testing, only long orders were profitable, but you can configure whichever you want.
It works well for directional markets with a low level of noise, as you can see with the BTCUSD chart. One of its caveats is the short number of occurrences, and the long stop loss and target. You can enable a trailing stop, but from my testings, it just made the results worse.
I made some modifications, like removing the MA requirement, since the entry point was above it almost all the time, and I forced the BB to use a log version of the prices, so that discrepancies are eliminated. You'll also notice that you can't select an extension that is lower than 100, and that is intentional, since you're not supposed to enter a trade in which you can lose more than what you can earn.
I chose not to implement any kind of risk management, but I might do that in the future. You can leave your suggestions in the comments.
[TH] Volatility BreakoutVolatility Breakout Strategy for TradingHook.
This strategy is not for backtesting but for forward-testing starting when added to chart.
It can make and send a formatted message string for buy and sell order using alert.
PB Trend ScalperA moving average strategy using a long period RMA and a short period EMA. It has a trailing stop loss based on the previous higher high or lower low. It also has a no trade band surrounding the RMA whose thickness can be changed.
Check out the settings to see what elements values can be changed.
The strategy is set to use the whole balance on each trade currently.
Leverage can be adjusted as well as take profit target as %.
The default values are set up for the 1 hour on BTCUSD.
These can be tweaked to suit any timeframe or market.
Simple_PyramidingA simple Pyramiding / DCA Strategy. Everyday at a specified time a position is opened. The individual position is closed when a take profit is triggered. Optionally a stop loss can be activated, or the option to close the position at the and of the time frame. You can specify the max amount of open positions. The equity will be divided through the max amount of open positions.
This strategy is a result of an exploration into working with time sessions, pyramiding, for loops and possibilities to trigger individual take profits (profit) and stop loss levels (stop). This strategy is by no means a worked out and reliable strategy. Please feel free to experiment with the code in your indicators and strategies.
Combo 2/20 EMA & Bull And Bear Balance This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
This new indicator analyzes the balance between bullish and
bearish sentiment.
One can cay that it is an improved analogue of Elder Ray indicator.
To get more information please see "Bull And Bear Balance Indicator"
by Vadim Gimelfarb.
WARNING:
- For purpose educate only
- This script to change bars colors.
"NoSKi Hammer/Star /w angle of ema Backtester % Applied the angle of ema filter to stars formed in an uptrend, and hammers in a downtrend to try to pick good trading entries
Uses the average angle of the ema over the last 20 bars
(Please note: the angle calculation default value is calibrated for BTCUSD . There is no way currently to code it to be used across multiple pairs. The price to bar ratio has to be adjusted for other trading pairs. Please research price to bar ratio if unfamiliar). I have used a rough calculation so it can be used on other charts but won't be 100% accurate
Strategy uses % take profit and stop loss settings, and only enters one trade at a time (wont show entry if already in a position).
Separate ATR settings for filtering the size of hammer and star candles. (can filter out candles which are too large or small)
Red background colour is for when ema is at or below the set -ve angle slope. Green is for positive angle. Default is set at -45 and 45 degrees.
Big thankyou to ZenAndTheArtOfTrading for hammer and star coding, and Cosmic Angle - by cosmic_indicators for calculating the angle of emas.
Code was borrowed and used directly from these scripts.