Net Liq on Chart thinkscript not working for an account on TD

eugchen

Member
im hoping someone can help me. im using the following thinkscript. im using the TD version of TOS. i log on with one user/password and am able to see all my accounts. when im on ALL ACCOUNTS, this code shows the net liq on the chart for that all accounts summed together. this worked well forever. in the past week, i noticed NaN show up when ALL ACCOUNTS. i thought it was a glitch, but a week later, its still the same. i have localized it to ONE account in particular. all other accounts work ok on their own. i have tried creating a new study with this code to see if it works and removed all other studies. no luck. TD customer support is helping me as well but they are baffled and no solutions yet. anyone else have ideas that can help me?


def qty = GetQuantity();
def net_liq = qty * close;
AddLabel(yes, "Net Liq Position:" + AsDollars(value = net_liq), color = Color.Blue);
 
I don't deal with support often. The last time I spoke with them was to confirm the degradation of the full range functions. Though, if you're not careful, I do recall that they try to transfer you to some kind of thinkscript department that helps with minor coding questions. That's not what you need.

This sounds like an issue on the backend, likely having to do with the Schwab transition. If you haven't already made it clear, make sure support is aware that you are reporting an actual internal bug at the platform/server level, as opposed to you just needing basic help with thinkscript.

That's really all the advice I could offer.

You're probably just going to have to wait it out and hope they fix it.
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
493 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top