OPEN-SOURCE SCRIPT
Trade Sizing

This script is a calculation tool for sizing a trade.
The aim here is to select two price (Opening and TP) and one point (Stop Loss) that will form the sizing of a trade.
You can configure :
The starting capital
The risk
The maker or taker fees
The tool will then display the different levels (Opening, SL, TP), and calculate the Break Even, the Quantity to buy, the different gains and loss ratio and their values.
There is a statistical Stop Loss selectable option. It is calculated in relation to the ATR and an exclusion percentage (configurable).
There are a lot of displays options (hide and show) and also cosmetic options (colors).
Special option : it's possible to define a TF value to keep the display size and the statistical SL value at this wanted TF.
The aim here is to select two price (Opening and TP) and one point (Stop Loss) that will form the sizing of a trade.
You can configure :
The starting capital
The risk
The maker or taker fees
The tool will then display the different levels (Opening, SL, TP), and calculate the Break Even, the Quantity to buy, the different gains and loss ratio and their values.
There is a statistical Stop Loss selectable option. It is calculated in relation to the ATR and an exclusion percentage (configurable).
There are a lot of displays options (hide and show) and also cosmetic options (colors).
Special option : it's possible to define a TF value to keep the display size and the statistical SL value at this wanted TF.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.