OPEN-SOURCE SCRIPT

Position calculator

This position calculator can be used to see if the potential trade is a good one. Enter the values as inputs and the output will be listed next to the settings of the indicator. Nearest support/resistance is meant to be your price target. I have found running this analysis prior to a trade to be helpful. This will output number of shares to buy/sell based on your risk percent and then also give a potential profit factor. I wish the outputs in Tradingview were cleaner but this works for now. Let me know if you have any questions or suggestions. Happy trading!
calculatorMoving AveragespositionTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer