INVITE-ONLY SCRIPT

Buy and sell signal by JPTrades

已更新
Descripcion:
The 10/20 MA Strategy is the best I know. It's easy, it's elegant, it's effective.

It's particularly effective in markets that trend on the daily. You may lose some money when markets are choppy, but your loss will be more than compensated when you're aboard during the big moves at the beginning of a trend or after retraces. There's that, and you nearly eliminate the risk of losing your profit in the long run.

The results are good throughout most assets, and at their best when an asset is making new all-time highs.

Caracteristicas:
It uses two simple moving averages: the 10 MA (Buy), and the 20 MA (Sell). Now here's the great thing. This script does not change your regular candles into heikin-ashi ones, which would have been annoying; instead, it subtly prints either a Buy or a Sell around your normal candles, indicating a heikin-ashi change from red to green, or from green to red, respectively. This way, you get both regular and heikin ashi "candles" on your chart.

How to Use:
Go LONG in case of ALL of the below:

A tab appeared with buy under the last daily candle (meaning the heikin-ashi is now "green").
The blue MA-line is above the red MA-line.
Price has recently breached the blue MA-line upwards, and is now above.

Cover when one or more of the above is no longer the case. This is very important. You want to keep your profit.

Go SHORT in case of ALL of the below:

A red tab with Sell above the last daily candle (meaning the heikin-ashi is now "red").
The red MA-line is above the blue MA-line.
Price has recently breached the blue MA-line downwards, and is now below.

Again, cover when one or more of the above is no longer the case. This is what gives you your edge.

How to get access to the script:
Send us a message if you would like to try!!
版本注释
The size of the buy and sell was modified.
版本注释
I have only changed the title to differentiate them better!!!
版本注释
Heikin-Ashi (HA) Indicator:

We use the Heikin-Ashi candles to smooth out market noise and get a clearer view of the trend. HA candles help identify changes in price direction more clearly, making it easier to spot trend reversals.

Moving Averages (MA):

HA-MA Volatility Filter Strategy 📈💡
This indicator combines the power of Heikin-Ashi (HA) candles, Simple Moving Averages (SMA), and a Volatility Filter based on ATR to generate more accurate and profitable buy and sell signals. It has been updated and improved to take full advantage of the latest features in Pine Script v5, making it more efficient and user-friendly.

Key Updates & Improvements 🚀
Migration to Pine Script v5 🖥️
The indicator has been fully updated to the latest version of Pine Script (v5), ensuring greater compatibility, performance, and access to the newest features.

Corrected Heikin-Ashi Calculation 🔧
The ha_open calculation has been corrected to avoid declaration errors, ensuring values are updated correctly on each bar. Now, var is used to initialize ha_open, and := for recursive updates.

Volatility Filter (ATR) 🔍
A volatility filter based on Average True Range (ATR) has been added.

Buy/Sell signals are only generated if the current bar's range exceeds a multiple of the ATR, helping to avoid trades in sideways or low-volatility markets.
Confirmation with Moving Averages 📊
Buy/Sell signals require the price to be above or below the 10 and 20-period moving averages, adding an extra layer of trend confirmation.

Improved Visualization 🎨
Buy/Sell signals are displayed with clear BUY/SELL labels on the chart.
Moving averages are plotted with distinctive colors for easy identification.
The chart background changes color (green/red) based on the current trend.
Customizable Alerts 🔔
Alerts for buy and sell signals have been added, enabling traders to act quickly when signals are triggered.

How to Use the Indicator 🔑
Buy Signals 💚
A buy signal is generated when:

Heikin-Ashi turns green (HA close > HA open).
Price is above the 10 and 20-period moving averages.
The current bar’s range exceeds the volatility filter (optional).
Sell Signals ❤️
A sell signal is generated when:

Heikin-Ashi turns red (HA close <= HA open).
Price is below the 10 or 20-period moving averages.
The current bar’s range exceeds the volatility filter (optional).
Customization ⚙️
Adjust the moving averages’ parameters (MA 10 Length, MA 20 Length).
Set the volatility filter parameters (ATR Length, ATR Multiplier).
Enable or disable the volatility filter according to your preferences.
Advantages of the Indicator ✅
Higher Accuracy: Combining Heikin-Ashi, moving averages, and the volatility filter reduces false signals.
Adaptability: Works across different markets and timeframes.
Ease of Use: Visual signals and alerts make it easy to integrate into your trading strategy.
Adjustable Parameters ⚡
MA 10 Length: Length of the 10-period moving average.
MA 20 Length: Length of the 20-period moving average.
ATR Length: Length of the ATR for the volatility filter.
ATR Multiplier: Multiplier of the ATR to adjust the volatility filter.
Use Volatility Filter: Toggle the volatility filter on/off.
Recommendations 💭
Optimization: Test different parameter values across various markets and timeframes to find the optimal configuration for your strategy.
Risk Management: Combine this indicator with a dynamic stop loss based on ATR or a percentage of your entry price.
Backtesting: Evaluate the indicator's performance on historical data before using it in live trading.
Start using the HA-MA Volatility Filter Strategy today and take your trading to the next level! 🚀📊
Bill Williams IndicatorsBreadth IndicatorsTrend Analysis

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系tradingbauhaus了解更多信息,或按照以下作者的说明操作。

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

write me a message

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

Join my trading community! 📈

🔹 Discord: discord.gg/7Fwru9gqbS
🔹 YouTube: youtube.com/@TradingBauhaus
🔹 Instagram: instagram.com/tradingbauhaus/

See you inside! 🚀
更多:

免责声明