OPEN-SOURCE SCRIPT

Trapulator

Updated
A position size, stop loss and take profit calculator to make forex trading easier.

Utilizes the symbol, payout rates, etc.

How to Use:
Go to the indicator's settings and change the "Settings" and "Entry" sections. After saving your settings, the values will be drawn in a table on the chart.

This has been republished, so that it has the correct name. You can't change the name of scripts once they've been published as far as I'm aware. So, this version of the script will receive updates, and the Trap Calculator will just be a 1.0 version, that's available.


There are default values within the calculator, so use at your own risk and do your own due diligence. This is public so that you can use it to make a calculator that better suits your needs if you want.
Release Notes
Big Update/Rewrite to fix a lot of the existing bugs and to add additional functionality. Now you can calculate an initial position size for one of the listed symbols, and if the risk % is too high, you can manually calculate a lot size for more accurate position sizing.
Release Notes
Changed some default values. Added EURJPY and GBPJPY. Updated exchange rates for included symbols. Fixed a lot of the math that was broken. Formatted Code and snippets to make it more readable.
Release Notes
Added Account Currency Type, so that users who fund their accounts via CAD can also use the calculator for risk management.
calculatoreducationalriskmanagment

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