NexusFi: Find Your Edge


Home Menu

 





Intrabarpersist and Historical tick data Question


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one marketstudent with 1 posts (0 thanks)
    2. looks_two MooreTech with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 BeetleBaum with 1 posts (0 thanks)
    1. trending_up 3,752 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Intrabarpersist and Historical tick data Question

  #1 (permalink)
 marketstudent 
california
 
Experience: Intermediate
Platform: NinjaTrader
Posts: 5 since Jul 2009
Thanks Given: 0
Thanks Received: 0

I am a new tradestation user, and I am new to EL. I try to understand and verify how intrabarpersist works for Historical tick data. Below is the indicator code, the code is applied to a 500-tick chart using tradestation historical tick data. Nothing is plotted in the indicator subgraph, what's wrong?

Thanks very much in advance for your help!

 
Code
                            
// code test 1 
Var: intrabarpersist TradeCount(0); 
Var: 
intrabarpersist TradesThisBar(0); 

If 
LastBarOnChart then Begin 

TradeCount 
TradeCount 
TradesThisBar TradeCount 

If 
Barstatus(1) = 2 then TradeCount 0

Plot1(TradesThisBar ,"Trades") ; 

End

// code test 2 
Var: intrabarpersist TradeCount(0); 
Var: 
intrabarpersist TradesThisBar(0); 

TradeCount TradeCount 
TradesThisBar TradeCount 

If 
Barstatus(1) = 2 then TradeCount 0

Plot1(TradesThisBar ,"Trades") ; 

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Quant vue
Trading Reviews and Vendors
REcommedations for programming help
Sierra Chart
 
  #3 (permalink)
 MooreTech 
Orlando, Florida
 
Experience: Advanced
Platform: NinjaTrader, TradeStation, MultiCharts, eSignal, MetaTrader
Trading: ES
Posts: 57 since Aug 2010
Thanks Given: 6
Thanks Received: 73


marketstudent,
I'm testing your code and both versions seem to plot fine. Are you connected to TradeStation's data feed?


marketstudent View Post
I am a new tradestation user, and I am new to EL. I try to understand and verify how intrabarpersist works for Historical tick data. Below is the indicator code, the code is applied to a 500-tick chart using tradestation historical tick data. Nothing is plotted in the indicator subgraph, what's wrong?

Thanks very much in advance for your help!

 
Code
                            
// code test 1 
Var: intrabarpersist TradeCount(0); 
Var: 
intrabarpersist TradesThisBar(0); 

If 
LastBarOnChart then Begin 

TradeCount 
TradeCount 
TradesThisBar TradeCount 

If 
Barstatus(1) = 2 then TradeCount 0

Plot1(TradesThisBar ,"Trades") ; 

End

// code test 2 
Var: intrabarpersist TradeCount(0); 
Var: 
intrabarpersist TradesThisBar(0); 

TradeCount TradeCount 
TradesThisBar TradeCount 

If 
Barstatus(1) = 2 then TradeCount 0

Plot1(TradesThisBar ,"Trades") ; 


Follow me on Twitter Reply With Quote
  #4 (permalink)
 BeetleBaum 
East Ridge, Tennessee, USA
 
Experience: Master
Platform: TradeStation
Trading: Futures, Stocks, Options, Forex
Posts: 17 since Nov 2022
Thanks Given: 4
Thanks Received: 4

Is it possible to compare time-sales data for the High and Low (real-time or historical) of a bar to determine which came first?

Thanks in advance!

Reply With Quote




Last Updated on January 15, 2023


© 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