OPEN-SOURCE SCRIPT

MACD + RSI with Trade Signals

theehoganator의
업데이트됨
This indicator by default comes with the MACD shown but can be switched to show the RSI instead. Settings for each indicator can also be customized as well as Buy/Sell signals given based on pull back crossovers that follow the 200 EMA of the price Chart. There's an above/below middle fill option you can use but I tend not to but I know some traders like to see when an oscillator is above/below the middle and use it as a trend diretion. By the way, the fourth setting for the MACD (which is 2 by default) is the size of the histogram.

Buy Signal = Price is above the 200 EMA. Current or previous MACD or RSI line is/was below middle line and now crossed above the signal line.
Sell Signal = Price is below the 200 EMA. Current or previous MACD or RSI line is/was above middle line and now crossed below the signal line.

There are alerts for each signal as well (MACD and RSI, both buy and sell).
Feel free to leave a comment regarding issues or suggestions for this indicator or ideas for the next one I should do :)
릴리즈 노트
- Took out a line an option that wasn't being utilized
- Updated the picture to show some 2:1 Risk to Reward ration trades that did very well with this strategy. Today is Saturday, July 23, 2022. These were taken from pre-market Friday, July 22, 2022 on the S&P 500 Mini Futures (same chart as micros as well)
릴리즈 노트
Updated some small things, most notable TradingView decided invisible plots now need to be shown so it made the indicators zoom way out. I've fixed that mostly by plotting much closer to the graph.
릴리즈 노트
Minor Changes:
- Signals can now be shown on both MACD and RSI
- Took out Signal Bars as it disrupts other indicators on the chart from changing the color of bars. Namely as it doesn't work with my "Ultimate Indicator"
릴리즈 노트
Minor Update:
- Fixed the indicator from drawing stupidly zoomed out by limiting the top and bottom to 95 and 5 instead of +- 1000
릴리즈 노트
Updated the script quite a bit:
- Added the Stochastic Oscillator as an option (There's a checkbox for Stochastic RSI if you'd rather use that, simply select Stochastic from the drop down menu then check the checkbox for Stochastic RSI)
- Added color changing option for the oscillator and signal lines directly on the Inputs page
- Added option to fill between the oscillator and signal line (These color options will remain on the Style tab)
- Changed the names of some variables and added a few to get the above functions working
buyMoving Average Convergence / Divergence (MACD)macdivergenceRelative Strength Index (RSI)rsi-emaSELLsignalStochastic Oscillatorstochasticoscillatortrend

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항