PROTECTED SOURCE SCRIPT
已更新 Swing with VWMA

Script to provide buy and sell signal suggestions on stocks you follow or screen for. You should still use your own stop loss and profit plan if you execute a trade based on signals from this script
This script looks for the EMA crossing above the VWMA for buy signal or EMA crossing below the VWMA for a sell signal
I fill arrays (size set by lookback in settings) with the deltas between the high of the bar and the VWMA and deltas between the low of the day and the VWMA. I use the values in these arrays and pick the highest or lowest value over the lookback period. I adjust the triggers for overbought and oversold in the settings (default is 20% below high or 20% above low) Look for tolerance in setting to adjust.
I use this in conjunction with the market direction script to lower risk. I try to only buy if the market is neutral or in an uptrend.
Note that the oversold shape is yellow for a EMA VWMA cross and red for oversold to highlight the risk. Prices seem to trend in the direction they are going
The numbers being displayed are the 2 moving averages and then the trigger high set point and the current level then trigger low set point and current level. The final 2 are either 1 when action triggered or 0.
This script looks for the EMA crossing above the VWMA for buy signal or EMA crossing below the VWMA for a sell signal
I fill arrays (size set by lookback in settings) with the deltas between the high of the bar and the VWMA and deltas between the low of the day and the VWMA. I use the values in these arrays and pick the highest or lowest value over the lookback period. I adjust the triggers for overbought and oversold in the settings (default is 20% below high or 20% above low) Look for tolerance in setting to adjust.
I use this in conjunction with the market direction script to lower risk. I try to only buy if the market is neutral or in an uptrend.
Note that the oversold shape is yellow for a EMA VWMA cross and red for oversold to highlight the risk. Prices seem to trend in the direction they are going
The numbers being displayed are the 2 moving averages and then the trigger high set point and the current level then trigger low set point and current level. The final 2 are either 1 when action triggered or 0.
發行說明
Added a long range moving average受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。