PINE LIBRARY

Margin/Leverage Calculation

1382
Margin
This library calculates margin liquidation prices and quantities for long and short positions in your strategies.

Usage example


Get the qty for margin long or short position.


Get the price and qty for margin long or short position.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.