NexusFi: Find Your Edge


Home Menu

 





delay placement of trade


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one malibu with 7 posts (2 thanks)
    2. looks_two ABCTG with 2 posts (1 thanks)
    3. looks_3 Big Mike with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 4,674 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 10 posts
    2. attach_file 0 attachments




 
Search this Thread

delay placement of trade

  #1 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17

easylanguage code to delay placement of trade by just a minute or two

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
NexusFi Journal Challenge - May 2024
Feedback and Announcements
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628


malibu,

on what timeframe is the strategy running?

Regards,
ABCTG


malibu View Post
easylanguage code to delay placement of trade by just a minute or two


Follow me on Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17


ABCTG View Post
malibu,

on what timeframe is the strategy running?

Regards,
ABCTG


Daily. So what's happening is that tradestation suspends all forex transactions from 3:55PM to 4:05PM. Therefore, when it tries to "buy next bar at open" then order gets rejected... same thing for shorts. I am wondering if I replace "buy next bar at open" with "buy next bar at market", will it help. I really con not go another day like this. This is TRULY a catastrophe that is ruining me. I need a 100% fix for this stupid little issue.

Started this thread Reply With Quote
  #5 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17

What I'm really looking for is a code that will do the following:

If condition1 then
begin
buy next bar at (open + 10 minutes);
setdollartrading(500);
end;

this is of course for daily bars.


Somebody help ya boy out! Please!

Started this thread Reply With Quote
  #6 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17

or any other fix is acceptable lol

Started this thread Reply With Quote
  #7 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,446 since Jun 2009
Thanks Given: 33,217
Thanks Received: 101,610

In the future, please be more careful when creating threads and take an extra second to do it better. You created this in Traders Hideout and not in the TradeStation or Easylanguage section. Your thread title of "any help appreciated" is non-descriptive. Imagine 50,000 other threads all titled the same non-descriptive way, it would be chaos.

I've corrected both.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

malibu,

I am not sure if "next bar market" will help you, but give it a try and report back.
One thing that will help you though is using IntrabarOrdergeneration and sending the order based on your computer time at a specific time. This however is a more advanced task and you should read about how to do it in the information TS provides.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #9 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17


Big Mike View Post
In the future, please be more careful when creating threads and take an extra second to do it better. You created this in Traders Hideout and not in the TradeStation or Easylanguage section. Your thread title of "any help appreciated" is non-descriptive. Imagine 50,000 other threads all titled the same non-descriptive way, it would be chaos.

I've corrected both.

Mike

I understand. When I posted to questions box on the home page it put the body text as the title and the title text as the body. So the title was supposed to be "easylanguage code to delay placement of trade by just a minute or two." Maybe I read it wrong? Anyway thanks for fixing.

Started this thread Reply With Quote
  #10 (permalink)
 
malibu's Avatar
 malibu 
toronto canada
 
Experience: Advanced
Platform: Matlab + NT + TS
Trading: FOREX
Posts: 65 since Jul 2013
Thanks Given: 9
Thanks Received: 17



ABCTG View Post
malibu,

I am not sure if "next bar market" will help you, but give it a try and report back.
One thing that will help you though is using IntrabarOrdergeneration and sending the order based on your computer time at a specific time. This however is a more advanced task and you should read about how to do it in the information TS provides.

Regards,
ABCTG

thanks... will try and let y'all know

Started this thread Reply With Quote




Last Updated on August 22, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts