boji1

Avoiding Beartraps using SMA within TradingView (TV)

AMEX:ARKF   ARK ETF TR FINTECH INNOVATION ETF
Beartraps are sudden upward movements in stock price which follow a longer downward movement. These traps can catch the best traders causing you to buy into a stock during a momentary upward trend. By using SMA ( simple moving average ) I believe that you can examine the historical performance of a stock and avoid being trapped.

I’ve recently been caught in the massive landslide in stock values and have been trying to rationalize holding-firm vs taking a loss before the loss becomes excessive. In a subsequent post I will dive into the mathematics of why taking losses is better than holding onto a losing stock which may not rebound for years. Following the dot-com bubble in 2000, some stocks took 8 to 12 years to recover. If you had held firm, and if the company didn’t go bankrupt, you had a huge interval to break-even on the cost of your investment. But the true cost was much higher because of the normal exponential compounding on profitable investments. With this in mind, it may be smarter to cut losses than to ride-out the loss.

I believe the current situation may be a historical move in stock prices caused by a rapid rise in interest rates. This may be one of those events that has a longer recovery time horizon than a normal drop in price.

I am new to trading (but a seasoned business owner) and I recently made a hard decision to jettison all of my ARK stocks, taking a substantial loss. If I had really considered this method (described below), and used it to trigger my exit from the ARK’s, I would have had substantially lower losses.

One of the most basic indicators we can apply to a chart is the SMA , or Simple Moving Average . When applied to a stock, this is essentially an averaging window, which slides in time. As stock price increases, the price is added to the series and the SMA increases. Similarly as the stock goes down the SMA decreases. This isn’t rocket science.

Discussing the non-obvious - implications of SMA and data frequency:
The SMA is an averaging interval, so depending on the display resolution selected in TV the interval can be for a fraction of a minute, to days. The relationship here is a bit difficult to understand so I will give you some examples.
If the data interval in TV is set to 1-min, and you use an SMA-50, you are averaging (smoothing) 50 data samples (50-minutes) into each plotted SMA point.
If the data interval in TV is set to 1-hour, and you use an SMA-50, you are averaging (smoothing) 50 data samples (50-hours) into each plotted SMA point. Big difference!
Since there are 390 minutes in the trading day, we can build a table showing the number of trading days that correlate to a given SMA using a given data-frequency within TV.
I can’t post my data table here but I will try to post a link to a spreadsheet below.

Here are some values that I’ve found to be useful:
TradingView data frequency SMA I’ve found useful
4-hr SMA-50
2-hr SMA-100
1-hr SMA-200
30-min SMA-400

To try this within Tradingview:
Open your favorite stock
Set the Tradingview data frequency by clicking the box just to the right of the stock symbol in the top-left corner of your Tradingview chart.
Apply the color-alternating 50-SMA:
Add Fx
Search for: Simple Moving Averages by stocksinboxx
Add this to your chart
select properties for this function.
under Style tab at top, disable (un-check) all SMA #'s except for SMA #5
under Inputs tab, scroll down to line that reads: SMA #5, and set whatever interval you like, I have been using 50
click ok
Zoom out to view whatever interval is interesting, try 3-months or 12-months.
You can now go back into the SMA and adjust the interval. As you select a larger number, you will notice fewer color transitions in the SMA trend.



Comment: Try opening SQ with an 1-hr resolution and an SMA-50.
Then try SQ with a 5-min resolution and an SMA-600
Then try SQ with a 1-min resolution and an SMA-3000

Those three things are equivalent. The right numbers will vary with the stock as some are much more turbulent than others. I think the interesting thing is that this may be another tool in the toolbox to help understand what you're seeing in TV.

-d

Comments

I disagree on taking losses, learn Elliott Wave principals and you'll know when to actually sell and when to sit tight because the drop will never pass your entry. When you sell stock, you make the loss permanent and real. I believe it's better to get in at the bottom to add to your position, follow fibonacci retracements and if you haven't sold at the very top and don't mind buying in at higher levels to essentially lose what you gained, then get out at the top of 5th of 5th on super cycle level but we were at the top of 1 going for 2 or 3 going for 4 and there's still an entire full set of waves to finish wave 5 of 5 so this is just a retracement to load up on your positions. If you bought in the past year, you should've sold a couple of weeks ago, now to leave when we're almost done with some corrections isn't wise. Most retail investors sell when they're suppose to buy and buy when they're suppose to sell :-\ Fibs and EW is the way to go so you can make best decisions.
Reply
boji1 cyberluck
@cyberluck, Thank you for your feedback.
Reply
Jesus, you're like a wizard! I've already saved this and your last idea
Reply
boji1 EBITDAtiger
@EBITDAtiger, Thank you.

Try opening SQ with an 1-hr resolution and an SMA-50.
Then try SQ with a 5-min resolution and an SMA-600

Those two things are equivalent. The right numbers will vary with the stock as some are much more turbulent than others. I think the interesting thing is that this may be another tool in the toolbox to help understand what you're seeing in TV.

-d
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out