Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hello, I am new to TradeStation. I decided to try and create an easylanguage program that will sort Time And Sales data. So for example there are 10 strings appering. Each of them show the same value and the same action (Sold for example). Is it possible to display one string instead of 10? If someone could help me out with the code, I would be very thankful.
Can you help answer these questions from other members on NexusFi?
there probably is, but it's hard to tell without knowing how you hold the data. If you post your code somebody might be able to point you in the right direction - it doesn't have to be your full logic, but enough that it verifies and shows the problem you want to solve.
I don't even have a clue on how to hold such data. There are multiple strings with the same action and price. I just need to print one string instead of multiple ones.
if your code prints the strings, one way to avoid duplicates would be to store the last displayed string (or parts of it) in a variable and then only display a new string when it's different than the last stored string.