MTF - Options Strike Price - Screener & AlertsHi fellow traders ,
Pleased to share an MTF – Option Strike Price Screener.
It Screens 15 tickers for your set Strike Prices in the input column or you can also set the Stop Loss/target prices for your portfolio watch list in a single input window.
All you need to do is attach to any chart and set the periodicity of the to your desired alert() frequency requirement.
Now go to the input settings icon of the script and set your tickers, timeframe and option strike prices or if you would like to track your individual ticker stop loss or target prices!
Set the alert from the menu as usual click - Any alert() function call and bingo you are done!!
In all of 2-3 minutes you can set your Option Strike Alerts or TP’s or SL’s for 15 stocks of your portfolio..
Only a single alert() will track 15 tickers across multiple time frames..
Once your Alert is hit you may need to change the input settings and save as default and again set an alert() and delete the last alert()..
No more opening multiple charts and setting individual time consuming alerts().
Happy trading with TV..
Stoploss
MACD-Extendido-Indicador por NeilMACD-Extendida-Estrategia
--------------------------------
DESCRIPTION
Resource that identifies entry and exit operations using the indicator
Average Convergence and Divergence Movements (MACD) and 5 strategies
INTERESTING
Novel strategies are implemented such as:
1. Overbought and oversold band to avoid horizontal movements
2. Control inputs and outputs at positions opposite the histogram line
3. Make a profit (take profit) without prior purchase orders
HOW DOES IT WORK (STRATEGIES)
1) Overbought and oversold:
Allows you to define an overbought upper band
Allows you to define an oversold ower band
Operations that occur within the band are ignored
2) Place of next operation (either side):
Indicates that the next operation can occur on either side of the histogram
3) Place of next operation (opposite side):
Indicates that the next operation must occur on the opposite side of the histogram
4) Take profit:
It allows defining the deviation in favor to execute a take profit.
It does not place a buy order at a distant point, instead it looks back and if the shift meets the expected deviation, take profit is executed
5) Loss control (stop loss):
It allows to define the deviation against to execute a stop loss.
It does not place a stop order at a distant point, instead it looks back and if the displacement meets the expected deviation the stop loss is executed
How to use it:
Press the "Indicators" option, go to the "Public Librarian" segment, write the name "MACD-Extendido-Indicador Neil", double-click on the record in question and you will have it added in your work panel, now, just It remains to be used to identify the inputs and outputs and you can do it visually or by defining the automatic notification alerts.
DESCRIPCION
Recurso que identifica operaciones de entradas y salida haciendo uso del indicador
Media Móvil de Convergencia/Divergencia (MACD) y 5 estrategias
NOVEDADES
Se implementan estrategias novedosas como:
1. Banda de sobrecompra y sobreventa para esquivar movimientos horizontales
2. Control de entradas y salidas en posiciones contrarias a la línea del histograma
3. Toma de ganancias (take profit) sin ordenes de compra previa
COMO FUNCIONA (ESTRATEGIAS)
1) Sobrecompra y Sobreventa:
Permite definir una banda superior de sobrecompra
Permite definir una banda inferior de sobreventa
Operaciones que ocurren dentro de la banda son ignoradas
2) Lugar de próxima operación (cualquier lado):
Indica que la próxima operación puede ocurrir en cualquier lado del histograma
3) Lugar de próxima operación (lado opuesto):
Indica que la próxima operación debe ocurrir en el lado opuesto del histograma
4) Toma de ganancias (take profit):
Permite definir la desviación a favor para ejecutar una toma de ganancia.
No coloca una orden de compra en un punto distante, en su lugar mira hacia atrás y si el desplazamiento cumple con la desviación esperada se ejecuta la toma de ganancia
5) Control de pérdida (stop loss):
Permite definir la desviación en contra para ejecutar una parada de pérdida.
No coloca una orden de parada en un punto distante, en su lugar mira hacia atrás y si el desplazamiento cumple con la desviación esperada se ejecuta la parada de la pérdida
Como usarlo:
Presione la opción "Indicadores", ubíquese en el segmento "Libreria Publica", escriba el nombre "MACD-Extendido-Indicador por Neil", haga doble clic sobre el registro en cuestión y lo tendrá agregado en su panel de trabajo, ahora, solo resta usarlo para identificar las entradas y salidas y puede hacerlo de forma visual o definiendo las alertas de notificación automática.
4-EMA TrendThis indicator can be used to visualize when price is above or below special exponential moving averages (8, 21, 50 and 200) that are also displayed on the chart. A green or red background is plotted then, that can be followed as a trend. You can define the amount of risk (e.g. in $) and the number of previous bars that will be used to calculate the stop loss. For the stop loss a label is shown (long or short) that displays the quantity to buy or sell for your defined risk. It is recommend to use the indicator in combination with my Stochastic & RSI (see chart) to enter trades long or short when stochastic is overbought or oversold and RSI above or below 50.
CAPITALCOM:US100
Strategy TemplateThis is the fastest way to create a Trading View strategy. The template I have created includes stoploss and take profit enabling and plotting, date range, and strategy buy and sell conditions. I believe this will benefit the people in the Trading View community by creating a strategy faster and more efficiently than just repeating pine script code. All that needs to be done by the person using this script is to add their own indicators, and create their own buy and sell signals. Then they can immediately start back testing their new strategy!
vol_signalNote: This description is copied from the script comments. Please refer to the comments and release notes for updated information, as I am unable to edit and update this description.
----------
USAGE
This script gives signals based on a volatility forecast, e.g. for a stop
loss. It is a simplified version of my other script "trend_vol_forecast", which incorporates a trend following system and measures performance. The "X" labels indicate when the price touches (exceeds) a forecast. The signal occurs when price crosses "fcst_up" or "fcst_down".
There are only three parameters:
- volatility window: this is the number of periods (bars) used in the
historical volatility calculation. smaller number = reacts more
quickly to changes, but is a "noisier" signal.
- forecast periods: the number of periods for projecting a volatility
forecast. for example, "21" on a daily chart means the plots will
show the forecast from 21 days ago.
- forecast stdev: the number of standard deviations in the forecast.
for example, "2" means that price is expected to remain within
the forecast plot ~95% of the time. A higher number produces a
wider forecast.
The output table shows:
- realized vol: the volatility over the previous N periods, where N =
"volatility window".
- forecast vol: the realized volatility from N periods ago, where N =
"forecast periods"
- up/down fcst (level): the price level of the forecast for the next
N bars, where N = "forecast periods".
- up/down fcst (%): the difference between the current and forecast
price, expressed as a whole number percentage.
The plots show:
- blue/red plot: the upper/lower forecast from "forecast periods" ago.
- blue/red line: the upper/lower forecast for the next
"forecast periods".
- red/blue labels: an "X" where the price touched the forecast from
"forecast periods" ago.
+ NOTE: pinescript only draws a limited number of labels.
They will not appear very far into the past.
3Commas BotBjorgum 3Commas Bot
A strategy in a box to get you started today
With 3rd party API providers growing in popularity, many are turning to automating their strategies on their favorite assets. With so many options and layers of customization possible, TradingView offers a place no better for young or even experienced coders to build a platform from to meet these needs. 3Commas has offered easy access with straight forward TradingView compatibility. Before long many have their brokers hooked up and are ready to send their alerts (or perhaps they have been trying with mixed success for some time now) only they realize there might just be a little bit more to building a strategy that they are comfortable letting out of their sight to trade their money while they eat, sleep, etc. Many may have ideas for entry criteria they are excited to try, but further questions arise... "What about risk mitigation?" "How can I set stop or limit orders?" "Is there not some basic shell of a strategy that has laid some of this out for me to get me going?"
Well now there is just that. This strategy is meant for those that have begun to delve into the world of algorithmic trading providing a template that offers risk defined positions complete with stops, limit orders, and even trailing stops should one so choose to employ any of these criteria. It provides a framework that is easily manipulated (with some basic working knowledge of pine coding) to encompass ones own ideas and entry criteria, while also providing an already functioning strategy.
The default settings have a basic 1:1 risk to reward ratio, which sets a limit and a stop equal distance from the entry. The entry is a simple MA cross (up for long, down for short). There a variety of MA's to choose from and the user can define the lengths of the averages. The ratio can be adjusted from the menu along with a volatility based adder (ATR) that helps to distance a stop from support or resistance. These values are calculated off the swing low/high of the user defined lookback period. Risk is calculated from position entry to stop, and projected upwards to the limit as a function of the desired risk to reward ratio. Of note: the default settings include 0.05% commissions. Competitive commissions of the leading cryptocurrency exchanges are .1% round trip (one buy and one sell) for market orders. There is also some slippage to allow time for alerts to be sent and orders to fill giving the back test results a more accurate representation of real time conditions. Its recommended to research the going rates for your exchange and set them to default for the strategy you use or build.
To get started a user would:
1) Make a copy of the code and paste in their bot keys in the area provided under the "3Comma Keys" section
- eg. Long bot "start deal" copied from 3commas in to define "Long" etc. (code is commented)
2) Place alert on desired asset with desired settings ensuring to select "Order fills and alert() function calls"
3) Paste webhook into the webhook box and select webhook URL alerts (3rd party provided webhook)
3) Delete contents of alert message box and replace with {{strategy.order.alert_message}} and nothing else
- the codes will be sent to the webhook appropriately as the strategy enters and exits positions. Only 1 alert is needed
settings used for the display image:
1hr chart on BTCUSD
-ATR stop
-Risk adjustment 1.2
-ATR multiplier 1.3
-RnR 0.6
-MAs HEMA/SMA
-MA Length 50/100
-Order size percent of equity
-Trail trigger 60% of target
Experiment with your own settings on your crypto of choice or implement your own code!
Implementing your trailing stop (optional)
Among the options for possible settings is a trailing stop. This stop will ratchet higher once triggered as a function of the Average True Range (ATR). There is a variable level to choose where the user would like to begin trailing the stop during the trade. The level can be assigned with a decimal between 0 and 1 (eg. 0.5 = 50% of the distance between entry and the target which must be exceeded before the trail triggers to begin). This can allow for some dips to occur during the trade possibly keeping you in the trade for longer, while potentially reducing risk of drawdown over time. The default for this setting is 0 meaning unless adjusted, the trail will trigger on entry if the trailing stop exit method is selected. An example can be seen below:
Again, optional as well is the choice to implement a limit order. If one were to select a trailing stop they could choose not to set a limit, which could allow a trail to run further until hit. Drawdowns of this strategy would be foregoing locking gains at highs on target on other trades. This is a trade-off the user can decide on and test. An example of this working in favor can be observed below:
Conclusion
Although a simple strategy is implemented here, the benefits of this script allow a user a starting platform to build their strategies from with built in risk mitigation. This allows the user to sidestep some of the potential difficulties' that can arise while learning Pine and taking on the endeavor of automating their trading strategies. It is meant as an aid, a structure, and an educational piece that can be seen as a "pick-up-and-go" strategy with easy 3Commas compatibility. Additionally, this can help users become more comfortable with strategy alert messages and sending strings in the form of alerts from Pine. As well, FAQs are often littered with questions regarding "strategy.exit" calls, how to implement stops. how to properly set a trailing stop based on ATR, and more. The time this can save an individual to get started is likely of the best "take-aways" here.
Happy trading
trend_vol_stopThe description below is copied from the script's comments. Because TradingView does not allow me to edit this description, please refer to the script's comments section, as well as the release notes, for the most up-to-date information.
----------
Usage:
The inputs define the trend and the volatility stop.
Trend:
The trend is defined by a moving average crossover. When the short
(or fast) moving average is above the long (slow) moving average, the
trend is up. Otherwise, the trend is down. The inputs are:
long: the number of periods in the long/slow moving average.
short: the number of periods in the short/fast moving average.
The slow moving average is shown in various colors (see explanation
below. The fast moving average is a faint blue.
Volatility stop:
The volatility stop has two modes, percentage and rank. The percentage
stop is given in terms of annualized volatility. The rank stop is given
in terms of percentile.
stop_pct and stop_rank are initialized with "-1". You need to set one of
these to the values you want after adding the indicator to your chart.
This is the only setting that requires your input.
mode: choose "rank" for a rank stop, "percentage" for a percentage stop.
vol_window: the number of periods in the historical volatility
calculation. e.g. "30" means the volatility will be a weighted
average of the previous 30 periods. applies to both types of stop.
stop_pct: the volatility limit, annualized. for example, "50" means
that the trend will not be followed when historical volatility rises
above 50%.
stop_rank: the trend will not be followed when the volatility is in the
N-th percentile. for example, "75" means the trend will not be
followed when the current historical volatility is greater than 75%
of previous volatilities.
rank_window: the number of periods in the rank percentile calculation.
for example, if rank_window is "252" and "stop_rank" is "80", the
trend will not be followed when current historical volatility is
greater than 80% of the previous 252 historical volatilities.
Outputs:
The outputs include moving averages, to visually identify the trend,
a volatility table, and a performance table.
Moving averages:
The slow moving average is colored green in an uptrend, red in a
downtrend, and black when the volatility stop is in place.
Volatility table:
The volatility table gives the current historical volatility, annualized
and expressed as a whole number percentage. E.g. "65" means the
instrument's one standard deviation annual move is 65% of its price.
The current rank is expressed, also as a whole number percentage. E.g.
"15" means the current volatility is greater than 15% of previous
volatilities. For convenience, the volatilities corresponding to the
0, 25, 50, 75, and 100th percentiles are also shown.
Performance table:
The performance table shows the current strategy's performance versus
buy-and-hold. If the trend is up, the instrument's return for that
period is added to the strategy's return, because the strategy is long.
If the trend is down, the negative return is added, because the strategy
is short. If the volatility stop is in (the slow moving average is
black), that period's return is excluded from the strategy returns.
Every period's return is added to the buy-and-hold returns.
The table shows the average return, the standard deviation of returns,
and the sharpe ratio (average return / standard deviation of returns).
All figures are expressed as per-period, whole number percentages.
For exmaple, "0.1" in the mean column on a daily chart means a
0.1% daily return.
The number of periods (samples) for each strategy is also shown.
trend_vol_forecastNote: The following description is copied from the script's comments. Since TradingView does not allow me to edit this description, please refer to the comments and release notes for the most up-to-date information.
-----------
USAGE
This script compares trend trading with a volatility stop to "buy and hold".
Trades are taken with the trend, except when price exceeds a volatility
forecast. The trend is defined by a moving average crossover. The forecast
is based on projecting future volatility from historical volatility.
The trend is defined by two parameters:
- long: the length of a long ("slow") moving average.
- short: the length of a short ("fast") moving average.
The trend is up when the short moving average is above the long. Otherwise
it is down.
The volatility stop is defined by three parameters:
- volatility window: determines the number of periods in the historical
volatility calculation. More periods means a slower (smoother)
estimate of historical volatility.
- stop forecast periods: the number of periods in the volatility
forecast. For example, "7" on a daily chart means that the volatility
will be forecasted with a one week lag.
- stop forecast stdev: the number of standard deviations in the stop
forecast. For example, "2" means two standard deviations.
EXAMPLE
The default parameters are:
- long: 50
- short: 20
- volatility window: 30
- stop forecast periods: 7
- stop forecast standard deviations: 1
The trend will be up when the 20 period moving average is above the 50
period moving average. On each bar, the historical volatility will be
calculated from the previous 30 bars. If the historical volatility is 0.65
(65%), then a forecast will be drawn as a fuchsia line, subtracting
0.65 * sqrt(7 / 365) from the closing price. If price at any point falls
below the forecast, the volatility stop is in place, and the trend is
negated.
OUTPUTS
Plots:
- The trend is shown by painting the slow moving average green (up), red
(down), or black (none; volatility stop).
- The fast moving average is shown in faint blue
- The previous volatility forecasts are shown in faint fuchsia
- The current volatility forecast is shown as a fuchsia line, projecting
into the future as far as it is valid.
Tables:
- The current historical volatility is given in the top right corner, as a
whole number percentage.
- The performance table shows the mean, standard deviation, and sharpe
ratio of the volatility stop trend strategy, as well as buy and hold.
If the trend is up, each period's return is added to the sample (the
strategy is long). If the trend is down, the inverse of each period's
return is added to the sample (the strategy is short). If there is no
trend (the volatility stop is active), the period's return is excluded
from the sample. Every period is added to the buy-and-hold strategy's
sample. The total number of periods in each sample is also shown.
SMA-Extendido-Indicador por NeilDescription:
Indicator that identifies entry and exit operations, using 3 moving averages and 5 strategies. New strategies are implemented such as the prediction of closing operations, independent of the events that justify entry operations.
How does it work:
1) Long strategy: if SMA5 crosses up to SMA200 and SMA200 is bullish , a buy operation begins, if SMA5 crosses down to SMA200 and SMA200 is bearish , a sale begins.
2) Short strategy with smooth filtering of operations: if SMA5 crosses up to SMA20 and SMA20 is bullish and (SMA5 are above SMA200) a buy operation is initiated. If SMA5 crosses down to SMA20 and SMA20 is bearish and (SMA5 are below SMA200) a sell trade is initiated
3) Short strategy with strong filtering of operations: if SMA5 crosses up to SMA20 and SMA20 is bullish and (SMA5 and SMA20 are above SMA200 and SMA200 is bullish ) a buy is initiated, in other words, buy operations occur only if SMA5 and SMA20 are above SMA200; if SMA5 crosses down to SMA20 and SMA20 is bearish and (SMA5 and SMA20 are below SMA200 and SMA200 is bearish ) a sell is initiated, that is, sell operations occur only if SMA5 and SMA20 are below SMA200
4) Short strategy without filtering operations: if SMA5 crosses up to SMA20 and SMA20 is bullish , a buy is initiated (the location of MA200 does not matter). If SMA5 crosses down to SMA20 and SMA20 is bearish , a sell is initiated (it does not matter where the MA200 is located)
5) Prediction of closing operations: the algorithm evaluates potential closing operations differently and considers the following rules: If there is an active buy trade and SMA5 crosses down to SMA20, we close the current buy (the location of the SMA200 does not matter). If there is an active sell trade and SMA5 crosses up to SMA20, we close the sale in progress (the location of the SMA200 does not matter)
How to use it:
Press the "Indicators" option, go to the "Public Librarian" segment, write the name "SMA-Extendido-Indicador por Neil", double-click on the record in question and you will have it added in your work panel, now, just It remains to be used to identify the inputs and outputs and you can do it visually or by defining the automatic notification alerts.
Moving Stop-Loss mechanism + alerts to MT4/MT5"How to code moving stop-loss mechanism", is one of the most often repeating questions in private messages I receive, so just to focus on this mechanism, I made a spin-off from my previous script: TradingView-Alerts-to-MT4-MT5-dynamic-variables-NON-REPAINTING .
The logic here moves the stop-loss each time a trade is running and a new pivot high/low is detected. When such event occurs (UpdateLongStopLoss or UpdateShortStopLoss), stoploss_long or stoploss_short mutable variable is modified. And it needs to be coded inside strategy.exit() line as "stop=stoploss_long" or "stop=stoploss_short". Entries are pretty straightforward - on Stoch crosses.
Last lines of the script show how to wrap information about such updates and send send alerts to MetaTrader via TradingConnector for execution in Forex/indices/commodities/crypto markets via MetaTrader. Please note that "tradeid=" variable must be passed with each alert, to let MetaTrader know which trade to modify. SLMOD, TPMOD are recently added commands, along with BE (as in "move stop-loss to breakeven" - but that's another topic).
Please disregard strategy backtest results, as this script is for coding education purposes only. However, it seems with the stop-loss mechanism enabled, the results are even better, than in original version of the script :)
money managementthis indicator has been designed to make your calculations easier and faster.
you can use this indicator to set tp and sl prices based on your entry price, balance,risk and leverage.
it has been designed only for cryptocurrency market and it is not recommended to use it in other markets!
1- enter your balance in the setting of the indicator.
2- enter risk percentage of your balance.
3- enter your sl percentage.
4- enter your tp percentage.
5- set your leverage if you are trading in futures market.
6- and at last set your entry price.
your position size both in spot market and futures market and the exact price of tp and sl , will be shown top right of the screen.
caution: before using this indicator in real market, please make sure that you understand this indicator's behavior and test it.
--------------------------------------------------------------------
این اندیکاتور برای تسریع محاسبات مدیریت سرمایه و سهولت رعایت آن طراحی شده است.
شما میتوانید با وارد کردن پارامترهاقیمت ورودی، سرمایه کل، ریسک و اهرم، قیمت حد سود و ضرر خود را محاسبه کنید.
همچنین اندازه حجم معاملات شما توسط این اندیکاتور محاسبه خواهد شد.
این اندیکاتور برای بازار کریپتوکارنسی طراحی شده است و استفاده از آن در سایر بازارها پیشنهاد نمیشود.
از بخش تنظیمات اندیکاتورمراحل زیر را انجام دهید:
1- میزان سرمایه خود را در قسمت بالانس وارد کنید
2- میزان ریسک سرمایه در هر معامله را مشخص کنید (به درصد)
3- میزان حد ضرر خود را مشخص کنید (به درصد)
4- میزان حد سود خود را مشخص کنید (به درصد)
5- عدد اهرم خود را وارد کنید
6- قیمت ورود به معامله را وارد کنید
توجه: قبل از استفاده این اندیکاتور در بازار لایو لطفا آن را تست کنید و از کارکرد صحیح آن با مدیریت سرمایه خود اطمینان حاصل فرمایید.
ATR Stop Loss FinderThis Indicator uses Average True Range (ATR) to determine a safe place to put stop losses to avoid being stop hunted or stopped out of a trade due to a tight stop loss. Default multiplier setting is 1.5. For a more conservative stop loss use 2 and for a tighter stop loss use 1. ATR and stop loss prices are displayed in table at bottom of screen. Use high(red) for shorts and low(teal) for longs.
Tolueno StrategyTolueno Strategy is a help tool for the average trader of tradingview. This tool facilitates the interpretation of entries either long or short.
The use of magic trend has been implemented, in addition to different types of ema and fully configurable signals.
Soon the use of more sophisticated support and resist will be added to be used for inputs and outputs. RR will be improved too.
The tool has alerts
The tool has a dashboard that shows current signal (LONG / SHORT), shows a recommended take profit (not mandatory), recommended stop loss (not mandatory) and the profit that the current operation is achieving, all this to help the trader and his emotions do not harm him.
The tool is constantly updated and will be gradually improved over time with feedback from tradingview users.
Any questions ask in the comment box or by pm.
This indicator is not for sale, it is not a commercial publication.
EMAC - Exponential Moving Average CrossEMAC - Exponential Moving Average Cross
This strategy is based in part on original 10ema Basic Swing Trade Strategy by Matt Delong: www.tradingview.com
Link to original 10ema Basic Swing Trade Strategy:
This is the Original EMAC - Exponential Moving Average Cross strategy built as a class for reallifetrading dot com and so has all the default settings and has not been optimized. I would not recommend using this strategy with the default settings and is for educational purposes only. For the fully optimized version please come back around the same time tomorrow 6/16/21 for the EMAC - Exponential Moving Average Cross - Optimized
If you have any questions feel free to reach out to me with a comment and I will try to get back to you quickly with a reply.
Relative VolumeVolume can be a very useful tool if used correctly. Relative volume is designed to filter out the noise and highlight anomalies assisting traders in tracking institutional movements. This tool can be used to identify stop loss hunters and organized dumps. It uses a variety of moving averages to hide usual activity and features an LSMA line to show trend. Trend columns are shown to highlight activity and can be seen at bottom of the volume columns, this is done using ZLSMA and LSMA.
The above chart shows an example of 2 indicators being used on the 15 min chart. The bottom indicator is set to the 1 min chart. Traders can see a large dump on the 1 min chart as institutions wipe out any tight stop losses. Next they buy back in scooping up all those long positions.
This is an example layout using a split screen setup and multiple timeframes ranging from 1 min to 30 mins. This gives a clear indication of trends and make it easy to pickup on institutional behaviour. Tip: Double clicking indicator background will maximize RVOL to the split screen window.
YesillimThe "Yesillim" indicator is a trend follower and trailing stop indicator that reacts quickly and aims to enter early in an uptrend and exit early from a downtrend. Since moving averages are used, it can be used in daytrade and scalping in daily or lower periods. The crossover and crossdown intersections of the price and the indicator line may be meaningful, but it is actually a color changing indicator and color changes should be interpreted. The bullish market gains strength when the color turns green, and the bearish market when it turns red. When prices get too far from the indicator, they are approaching again, in this case, it may be support will work like resistance according to the current trend. Like any indicator, it is possible to produce false signals in the horizontal market, so it should not be used alone, the oscillator and volume should support the current trend. In strong trend changes, angle changes in the indicator can also be interpreted manually. In this case, sharp angled turns indicate a sharp trend change. Technically customized weighted moving average weights are specially weighted with golden ratio coefficients, smoothed with a lower period for noise removal with the same principle and added bias. I wish it to be used in profitable transactions.
Turkish (Türkçe): Yeşillim indikatörü bir trend izleme ve hareketli iz süren indikatördür. Son barları agresif olarak ağırlıklandırdığı için var olan bir yükseliş trendine erken sokup, düşüş trendinden erken çıkarması olasıdır. İndikatör yorumlanırken fiyat ve indikatör kesişimleri anlamlı olsada (yükseliş düşüş trendlerinde destek-direnç görevi görebilecektir) ancak asıl amaç renk değişimi yorumlanmalıdır, yeşil yükseliş trendinin, kırmızı ise düşüş trendinin güç kazandığını göstermektedir. Her indikatör gibi yatay piyasada hatalı sonuçlar üretebilir, bu nedenle rsi, sokastik gibi bir osilatörle desteklenmesi hacimin mevcut trendi desteklemesi gerekmektedir. Kazançlı işlemlerde kullanılmasını temenni ederim.
EMA+RSI Pump & Drop Swing Sniper (SL+TP) - StrategyThis is the strategy version of the 'EMA-RSI-Pump-Drop-Swing-Sniper-With-Alerts':
Some additions with this strategy:
~Added Stop loss & Take profit control. In Settings > Inputs if the Stop Loss is at .051 that means it's 5.1% and the Take Profit at .096 is 9.6%. If you wish to remove the TP and SL just change the value to 1.00 and it would be the same as it being 100% TP and SL which is likely to never be hit.
~Added Backtesting by changing the month/date/year in Settings > Inputs
~Added a 2nd EMA line to assist with the long entry signals. I only use this for long entry & exits, though you could use the long exits as Short entries too. I just personally don't do short trading on Bitcoin.
This is using an EMA and RSI with slightly modified settings to give good entry and exit points while looking at Bitcoin. I use this on a 1-hour and 4-hour chart and with other indicators to find good positions to enter a trade or exit if things are turning red.
It's important to know this strategy was made as a request by another user that was using the indicator version. I don't use this as a trading strategy by itself, I use the visuals it gives as a confirmation with other indicators to find the best possible entry and exit positions.
If you click on the EMA line it will color the bars of the chart based on if they are above or below the EMA - This is just visually helpful for me to see the active trend.
Make sure you hover over or click on the EMA line to see the colors of the candles change - it's not visible by default or without doing this.
Safe Scalpy Stop Loss. Percentage from price visualizer.This is my first script I have published so bear with me.
I have thrown this together so you can easily see on the chart where -0.5%, -1% and -2% would be from the last candle close. I also replicated these to show positive values in case you are shorting.
I have also added a custom value setting so you can set the line at whatever percentage value you like and included an adjustable recent higher high and higher low finder to help create a recent range as it seems to work well in tandem for scalping range based price movement.
You can turn all these things on and off in the settings on the style checkboxes.
I felt the need to make this because I like to scalp trade with leverage like a total degen from time to time. Often the setups happen very quickly. It is difficult to calculate where to set a stop loss in a hurry so I keep a fixed account size/lev and just vary the position percentage size based on the percentage of the stop loss from the current price.
Sometimes when switching from a lower volatility chart to high volatility one it is easy to get caught out by quickly entering a scalp trade only to find you made your position way too big or you shouldn't have entered at all. You thought it was only moving 0.2% per candle instead of 3%. Whoops. Rekt.
This indicator is all about trying to help me avoid that with a visual clue to back up the bad maths I do quickly in my head.
I often hide it and only show it when I'm ready to enter a position to double check my SL and entry are set in a sensible area.
I thought I would publish it in case someone else finds such a simple tool handy.
Apologies if there is already something out there that does this job. I couldn't find it.
See you all on the moon.
Position Sizing w/ ADR&ATR TrackingScript to use for position sizing based on portfolio size, max position, and max loss inputs. The option to use custom entry and stop are available, but default to last price for entry, and Low of Day (LoD) for stop. The ATR % is a measure of the low of day to current price as a percentage move.
Credit to LonesomeTheBlue for the base code on position sizing and TheScrutiniser/GlinckEastwoot for ADR formula
-Nelgoth, best of luck
MultiAlert, MultiTargets + TickersThis is my first script, completely made from scratch. Bear with me.
Script that allows one to set an alert for Multiple Price Levels, on Multiple Tickers, complete with Dynamic Messages showing you which ticker, at which price, at which alert (Stop loss, Target 1 etc.), set to Once Per Bar.
Select Ticker, type in price levels that you have for targets & stop loss, move on to the next, or don't and leave 0 and blank.
Disable the targets you do not need in STYLE tab to disable plotting & scaling, leave unused tickers & targets blank & 0.
Create Alert, select this indicator, anyfunction() alert.
MAKE SURE to remake the alert every time you change something, they are not smart enough to change as you change things. Can Confirm by using the numbers in the alert name. You will also have to set the profit level or stop loss to zero every time it triggers to avoid triggered again.
In fact, you do not need the indicator active at all. Add it to a chart and hide it by clicking on the little eyeball icon, to make an alert open the settings for the indicator and type in your targets like normal. Indicator will remain invisable.
I have not found a way to dynamic message the alert name, or else I would.
DISCLAIMER: NONE OF THIS IS FINANCIAL ADVICE. You are completely responsible for whatever happens to you. Do not use the targets in this chart. Do your own research before trading.
ATR RangeUseful in case you use Average True Range to determine Shows Stop Loss and Take Profit price levels.
For example, if you want to put Stop Loss with a distance of 1.5xATR and Take Profit 2xATR for a long trade, put 1.5 as Lower Factor and 2 as Upper Factor. Lower and Upper prices will show price levels for SL and TP respectively.
Study Backtester [MS]Backtest your study like a strategy with our Study Backtester. Visualize your script's performance directly on the chart.
Simple to use, copy-paste a few lines of code (shown below) into your script, then set your script as input to the Study Backtester.
Visualize how your script performs against buy-and-hold over time, and get a nice print out of stats.
Settings
Set your buy and sell signal inputs
Add a stop loss
Choose normal or trailing stop loss
Choose the start date and time for backtesting
Set trading commissions
Use leverage or not
Set carry cost for leveraged trades
Version 1
Only supports buy-sell-buy-sell alternating signals. Any non-alternating signals will be ignored.
Testing begins with 1 share of the asset at your first buy signal.
Things To Note
This cannot enter or exit mid-candle. With the exception of the stop loss feature, which will calculate exits at the exact stop price.
Stops are not treated as stop-orders, but as market-exists at the stop (or trailing stop) price.
This DOES NOT take into account any loss of funds due to liquidation if price goes against you in a margin position.
Short positions are not currently supported.
Only `study` scripts are supported
How To Use
1) Add the following to the bottom your study's code.
//------------------------------------------------------------------------------
// FOR BACKTESTER
plot(buy ? 1 : sell ? -1 : na, title="Signals", display=display.none, editable=false)
2) Make sure `buy` and `sell` variables are assigned appropriately according to your strategy.
3) Add both your study and this script to your chart.
4) Set the "Signals Plot" setting of this script to: : Signals
5) Adjust this script's settings (start date, commission, stoploss, etc) as necessary.
PM us with any questions about this script.
CRYPTO 3EMA Strategy with Take Profit & Stop Loss based on ATRSimple 3 EMA Strategy with plotted Take Profit and Stop Loss
Entry condition:
- Middle EMA cross above the Slow EMA
- Set take profit and stop loss exit conditions based on ATR Indicator
Exit condition:
- Fast EMA cross below the Middle EMA