Strategy-01
Budget: $30 – $250 USD
Project Overview: We are seeking an experienced Pine Script programmer to create a version 6 script for TradingView. This script will implement the following features:
Main Indicators:
1. Simple Moving Average (SMA): Draw a Simple Moving Average (SMA) with a period of 20 on the main chart (overlay = true).
2. Exponential Moving Average (EMA): Draw an Exponential Moving Average (EMA) with a period of 200 on the main chart (overlay = true).
3. Additional Exponential Moving Averages: Draw two EMAs—one with a period of 5 and the other with a period of 25—on a separate pane below the main chart (overlay = false).
4. Ichimoku Indicators: Plot the Tenkan-sen and Kijun-sen lines (only excluding the other components of the Ichimoku indicator) on a separate pane (overlay = false).
5. Directional Movement Indicators: Plot ADX, +DI, and -DI on a separate pane (overlay = false), including a horizontal line at a level of 20.
6. Relative Strength Index (RSI): Draw an RSI(9) on a separate pane (overlay = false), with a horizontal line at 50.
7. Upward Arrow Conditions: Draw an upward arrow when the following conditions are fulfilled:
o The previous closing price is above the previous SMA(20).
o The previous EMA(5) is greater than the previous EMA(25).
o The previous closing price is above the previous EMA(200).
o The previous +DI is greater than the previous -DI.
o The previous Tenkan-sen line is above the previous Kijun-sen line, or the lines are equal but trending upwards.
o The previous ADX value is greater than 20.
o The previous RSI(9) value is above 50.
8. Downward Arrow Conditions: Draw a downward arrow when the following condition is fulfilled:
o The price closes below the previous Tenkan-sen line.
Customizable Settings:
• The ADX and RSI values should be customizable by the user, allowing them to adjust these parameters as desired. If these inputs are changed, the code should use the new values in the entry/exit conditions, while maintaining the other fixed conditions.
Default Indicator Colors:
• SMA(20): Blue
• EMA(200): White
• EMA(5): Blue
• EMA(25): Yellow
• Tenkan-sen: Yellow
• Kijun-sen: Red
• +DI: Blue
• -DI: Yellow
• ADX: White
• RSI: Yellow
• Arrows (up or down): Yellow
Alerts:
• A pop-up alert should be triggered whenever the conditions for an upward or downward arrow are met.
Arrow Logic:
• When all conditions are met, an up arrow should be drawn. Even if the conditions are met in subsequent candles, the script will not draw another arrow until the exit condition is met. Once the entry conditions are satisfied again after an exit, a new upward arrow should be drawn.
• The same concept applies for exit conditions. When the conditions are met for the exit, no further arrows should be drawn until the entry conditions are satisfied again.
Main Indicators:
1. Simple Moving Average (SMA): Draw a Simple Moving Average (SMA) with a period of 20 on the main chart (overlay = true).
2. Exponential Moving Average (EMA): Draw an Exponential Moving Average (EMA) with a period of 200 on the main chart (overlay = true).
3. Additional Exponential Moving Averages: Draw two EMAs—one with a period of 5 and the other with a period of 25—on a separate pane below the main chart (overlay = false).
4. Ichimoku Indicators: Plot the Tenkan-sen and Kijun-sen lines (only excluding the other components of the Ichimoku indicator) on a separate pane (overlay = false).
5. Directional Movement Indicators: Plot ADX, +DI, and -DI on a separate pane (overlay = false), including a horizontal line at a level of 20.
6. Relative Strength Index (RSI): Draw an RSI(9) on a separate pane (overlay = false), with a horizontal line at 50.
7. Upward Arrow Conditions: Draw an upward arrow when the following conditions are fulfilled:
o The previous closing price is above the previous SMA(20).
o The previous EMA(5) is greater than the previous EMA(25).
o The previous closing price is above the previous EMA(200).
o The previous +DI is greater than the previous -DI.
o The previous Tenkan-sen line is above the previous Kijun-sen line, or the lines are equal but trending upwards.
o The previous ADX value is greater than 20.
o The previous RSI(9) value is above 50.
8. Downward Arrow Conditions: Draw a downward arrow when the following condition is fulfilled:
o The price closes below the previous Tenkan-sen line.
Customizable Settings:
• The ADX and RSI values should be customizable by the user, allowing them to adjust these parameters as desired. If these inputs are changed, the code should use the new values in the entry/exit conditions, while maintaining the other fixed conditions.
Default Indicator Colors:
• SMA(20): Blue
• EMA(200): White
• EMA(5): Blue
• EMA(25): Yellow
• Tenkan-sen: Yellow
• Kijun-sen: Red
• +DI: Blue
• -DI: Yellow
• ADX: White
• RSI: Yellow
• Arrows (up or down): Yellow
Alerts:
• A pop-up alert should be triggered whenever the conditions for an upward or downward arrow are met.
Arrow Logic:
• When all conditions are met, an up arrow should be drawn. Even if the conditions are met in subsequent candles, the script will not draw another arrow until the exit condition is met. Once the entry conditions are satisfied again after an exit, a new upward arrow should be drawn.
• The same concept applies for exit conditions. When the conditions are met for the exit, no further arrows should be drawn until the entry conditions are satisfied again.