This strategy follows the trend and keeps you in the trend until it breaks SMA 200
SMA setting is 200
BB setting is 21
when BB is (lower band and upper band) above SMA 200 and price crossing above BB middle line
When Lower BB crossing down SMA200 , exit 30%
When BB middle band crosses down...
This is simple strategy based on Aroon Oscillator. I have found that using length 144 or 169 on hourly chart shows excellent results.
Tested on SPY , QQQ and AAPL. Especially when you look at AAPL results , it has 60% profitable in recent trades. ( Dont assume this will be same for other stocks or ETFs)
Aroon Oscillator setting : 169 ( ...
For Educational Purposes. Results can differ on different markets and can fail at any time. Profit is not guaranteed.
This only works in a few markets and in certain situations. Changing the settings can give better or worse results for other markets. This is a longer term trend following strategy that uses Donchian Channels for trend following and uses the upper...
This is trend following strategy ... when price is trading well above 200 ema and forms a triangle (based on number of bars defined)
when fast ema > 200 ema
check for triangle of last N bars (default set to 9)
when fast ema crosses down middle term ema
if price reaches above 5% of buy , it changes the color to purple. You can...
The reversal closing price (RCP) is a candlestick pattern which follows two simples rules:
the low price of current candle needs to be lower than the low price of the last 2 candles
the closing price of current candle needes to be higher than the closing price of the last candle
This generates a signal for a long position. For a short position, the...
This strategy uses the cross of the slopes of two EMAs having different lengths to generate trend follower signals. By default, I use 130 and 400, which behave very well.
The conditions which make the strat enter the market are:
- Fast Slope > Slow Slope and price > EMA 200 : go Long
- Fast Slope < Slow Slope and price < EMA200 : go Short
The simple slopes cross...
How it work ?
Work like normal MACD because this is MACD without any modify but i add color of candlestick and strategy.
The color meaning :
Green= macd > signal and macd>0 (Buy)
Red= macd < signal and macd<0 (Sell)
Yellow= macd > signal and macd<0 (Maybe reversal point)
Blue= macd < signal and macd>0 (Maybe reversal point)
- Back test range
This strategy goes long when highs are broken and uses a trailing stop that follows swing lows. User can configure a back test date range and choose whether or not to only take trades above a selected moving average.
The desire for me to make this script was to try to capture those extreme breakouts that can occur after a consolidation/equilibrium pattern. This...
This strategy takes the ADX Indicator I wrote and applies it to a strategy for back testing purposes.
I've also applied a date filter so you can back test specific date ranges and a moving average filter so you can choose whether to filter your longs/shorts based on a moving average.
Easy Trend Following Strategy using Highs and Lows breakout of the last X candles to enter and exit trades.
You can easily change the ENTRY and EXIT value in order to find the best settings.
This strategy seems to be working well for $BTC and $ETH on the 4H and 1D.
I didn't play with it too much as I am testing script to trade on the 15 minutes chart with...
The strategy checks nature of the instruments. It Buys if the close is greater than yesterday's high, reverse the position if the close is lower than yesterday's low and repeat the process.
1. If it is trend following then the equity curve will be in uptrend
2. If it is mean reverting then the equity curve will be downtrend
Thanks to Rayner Teo.
This strategy buys when the Donchian Channel is broken to the upside and uses the lower Donchian Channel line as a trailing stop. You can also choose to use a moving average as a filter to keep you out of trades that are counter trend.
You can also configure which dates you want to backtest, so you can see how this behaves over specific time frames and market cycles.
This is my first attempt at producing a strategy in Pine Script.
I am NOT a professional coder. I'm not even a good coder at that. I've only started Pine Script coding since September 2019. I am teaching myself.
This script is far from finished. I need to tweak a number of things about this script. Namely:
Add a validity window to the 'trigger bar' condition....
Simple Pivot Reversal Strategy with some adding settings.
Date Range: To test over specific market conditions.
Initial Capitol: $10K - This is a more realistic representation of funds used this strategy (for me anyway). The default of $100K can give different results (usually better) than when using a smaller balance.
Order Size: 100% Equity - These trend...
Free strategy again.
I found using 3 volatility stop with different settings could be very helpful when trading an intraday trending market.
With the ATR setting or 5, 10, 15, we can weed out many false break.
Vstop setting is OHLC4.
On the other hand, this strategy also utilize Renko as part of the strategy, so you could say this strategy is...