OPEN-SOURCE SCRIPT
تم تحديثه Position Size calculator

Overview
This indicator automatically calculates the average candle body size (|open − close|) for the current trading day and derives a position size (quantity) based on your fixed risk per trade (default ₹1000).
For example:
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
How It Works:
The indicator calculates the absolute difference between open and close (the candle’s body) for every bar of the current day.
It averages those body sizes to estimate the average daily volatility.
Then it divides your chosen risk per trade by the average body size to estimate an appropriate quantity.
It automatically resets at the start of each new day.
Why Use It
While risk size can be derived manually or using TradingView’s built-in Long/Short Position Tool, this indicator provides a faster, more practical alternative when you need to make quick trade decisions — especially in fast-moving intraday markets.
It keeps you focused on execution rather than calculation.
Tip
You can still verify or fine-tune the quantity using the Long/Short Position Tool or a manual calculator, but this indicator helps you react instantly when opportunities appear.
This indicator automatically calculates the average candle body size (|open − close|) for the current trading day and derives a position size (quantity) based on your fixed risk per trade (default ₹1000).
For example:
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
How It Works:
The indicator calculates the absolute difference between open and close (the candle’s body) for every bar of the current day.
It averages those body sizes to estimate the average daily volatility.
Then it divides your chosen risk per trade by the average body size to estimate an appropriate quantity.
It automatically resets at the start of each new day.
Why Use It
While risk size can be derived manually or using TradingView’s built-in Long/Short Position Tool, this indicator provides a faster, more practical alternative when you need to make quick trade decisions — especially in fast-moving intraday markets.
It keeps you focused on execution rather than calculation.
Tip
You can still verify or fine-tune the quantity using the Long/Short Position Tool or a manual calculator, but this indicator helps you react instantly when opportunities appear.
ملاحظات الأخبار
OverviewThis indicator automatically calculates position size (quantity) based on your fixed risk per trade (default ₹1000).
You can choose whether to base the calculation on today’s average candle body or the latest candle’s body size — giving you flexibility depending on your trading style.
Example
If today’s average candle body = ₹3.50 and risk = ₹1000 → Quantity = 285
If the latest candle’s body = ₹4.00 → Quantity = 250
How It Works
The indicator measures the absolute difference between open and close (the candle’s body).
It automatically resets at the start of each new day.
Depending on your selected mode:
Average Body Mode: Uses the average candle body size of all bars for the current day to reflect the day’s typical volatility.
Latest Candle Body Mode: Uses the most recent candle’s body size to capture immediate market momentum.
The quantity is then calculated as:
Quantity = Risk per Trade ÷ Body Size
Why Use It
While position sizing can be done manually or via TradingView’s Long/Short Position Tool, this indicator provides a faster, more execution-focused method — ideal for traders who need to act quickly during fast intraday moves.
It helps you focus on execution rather than calculation, with the flexibility to adapt position sizing dynamically as market conditions change.
Tip
You can still cross-check or refine the calculated quantity using the Long/Short Position Tool or manual methods — but this indicator offers an instant, on-chart estimate that keeps you ready for immediate trades.
ملاحظات الأخبار
added- latest candle body calculationنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Automated Demand Supply zone Indicator and Screener :
in.tradingview.com/script/BSrPDhLp-Demand-and-supply-zones/
in.tradingview.com/script/tyjheWJl-Demand-and-Supply-zone-Screener/
Whatsapp - +91 8300476033 for access
in.tradingview.com/script/BSrPDhLp-Demand-and-supply-zones/
in.tradingview.com/script/tyjheWJl-Demand-and-Supply-zone-Screener/
Whatsapp - +91 8300476033 for access
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
Automated Demand Supply zone Indicator and Screener :
in.tradingview.com/script/BSrPDhLp-Demand-and-supply-zones/
in.tradingview.com/script/tyjheWJl-Demand-and-Supply-zone-Screener/
Whatsapp - +91 8300476033 for access
in.tradingview.com/script/BSrPDhLp-Demand-and-supply-zones/
in.tradingview.com/script/tyjheWJl-Demand-and-Supply-zone-Screener/
Whatsapp - +91 8300476033 for access
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.