OPEN-SOURCE SCRIPT
Strategy's Annual Return [racer8]

I was trying to find the annual return for a particular strategy script based on profit factor, annual trade frequency, and win rate.
So on paper, I created some equations to help me solve this...and eventually, I created this indicator!
This indicator will help you find the annual return for any strategy. All you need to input is profit factor, number of trades per year, and win rate...oh and percentage of equity to risk in the trades.
By the way, if the output is 1.15, that means 15% annual return.
Keep in mind that this is a mere approximation...and the actual return is likely lower than this value.
Also if your margin trading, set order size to 100% of equity in the strategy's parameters.
Hopes this helps. Good luck and enjoy ;)
So on paper, I created some equations to help me solve this...and eventually, I created this indicator!
This indicator will help you find the annual return for any strategy. All you need to input is profit factor, number of trades per year, and win rate...oh and percentage of equity to risk in the trades.
By the way, if the output is 1.15, that means 15% annual return.
Keep in mind that this is a mere approximation...and the actual return is likely lower than this value.
Also if your margin trading, set order size to 100% of equity in the strategy's parameters.
Hopes this helps. Good luck and enjoy ;)
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.