Entry Price Line stopped working?

Trigun1127

Member
I've been using this forever just a line that marks your average price on the chart. Suddenly and only on /MES it stopped working and i cant get it to work. I can go on any other chart and it works fine. Any ideas?

# Entry Price Line
# Original Code by Mobius

def c = close;
def n = double.nan;
def pl = GetOpenPL();
def ap = GetAveragePrice();
def bn = barnumber();
def ee = if isnan(ap) then ee[1] else ap;
def lb = if ee != ee[1] then bn else lb[1];
def PercentChg = if ee then (c-ee)/ee else 0;

plot entry = if bn >= HighestAll(lb) and ee > 0 then
HighestAll(if IsNaN(c[-1]) then ee else n) else n;
entry.SetDefaultColor(color.cyan);

# end
 
Solution
And now it stopped working again. What in the world. It was working fine. 0 change on my chart and now its gone again.

The not-so-good news is that Schwab has made many tweaks, which were intended to have no impact on our app usage but ended up having unintended consequences.

The good news is that they have been very responsive pushing through fixes when they have been told something needs to be fixed.

The 1st step would be to contact support.
https://usethinkscript.com/threads/how-to-contact-tos-support-for-thinkorswim.11520/
753PM2O.png


I am pretty sure that the portfolio functions cease to work on older trades after some period of time. I am having trouble verifying this though. I've been doing all of my trading on trade station for a while now, mainly waiting for the Schwab dust to settle. It seems that all of my older trades on TOS are past the deadline, assuming I am correct.

The bottom is plotting Average Price, Open PL, Quantity, and so on. It's just blank.

The Show Trades option still works though.

When was the last time you traded /MES compared to other symbols that still work?
 
753PM2O.png


I am pretty sure that the portfolio functions cease to work on older trades after some period of time. I am having trouble verifying this though. I've been doing all of my trading on trade station for a while now, mainly waiting for the Schwab dust to settle. It seems that all of my older trades on TOS are past the deadline, assuming I am correct.

The bottom is plotting Average Price, Open PL, Quantity, and so on. It's just blank.

The Show Trades option still works though.

When was the last time you traded /MES compared to other symbols that still work?
I trade /Mes everyday. SPXL and SPXS work fine. TQQQ and SQQQ work fine as well.
 
Aggregation problem maybe?

rUBS3Mv.png


What is happening; is it wrong, is it blank, is there a (!) in the upper left corner?

Try plotting a few basic portfolio functions plainly, and tell me what you see.
 
And now it stopped working again. What in the world. It was working fine. 0 change on my chart and now its gone again.

The not-so-good news is that Schwab has made many tweaks, which were intended to have no impact on our app usage but ended up having unintended consequences.

The good news is that they have been very responsive pushing through fixes when they have been told something needs to be fixed.

The 1st step would be to contact support.
https://usethinkscript.com/threads/how-to-contact-tos-support-for-thinkorswim.11520/
 
Last edited:
Solution
The not-so-good news is that Schwab has made many tweaks, which were intended to have no impact on our app usage but ended up having unintended consequences.

The good news is that they have been very responsive pushing through fixes when they have been told something needs to be fixed.

The 1st step would be to contact support.
https://usethinkscript.com/threads/how-to-contact-tos-support-for-thinkorswim.11520/
Gotcha it seems to be intermittent coming back on then not working
 
Has anyone contacted TOS support about this issue for entry code? I am having the same problem with the entry code I have been using for years. The code has always shown the dreaded orange triangle.
 

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
542 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