NexusFi: Find Your Edge


Home Menu

 





Skip historical data in strategy


Discussion in EasyLanguage Programming

Updated
    1. trending_up 2,056 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?
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
Roland Garros Final Day: $3M on Zverev at 80.5% -- Leban …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
197 thanks
Sober Journey With S&P
27 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
BERN ALGOS algo trading journal
8 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,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,642

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 X 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


© 2026 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 - Downloads - Top
no new posts