NexusFi: Find Your Edge


Home Menu

 





Wrong closing value when making my own sessions


Discussion in TradeStation

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




 
Search this Thread
  #1 (permalink)
Prophet85
Gothenburg Sweden
 
Posts: 75 since Jul 2019
Thanks Given: 53
Thanks Received: 24

So I have a strategy for one of the index futures (RTY) that is supposed to close the trade "this bar at close". Now I obviously need to make a session so it actually closes a few minutes before.

So what I did is to make my own bars with 1380 minute bars as RTY opens at 5 pm to 4 pm local time (23 hours X 60 min = 1380). I then made a custom session sun-fri for 5 pm to 4 pm. I did this just to make sure that I get the same optimization report as if I use the regular session with daily bars which I theoretically should get. My problem is that I don't...

The opening of my custom session matches but each close slightly differ and I therefore get different results in the performance reports.

Is this a known problem or am I doing something wrong?


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pakistan Mediator in Tehran as Hormuz Normalization Coll …
Prediction Markets & Event Contracts
May 26 Deadline Dies at 7.5% as US Strikes Iran During C …
Prediction Markets & Event Contracts
CFTC Advances Prediction Markets Regulation -- Chairman …
Prediction Markets & Event Contracts
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
  #2 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT Stellar & Tradestation
Broker: Primarily Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals, U308 and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,241 since Dec 2013
Thanks Given: 4,584
Thanks Received: 10,523

If you use daily bar the closing price is the 'Settlement Price'
If you use minute bars (ege 1440) the closing price is the 'Last Trade" which is very different.

Don't think your 1380 min bar idea will work. When you get to the end of the bar the market is closed. A 1375 min bar might work, as when you get to the end of the bar, and it fires of its closing order, the market is still open for 5 more mins!


Reply With Quote
Thanked by:




Last Updated on July 26, 2020


© 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