NexusFi: Find Your Edge


Home Menu

 





Skip historical data in strategy


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,499 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
matthaius
Los Angeles, CA
 
Posts: 7 since Jul 2013
Thanks Given: 1
Thanks Received: 0

This might be a simple question but I've not found a clear answer to this and hence, this thread. So I have a strategy and let's say stock X fits the conditions. I want to enter at market and set my profit targets, stop loss etc. So the strategy is semi-automated i.e. I decide when to enter. So I want the strategy to just keep track of profit targets and loss. So my condition to enter is simply "enter at market now". If I enable it on a two day 1 min chart, it thinks it entered yesterday on the first bar at market. So besides using a time and date input (and use today's date and some time in the future as time to enter), is there anything else I can do ?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC Advanced Simulated Trading.
MultiCharts
Is there a way to simulate CONTINUOUS CONTRACT?
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
How to create dashboard like this one?
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
111 thanks
1 Minute Man
101 thanks
In futures why does price turn so hard against you
42 thanks
GFIs1 1 DAX trade per day journal
30 thanks
Joes Trading Garage
19 thanks
  #3 (permalink)
matthaius
Los Angeles, CA
 
Posts: 7 since Jul 2013
Thanks Given: 1
Thanks Received: 0


would really appreciate some input here. am new to automation/tradestation/easylanguage etc.

Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 486
Thanks Received: 1,629

You don't need the entry part in your strategy, you only need the exit part. Then you need to enable "Adopt the real-world position" under the strategy automation properties.



One very important step is that you refresh the chart after a manual position change. Otherwise the strategy wouldn't be aware of the position change. As this can become annoying you can use a custom strategy called "ContinuousAdoptRealWorldPositionV1" that will make the manual refresh obsolete. You can find this together with instructions on how to set it up in the Tradestation forum.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #5 (permalink)
matthaius
Los Angeles, CA
 
Posts: 7 since Jul 2013
Thanks Given: 1
Thanks Received: 0

Excellent. Thank you for the help. This is precisely what I was looking for. Didn't know this was possible. Thanks once again.

Reply With Quote




Last Updated on August 4, 2013


© 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