I'm trying to create an button on the chart that will automatically buy @ market. I'm getting the following error:
buyMarket: symbol not in dictionary
The script executes properly if the symbol happens to be in the broker manager dictionary already.
I need to either populate the list automatically with all the symbols or I need it to behave the same as other new orders where it prompts to create a new symbol in the library.
I'd prefer to populate the list fully. Is there a way to do this?
buyMarket: symbol not in dictionary
The script executes properly if the symbol happens to be in the broker manager dictionary already.
I need to either populate the list automatically with all the symbols or I need it to behave the same as other new orders where it prompts to create a new symbol in the library.
I'd prefer to populate the list fully. Is there a way to do this?
Comment