OPEN-SOURCE SCRIPT
Updated Position Size Ruler

This script is designed for day traders who need to visualize contract sizing based on stop loss size instantly without manual calculations. It bridges the gap between a trader's defined risk and the fast-moving price action of assets like NQ or MNQ.
The tool operates by creating a "position size ruler" that projects contract-specific zones based on a draggable Stop Loss anchor.
Draggable Stop Loss: In settings, you will first need to enter a value for the stop loss. This value should be near the current price value so that the ruler can be seen on your chart. Once that is done, you can click and drag the "blue dot" handle—anchored to the left edge of the stop loss—to align it with your anticipated stop loss location.
The tool operates by creating a "position size ruler" that projects contract-specific zones based on a draggable Stop Loss anchor.
Draggable Stop Loss: In settings, you will first need to enter a value for the stop loss. This value should be near the current price value so that the ruler can be seen on your chart. Once that is done, you can click and drag the "blue dot" handle—anchored to the left edge of the stop loss—to align it with your anticipated stop loss location.
Release Notes
This script is designed for day traders who need to visualize contract sizing based on stop loss distance instantly without manual calculations. It bridges the gap between a trader's defined risk and the fast-moving price action of assets like NQ or MNQ.The tool operates by creating a "risk ruler" that projects contract-specific zones based on a draggable Stop Loss.
Draggable Stop Loss: A bold, customizable red line serves as the stop loss. You can click and drag the "blue dot" handle—anchored to the left edge of this line—to align it with your anticipated stop loss location.
Release Notes
Updating ImageOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.