NexusFi: Find Your Edge


Home Menu

 





Quote Values not updating in pre-market


Discussion in EasyLanguage Programming

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




 
Search this Thread

Quote Values not updating in pre-market

  #1 (permalink)
nfgrufio
Atlanta, GA
 
Posts: 14 since Apr 2023
Thanks Given: 1
Thanks Received: 0

I have a simple daily RVOL indicator in radarscreen that uses the DailyVolume quote field.
I am using DailyVolume so that I can reference pre-market volume in my calculation.
In pre-market, DailyVolume does not update per tick when I reference Volume or Volume[n] in the same code, but updates
as expected in the regular session.

This code would produce non-updating DailyVolume values in pre-market:

plot1(DailyVolume);
plot2(volume);


If I comment out plot2, DailyVolume will update per tick.
If I include plot2, DailyVolume will not update per tick, but rather freezes in time until I re-verify the code.
DailyVolume can be replaced with the Last quote field, and produce the same non-updating results.

Is it something inherent within quote fields that doesn't allow the value to update?

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 bfulks 
Boston MA
 
Experience: Advanced
Platform: TradeStation
Trading: Stocks and options
Posts: 24 since Aug 2022
Thanks Given: 2
Thanks Received: 4

Try adding:

value99 = ticks; // Required for all RadarScreen code to update very tick

to your code and see if that helps.

Bob

Reply With Quote
  #3 (permalink)
nfgrufio
Atlanta, GA
 
Posts: 14 since Apr 2023
Thanks Given: 1
Thanks Received: 0


I currently do not have any VALUE=TICKS in my code, but the value still updates per tick in the regular session, just not in pre-market.
I will give this a try come monday morning.

Thanks for the suggestion!

Reply With Quote
  #4 (permalink)
 
bobb's Avatar
 bobb 
near Vienna Austria
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Trading: Stocks, Forex
Posts: 6 since Apr 2012
Thanks Given: 1
Thanks Received: 1

nfgrufio,
Try to change the default session to premarket.
Go to File > Preferences > TradeStation Desktop > Session > Stocks…Custom Session…your Premarket Session.
This is also important if you want to perform a Premarket Scan.
Need a restart for Tradestation
Hope it helps
bobb

Reply With Quote




Last Updated on January 21, 2024


© 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