OPEN-SOURCE SCRIPT

SwingScalpin MA's

Default
快照
HMA's + Trend Signals
快照
Default SMA's
快照
ALMA
快照
BarColoring
快照


The idea behind this script was to incorporate a few different moving average types into 1 indicator so multiple trading strategies could be implemented depending on Price Action. This indicator includes 3 HMA's, 2 user defined EMA/SMA's, 1 ALMA (which also is used for the bar coloring), and Trend signals at the bottom of the chart (which are defined by the 1st MA). By default all of the Moving Averages are set to false because they aren't meant to be used together unless you so chose to. The only feauture initially being shown are the Trend signals at the bottom of the screen.
HMA's - The default lengths for the HMA's are 7, 14, and 21.
This is not Financial Advice nor am I saying this works all of the time but here are a few examples of how I've traded the HMA's... OF course thid depends on overall PA but the idea is to enter and exit when all
three HMA's turn Green or Red...
For quicker entries and exits, you could enter when the Fast HMA crosses the Medium HMA and exit when the it crosses back over/under the Medium HMA.
For more of a swing trade and when there's definitely an established trend, I would stay in the trade until Fast HMA crosses under the Slow HMA, otherwise it might just be a normal retrace prior to making another move up.
When PA is ranging but not really trending in either direction, I'll use the Slow HMA as somewhat of a Trailing SL.
The 2 user defined moving averages can either be an EMA or SMA. The 1st MA is set to the 200 SMA by default, which also triggers the Trend signals at the bottom of the chart. The 2nd MA is set to the 6 SMA by default.
The ALMA is set to 50 by default, which is also used for the bar coloring. Lastly, all of the MA's change color depending on the trend.
almacandlecolorMoving Averagesscalpingsmaswingtradingtrendsignal

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明