OMIDCAPITAL

OmidCapitalCal

With this tool, traders are able to calculate position leverage based on risk percentage


// ------ Settings Inputs -----------------------------------------------------------------------------------------------------
// "Capital" -- enter your portfolio balance
// "Risk" -- enter the percent of your portfolio you are willing to lose if the stop loss is hit
// "Entry" -- enter the price at which you will enter the trade
// "Stop" -- enter the price at which your stop loss will be set
// "Target" -- enter the price at which your take profit will be set
// ----------------------------------------------------------------------------------------------------------------------------

// ------ Outputs -------------------------------------------------------------------------------------------------------------
// "Capital" -- displays the portfolio balance entered in settings
// "Risk" -- displays the % loss entered in settings and the corresponding amount of your portfolio
// "Entry" -- displays the entry price entered in settings
// "Stop" -- displays the stop loss price entered in settings
// "Stop %" -- displays the calculated percentage loss from the entry price
// "Target" -- displays the take profit price entered in settings
// "Target %" -- displays the calculated percentage profit from the entry price
// "Leverage" -- displays the calculated leverage based on your max loss and stop loss settings
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?