Enhanced 20 SMA Signal Boxes
This indicator leverages the 20-period Simple Moving Average (SMA) to generate clear and actionable trading signals. Designed for traders looking to streamline their entry and exit decisions, the script provides a visual hierarchy with dynamic signal boxes and target levels.
Features:
Buy & Sell Signals:
Automatically detects when the price crosses above or below the 20 SMA and marks the signal candle with a yellow box for clear visualization of entry (top of the box) and risk (bottom of the box).
Dynamic Target Levels:
Three blue outlined boxes are generated for each signal to indicate profit-taking levels. The boxes dynamically adjust based on the signal candle’s range and come with customizable labels:
"Long Target" for buy signals
"Short Target" for sell signals
Alert System:
Get notified when the price enters or exits the signal candle or when target levels are reached.
Customization Options:
Adjust SMA color, thickness, and length.
Modify box opacity for better chart visibility.
Edit target labels and positionings to suit your trading style.
Risk/Reward Visualization:
The script calculates and displays the risk/reward ratio visually between the signal candle and the first target box.
Dynamic Styling:
Target boxes feature gradient shades to highlight increasing profit potential, and optional lines connect the signal candle to targets for organized visuals.
This indicator simplifies decision-making by providing clear signals and targets, making it suitable for day traders, swing traders, and scalpers alike.