Momentum 2.0 [AstrideUnicorn]Momentum 2.0 is a normalized Momentum oscillator with a moving base-level. The oscillator value is normalized by its standard deviation, similar to the z-score technique. Instead of the zero level, the indicator uses the base-level calculated as the inverted long-term average value of the oscillator. Similar to the zero-level crossing signal used for the Momentum oscillator, our oscillator calculates the base level crossing signal.
The moving base-level helps to reduce the number of false signals. In an uptrend the base-level is below zero, in a downtrend it is above it. This allows us to take into account the trend stability effect. In this case, to form a reversal signal, the oscillator must cross a lower value in an uptrend and a higher value in a downtrend.
HOW TO USE
When the oscillator crosses above the base-level, it gives a bullish signal, when below it gives a bearish signal. The signals are displayed as green and red labels, respectively.
The color of the histogram shows the current direction of the price momentum. Green indicates an upward move and red indicates a downward move. The blue line represents the base-level.
SETTINGS
Oscillator Period - determines the period of the Momentum oscillator
Base Level Period - determines the period used for long-term averaging when calculating the base-level and normalizing the oscillator
Signals
Botvenko ScriptI just test&learn pine script...
Damn, what should I write here? So... Its just a differense between the logarithms of two prices of different periods (You can set the period you want)... And it looks really nice... Ahem...
I hope, you enjoy this piece of... Have a nice day, my dear.
Combo 2/20 EMA & Average True Range Reversed This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
Average True Range Trailing Stops Strategy, by Sylvain Vervoort
The related article is copyrighted material from Stocks & Commodities Jun 2009
Please, use it only for learning or paper trading. Do not for real trading.
WARNING:
- For purpose educate only
- This script to change bars colors.
Combo 2/20 EMA & ADXR This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
The Average Directional Movement Index Rating (ADXR) measures the strength
of the Average Directional Movement Index (ADX). It's calculated by taking
the average of the current ADX and the ADX from one time period before
(time periods can vary, but the most typical period used is 14 days).
Like the ADX, the ADXR ranges from values of 0 to 100 and reflects strengthening
and weakening trends. However, because it represents an average of ADX, values
don't fluctuate as dramatically and some analysts believe the indicator helps
better display trends in volatile markets.
WARNING:
- For purpose educate only
- This script to change bars colors.
Ichimoku Buy/Sell Signals of manual MTF Tenkan crossing KijunIchimoku Buy/Sell Signals based on fast, small time frame Tenkans crossing longer timeframes Kijuns - Manual MTF Analysis
This code marks the potential change of direction based on the input of one timeframe's Ichimoku Tenkan (conversion) line crossing over a higher, longer timeframe's Ichimoku Kijun (base) line.
Feel free to change the inputs if need be and to hide the yellow box. Use Ichimoku rules of Tenkan, Kijun, Lagging Span, and Cloud for Take profit/Stop Losses. It is best to wait 3-5 minutes after the signal to enter to confirm the trend and to confirm if the Lagging Span has broken key levels. I refer to the book Trading with Ichimoku - A Practical Guide to Low-Risk Ichimoku Strategies by Karen Peloille as the Ichimoku rulebook. Good luck.
For day trading/scalping/intraday - 1min/3min/5min
Tenkan Line Timeframe = 1min
Kijun Line Timeframe = 5min
For swing trading - multiple days/weeks - 4HR/Daily/Weekly Charts
Tenkan Line Timeframe = day
Kijun Line Timeframe = week
Money Maykah -- DC-ATR , Stochastic RSI signals v.1-89 --This indicator shows the Stochastic RSI (SSRI) for overbought when the Donchian Channel (DC) is in the upper zone (between basis and upper), and SSRI for oversold when the DC is in the lower zone.
The DC upper and lower have a percentage of the ATR added I call this DC-ATR.
There can be numerous ways to form a strategy based on this. For a bull trend, an ABCD could be traced by A/C = blue signals and B/D = red signals.
Let me know what you think or if there is something wrong with the code. It's probably not the cleanest or more efficient but I am not a pro. If you find a good way to make a strategy from the indicator let me know.
Hope you enjoy!
-Casey R
Candle relative powerThis indicator tries to measure the power of candle.
You can also integrate some candles to measure the power. The “Length” is for integrating candles. If the Length is equal 5, it means indicator calculate power of recent 5 candles.
The second editable factor in “Shadow index” which represent the power of shadows.
The last factor in Average Criteria which is the module of comparing the integrated candles to the past market moves.
This indicator do not supposed to create trading signals! But, you can see every time it breaks the static line it is a sign of bulls or bears power.
I personally use it as a candle power meter so I will evaluate the power of breakouts or trend continuations.
Kahlman HullMA / WT Cross StrategyA strategy created using Hull Moving Average and WT Cross .
Hull Moving Average turns green and WT Cross crossover this is a long. Otherwise short.
Stop Loss and Take Profit settings are available. You can set it to the level you want or turn it off.
According to my measurements, it shows the best performance in the 4-hour period. But you can find the best settings that are correct from the Strategy settings.
EMA Options Clouds With SignalsEMA Clouds for Options!
This indicator can help you confidently open and close options positions. Note that you should set stop a little below midline EMA . Risk reward for good signals is fairly consistent in profit. Most of the simulations I ran got between 1:2 and 1:4 profits. The losers usually can be avoided by making sure you are not in a choppy trading channel. Wait for EMAs to start separating and don't blindly follow every buy/sell.
3 wave EMA + Clouds:
Defaults:
EMA 8/32/64
Signals (off by default - turn on in settings):
Buy Call/Sell Call (open/exit call positions)
Buy Put/Sell Put (open/exit put positions)
Enter signals bullish:
Close over Middle EMA AND Short EMA > Middle EMA > Long EMA
Exit signals bullish:
Close under Middle EMA OR trend turns bearish (Short EMA < Middle EMA < Long EMA )
Enter signals bearish:
Close under Middle EMA AND Short EMA < Middle EMA < Long EMA
Exit signals bearish:
Close over Middle EMA OR Short EMA > Middle EMA > Long EMA
Cloud Colors (Default)
Green: Bullish
Red: Bearish
White: Chop/Transition
Accumulation/Distribution Bands & Signals (BTC, 1D, BITSTAMP) This is an accumulation/distribution indicator for BTC/USD (D) based on variations of 1400D and 120D moving averages and logarithmic regression. Yellow plot signals Long Term Accumulation, which is based on 1400D (200W) ALMA, orange plot signals Mid Term Accumulation and is based on 120D ALMA, and finally the red plot signals Long Term Distribution that's based on log regression. It should be noted that for red plot to work BTC 1D BITSTAMP graph must be used, because the function of the logarithmic regression was modified according to the x axis of the BITSTAMP data.
Signal bands have different coefficients; long term accumulation (yellow) and and the log regression (red) plots have the highest coefficients and mid term accumulation (orange) has the lowest coefficients. Coefficients are 6x, 3x and 1.5x for the red (sell) and yellow (buy) plots and 1x, 2x and 3x for the orange (buy) plot. Selling coefficient for the yellow and the orange plots are respectively 2x and 1x. Buy and sell signals are summed up accordingly and plotted at the top of the highest band.
Acknowledgement: Credits for the logarithmic regression function are due @memotyka9009 and Benjamin Cowen
[Fedra Algotrading LR + TTP Indicator Lite]How it works?
- It calculates the linear regression of the last X candles and define a range based on a linear regression deviation (represented by the 3 parallel lines over the last candle).
-Open trades based on the breakout of the deviation of the linear regression (represented by the yellow triangle).
-Advanced trend filter to not open trades against the trend consist in 2 SMA cross and and a few other conditions, including sptionally super trend (Represented by the red and green background).
-Percentage take profit (represented by the horizontal green line. configurable)
-Percentage stop loss (represented by the horizontal red line. Configurable
-Break even when a trade has already opened and there is a change of trend. Calculated in 1.5% when the price is under the yellow SMA.
Alerts in each case to receive notifications (BUY & SELL, TP BE SL).
Added labels with entry price and PnL of each closed trade to facilitate optimization
Average True Range (VStop) Cloud SignalsThis indicator extends the built-in Volatility Stop indicator to a visual signals type indicator based on the crossover of a small VStop value (default 1.5x ATR) and a larger VStop value (default 3x ATR). The two values form a "cloud" with default coloring based on RSI/strength of trend.
Hourly Bias on BTC in Bullish USA Session “Green Eagle”Name: Hourly Bias on BTC in Bullish USA Session
Category: Hourly Bias
Operating mode: Spot, only long
Trades duration: Intraday, 11 bars
Timeframe: 1H
Suggested usage: When the market is compressed, USA session has a bullish bias.
Entry: enter Long at 15:00 on specific days of the week. There is a volatility filter based on ATR which identifies compression.
Exit: exit at a pre-defined time at 01:00
Usage:
⁃ It can be useful to use alerts or webhooks to automate this strategy.
⁃ This is a core system that can be improved in different ways (e.g. Stop-loss, take-profit, position sizing) or studying more the behaviour in the specific days of the week or short when is red.
Configuration:
- N/A
Backtesting
⁃ Exchange: BINANCE
⁃ Pair: BTCUSDT
⁃ Timeframe: 1H
⁃ Fee 0.075%
⁃ Slippage 2
- Start : 2019-01-06
We decided to release this free BTC strategy.
How you or we can improve? Source code is open so share your ideas!
Trendlines with Breaks [LuxAlgo]The trendlines with breaks indicator return pivot point based trendlines with highlighted breakouts. Users can control the steepness of the trendlines as well as their slope calculation method.
Trendline breakouts occur in real-time and are not subject to backpainting. Trendlines can however be subject to repainting unless turned off from the user settings.
The indicator includes integrated alerts for trendline breakouts.
🔶 USAGE
Any valid trendlines methodology can be used with the indicator, users can identify breakouts in order to infer future price movements.
The calculation method of the slope greatly affects the trendline's behaviors. By default, an average true range is used, returning a more constant slope amongst trendlines. Other methods might return trendlines with significantly different slopes.
Stdev makes use of the standard deviation for the slope calculation, while Linreg makes use of the slope of a linear regression.
The above chart shows the indicator using "Stdev" as a slope calculation method. The chart below makes use of the "Linreg" method.
By default trendlines are subject to backpainting, and as such are offset by length bars in the past. Disabling backpainting will not offset the trendlines.
🔶 SETTINGS
Length: Pivot points period
Slope: Slope steepness, values greater than 1 return a steeper slope. Using a slope of 0 would be equivalent to obtaining levels.
Slope Calculation Method: Determines how the slope is calculated.
Backpaint: Determine whether trendlines are backpainted, that is offset to past.
SignalsThis script allows you to calculate position size, and future profit, loses.
- You can add 3 target values and 1 stop loss
- Optionally you can display table, position it as you like, and see risk ratio
Plans:
- add profit loss to the labels
Diluted Earnings Per Share Signal [AstrideUnicorn]Earnings Per Share (EPS) is a financial metric closely monitored by investors. The so-called "positive earnings surprise" - a situation when EPS reading for a stock beats the value forecasted by analysts gives a bullish signal for this stock. The EPS reading lower than the analysts' estimate gives a bearish signal.
The Diluted Earnings Per Share (Diluted EPS) metric calculates a company's potential earnings per share value in the case if all convertible securities get converted to common shares. Convertible securities include preferred shares, stock options, warrants, convertible debt, etc. Diluted EPS is a more scientific way to estimate earnings per share, and it is usually lower than the ordinary EPS.
The Diluted EPS Signal indicator (DEPSS) is a fundamental indicator that calculates trading signals by comparing the Diluted EPS to the EPS Estimate. In many cases, Diluted EPS gives better insight into how a reported EPS reading may impact the stock price.
HOW TO USE
For each earnings date, the indicator calculates the Diluted Earnings Surprise percentage value :
Diluted Earnings Surprise = (Diluted EPS - EPS Estimate)/ EPS Estimate.
Diluted Earnings Surprise higher than the specified threshold value is a bullish signal. In this case, the indicator displays a green triangle pointing up.
Diluted Earnings Surprise lower than the specified threshold value is a bearish signal displayed as a red triangle pointing down.
As one can see on the chart, there are a lot of situations where EPS readings with green labels (the ones that beat analysts' estimates) lead to down moves. The DEPSS indicator can spot weak earnings and give opposite signals.
SETTINGS
Earnings Surprise Threshold (%) : the threshold value (in percentage units) for the Diluted Earnings Surprise. The calculated Diluted Earnings Surprise must be higher than Earnings Surprise Threshold to be considered a BUY signal or lower than minus Earnings Surprise Threshold to be considered a SELL signal. The default value for Earnings Surprise Threshold is 20%.
Favorite Signals w/EMA FilterThe script combines my favorite signals then filters them with three EMAs.
Via the Style tab, you can choose to either have the signals color the bar and/or plot a shape above/below.
All signals can be turned off via the Inputs tab, which will remove the bar color and/or shape (if not already off in the Style tab) as well as remove the pattern from the alerts function.
Remember when using TV alerts, if you change the script settngs, you must create a new alert if you wish to be alerted for the changes you've made.
LONG/SHORT SIGNALS INCLUDED FOR:
- TD8s
- TD9s
- Hammer
- Shooting Star
- Bullish Harami
- Bearish Harami
- RSI Divergences
EMA FILTER LOGIC LONGS:
- Price < Fast EMA & Med EMA > Slow EMA = Possible Long Entry
- Price > Fast EMA & Med EMA > Slow EMA = Possible Reversal, Tighten Stop or Reduce Position
EMA FILTER LOGIC SHORTS:
- Price > Fast EMA & Med EMA < Slow EMA = Possible Short Entry
- Price < Fast EMA & Med EMA < Slow EMA = Possible Reversal, Tighten Stop/Reduce Position
Big up to @spdoinkal, @HPotter, @LonesomeTheBlue, for writing the originals scripts for the signals above.
Enjoy!
Sentiment Estimator [AstrideUnicorn]Sentiment Estimator is an indicator that estimates market sentiment using only its pricing data. It counts bullish and bearish candles in a rolling window and calculates their relative values as percentages of the total amount of candles in the window. Market sentiment shows the direction in which the market is biased to move or the current trend direction. Extreme values of the market sentiment are contrarian signals. When the market sentiment is too bullish, it is time to sell and vice versa.
HOW TO USE
Sentiment Estimator plots a pair of green and red circles for each candle. They represent bullish and bearish sentiments, respectively.
The vertical positions of the circles show corresponding sentiment values in percentage units. For example, if a green circle's height is 60, the market is 60% bullish. In this case, the red circle's height will be 40, as bullish and bearish parts of the market sentiment sum to 100%.
The blue line plotted at the 50% level shows the neutral sentiment level. If a green circle is above the blue line, the prevailing market sentiment at that time is bullish, and the market is biased to move up. If a red one is above, the market has predominantly bearish sentiment and is prone to move down.
The red level shows extreme sentiment level. If a green or red circle is above this line, it means that the market is extremely bullish or bearish, respectively. It is a contrarian signal, and one can expect a reversal soon. In this case, a blue label with the text "reversal expected" is shown.
SETTINGS
Timeframe - allows choosing a timeframe other than the chart's one for the indicator calculation.
Look-Back Window - sets the historical window length used to perform the calculations. You can adjust the window to get the best results for a particular market or timeframe.
BB+RSI+EMA BUY/SELL SignalsBINANCE:BTCUSDT
* * * TESTED ON BTCUSDT 4H CHART * * *
The indicator gives signals based on candles touching BB lines and RSI oversold/overbought conditions, also a 200 EMA filter is used to trade following the major trend.
Only LONG signals are given.
Signals are divided in 3 categories based on their strenght:
- Weak BUY/SELL (green/red circles on chart)
- normal BUY/SELL (green/red triangles with "BUY" or "SELL" text on chart)
- strong BUY/SELL (green/red labels with "STRONG BUY" or "STRONG SELL" text on chart)
You can use signals from the same category as triggers for entering or exiting a trade or you can try using signals from different categories
All indicators settings can be costumized
Every signal label can be turned ON/OFF
EMA that changes color based on last candle close can be turned ON/OFF
Alerts can be set for:
- General Signals (every signal will trigger it)
- Weak Signals (only weak signals will trigger it)
- Normal Signals (only normal signals will trigger it)
- Strong Signals (only strong signals will trigger it)
No-lose trading targets (Based on EoRfA) By Mustafa ÖZVERThis code shows expected reaction target prices after sudden moving based on (EoRfA) Escaping of Rate from Avarage. Red area means the price is on overbought area, green area means the price is on oversold area. If you see red area under price, you can make short option to next to the horizontal beginning price of red area. If you see green area over price, you can make long option to next to the horizontal beginning price of green area.
When this code works
- The green area starts where EoRfA value is on oversold
- The red area starts where EoRfA value is on overbought
Of course, this code may be failed, do not forget the target may never come. But hopefully price will cross over the target.
And you (as developers) can develop this code by using anything instead of EoRfA to get up-down target prices.
But only this values can not guarantee good results for trading. BE CAREFUL
Zendog LONG DCA Trigger RSI+StochRSIThis is a script that generates a BUY signal by combining RSI and Stochastic RSI into the same script and that can easily be integrated into an external Backtester like the one I published.
The script uses default values for RSI and Stochastic RSI oversold conditions.
They should be adjusted for specific assets and timeframes so they better match the current trend. Please beware you might overfit settings to match a short timeframe trend (like a few days or hours). If this is the case once the trend changes the signals will not be accurate.
The purpose of this script is to provide some pine code that can be used to further combine multiple indicators into a LONG Deal Start signal.
Integration with the Zendog Backtster:
- add the backtester on the chart
- add this script on the chart
- in the Zendog backtester Deal start type select "External indicator"
- in the Zendog backtester Indicator source and value select "Zendog LONG DCA Trigger RSI+StochRSI: SIGNAL"
Moving Avarage Percentage difference bands It creates a buy and sell signal according to the up and down percentage differences of fast and slow moving averages. Green band breaks are buy and red band breaks are sell signals difference there is a threshold value for optimization, high values generate more signals, but the risk of these signals increases..
hızlı ve yavaş hareketli ortalamaların yüzdesel farklarının aşağıya ve yukarıya kırılımlarına göre alım ve satım sinyali oluşturur yeşil bant kırılımları al kırmızı bant kırılımları sat sinyalidir optimizasyon için eşik değeri eklenmiştir yüksek değerler daha fazla sinyal almanıza sebep olur ama riskli sinyal sayısı artar düşük değerler daha az sinyal almanızı sağlar ama riskli sinyal sayısıda azalır.