NexusFi: Find Your Edge


Home Menu

 





Skip historical data in strategy


Discussion in EasyLanguage Programming

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




 
Search this Thread

Skip historical data in strategy

(login for full post details)
  #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?
ISO Equity Curve Indicator
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Trader Dale [email protected] or Scammer Dale
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
GFIs1 1 DAX trade per day journal
28 thanks
Supertradersams Thread Journal on NQ/MNQ
26 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
12 thanks
Deaddogs Stock Trading
11 thanks

(login for full post details)
  #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
(login for full post details)
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,426 since Apr 2013
Thanks Given: 437
Thanks Received: 1,618

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
The following user says Thank You to ABCTG for this post:
(login for full post details)
  #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