Impulse Alerts - Riccardo Di GiacomoThis is the Impulse indicator that allows you to receive alerts in the case one of the following situation occurs:
1) Buy Setup
- Price above Exponential Moving Average 260
- Moving Average 21 above Exponential Moving Average 260
- Moving Average 9 above Moving Average 21
- RSI(14) above 50
- Stochastic equal or below 20
2) Sell Setup
- Price below Exponential Moving Average 260
- Moving Average 21 below Exponential Moving Average 260
- Moving Average 9 below Moving Average 21
- RSI(14) below 50
- Stochastic equal or above 80
The Bollinger Bands represents another useful information:
- If the price is near the upper band when the first situation occurs, it is another green light, otherwise be careful
- If the price is near the lower band when the second situation occurs, it is another green light, otherwise be careful
النطاقات والقنوات
Binomial MA BandsThe Binomial MA Bands is a simple and straightforward trading tool that uses a binomial distribution to calculate the moving average and standard deviation of a given price series. It allows users to adjust the length of the moving average and the multiplier for the standard deviation, providing some flexibility in its usage. However, it should be noted that the binomial distribution may not always provide the most accurate representation of market movements and trends, and may not always be the best choice for all traders. Additionally, the tool only has a limited range of adjustable parameters, so it may not be suitable for traders with more advanced or complex strategies. Overall, the Binomial MA Bands may be a useful tool for some traders, but its limitations should be kept in mind when considering its use in trading.
Oscillator ExtremesThe Oscillator Extremes indicator plots the normalized positioning of the selected oscillator versus the Bollinger Bands' upper and lower boundaries. Currently, this indicator has four different oscillators to choose from; RSI, CMO, CCI, and ROC.
When the oscillator pushes towards one extreme, it will bring the value of the prevailing line closer to zero. If the bullish or bearish line crosses the zero line, the oscillator is past the extreme of the Bollinger Band.
Example: If the RSI crosses over the upper boundary of the Bollinger, the bullish(green) line will cross under the zero line.
Crossovers of the bullish and bearish lines can indicate a shift in momentum and are a signal. Where the line crossing under, towards zero, is the prevailing trend. The plotted lines will highlight green(bullish) or red(bearish) to show the prevailing trend. This is similar to a DI+- crossover that is commonly associated with the ADX.
We have included an optional normalized ADX to help validate signals. The ADX will change color based on the slope of the ADX. Purple indicates a positive slope and white for a negative slope.
M0PB (Momentum Pullback)Long/short strategy that identifies extreme readings on the rsi as a *momentum signal*, unlike most RSI strategies the script will look to buy or sell the first pullback in the direction of the extreme RSI reading.
Enters positions on the first pullback to the 5ema(low)/ 5ema(high) and exits at rolling 12 bar high/ low. The rolling high/ low feature means that if the price enters into a prolonged consolidation the profit target will begin to reduce with each new bar. The best trades tend to work within 2-6 bars.
Built for use on 5 min intervals on FX, Indexes, and Crypto. Lower than 5 minute time frames tend to be noisier and mean more commissions and a higher risk of slippage so the suggested timeframe is 5 mins.
Hard stop is X ATR (users can experiment with this) from the position entry price. This can be adjusted in user inputs.
There is a lot of slack left in entries and exits but the overall strategy is fairly robust across timeframes and markets and has between 60%-70% win rate with larger winners.
Signals that occur from economic news volatility are best avoided.
Correlated ATR Bands | AdulariHow do I use it?
Never use this indicator as standalone trading signal, it should be used as confluence.
It is highly recommended to use this indicator on the 15m timeframe and above, try experimenting with the inverse feature and multipliers as well.
When the price is above the moving average this shows the bullish trend is strong.
When the price is below the moving average this shows the bearish trend is strong.
When the moving average is purple, the trend is bullish , when it is gray, the trend is bearish.
When price is above the upper band this may indicate a bearish reversal.
When price is below the lower band this may indicate a bullish reversal.
Features:
Purple line for bullish trend and gray line for bearish trend.
Custom formula combining an ATR and Hull MA to clearly indicate trend strength and direction.
Unique approach to moving averages and bands by taking the average of 2 types of MA's combined with custom ATR's, then multiplying these by correlation factors.
Bands to indicate possible trend reversals when price crosses them.
How does it work?
1 — ATR value is calculated, then the correlation between the source and ATR is calculated.
2 — Final value is calculated using the following formula:
correlation * atr + (1 - correlation) * nz(atr , atr)
3 — Moving average is calculated with the following formula:
ta.hma((1-(correlation/100*(1+weight/10)))*(ta.sma(source+value, smoothing)+ta.sma(source-value,smoothing))/2,flength)
4 — Bands calculation using multipliers.
Bands Bands (BanB)This indicator uses bands to show the trend of other bands.
The middle bands are used to show the price trend and the other bands are for the middle bands.
The Spike and Plunge bands can also act as a sort of "Bollinger Bands" for middle bands, though not exactly.
----- HOW TO USE IT -----
Zoom out in the 30 minute chart. Use 15 minute chart to pinpoint your entries.
Use with price-action trading and with indicators showing overbought & oversold levels.
The numbers below correlate with the numbers in the chart.
1) Price hits the Middle Spike line. The "ARL" bands hit the Bottom Spike line. This is a good indication that price will proceed under the Bottom Spike line.
2) Price hits the Bottom Plunge line. The "ARL" bands hit the Middle Plunge line. This is a good indication that price will proceed above the Middle Plunge line.
3) Notice how price spikes up near the Spike lines but doesn't touch. Notice how the Plunge lines have a strong pull downwards. This shows a continued down trend.
4) The same pattern as numbers 2 & 3 reoccur. This time, however, the proceeding price spike is substantially lower.
5) The price and middle bands finally bounce off the Top Plunge line and starts to get closer to the Spike bands.
6) Price and middle bands finally touch the Bottom Spike line and the Spike Bands and the Plunge Bands come closer together.
7) Narrowing Spike and Plunge Bands show a sideways market. Notice number 1, the bands are far apart -- more volatility is present.
Middle Bands:
The bottom, blue lines are fairly accurate dip-rebounds on the 30 minute chart. Use level indicators to find reversing trends (e.g., RSI, Stoch, etc.).
Price action hovering in between the blue lines and around the center indicate a low volatility market or a consolidating market.
----- HOW THIS INDICATOR IS ORIGINAL; WHAT IT DOES AND HOW IT DOES IT -----
This indicator has an original, unique ability to view the trend of bands in a substantially larger overview when zoomed out.
Normally, one would have to switch to higher time frames to get a sense of a larger market trend.
However, doing so will change any bands indicator to accommodate the new price action in relation to the new time frame.
To avoid this, the middle bands are placed in between two bands to see the trend of the bands that show the trend of price action.
----- VERSION -----
The "ARL Bands" in this indicator are NOT the same as the "ARL Bands" indicator.
They are "ARLs" set in an entirely different context, format, and amount and so does not constitute as a different version of "ARL Bands".
The "ARL Bands" indicator only has 4 lines and can be adjusted to any level. They are mainly focused on rebounds at desired levels.
The 13 "ARLs" here cannot be adjusted and are mainly focused on anticipating/calculating probabilities of peak and dip rebounds.
If any discrepancy should arise, let it be stated here that the "ARLs" in this indicator are considered to be a forked codebase to conserve the functionality of "ARL Bands".
This is proven by the differences described underneath "VERSION", which is located 7 lines above.
Darvas boxReference:
tlc.thinkorswim.com
Logic changed to transition to an active box after one higher low only.
Buy and Sell Indicator This indicaor is draw time(ex 09:15 nifty 50) high and low of candle ..
for buy condition -
1) when price is crossing time candle high open a long trade
2) check for condition is this trade open less thn previous trade
if both condition are true thn open a buy trade
for sell condition -
1) when price is crossing time candle low open a short trade
2) check for condition is this trade open grater thn previous trade
if both condition are true thn open a sell trade
to build logic of 2nd condition @fikira help me thnx mate ...
[blackcat] L2 Auto MTF Pivot Forecast Level 2
Background
A algo for pivot points forecast for each bar of automatic multiple timeframe (MTF) data.
Function
In financial markets, a pivot point is a price level that is used by traders as an indicator of market movement. Pivot points are averaged from important prices (highest, lowest, closing) based on the market performance of the previous time period. There are many ways to calculate the pivot point. The pivot point is calculated using the highest price (H), the lowest price (L) and the closing price (C) of the previous time period, and sometimes the opening price of the current time period Valence (O) was added to it.
S1 yellow
S2 white
R1 Orange
R2 fuchsia
The smoothing parameter default to 55
The pivot point indicator can be used in two ways. First, the pivot point can be used as a price trend confirmation. It is generally believed that if the price is above the pivot point in the latter period of time, the market is considered to be in a bull market sentiment, otherwise it is considered to be in a bear market sentiment. Second, support and resistance levels are mainly used as exit positions. For example, R1 and R2 can be used as trade targets if the market price breaks above a pivot point. If the market effectively breaks R1 and R2, traders may consider adding to their long positions.
Remarks
Feedbacks are appreciated.
[blackcat] L2 Low TF Pivot Forecast Level 2
Background
A algo for pivot points forecast for each bar and its low tf data.
Function
In financial markets, a pivot point is a price level that is used by traders as an indicator of market movement. Pivot points are averaged from important prices (highest, lowest, closing) based on the market performance of the previous time period. There are many ways to calculate the pivot point. The pivot point is calculated using the highest price (H), the lowest price (L) and the closing price (C) of the previous time period, and sometimes the opening price of the current time period Valence (O) was added to it.
S1 yellow
S2 white
R1 Orange
R2 fuchsia
The smoothing parameter default to 55
The pivot point indicator can be used in two ways. First, the pivot point can be used as a price trend confirmation. It is generally believed that if the price is above the pivot point in the latter period of time, the market is considered to be in a bull market sentiment, otherwise it is considered to be in a bear market sentiment. Second, support and resistance levels are mainly used as exit positions. For example, R1 and R2 can be used as trade targets if the market price breaks above a pivot point. If the market effectively breaks R1 and R2, traders may consider adding to their long positions.
Remarks
Feedbacks are appreciated.
Investing ZonesInvesting Zones indicator shows the areas where LONGS or SHORTS can be made, the areas are calculated based on the mathematical averages of the high and low peaks of the price.
-There is an area called "No trading Zone" where the price is too slow, It also has a Alma Trend Ribbon (blue for uptrend, pink for downtrend) that helps to make trading decisions.
-You can make shorts when the price enters the Yellow zone called the "Sell Zone" and the price is below the Alma trend, set the TP1 in the white dotted line, and TP2 in the white lower line
-You can make longs when the price enters the Green zone called the "Buy Zone" and the price is above the Alma trend, set the TP1 in the yellow dotted line, and TP2 in the yellow upper line
-It works in all timeframes, personally I use it in 1min, 5min and 1hr.
I11L - Reversal Trading Ideas by Larry ConnorsThis is my own Twist on Larry Connors Simple Tradingideas.
It Combines the RSI, Averaging In and the Lowest Bars in a Single System.
The current Configuration is designed for the Daily Timeframe.
Feel free to play with the Parameters and keep in mind that Larry Intended to buy fear and sell the greed!
The Rules are the following:
---Buy---
Buy, if the lowest Bar of your Configuration has been hit (default is set to 7).
---Average Down--
Buy, if the lowest Bar of your Configuration * Your open trades has been hit AND only if the buyin is atleast 1% cheaper.
---Close---
Close, if the RSI closes above a certain level (default is set to 70).
---TP---
There is no TP
---SL---
There is no SL, so be cautions of your tail Risk!
Extended Recursive Bands StrategyThe original indicator was created by alexgrover .
All credit goes to alexgrover for creating the indicator that this strategy uses.
This strategy was posted because there were multiple requests for it, and no strategy based on this indicator exists yet.
The Recursive Bands Indicator, an indicator specially created to be extremely efficient, I think you already know that calculation time is extra important in algorithmic trading, and this is the principal motivation for the creation of the proposed indicator. Originally described in Alex's paper "Pierrefeu, Alex (2019): Recursive Bands - A New Indicator For Technical Analysis", the indicator framework has been widely used in his previous uploaded indicators, however it would have been a shame to not upload it, however user experience being a major concern for me, I decided to add extra options, which explain the term "extended".
The Indicator
The indicator displays one upper and one lower band, every common usages applied to bands indicators such as support/resistance , breakout, trailing stop, etc, can also be applied to this one. Length controls how reactive the bands are, higher values will make the bands cross the price less often.
In order to provide more flexibility for the user alexgrover added the option to use various methods for the calculation of the indicator, therefore the indicator can use the average true range , standard deviation, average high-low range, and one totally exclusive method specially designed for this indicator.
Added logic:
We have implemented a logic that checks whether the bands have been following in the same direction for a set amount of bars. This logic must be true before it can enter trades. This is completely new code that was written by us entirely, and it makes a huge difference on strategy performance.
Strategy Long conditions:
1 — Price low is below the the lower band.
2 — The lower band keeps increasing in value until the 'lookback' setting amount of bars is reached.
Strategy Short conditions:
1 — Price high is above the upper band.
2 — The upper band keeps decreasing in value until the 'lookback' setting amount of bars is reached.
Strategy Properties:
We have set a default commission of 0.06% because these are Bybit's fees. The strategy uses an order size of 10% of equity, since drawdown is very low like this. We also use a 10 tick slippage to keep results realistic and account for this. All other settings were left as default apart from initial capital, just to decrease the size of the numbers.
Bollinger Band strategy with split, limit, stopEntering a short position after breaking the upper Bollinger Band, entering a long position when entering after breaking the lower Bollinger Band
Provides templates for how to display position average price, stop loss, and profit price using the plot function on the chart, and how to buy splits
After entering the position, if the price crosses the mid-band line, the stop loss is adjusted to the mid-band line.
Day Trading Booster by DGTTiming when day trading can be everything
In Stock markets typically more volatility (or price activity) occurs at market opening and closings
When it comes to Forex (foreign exchange market), the world’s most traded market, unlike other financial markets, there is no centralized marketplace, currencies trade over the counter in whatever market is open at that time, where time becomes of more importance and key to get better trading opportunities. There are four major forex trading sessions, which are Sydney , Tokyo , London and New York sessions
Forex market is traded 24 hours a day, 5 days a week across by banks, institutions and individual traders worldwide, but that doesn’t mean it’s always active the entire day. It may be very difficult time trying to make money when the market doesn’t move at all. The busiest times with highest trading volume occurs during the overlap of the London and New York trading sessions, because U.S. dollar (USD) and the Euro (EUR) are the two most popular currencies traded. Typically most of the trading activity for a specific currency pair will occur when the trading sessions of the individual currencies overlap. For example, Australian Dollar (AUD) and Japanese Yen (JPY) will experience a higher trading volume when both Sydney and Tokyo sessions are open
There is one influence that impacts Forex matkets and should not be forgotten : the release of the significant news and reports. When a major announcement is made regarding economic data, currency can lose or gain value within a matter of seconds
Cryptocurrency markets on the other hand remain open 24/7, even during public holidays
Until 2021, the Asian impact was so significant in Cryptocurrency markets but recent reasearch reports shows that those patterns have changed and the correlation with the U.S. trading hours is becoming a clear evolving trend.
Unlike any other market Crypto doesn’t rest on weekends, there’s a drop-off in participation and yet algorithmic trading bots and market makers (or liquidity providers) can create a high volume of activity. Never trust the weekend’ is a good thing to remind yourself
One more factor that needs to be taken into accout is Blockchain transaction fees, which are responsive to network congestion and can change dramatically from one hour to the next
In general, Cryptocurrency markets are highly volatile, which means that the price of a coin can change dramatically over a short time period in either direction
The Bottom Line
The more traders trading, the higher the trading volume, and the more active the market. The more active the market, the higher the liquidity (availability of counterparties at any given time to exit or enter a trade), hence the tighter the spreads (the difference between ask and bid price) and the less slippage (the difference between the expected fill price and the actual fill price) - in a nutshell, yield to many good trading opportunities and better order execution (a process of filling the requested buy or sell order)
The best time to trade is when the market is the most active and therefore has the largest trading volume, trading all day long will not only deplete a trader's reserves quickly, but it can burn out even the most persistent trader. Knowing when the markets are more active will give traders peace of mind, that opportunities are not slipping away when they take their eyes off the markets or need to get a few hours of sleep
What does the Day Trading Booster do?
Day Trading Booster is designed ;
- to assist in determining market peak times, the times where better trading opportunities may arise
- to assist in determining the probable trading opportunities
- to help traders create their own strategies. An example strategy of when to trade or not is presented below
For Forex markets specifically includes
- Opening channel of Asian session, Europien session or both
- Opening price, opening range (5m or 15m) and day (session) range of the major trading center sessions, including Frankfurt
- A tabular view of the major forex markets oppening/closing hours, with a countdown timer
- A graphical presentation of typically traded volume and various forext markets oppening/clossing events (not only the major markets but many other around the world)
For All type of markets Day Trading Booster plots
- Day (Session) Open, 5m, 15m or 1h Opening Range
- Day (Session) Referance Levels, based on Average True Range (ATR) or Previous Day (Session) Range (PH - PL)
- Week and Month Open
Day Trading Booster also includes some of the day trader's preffered indicaotrs, such as ;
- VWAP - A custom interpretaion of VWAP is presented here with Auto, Interactive and Manual anchoring options.
- Pivot High/Low detection - Another custom interpretation of Pivot Points High Low indicator.
- A Moving Average with option to choose among SMA, EMA, WMA and HMA
An example strategy - Channel Bearkout Strategy
When day trading a trader usually monitors/analyzes lower timeframe charts and from time to time may loose insight of what really happens on the market from higher time porspective. Do not to forget to look at the larger time frame (than the one chosen to trade with) which gives the bigger picture of market price movements and thus helps to clearly define the trend
Disclaimer : Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
DonchianFib[Akcay]How does it work?
- The indicator detects the highest and lowest price level in the last x periods every time prices advance by x periods.
- From these values, retracement (0.618, 0.786) and expansion levels (1.272, 1.618, 2, 2.618, 3.14, 3.618, 4.236) are obtained.
- Since the symmetrical counterpart of the retracement levels is used, there are two of each of the 0.618 and 0.786 lines, for a total of four.
How can it be used?
- It can be used for step buying.
- It can be used for step selling.
- Can be used to set a profit target.
- Can be used to set a stop target.
- This indicator can be used in the same way as Pivot levels can be used. You can think of this indicator like the Pivot Points Standard indicator, where you set the period more flexibly.
Which indicators can it be combined with?
- I don't think there are any limitations, but I think it is compatible with trend detection indicators, trend detection with DonchianFib, and stepped buy/sell with limit orders.
- If you want to enter a position with mismatch signals, you can wait for the DonchianFib levels to break.
- Its use is limited by your imagination :)
Where does the name come from?
- As the name suggests, Donchian Channels. I was inspired by Donchian Channels when developing the indicator. Donchian channels show the highs and lows of prices over the last x number of periods. DonchianFib does this once for every x periods and uses the fibonacci levels to create upper and intermediate levels.
Note : I don't know if such an indicator has been done before or not. If it has been done, I haven't seen it in tradingview.
Çalışma mantığı nedir ?
- Gösterge, fiyatlar her x periyot kadar ilerlediğinde son x periyot içerisindeki en yüksek ve en düşük fiyat seviyesini tespit eder.
- Bu değerler üzerinden geri çekilme (0.618, 0.786) ve genişleme seviyeleri (1.272, 1.618, 2, 2.618, 3.14, 3.618, 4.236) elde edilir.
- Geri çekilme seviyelerinin simetrik karşılığı kullanıldığından 0.618 ve 0.786 çizgilerinden her birinden iki adet olmak üzere toplamda dört adet bulunur.
Nasıl kullanılabilir ?
- Kademeli alım yapmak için kullanılabilir.
- Kademeli satım yapmak için kullanılabilir.
- Kâr hedefi belirlemek için kullanılabilir.
- Stop hedefi belirlemek için kullanılabilir.
- Pivot seviyelerinden nasıl faydalanılıyorsa bu göstergeden de aynı şekilde faydalanılabilir. Bu göstergeyi, periyodunu kendinizin daha esnek bir şekilde belirlediğiniz Pivot Noktalar Standartı göstergesi gibi düşünebilirsiniz.
Hangi göstergelerle kombine edilebilir ?
- Bunun için herhangi sınırlama yapmak doğru değil ancak trend tespit etmeye çalışan göstergelerle uyumlu olduğunu düşünüyorum. Bu göstergeler ile trend tespiti yapıp DonchianFib ile alım/satım yerleri belirlenebilir ve limit emirleri ile kademeli alım/satım yapılabilir.
- Uyuşmazlık sinyalleri ile pozisyona girilmek isteniliyorsa DonchianFib seviyelerinin kırılması beklenebilir.
- Kullanımı sizin hayal gücünüz ile sınırlıdır :)
Adı nereden geliyor ?
- Adından da anlaşılacağı üzere Donchian Kanallarından. Göstergeyi geliştirirken Donchian Kanallarından ilham aldım. Donchian kanalları fiyatların son x periyot içerisindeki en yüksek ve en düşük seviyelerini grafikte gösteriyor. DonchianFib ise bunu her x periyot için bir defa yapıp, fibonacci seviyelerini de kullanarak üst ve ara seviyeler oluşturuyor.
Not : Daha önce böyle bir göstergenin yapılıp yapılmadığını bilmiyorum. Yapıldı ise ben tradingview'da görmedim.
Enterprise Value on Earnings / FCF / FFO Band Enterprise Value per Diluted Share plotted as black line.
Bands start at 5x and stops at 30x, each represents a 5x increment.
Band Options (per Diluted Share, Fiscal Year):
①Free Cash Flow
②Operating Income
③Adjusted Funds from Operations
④Core Earnings
where:
AFfO = FFO - Unusual Income/Expenses + Tax Distortion (dafault 25% tax rate)
Core Earnings = Net Income - Unusual Income/Expenses + Tax Distortion (default 25% tax rate)
These two adjustments are coarse and watered-down, so take them with a grain of salt.
For professional assessments of Core Earnings versus GAAP Earnings you may go to David Trainer at Great Speculations(costs money). I am unaffiliated with these entities.
Tips:
①③ are unapplicable to financials.
③ may work for REIT-like companies whose depreciation is mostly overstated(e.g. hydro-elec utility companies whose dams typically don't wear out in ten years; companies with assets that APPRECIATE in reality but they D&A them anyway).
Probably none works for cyclicals, especially extreme boom-bust cyclicals such as oil, aluminum & shipping etc.
Beware unnaturally low (dividend_payout+buyback)/net_income ratio as some majority shareholders may funnel money to themselves/cronies at the expense of small shareholders.
Disclaimer: Use at your own discretion. No guarantees for any accuracy or usefulness. If you decide to use it, I take no responsibility whatsoever for any consequences. Does not constitute financial advice. Past performance is not Indicative of future results.
Modified Bollinger BandsThis script has been distributed for learning purposes.
A particular kind of price envelope is "Bollinger Bands" indicator. Upper and lower price range levels are determined by price envelopes. By default, Bollinger Bands are plotted in Tradingview as envelopes at a standard deviation level above and below the price's simple moving average (SMA). I attempted to modify the indicator in this version by adding several kinds of moving averages first. The key feature is that standard deviation should be modified. in Tradingview, SMA calculates the standard deviation. The allocated moving average should be used to calculate the std function when the base line is changed.
RSI Objective LinesThe RSI is a contrarian indicator bounded between 0 and 100 where values close to the area of 30 represent an oversold condition and values close to the area of 70 represent an overbought condition.
Generally, we use the area of 70/75 and the area of 30/25 as extremes that signal a market reversal or a correction. But what if we calculate a simple way to make these levels more dynamic?
The main idea from these objective support and resistance levels is that market regime and dynamics move and as such fixed levels are unlikely to always provide value which means that we can try creating variable levels. The objective support and resistance levels are created following these steps:
* Calculate a 14-period RSI on the close price, let's call this RSI_Close.
* Calculate a 14-period RSI on the high price, let's call this RSI_High.
* Calculate a 14-period RSI on the low price, let's call this RSI_Low.
* Calculate the maximum range which is the highest value of RSI_High in the last 200 periods minus the lowest value of RSI_Low in the last 200 periods. Let's call this Max_Range
* Define the range width. By default, it is set to 5%. Let's call this Threshold.
* The objective support is calculated as the sum of the RSI_Low + (Max_Range * Threshold).
* The objective resistance is calculated as the sum of the RSI_High - (Max_Range * Threshold).
The levels are used in the same way as the oversold and overbought levels. They are more dynamic as they take into account the fluctuations of the RSI so you might see at some point in time a support at 20 and at another at 35.
Grid Strategy Back Tester (Long/Short/Neutral)Preface
I'd like to send a thank you to @xxattaxx-DisDev.
The 'Line' Code, which was the most difficult to plan the Grid Indicator, was solved through the 'Grid Bot Simulator' script of @xxattaxx-DisDev.
A brief description of the indicators
These indicators are designed for backtesting of grid trading that can be opened on various exchanges.
Grid trading is a method of selling at particular intervals as prices rise and fall for gird interval price range.
This indicator is actually designed to see what the Long / Short / Neutral grid has achieved and how much it has achieved over a given period of time.
How to use
1. Lower Limit and Upper Limit are required when putting indicators on the chart.
After that, choose the 'Time' when to open the grid.
Also, select Long / Short / Neutral direction if necessary.
2. Statistics Table
Matched Grid shows how many grid pairs were engaged during the backtesting period.
The Daily Average Matching Profit is calculated based on the number of these closed grids.
Total Matching Profit is calculated as Matching Grid * Per Matching Profit.
Position Profit/Loss shows the benefits and losses from your current position.
Total Profit/Loss is sum of Total Matching Profit and Position Profit/Loss.
The Expanded APY shows the benefits of running the strategy on these terms for a year.
Max Loss of Upper is the maximum loss assumed to be directly at the top of the grid range.
BEP days (Upper) show how many days of maintenance relative to Average Matching Profit can result in greater profit than maximum loss if the grid continues to move within range.
(In the case of Long Strategy, it appears to be 'Min Profit', which shows minimal benefit if it reaches the top.)
Max Loss of Lower and BEP days (Lower) shows the opposite.
(In the case of Short Strategy, it is also referred to as 'Min Profit', which shows minimal benefit if it reaches the bottom.)
3. Grid Info
Total Grid Number, Upper Limit, and Lower Limit show the values you set in INPUT.
Grid Open Price shows the price for the period you decide to open.
Starting Position shows the number of positions that were initially held in the case of a Long / Short Strategy.
(0 for Neutral Strategy)
Per Grid qty shows how many positions are allocated to one grid
Grid Interval shows the spacing of each grid.
Per Matched Profit shows how much profit is generated when a single grid is matched.
Caution
Backtesting results for these indicators may vary depending on the time frame.
Therefore, I recommend that you use it only to compare Profit/Loss over time.
*In addition, there is a problem that all lines in the grid are not implemented, but it is independent of the backtest results.
--------------------------------------
서문
지표를 기획함에 있어서 가장 어려웠던 line 코드를 @xxattaxx-DisDev의 'Grid Bot Simulator' 스크립트를 통해 해결할 수 있었습니다.
이에 감사의 말씀을 드립니다.
해당 지표에 대한 간단한 설명
해당 지표는 다양한 거래소에서 오픈할 수 있는 그리드 매매에 대한 백테스팅을 위해 만들어졌습니다.
그리드매매는, 특정 가격 구간에 대해 가격이 오르고 내림에 따라 일정 간격에 맞춰 매매를 하는 방식입니다.
이 지표는 실질적으로 롱/숏/중립 그리드가 어떠한 성과를, 특정 기간동안 얼마나 냈는지를 확인하고자 만들어졌습니다.
사용방법
1. 인풋
지표를 차트위에 넣을 때, Lower Limit과 Upper Limit이 필요합니다.
그 후 그리드를 언제부터 오픈할 것인지를 선택하세요.
또, 필요하다면 Long / Short / Neutral의 방향을 선택하세요.
2. 그리드 통계
Matched Grid는, 백테스팅 기간동안 체결된 그리드 쌍이 몇개인지를 보여줍니다.
이 체결된 그리드의 갯수를 바탕으로 Daily Average Matched Profit이 계산됩니다.
Total Matched Profit은, Matched Grid * Per Matched Profit으로 계산됩니다.
Position Profit/Loss는, 현재 갖고 있는 포지션으로 인한 이익과 손실을 보여줍니다.
Total Matched Profit과 Position Profit/Loss를 합친 금액이 Total Profit/Loss가 됩니다.
Expcted APY는, 이러한 조건으로 전략을 1년동안 운영했을 때의 이익을 보여줍니다.
Max Loss of Upper는, 그리드 범위의 최상단에 바로 도달했을 경우를 가정한 최대 손실입니다.
BEP days(Upper)는, 그리드가 범위 내에서 계속 움직일 경우, Average Matched Profit을 기준으로 며칠동안 유지되어야 최대손실보다 더 큰 이익이 발생할 수 있는지를 보여줍니다.
(Long Strategy의 경우, ‘Min Profit’이라고 나타나는데, 최상단에 도달했을 경우 최소한의 이익을 보여줍니다)
Max Loss of Lower는 그 반대의 경우를 보여줍니다.
(Short Strategy의 경우, 역시 ‘Min Profit’이라고 나타나는데, 최하단에 도착했을 경우 최소한의 이익을 보여줍니다)
3. 그리드 정보
그리드 갯수, Upper Limt, Lower Limt은 자신이 설정한 값을 보여줍니다.
Grid Open Price는, 자신이 오픈하기로 정했던 기간의 가격을 보여줍니다.
Starting Position은, 롱/숏 그리드의 경우에 처음에 들고 시작했던 포지션의 갯수를 보여줍니다.
Neutral Strategy의 경우 0입니다.
Per Grid qty는, 하나의 그리드에 얼마만큼의 포지션이 배분되었는지를 보여주며
Grid Interval은 각 그리드의 간격을 보여줍니다.
또, Per Matched Profit은 하나의 그리드가 체결될 때 얼마만큼의 이익이 발생하는 지를 보여줍니다.
이러한 지표에 대한 역테스트 결과는 시간 프레임에 따라 달라질 수 있습니다.
따라서 시간 경과에 따른 손익을 비교할 때만 사용하는 것이 좋습니다.
*추가로, 그리드의 라인이 모두 구현되지 않는 문제가 있지만, 백테스팅 결과와는 무관합니다.
DR/IDR V1Defining Range DR and Implied Defining Range IDR for regular Session and overnight Session
This script is showing the IDR and DR for the regular trading session and for the overnight session based on the rules from the creator of the DR/IDR concept.
It works for all major Forex Pairs, BTC, ETH and the US Equity indices. This concept is based on rules and has a 80 % probability to be correct.
It should be applied in the 5 Min. Timeframe.
The timings for the RDR are from 09.30 - 10.30 am New York local time.
The timings for the ODR are from 03.00 - 04.00 am New York local time.
Rules:
1. If price in the 5 Min timeframe closes above the DR high after 10.30 am or 04.00 am then the DR low will be with 80 percent probability the low of the trading session. This is called confirmation.
2. If price in the 5 Min timeframe closes below the DR low after 10.30 am or 04.00 am then the DR high will be with 80 percent probability the high of the trading session. This is called confirmation.
3. If price closes above the IDR high after 10.30 am or 04.00 am it is an early indication that the low of the DR will be the low of the day and vice versa.
Credits:
This script imports the recently published (VisibleChart) library containing functions that return values calculated from the range of visible bars on the chart.
bmistiaen helped me a lot with this script. Thank you a lot.
[blackcat] L3 YACD38Level 3
Background
"3/8 moving average" golden cross enters, and dead cross exits.
Function
This set of methods is an improved moving average usage - "38 moving average usage", we need to use three moving averages:
3-day, 8-day and 21-day moving averages.
Why is it the 3-day, 8-day, and 21-day moving averages? Most of my friends may not be clear. 3, 8, and 21 are all Fibonacci numbers, also known as the golden section numbers. The Fibonacci number is a basic pattern of nature, which exists in all things. If you don’t understand it, you can go to a certain degree to understand it. In short, it is a very magical existence.
Keep in mind the principle of only doing uptrends and not downtrends. Then we have to use our 21-day moving average skillfully. The 21-day moving average happens to be the average price line for one month. We take it as the decision-making line. When the decision-making line goes down or goes flat, we mainly wait and see; , the operation success rate is higher!
Let's directly share the technical points of "38 moving average usage":
1. Entry point: the 3-day line crosses the 8-day line to form a golden cross, or both the 3-day and 8-day line cross the 21-day moving average; the position of the golden cross must be above the 21-day moving average, and it is invalid if it is below;
2. Basis for holding shares: After entering the market, the moving averages are arranged in a long position, and the K-line rises along the 3-day and 8-day moving averages, hold it patiently, and sell for whatever reason you buy!
3. Exit point: When the 3-day moving average crosses the 8-day moving average to form a dead cross, or the 3-day and 8-day moving averages break below the 21-day moving average, then decisively leave the market;
Note: "38 moving average usage" only needs to refer to the moving average, and the other most reference quantities can be changed. As long as the above conditions are met, you can boldly intervene, and after the intervention, you will rise to the top! Don't underestimate the usage of this set of moving averages, carefully comprehend and memorize them by heart, and be able to achieve the unity of knowledge and action, and you will be able to stand up and be the master from now on!
Remarks
Feedbacks are appreciated.
Price Average ZonesThis indicator shows the areas where LONGS or SHORTS can be made, the areas are calculated based on the mathematical averages of the high and low peaks of the price.
It also has a line that shows the average of the price movement. you can make shorts when the price enters the orange zone called the "Short Zone".
You can make longs when the price enters the orange zone called the sell zone.
It works in all timeframes, personally I use it in 1 min and in 1 hour.