Sentient levelThe indicator presented here is made based on the study published on NSE:INDIAVIX . Basically it shows 2 sigma (by default) trading ranges of the next day (by default) of indices e.g. NSE:NIFTY & NSE:BANKNIFTY . Everyday three new lines get plotted automatically on the chart of the instrument (preferably NSE:NIFTY & NSE:BANKNIFTY ) you want to trade. Generally it's expected that the index to be traded within the ranges however in case of major gap-up or gap-down if the index opens above the higher range or below the lower range then it's assumed that the day to remain very volatile. This three lines can be considered as important support/resistance . Default parameters are set in consideration of day trading however user can modify them manually as per their trading style.
If you like my work you can donate through Tradingview coin. Thanks
Educational
Highlight last bar, work on all timeframe, v4 & v5 @magnummHighlight last bar only. No refresh needed.
Works on all time frame and for version 4 & 5.
Can be added in your own scripts copy/pasting just one line.
//DON'T FORGET TO HYDRATE
Gapgap indicator
True type:
The gap formed between the closing price of the last bar on Friday of the "current" chart period and the opening price of Monday of the "current" chart period
Fix type :
Displays the "daily" gap between Friday's close and Monday's open in "any" chart period
Intution type :
Any gaps are marked
(Not recommended to use in small cycles. There will be a lot of gaps due to the small transaction volume)
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.
Money Velocity Population Adjusted (MVPA)MVPA=GDPPC/( M2 /POP). An adaptation to normal Money Velocity, taking into account populations for more volatile plots/different perspective. Major world economy's money supply velocity. Compare how each country's monetary policy has played out and current trajectory in comparison to others. The velocity of money is a measure of the number of times that the average unit of currency is used to purchase goods and services within a given time period. The concept relates the size of economic activity to a given money supply, and the speed of money exchange is one of the variables that determine inflation .
Money Velocity(GDP/M2)V=GDP/M2
Major world economy's money supply velocity. Compare how each country's monetary policy has played out and current trajectory in comparison to others. The velocity of money is a measure of the number of times that the average unit of currency is used to purchase goods and services within a given time period. The concept relates the size of economic activity to a given money supply, and the speed of money exchange is one of the variables that determine inflation.
Relevant Populations GroupedUSPOP Same idea as my previous grouped GDP indicator but now population sizes. Goes to show how a small portion of the world is responsible for most of what we consider economic productivity.
atnX_2According to the Ichimoku cloud, this script provides the opportunity to buy, sell, and determine the trend direction by signaling at the point where the EMA 5/10 intersections are located and gives you the opportunity to successfully indicate when you will exit the commodity that I like the most.
Investor_coin is my mentor to create such a well-working script.
@melihtuna did the coding.
Harmonic Table Combo Point B█ OVERVIEW
This indicator was intended as educational purpose only and alternative way to show value in table as shown in Harmonic Pattern Possibility Table .
█ CREDITS
Credit to Scott M Carney, Harmonic Trading Volume 3: Reaction vs. Reversal.
█ USAGE EXAMPLE
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.
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.
NSE Bank Nifty - Constituent StrengthNSE Bank Nifty - Constituent Strength
What is does:
Identifies how stocks under bank nifty index are performing if compared with bank nifty index.
Calculations:
A = Individual stock price
B = Bank nifty index price
C = A / B
D = average of A / B over length specified using input configuration
Stock is out-performing Bank nifty if A >= C
Stock is under-performing Bank nifty if A < C
Input Parameters:
Data source - For calculation of strength
Timeframe - For calculation of strength
Moving average type - SMA or EMA
Moving average length - Length for calculation of moving average
Show line chart for - One of the symbol from index constituents for showing line chart in the indicator window
S1 to S12 - Bank nifty stocks. Populated by default
Output:
Table listing each of the Bank nifty stocks
Stocks displayed in Green color are out-performing Bank nifty
Stocks displayed in Red color are under-performing Bank nifty
Line chart Price line - Blue colored line representing Stock price / Bank nifty price
Line chart Average line - Combination of Red, Green and Blue colors line representing average of Stock price / average of Bank nifty price
ICT EverythingVersion 1.0
Global Settings
• Timezone Selection
• Hide Indicator Above Specified Time
Thematic Override
• Override Colors For Dark Theme ( Colors Set for White Theme by Default )
• Override Session Highlighting Color
Session Options
• Show Historical Sessions
• Enable/Disable Session Highlighting
• Session Specific Visibility
• Session's Crucial Time Vertical Lines w/ Options
NY Midnight Line Options
• Show Historical NY Midnight Vertical Lines
• Midnight Verticle Line Options
• Show Historical NY Midnight Price Lines
• Midnight Price Line Options
Opening Price Line Options
• New York 8:30 AM Price Line Settings
• Equities Open 9:30 AM Price Line Settings
• Option to Display Historical Price Lines
HTF Levels
• Weekly Open
• Monthly Open
label Settings
• Show/Hide Label Text
• Show/Hide Label
Day of Week
• Show Day of Week at the bottom of chart w/ Time Co-ordinates Selection
••• Message Me For Link to Frequently Updated Version of This Indicator •••
DATE and ATR20 for practice using kojiro_indicatorsThis is an indicator to display ATR20, EMA100 of ATR20 and date at a glance for trade practices using kojiro_indicaotrs.
This will allow you to easily perform your practices.
Please change the period of EMA and the display interval and size of the indicator as needed.
Please enter small, normal, large, huge, or auto for the size.
The following is in Japanese.
小次郎講師のインジケーターでプラクティスする際に、
ATR、日付を見やすくするためのインジケーターです。
サイズや間隔を変更可能です。サイズはnormal、normal、large、huge、autoを入力してください。
Input Source█ OVERVIEW
This script demonstrates how your script can provide multiple input source selections while still allowing the use of an external indicator input.
█ CONCEPTS
There are occasions when one needs to provide script users with multiple input source selections while still allowing the selection of an external input. This is usually impossible because for external indicators to appear in an input widget's dropdown menu, only one input.source() call must be used in the script. If multiple calls are used, then no external indicator can be selected in any of the script's input widgets.
This script demonstrates how you can provide input sources offering a selection among the usual source built-ins ( open , high , low , close , hl2 , hlc3 , ohlc4 , hlcc4 ), but without the ability for users to select an external indicator. This allows your script to use multiple source inputs while still using one source input allowing the selection of an external input.
Look first. Then leap.
Volatility Trigger IndexThe script allows to assess the volatility of an asset.
It works by calculating the rate of change and the standard deviation.
The index is useful to determine the lowest volatility periods (could be useful to look strategies) and also it determine the highest volatility periods (maybe for exits or partial closes).
It has 3 iputs:
Lenght.
Low volatility value.
High volatility value.
The low and high values are set after a visual inspection. The values changes in each time frame. Usually when the timeframe is higher the value of the index is higher as well. So the low and high levels must be changed after each time frame set.
As an idea could be used in combination with any moving average to determine the market direction and the index used as a trigger.