Stacked Moving AveragesThe Stacked Moving Averages indicator lets you see if a ticker is in an uptrend, downtrend, or no trend based on the condition of the moving averages. If the moving averages are stacked such that MA1>MA2>MA3>MA4>MA5, then that is described as an uptrend. If the moving averages are stacked such that MA5>MA4>MA3>MA2>MA1, then that is defined as a downtrend.
The moving averages can be SMA, EMA, or DEMA, and it’s possible to view all the moving average series in the chart or hide all series and only see if there is an uptrend or downtrend according to the condition.
Note: If length 4 OR length 5 is zero the MA4 OR MA5 will be ignored.
Downtrend
trend Screener downtrendthis is in continuation with - previous trend screener i have published, In this code only downtrend screener is there ,This is type of custom screener I searched and made to screen bulk stocks any one can modify it, other may get help out of it.
you can change or add new symbol in input section.
in my code i have made defined and printed last close price when downtrend was true.
1. downtrend = ema (close,55)< ema (close,144) and ema (close,144)< ema (close,388) and ema (close,388)<ema(close,576) and close<ema(close,388)
if the indicator is printing DOWNTREND=TRUE or UPTREND=TRUE then the corresponding stock is in currently in that trend out of the stocks listed in the code
in one code only 40 (max) stocks can be called.
to add more stocks I copied same code and changed the stocks in the code, now you can screen 80 stocks at a time.
This code runs on each bar and checks if the stocks is in uptrend or down trend.
you can customize this screener according to your requirement.
EMA CrossoversUseful for identifying and receiving alerts about uptrends and downtrends.
This script uses two Exponential Moving Averages (EMAs) to find price uptrends and downtrends. An Exponential Moving Average (EMA) is a type of moving average that places a greater weight and significance on the most recent data points. The script produces uptrend and downtrend signals based on crossovers and divergences between the two EMAs, the user will be able to spot a trend change (when the EMAs crossover) and to determine the strength of the current trend (when the EMAs diverge). It is also posible to get alerts for uptrends and downtrends on the web and mobile app with sound and pop-ups as well as via email. The optimal time to enter and exit the market can be concluded from this trend changes.
The user can set their own EMAs, by default they are set to 21 and 55 periods for medium and long term respectively. When the medium term EMA crosses below the long term EMA the asset is in a downtrend and the price will decline, and when the medium term EMA crosses above the long term EMA the asset is in an uptrend and price will increase.
This scripts plots the following indicators and signals on the chart to help the user to identify trends:
1.- Medium and long term EMAs as lines overlaid on the price chart.
2.- Up green triangles above bars when the price is on an uptrend and down red triangles below bars when the price is on a downtrend.
3.- Arrows with text to indicate the start of an uptrend or downtrend.
The user can enable and disable the indicators and signals as well as set colors and shapes to their liking.
This script also lets the user create alerts for uptrends and downtrends. To create a new alert using this script follow this instructions:
1.- Once you added this script to your chart, go to the alerts panel (right on web or bottom tool bar on the mobile app) and add a new alert (alarm clock icon with a plus sign).
2.- A modal window will open. On the “Condition” dropdown menu select “EMA Crossovers”.
3.- On the next dropdown menu (right below the “Condition” one) you can select from two types of alerts “Uptrend started” and “Downtrend started”.
4.- Lastly you can set all the normal alert options and create the alert.
Short In Downtrend Below MA100 (Coinrule)This is a simple strategy to take advantage of downtrends. It's useful to run such a strategy as a hedge in times of market uncertainty.
The Sell Condition - Entry
The sell signal triggers when:
the coin has MA (100) greater than the price in a timeframe of 15 minutes, meaning that the coin is in a short-term downtrend.
the coin has an RSI greater than 30 in a timeframe of 15 minutes, indicating that it didn't reach oversold conditions yet, so there is still room for a further price drop.
On Coinrule, you can launch the strategy on real market conditions, setting up multiple sequential sell orders. The strategy would keep selling while the price stays below the MA(100). In that case, it's advisable to set low amounts for the sell orders. the position will grow gradually while the downtrend intensifies. Set a minimum time interval between the sell orders will also help to have control over the overall position size.
The Buy Condition - Exit
The bot connects to each trade a stop loss and a take profit. The percentages are optimized for short term trades on mid-cap coins. You can adjust the percentages depending on the specific coin you are trading. A ratio of 1:1.5 between the stop loss and the take profit could work as the strategy trades in the same direction of the trend.
Stop loss at 3% from the entry price
Take profit at 2% from the entry price
A slightly larger stop loss allows tolerating more volatility to reduce the case of stops triggering when it shouldn't.
Doble stochastic oscillator fast and slowThis is a two stochastic in one indicator :
We have a normal stochastic, and a slower one in order to identify changes in the price movement.
At the same time I added more levels, so its easier visually to identify in each scenario we are.
The slower oscillator, also change color based on direction it has.
Green color = long direction - > buy
Red color = short direction - > sell
Improved On balance volume with BB channel and double MAThis is an improved version of the on balance volume indicator.
I made it inside a bollinger band channel, so we can define better the zones. At the same time I applied 2 moving averages on OBV, to get a better idea of the trend and at same time that change direction of the trend.
Green - > uptrend - > we look for buy positions
Red - > downtrend -> we look for sell positions.
At the same time we have to be aware of crosses on bollinger bands, which can indicate a change in the trend .
Improved Commodity Channel IndexI took the normal CCI version and I made it better and more pleasantly visual.
At the same time now the CCI changes color based on the direction is going to take
We also have more levels, to define even better the current situation.
Details are simple :
green color cci = uptrend - > buy
red color cci = downtrend - > sell
RSI TrendsRSI is a momentum indicator, however most people seem to be using it to go against the momentum by trying to identify tops/bottoms using it. Its in my opinion the wrong way to be using it. It can be easily used for trend following which seems like a better use for it.
Uptrend - RSI > 60
Downtrend - RSI < 40
Sideways - RSI between 40 and 60
If however not interested in filtering for sideways trends and convert it to a long-short only strategy that stays in market all the time then it can be simply modified by setting both overbought/oversold thresholds to 50. In such a case uptrend will be above 50 and downtrend will be less than 50.
Note: wait for close for current bar to be confirmed as RSI is calculated at close
Y&J BOOMERANG EMA x3Basic EMA scalping strategy . HFX Short time frames, using candlestick patterns to find Exponential Moving Highs and Low to Indicate Active Trends
Volume Divergence by MMIt's a simply volume indicator. You should watch for breaks on both volume uptrend and volume downtrend. It uses fibonacci numbers to build smoothed moving average of volume.
Also you can check divergences for trend reversal and momentum loss.
Pullback Trading [Fhenry0331]The indicator is taken from Alexander Elders "Triple Screen System," minus using the Weekly MACD as a filter/trend. I believe waiting for the force index and the weekly MACD histogram to line-up is uber conservative and a trader will miss too many signals (In my opinion).
The indicator is for a pullback trader. A trader that waits for a trend to develop then enters on a pullback.
The indicator defines an uptrend start: as the 13 ema crossing above the 26 ema. It defines a downtrend start: as the 13 ema crossing below the 26 ema.
The pullback in an uptrend: 13 ema is above the 26 ema. Elders-Force-Index is below the zero line. Price low has crossed below the 13 ema (one can also say price closes below the 13 ema if they so wish).
The pullback in a downtrend: 13 ema is below the 26 ema. Elders-Force-Index is above the zero line. Price high has also crossed above the 13 ema.
Please note that the pullback signals do not necessitate an automatic buy or sell (the instrument can be still pulling back deeper and not ready to resume it's trend.) One should place orders above (long) or below (short) bars with the pullback signals. Do so on signals until orders are filled.
Although the indicator is meant for pullbacks one can make an aggressive entry at the onset of a crossover of ema's.
For clarity background colors has been added to the indicator.
works well on daily time frame. Also look at intraday (5) minute time frame on trending stocks (news, earnings, volume, etc.)
Keep It Simple.
Enjoy!
DownAfterLowProba// The script is useful to inspect probability:
// If previous day closed at lowest price for several days
// how often next day would be red bar
// As one can see gray lines indicate bars with lowest close. If next bar is green, increment diff_hi, overwise increment diff_lo
// Probability is counted as diff_lo / (diff_hi+diff_lo)
// One can copy script and change conditions to count other interesting probabilities
Stock Market Trend Analysis Trading System 101 (by ChartArt)This is a very simple trading system which is measuring the core of uptrends and downtrends using three basic elements: Close price, HL2 price, Pivot price.
Depending if the uptrend or downtrend is strong, the buy/sell signals are shown in different colors. The stronger trends are in brighter colors (lime and fuchsia). If the trend just fully changed direction from uptrend to downtrend (or vice versa), there is a background color highlight in the color of the new trend direction.
The trend detection should work best on monthly charts. I have created this in under an hour. My goal was to use the least amount of rules possible, therefore there are many false signals and the code is quite lazy.
You can lose all your money if you rely on these buy/sell signals!
Market Trend Strength (MTS) (by ChartArt)See the current trend strength of the market. An additional filter makes trend consolidation areas visible. The color changes there each bar back and forth between green and red.
This area was interesting. Would have been a better example:
If the filter is deactivated the indicator shows the last measured price trend (green for up and down for red).