Number of Entries - futures io
futures io futures trading



Number of Entries


Discussion in EasyLanguage Programming

Updated
    1. trending_up 448 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 6 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Number of Entries

(login for full post details)
  #1 (permalink)
Montclair
 
 
Posts: 17 since Nov 2018
Thanks: 0 given, 0 received

Hi All,

I have a relatively simple (I believe) question for the community.

If I have a an automated strategy that triggers a buy and lets say that buy is for 500 shares. If the order is filled in two lots, 1 of 450 shares and 1 of 50 shares will tradestation recognize this at the number of entries into the stock being 1 or 2?

What I am really asking is will the CurrentEntries function =2 or =1

Thank you in advance you guys are the best!

Reply With Quote

Can you help answer these questions
from other members on futures io?
Can the Magnet Tool Affect Chart Orders In Overcharts Ha …
Platforms and Indicators
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
NT8 indicator to simulate a Funding Evaluation where to …
NinjaTrader
OFA (Order Flow Analytics) Licence
NinjaTrader
Short Interest Ratio indicator?
ThinkOrSwim
 
 
(login for full post details)
  #3 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received


jessehhhh,

when you issue one order, it should be reflected as one entry only.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #4 (permalink)
Montclair
 
 
Posts: 17 since Nov 2018
Thanks: 0 given, 0 received

Thank you ABCTG

Are you positive about this? I only ask because my strategy made some weird sells as it is based off of the number of current entries and it would make sense if the system recognized the 2 different lots of 450 and 50 as two entries.

Other wise I have to go back through every line of code again

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

jessehhhh,

I would suggest using print statements to check what values your code sees. You might also want to check if your code only issued one order or if it in fact issued two.

Regards,

ABCTG


jessehhhh View Post
Thank you ABCTG

Are you positive about this? I only ask because my strategy made some weird sells as it is based off of the number of current entries and it would make sense if the system recognized the 2 different lots of 450 and 50 as two entries.

Other wise I have to go back through every line of code again


Follow me on Twitter Reply With Quote
 
(login for full post details)
  #6 (permalink)
Montclair
 
 
Posts: 17 since Nov 2018
Thanks: 0 given, 0 received

I appreciate the feedback.

Before I go searching, do you know a good forum for using the print code you said. I've never done this before.

Reply With Quote
 
(login for full post details)
  #7 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

jessehhhh,

you are welcome. By the way Futures.IO allows you to show your appreciation for posts by clicking the "Thanks" button next to the specific post.

Check out the help file of the Tradestation Development Environment (TDE), it comes with a few example for using the print reserved word. You can highlight a reserved word in your code within the TDE and click F1, this will bring up the help file.

Regards,

ABCTG


jessehhhh View Post
I appreciate the feedback.

Before I go searching, do you know a good forum for using the print code you said. I've never done this before.


Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Number of Entries


Last Updated on January 30, 2019


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts