PROTECTED SOURCE SCRIPT

Auto Risk Calculator

Updated
This script takes the lowest of the last 3 bars on your current time frame and sets that as your stop loss. Then it will takes 2 inputs. Trade Amount, which is how much you're willing to spend on the trade. And Risk Amount, which is the max you're willing to lose one the trade. Then it will calculate how many shares you should buy based the stop loss previously calculated, trade amount, and risk amount.
Release Notes
Fixed a bug that would cause labels to continuously print
Release Notes
Added the functionality to change the time frame the stop is drawn from. Default is 10m.

1H
snapshot
Volume

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer