t+3 order - EasyLanguage Programming | futures io social day trading
futures io futures trading


t+3 order
Updated: Views / Replies:734 / 10
Created: by gordon921 Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

t+3 order

  #1 (permalink)
Trading Apprentice
villejuif
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: ES, CRUDE OIL
 
Posts: 7 since Oct 2015
Thanks: 5 given, 2 received

t+3 order

Hello everybody,

a simple question: I would like to buy/sell not on the day closing, as like: "buy/sell this bar on close" but i want to buy/sell after 3 days. It is possibile? how can i write the code to do this?

Thank you in advance.

Luca

Reply With Quote
The following user says Thank You to gordon921 for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Huntington WV
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: ES, CL
 
TheTradeSlinger's Avatar
 
Posts: 402 since Jun 2015
Thanks: 639 given, 510 received



gordon921 View Post
Hello everybody,

a simple question: I would like to buy/sell not on the day closing, as like: "buy/sell this bar on close" but i want to buy/sell after 3 days. It is possibile? how can i write the code to do this?

Thank you in advance.

Luca

You're looking for "BarsSinceEntry", set it to 3 or 2, whatever gives you the 3 days!

Hope this helps, been a while since I've programmed easylanguage.

Reply With Quote
The following user says Thank You to TheTradeSlinger for this post:
 
  #4 (permalink)
Trading Apprentice
villejuif
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: ES, CRUDE OIL
 
Posts: 7 since Oct 2015
Thanks: 5 given, 2 received


TheTradeSlinger View Post
You're looking for "BarsSinceEntry", set it to 3 or 2, whatever gives you the 3 days!

Hope this helps, been a while since I've programmed easylanguage.

Normally i used barssinceentry to exit from my position, for example: "if barssinceentry=exit then buytocover this bar on close", how can i enter in position with a delay of 3 days? Is it possible with "barssinceentry"?

Thanks you for your quick reply.

Luca

Reply With Quote
 
  #5 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

Luca,

depending on what exactly you want to accomplish you can also use a counter and count the number of days since your entry condition was present within your code. Then when the counter reaches 3 (or what ever threshold) you sent the order. Otherwise what I replied here might work, when you want to actually send the order and keep it on the Tradestation servers:
https://futures.io/tradestation/39391-delay-orders.html

Regards,

ABCTG

Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
  #6 (permalink)
Trading Apprentice
villejuif
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: ES, CRUDE OIL
 
Posts: 7 since Oct 2015
Thanks: 5 given, 2 received


ABCTG View Post
Luca,

depending on what exactly you want to accomplish you can also use a counter and count the number of days since your entry condition was present within your code. Then when the counter reaches 3 (or what ever threshold) you sent the order. Otherwise what I replied here might work, when you want to actually send the order and keep it on the

Regards,

ABCTG


Hello, i think i've solved my problem (t+3) by structuring the condition to buy/sell 3 days before the trade. I have to enter in position only the friday of all the week, so i decided to check the signal for entry 3 days before, but now i have another problem... how can i enter in position all the friday of the week? Is there a function that allow this ? i tried with "dayofweek" but it's not the correct solution..

Thank you

Luca

Reply With Quote
 
  #7 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

Luca,

I am not sure if I follow you correctly. Do you want to send the order on Friday for execution on Friday, too?

What is wrong with using DayOfWeek?

Regards,

ABCTG

Reply With Quote
 
  #8 (permalink)
Trading Apprentice
villejuif
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: ES, CRUDE OIL
 
Posts: 7 since Oct 2015
Thanks: 5 given, 2 received


ABCTG View Post
Luca,

I am not sure if I follow you correctly. Do you want to send the order on Friday for execution on Friday, too?

What is wrong with using DayOfWeek?

Regards,

ABCTG


I wish that all the friday the system give me the order. If i use "DayofWeek" like this: " condition9= dayofweek(currentdate)=friday; " i don't know why but it doesn't work correctly. It enter in position when he wants.

Reply With Quote
 
  #9 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

Luca,

it's hard to tell without knowing your code, but when you use currentdate in your check you will use today's date.
If you run the code on a Friday your condition will be true on every bar, regardless of the date of this bar.

You should use Date instead in the check if you want to use the bar's date instead.

Regards,

ABCTG


gordon921 View Post
I wish that all the friday the system give me the order. If i use "DayofWeek" like this: " condition9= dayofweek(currentdate)=friday; " i don't know why but it doesn't work correctly. It enter in position when he wants.


Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #10 (permalink)
Trading Apprentice
villejuif
 
Futures Experience: Advanced
Platform: Tradestation
Favorite Futures: ES, CRUDE OIL
 
Posts: 7 since Oct 2015
Thanks: 5 given, 2 received


yees!! Now it works correctly with "date". Thank you very much ABCTG

Reply With Quote
The following user says Thank You to gordon921 for this post:

Reply



futures io > > > > > t+3 order

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webinar: Order Book Strategies and Order Flow Patterns w/Ferran Ramentol and VeloxPro Big Mike Traders Hideout 44 August 5th, 2017 05:42 PM
'Auto Stop Order' and 'Target Lmt Order' button/hotkey jz166 IB Trader Workstation 1 July 11th, 2015 06:03 PM
ATM Strategy: Limit order & stop loss order at the same time in the market? DrE6 NinjaTrader 2 June 21st, 2013 02:12 PM
Time of Order Submission Limit Calculation / Conditional / Price Improvement Order CoopGeko IB Trader Workstation 0 September 17th, 2012 10:15 PM
Order entering at lower volume (ETH-RTH times) - Position Sizing / Order Type Koepisch Traders Hideout 4 August 22nd, 2012 05:12 PM


All times are GMT -4. The time now is 02:13 PM.

Copyright © 2017 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
Page generated 2017-12-15 in 0.13 seconds with 19 queries on phoenix via your IP 54.82.56.95