This script is designed for the MetaTrader platform and calculates and displays a modified Relative Strength Index (RSI) called "Rocket RSI," along with potential support and resistance levels on a price chart. Here's a breakdown of how it works, avoiding technical jargon:
1. Core Functionality: The "Rocket RSI"
-
What it does: At its heart, the script calculates a "Rocket RSI," which is a momentum indicator designed to measure the speed and change of price movements.
-
How it works:
- It looks at price data over a certain period (defined by the user as "Period").
- It applies some smoothing to that data as defined by the user in the smoothing input
- It calculates momentum based on the change in price over the defined time periods.
- It filters the momentum to remove noise.
- Then it uses the smoothed momentum values to calculate the RSI.
-
Optional Transformation (Fisher Transform): The script has an option to transform the RSI values using the Fisher Transform. The Fisher Transform converts the RSI values to create a more normalized distribution, this can help identify potential overbought and oversold conditions. If this option is disabled, the script simply uses the standard "Rocket RSI" value.
2. Support and Resistance Levels
-
What they are: Support and resistance levels are price levels on a chart where the price tends to find support (a floor) or resistance (a ceiling). Traders use these levels to make decisions about where to enter or exit trades.
-
How they're calculated:
- The script calculates these levels based on pivot points, which are calculated based on the high, low and close prices over a user-defined time frame.
- The script calculates the high, low and close for the specified time frame interval.
- The script then uses the calculated values to compute the support and resistance lines.
-
Display Options: The script allows you to choose how many support and resistance levels to display on the chart: only the pivot point, the pivot point + one level of support/resistance, two levels or three levels.
3. User-Adjustable Settings (Inputs)
The script has several settings that you can adjust to customize its behavior:
-
Time Frame: Determines what time frame the pivot points are derived from. If a higher timeframe is selected, the script looks at larger periods of time to calculate the high, low, and close price, giving a more zoomed out view on the market.
-
RSI Period: This is the number of past price periods used in the Rocket RSI calculation. Shorter periods make the indicator more sensitive to recent price changes, while longer periods make it smoother.
-
Smoothing: Sets the level of smoothing applied to the momentum calculation within the "Rocket RSI". Higher smoothing makes it less sensitive to small price fluctuations.
-
Price: Determines what price (e.g., close, open, high, low) is used as the basis for the RSI calculation.
-
Calculation Mode: Chooses whether to calculate the "Rocket RSI" alone or to apply the Fisher Transform.
-
Colors: Allows you to set the colors of the support, resistance, and pivot point lines for visual clarity.
-
Display Type: Controls how many support and resistance levels are displayed, ranging from just the pivot point to the pivot point plus three levels of support and resistance.
In summary: This script combines a custom RSI calculation ("Rocket RSI") with pivot point-based support and resistance levels, providing traders with information about momentum and potential price turning points. You can adjust the various settings to fine-tune the script to your specific trading style and preferences.
ÿþ/ / - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# p r o p e r t y c o p y r i g h t "