Multi MA MTF SandBox StrategyA moving averages SandBox strategy where you can experiment using two different moving averages (like KAMA, ALMA, HMA, JMA, VAMA and more) on different time frames to generate BUY and SELL signals, when they cross.
Great sandbox for experimenting with different moving averages and different time frames.
== How to use ==
We select two types of moving averages on two different time frames (or the same time frame):
First is the FAST moving average that should be at the same time frame or higher.
Second is the SLOW moving average that should be on the same time frame or higher.
== Buy and Sell Signals ==
When FAST moving average cross over the SLOW moving average we have a BUY signal (for LONG)
When FAST moving average cross under the SLOW moving average we have a SELL signal (for SHORT)
WARNING: Using a lower time frame than your chart time frame will result in unrealistic results in your backtesting and bar replay.
== NOTES ==
You can select BOTH, LONG, SHORT or NONE in the strategy settings.
You can also enable Stop Loss and Take Profit.
More sandboxes to come, Follow to get notified.
Like if you like and Enjoy!
Can also act as indicator by setting 'What trades should be taken' to 'NONE':
Moving Averages
Crypto BOT lower timeframesThis is a crypto bot designed for lower time frames.
Its made of 2 EMA, one fast and one slower . They are combined together with Stochastic, MACD and price action patterns.
For entries we have multiple conditions :
First we check if one of our last 4 closed candles crossed above or below the faster EMA. After that for long, we check that last close is above the fast EMA, that the fast ema is above the slower EMA, at the same time that the histogram from MACD is positive and that we have crossover with the oversold line on stochastic. For the short , the opposite of long.
For exit we have TP/SL mechanic based on price % movement, in this example if the price moved 10% from the initial position it will exit.
Price action strategy FOREX with amazing results
Hello, today I bring another amazing strategy for forex .
Its made of T3 moving average , combined together with a pattern rule and a specific entry time.
We take all of that and we trade it in inverse.
So what normally for long would be : close higher than the previos high and close higher than the average, we use this as a short condition. We do the same stuff for long condition.
So in the end we end up with an amazing product.
It also has a risk management inside, with a TP/SL based on % move of the price .
Let me know how it goes .
[CM]EMA Trend Cross STRATVISUALLY REPRESENTS THE CROSSING OF 8,13,21,55 EMA'S FROM KROWNS TA PROGRAM
Hello everybody! I was curious and wanted to see how the Strat described in one of the modules would look coded. So here we are, a clear cut visual representation of the methods talked about in the course from the EMA Module. Enjoy!
(Instructions)
Whenever the 8,13,21 all cross above the 55ema that constitutes a long signal.
On the flip side, whenever the 8,13,21 all cross below the 55ema that constitutes a short signal.
(Description)
This indicator shows the cross described in the TA program using the EMAS 8,13,21,55.
The Ema's are editable.(Color)
It plots the entry and exit parameters.
This allows for a more visual representation of the ideology described in the course.
This indicator also doesn't leave room for ambiguity in terms of where a cross happens.
The EMA's can be toggled to show certain ones at certain times.
The indicator can be used as a trend analysis tool.
***In terms of an exit, I find it to be better to use your own judgement, taking account the greater trend.
For example, in a bull market I would advise looking for long signals, rather than try to hop on a counter trend play. Vice Versa in a bear market. It's better for jumping in to the greater momentum.
Forex SWING TraderThis strategy is mainly designed for swing trading applied to FOREX.
In this case we make use of 2 moving averages but with different time frame, lets say 1h and 1 day.
When they cross above we would initially have a long trade, but in this strategy we trade it in reverse, so we would actually enter a short position.
The same for short trade.
At the same time we make use of hours for entry, so we can filter even better between the trades, and select the best possible hours for entries.
For exit we have 2 conditions : one is when we receive an opposite signal ( by default ).
The other is when a certain movement between moving averages, like lets say 1% of price movement, we will exit. This can act both as TP and SL.
Momentum Explosion 2CCI RSI"Momentum Explosion Template for Mobile Metatrader", that is a trading system trend momentum based on two Commodity Channel Index (CCI) , RSI and two Moving Averages.The trading signals are generated by the crossing of the moving averages confirmed by the agreement of the two CCIs and the RSI.
Two Moving averages Filtered by double CCI and RSI
Credit is to Dimitri Author Beejay (Forex Factory)
Trading Rules Momentum Explosion
Buy
EMA 8 crosses upward SMA 26.
CCI 34 periods > 0
CCI 55 periods > 0
RSI 26 > 48.
Sell
EMA 8 crosses downward SMA 26.
CCI 34 periods < 0
CCI 55 periods < 0
RSI 26 < 48.
BTC and ETH Long strategy - version 2I wrote my first article in May 2020. See below
BTC and ETH Long strategy - version1
After 6 months, it is now time to check the result of my script for the last 6 months.
XBTUSD (4H): 14/05/2020 --> 22/11/2020 = +78% in 4 trades
ETHXBT (4H): 14/05/2020 --> 22/11/2020 = +21% in 9 trades
ETHUSD (4H): 14/05/2020 --> 22/11/2020 = +90% in 6 trades
Using the signals from this strategy to trade manually has shown that this was a bit frustrating because of the low rate of winning trades.
If you have to enter 100 trades and see 75% of them failing and 25% winning, this is frustrating. For sure the strategy makes good money but it is difficult to hold this mentality.
So, I have reviewed and modified it to get a higher winning rate.
After few days of work, tests and validation, I managed to get a wining rate close to 60%.
The key element was also to decrease the number of trades by using a higher time frame. (4H candles instead of 2H candles).
- Entry in position is based on
MACD, EMA (20), SMA (100), SMA (200) moving up
AND EMA (20) > SMA (100)
AND SMA (100) > SMA (200)
- Exit the position if: Stoploss is reached OR EMA (20) crossUnder SMA (100)
The goal of this new script is to be able to follow the signals manually and only make few trades per years.
I have also validated it against some other altcoins where some are giving very good results.
Here are some results for 2020 (from 01/01/2020 until now (22/11/2020). Those results are the one I get when using 4H candles.
ETH/USD: +144% in 8 trades.
BTC/USD: +120% in 7 trades.
ETH/BTC: +33% in 9 trades.
ICX/USD: +123% in 10 trades.
LINK/USD: +155% in 11 trades.
MLN/USD: +388% in 8 trades.
ADA/USD: +180% in 7 trades.
LINK/BTC: +97% in 10 trades.
The best is that above results are without considering compound effect. If you re-invest all gains done in each new trade, this will give you the below results :)
ETH/USD: +189% in 8 trades.
BTC/USD: +260% in 7 trades.
ETH/BTC: +29% in 9 trades.
ICX/USD: +112% in 10 trades.
LINK/USD: +222% in 11 trades.
MLN/USD: +793% in 8 trades.
ADA/USD: +319% in 7 trades.
LINK/BTC: +103% in 10 trades.
As you can see, the results are good and the number of trades for 11 months is not big, which allows the trader to place orders manually.
But still, I'm lazy :), so, I have also coded this strategy in HaasScript language which allows you to automate this strategy using the HaasOnline software specialized in automated crypto trading.
I hope that this strategy will give you ideas or will be the starting point for your own strategy.
Let me know if you need more details.
Combo Backtest 123 Reversal & High - EMA Strategy This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
This indicator plots the difference between the High (of the previous period)
and an exponential moving average (13 period) of the Close (of the previous period).
You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect...
It buy if indicator above 0 and sell if below.
WARNING:
- For purpose educate only
- This script to change bars colors.
Simple Moving Average + ADX + DMI + Time Range Test
Use long and short moving average to look for a potential price in/out. (default as 14 and 7, bases on the history experience)
ADX and DMI to prevent the small volatility and tangling MA.
This script allows you to set the beginning & end time to test the bullish & bearish market.
If you want an indicator version, here is it.
Thanks.
Amazing strategy for silver -XAGUSD, XAGEUR etcToday I bring an amazing strategy that works for 1h time frames for silver.
Its made of price actions movement combined together with MACD and simple moving average
It does not use neither stop loss/take profit levels. Instead it will always exit at the next candle after it opens a trade.
The rules are the next one :
For short condition : we have a bull candle, and candle is above the moving average, and MACD histogram is > 0 and last high0 and candle close > last high1 and, previus high1 and candle close > last high2
At the same time, viceversa for long condition.
In development terms, this is the formula
long1 = (close > open ) and time_cond and close > out and hist > 0 and hist > hist and high > high and high > high and close > high and close > high and close > high
short1 = (close < open) and time_cond and close < out and hist < 0 and hist < hist and low < low and low < low and close < low and close < low and close < low
But when we enter the trade, we enter in reverse, like lets say we go long -> for this we apply the short1 condition. If we go short we apply the long1 condition.
If you have any questions , please let me know .
Swing/Daytrading strategy with reversal option
Hello, today I bring a swing reversal strategy that work on all financial markets.
It uses timeframes starting from 1h, the bigger the better.
Its very dangerous because it has no stop loss, neither a take profit. Our exit condition is based on the reversal on the entry .
For entry we have 2 types : normal and reversal
Lets say we want to go long , for that we check the last CLOSE of a candle with the previos HIGH. If its higher than that, and at the same time CLOSE is bigger than the moving average, we have a long entry.
For short we have CLOSE with the previous LOW. If its lower than that and at the same time is lower than moving average, we have a short entry.
For moving average we use T3 MA
For reversal what I do, is , I take the short condition and I apply it to long, and for long I apply the short condition.
On many cases I found out it work amazingly.
I forgot to add: it also has a time entry system, so we use the best hours/sessions for entries .
Exit a trade: lets say we enter short, when we find a long condition, we close short and enter into long. Viceversa for long.
If you have any questions, let me know.
Enjoy it :)
VWMA_withATRstops_strategyThis strategy follows the trend when price is above VWMA indicator. I have modified entry and exit rules to get most out of it.
Instead of entering LONG when price crosses above VWMA, I have used RSI(14) of VWMA . that way it skips the false signals. (some extent)
ENTRY
========
1. VWMA setting is 33
2. When RSIofVwma is above 30 enter Long ( and also checks if price already broke the ATR Stop above line )
Stop Loss and Exits
==================
1. Exit is when price breaks the ATR stop loss
2. ATR setting is set as same VWMA Length and multiplier is 3.5
3. STOP Loss that I mentioned in the settings is being used to calculate the how many units can be purchased based on risk of capital value.
Note: There is NO hard stop loss. having above ATR stop loss works as Trailing stop loss
Warning
=======
For the educational purposes only
EMA_cumulativeVolume_crossover[Strategy]This strategy is back test for EMA_cumulativeVolume_crossover
BUY
When ema50 crossover cumulative volume of 100 period
Exit
When ema50 cross down cumulative volume of 100 period
Partial Exit
for the partial profit I have used stopLoss value , but up side. When price is above partial profit and crossing down EMA 50 , exit 1/3 position
Please note when you select this setting, you see spike number of trades, that is because you closing partial number of trades. which increases the winning rate but reduces the total net profit.
Stop Loss
Defaulted to 8%
Added parameter to take LONG or SHORT trades ... on SHORT side not very good results ... you can review it and provide feedback how to improve the performance.
Short Selling
Reverse above BUY conditions
I have tested LONG trades on SPY , QQQ and AAPL on 1 Hour and 30 mins timeframes. for AAPL on DAY timeframe it shows crazy results :-)
Note
For the use of educational purposes only.
Hull FisherThis strategy has a Fisher-Transform indicator applied to the highs and lows of a Hull moving average instead of the price. It also has a Commodity Channel Index to help with entry/exit. Each part of the strategy can be turned on and off, for example turn off CCI or HMA so they are not used in the order opening/exiting. The base of the strategies entry and exit logic is the fisher transform line, if it crosses over outside the lines or either side of zero (adjustable in settings).
This example on ETHBTC Daily chart has common crypto exchange commission 0.25% added. Please adjust that setting to suit your pair/broker. For example a Forex pair does not have that much commission so reduce it for Forex charts.
Can be applied to any time frame or trading instrument.
Noro's SRSI StrategyIndicator
Blue line - common RSI indicator.
Red line - SMA based on RSI
Upper black line - 50% + limit (custom parameter, 65% by default)
Lower black line - 50% - limit (custom parameter, 35% by default)
Strategy
If the red line (SMA) is higher than the upper black line, open a long position (and close the short position).
If the red line (SMA) is lower than the lower black line - open a short position (and close the long position).
For
Cryptocurrencies
Timeframes: 1h, 4h, 1d
Options
1) Length for RSI indicator
2) Length for RSI-based SMA
3) Limit - shift from 50% RSI (above and below, black lines)
Idea
As a rule, if the RSI indicator started to show high values, after that the price rises more often than falls. The opposite is true. When the RSI indicator is at its lowest values for a long time, the price usually keeps falling. The SMA is needed to reduce the error of RSI signals. Limit is needed to reduce a trades (a many trades is a many fees).
Zignaly TutorialThis strategy serves as a beginner's guide to connect TradingView signals to Zignaly Crypto Trading Platform.
It was originally tested at BTCUSDT pair and 1D timeframe.
Before using this documentation it's recommended that you:
Use default TradingView strategy script or another script and setup its associated alert manually. Just make the alert pop-up in the screen.
Create a 'Copy-Trader provider' (or Signal Provider) in Zignaly and send signals to it either thanks to your browser or with some basic programming.
SETTINGS
__ SETTINGS - Capital
(CAPITAL) Capital quote invested per order in USDT units {100.0}. This setting is only used when '(ZIG) Provider type' is set to 'Signal Provider'.
(CAPITAL) Capital percentage invested per order (%) {25.0}. This setting is only used when '(ZIG) Provider type' is set to 'Copy Trader Provider'.
__ SETTINGS - Misc
(ZIG) Enable Alert message {True}: Whether to enable alert message or not.
(DEBUG) Enable debug on order comments {True}: Whether to show alerts on order comments or not.
Number of decimal digits for Prices {2}.
(DECIMAL) Maximum number of decimal for contracts {3}.
__ SETTINGS - Zignaly
(ZIG) Integration type {TradingView only}: Hybrid : Both TradingView and Zignaly handle take profit, trailing stops and stop losses. Useful if you are scared about TradingView not firing an alert. It might arise problems if TradingView and Zignaly get out of sync. TradingView only : TradingView sends entry and exit orders to Zignaly so that Zignaly only buys or sells. Zignaly won't handle stop loss or other settings on its own.
(ZIG) Zignaly Alert Type {WebHook}: 'Email' or 'WebHook'.
(ZIG) Provider type {Copy Trader Provider}: 'Copy Trader Provider' or 'Signal Provider'. 'Copy Trader Provider' sends a percentage to manage. 'Signal Provider' sends a quote to manage.
(ZIG) Exchange: 'Binance' or 'Kucoin'.
(ZIG) Exchange Type {Spot}: 'Spot' or 'Futures'.
(ZIG) Leverage {1}. Set it to '1' when '(ZIG) Exchange Type' is set to 'Spot'.
__ SETTINGS - Strategy
(STRAT) Strategy Type: 'Long and Short', 'Long Only' or 'Short Only'.
(STOPTAKE) Take Profit? {false}: Whether to enable Take Profit.
(STOPTAKE) Stop Loss? {True}: Whether to enable Stop Loss.
(TRAILING) Enable Trailing Take Profit (%) {True}: Whether to enable Trailing Take Profit.
(STOPTAKE) Take Profit % {3.0}: Take profit percentage. This setting is only used when '(STOPTAKE) Take Profit?' setting is set to true.
(STOPTAKE) Stop Loss % {2.0}: Stop loss percentage. This setting is only used when '(STOPTAKE) Stop Loss?' setting is set to true.
(TRAILING) Trailing Take Profit Trigger (%) {2.5}: Trailing Stop Trigger Percentage. This setting is only used when '(TRAILING) Enable Trailing Take Profit (%)' setting is set to true.
(TRAILING) Trailing Take Profit as a percentage of Trailing Take Profit Trigger (%) {25.0}: Trailing Stop Distance Percentage. This setting is only used when '(TRAILING) Enable Trailing Take Profit (%)' setting is set to true.
(RECENT) Number of minutes to wait to open a new order after the previous one has been opened {6}.
DEFAULT SETTINGS
By default this strategy has been setup with these beginner settings:
'(ZIG) Integration type' : TradingView only
'(ZIG) Provider type' : 'Copy Trader Provider'
'(ZIG) Exchange' : 'Binance'
'(ZIG) Exchange Type' : 'Spot'
'(STRAT) Strategy Type' : 'Long Only'
'(ZIG) Leverage' : '1' (Or no leverage)
but you can change those settings if needed.
FIRST STEP
For both future of spot markets you should make sure to change '(ZIG) Zignaly Alert Type' to match either WebHook or Email. If you have a non paid account in TradingView as in October 2020 you would have to use Email which it's free to use.
RECOMMENDED SETTINGS
__ RECOMMENDED SETTINGS - Spot markets
'(ZIG) Exchange Type' setting should be set to 'Spot'
'(STRAT) Strategy Type' setting should be set to 'Long Only'
'(ZIG) Leverage' setting should be set to '1'
__ RECOMMENDED SETTINGS - Future markets
'(ZIG) Exchange Type' setting should be set to 'Futures'
'(STRAT) Strategy Type' setting should be set to 'Long and Short'
'(ZIG) Leverage' setting might be changed if desired.
__ RECOMMENDED SETTINGS - Signal Providers
'(ZIG) Provider type' setting should be set to 'Signal Provider'
'(CAPITAL) Capital quote invested per order in USDT units' setting might be changed if desired.
__ RECOMMENDED SETTINGS - Copy Trader Providers
'(ZIG) Provider type' setting should be set to 'Copy Trader Provider'
'(CAPITAL) Capital percentage invested per order (%)' setting might be changed if desired.
Strategy Properties setting: 'Initial Capital' might be changed if desired.
INTEGRATION TYPE EXPLANATION
'Hybrid': Both TradingView and Zignaly handle take profit, trailing stops and stop losses. Useful if you are scared about TradingView not firing an alert. It might arise problems if TradingView and Zignaly get out of sync.
'TradingView only': TradingView sends entry and exit orders to Zignaly so that Zignaly only buys or sells. Zignaly won't handle stop loss or other settings on its own.
HOW TO USE THIS STRATEGY
Beginner: Copy and paste the strategy and change it to your needs. Turn off '(DEBUG) Enable debug on order comments' setting.
Medium: Reuse functions and inputs from this strategy into your own as if it was a library.
Advanced: Check Strategy Tester. List of trades. Copy and paste the different suggested 'alert_message' variable contents to your script.
Expert: I needed a way to pass data from TradingView script to the alert. Now I know it's the 'alert_message' variable. I can do this own my own.
ALERTS SETUP
This is the important piece of information that allows you to connect TradingView to Zignaly in a semi-automatic manner.
__ ALERTS SETUP - WebHook
Webhook URL: https : // zignaly . com / api / signals.php?key=MYSECRETKEY
Message: { {{strategy.order.alert_message}} , "key" : "MYSECRETKEY" }
__ ALERTS SETUP - Email
Setup a new Hotmail account
Add it as an 'SMS email' in TradingView Profile settings page.
Confirm your own the email address
Create a rule in your Hotmail account that 'Redirects' (not forwards) emails to 'signals @ zignaly . email' when (1): 'Subject' includes 'Alert', (2): 'Email body' contains string 'MYZIGNALYREDIRECTTRIGGER' and (3): 'From' contains 'noreply @ tradingview . com'.
In 'More Actions' check: Send Email-to-SMS
Message: ||{{strategy.order.alert_message}}||key=MYSECRETKEY||
MYZIGNALYREDIRECTTRIGGER
'(DEBUG) Enable debug on order comments' is turned on by default so that you can see in the Strategy Tester. List of Trades. The different orders alert_message that would have been sent to your alert. You might want to turn it off it some many letters in the screen is problem.
STRATEGY ADVICE
If you turn on 'Take Profit' then turn off 'Trailing Take Profit'.
ZIGNALY SIDE ADVICE
If you are a 'Signal Provider' make sure that 'Allow reusing the same signalId if there isn't any open position using it?' setting in the profile tab is set to true.
You can find your 'MYSECRETKEY' in your 'Copy Trader/Signal' provider Edit tab at 'Signal URL'.
ADDITIONAL ZIGNALY DOCUMENTATION
docs . zignaly . com / signals / how-to -- How to send signals to Zignaly
3 Ways to send signals to Zignaly
SIGNALS
FINAL REMARKS
This strategy tries to match the Pine Script Coding Conventions as best as possible.
Stepped trailing strategy exampleThis is a stepped trailing exit example for educational purpose .
Short brief.
There are 1 stop loss and 3 profit levels.
When first tp is reached we move stop loss to break-even.
When second tp is reached we move stop loss to first tp.
When third tp is reached we exit by profit.
RSI of VWAPThis strategy inputs the vwap as source to RSI indicator.
ENTRY
When RSIofVwap crossover 70 and price is above ema200
partial exits
when RSIofVwap reaches 90 level take a portion of profit
Exit
When RSIofVwap crossdown 30
stoploss
defaulated to 5%
Risk Level
Defaulted to 10%. Based on this startegy calcuclates hiw many units can be purchased adhering to stoploss value
Note: code doesnt draw the RSI (vwap) indicator to the chart. if you want to see how these signals are generated , you can select RSI and VWAP of 14 period length.
warning
For educational purposes only
Long only strategy VWAP with BB and Golden Cross EMA50/200
This is strategy, mainly designed for stock markets
It makes uses of the EMA 50/ 200 ( Golden cross) and VWAP and Bollinger bands.
It only takes long positions. It can be adapted to all time frames, but preferably to be used with longer timeframes 1h +
The rules for entry are the next ones :
1. EMA50 > EMA 200
2. if current close > vwap session value
3. check if price dipped BB lower band for any of last 10 candles
EXIT RULE
1. price closes above BB upper
STOP LOSS EXIT
1. As configured --- default is set to 1%
Moving Average Crossover This indicator is based on ema 5 and ema 20, when ema 5 crosses over ema 20, the line will be green, when ema 5 crosses down it will be red
This indicator has been accompanied by a strategy so we can see the results through the strategy tester, this strategy there is only a long, I recommend using a weekly timeframe because the volatility is lower and minimal with false signals
Bollinger %B Candles StrategyStrategy built based on earlier published indicator:
Looks to be doing good for short term swing trades. But, I am not sure if there is repainting. I tried to avoid buy/sell trades on same day - but wasn't successful.
So far back-tested on following:
COINBASE:BTCUSD - works on both long and short
CURRENCYCOM:GOLD and equities - long only.
Some of the failures: ASX:WPL , ASX:WHC , ASX:NHC
As usual for back-testing - using 1000 as initial capital with 100% invested on each trade and no compounding so that it will be easy to compare with buy and hold. Trade with caution :)
TEMA/DEMA/HMA StrategyThe TEMA/DEMA/HMA strategy is a basic trend follower looking for when the TEMA crosses above the DEMA as a buy signal and the opposite for the sell.
The HMA is used as a longer more Dynamic MA to confirm the wider trend to filter out bad trades.
This is a basic idea that can be expanded on using different indicator types to either add signals or filter out more bad signals!
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.