Is there a way to have this point to/get "Available Funds For Trading" so I do not need to constantly change it.
##################################################################################
# Simple Position Calculator
# Assembled by BenTen at UseThinkScript.com
input balance = 10000;
def current_price = close;
def limit = balance / current_price;
AddLabel(yes, Concat("Shares available for purchase = ", Round(limit)), color.orange);
@BenTen
Do you know if it is possible to use/point to "Available Funds For Trading"? This is the code you wrote and I hope to get it to adjust to funds available for trading. Thanks for your help.
##################################################################################
# Simple Position Calculator
# Assembled by BenTen at UseThinkScript.com
input balance = 10000;
def current_price = close;
def limit = balance / current_price;
AddLabel(yes, Concat("Shares available for purchase = ", Round(limit)), color.orange);
@BenTen
Do you know if it is possible to use/point to "Available Funds For Trading"? This is the code you wrote and I hope to get it to adjust to funds available for trading. Thanks for your help.