NexusFi: Find Your Edge


Home Menu

 





Custom data range


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one runner with 6 posts (0 thanks)
    2. looks_two bukkan with 2 posts (0 thanks)
    3. looks_3 redratsal with 1 posts (0 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 2,831 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

Custom data range

  #1 (permalink)
 
runner's Avatar
 runner 
Milan, Italy
 
Experience: Intermediate
Platform: Overcharts,NinjaT, StoneX
Broker: Rithmic, StoneXain
Trading: CL Futures, Cme, Eurex
Posts: 272 since Nov 2010
Thanks Given: 633
Thanks Received: 1,479

Hi
I have this problem.
I'd like to set up my custom data range, for example to have last week datas 5 minutes data serie (from monday to friday 8:00 - 18:00) and this week from tuesday to friday (excluding monday).
In other words I need to exclude some days from datas (festivity, president day with only 2 hours trading, etc)
To be more exact take as example today-President day: ES contract ran for 2 hours. Tomorrow i will want to open my charts and exclude only yesterday 2 hours form 9:30 to 11:30, but to have all past modays in my datas/charts with normal time.

How cau I do this?
Or am i missing somethingh?

Thanks

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Option : Call and Put increase at same time ?
The Elite Circle
 
  #3 (permalink)
 
runner's Avatar
 runner 
Milan, Italy
 
Experience: Intermediate
Platform: Overcharts,NinjaT, StoneX
Broker: Rithmic, StoneXain
Trading: CL Futures, Cme, Eurex
Posts: 272 since Nov 2010
Thanks Given: 633
Thanks Received: 1,479


I created a new session template, but I didn't find the option I need (to exclude some particolar days)
What I need is to have a calendar and select the trading days I'd like to show in my charts.
The options present in the "SessionTemplate" allow me to exclude ALL Monday (or tuesday or wedn, etc) and not only THAT particular day
Also went to ninja...support/h...t7/index.htm but found nothing for me.

I really need Help
Anyone?

Follow me on Twitter Started this thread Reply With Quote
  #4 (permalink)
 
redratsal's Avatar
 redratsal 
Milan (I)
 
Experience: Advanced
Platform: Ninjatrader
Broker: Kinetick
Trading: FDAX,6E,CL,YM,NQ,ES
Posts: 1,648 since Oct 2010
Thanks Given: 1,215
Thanks Received: 2,090


runner View Post
I created a new session template, but I didn't find the option I need (to exclude some particolar days)
What I need is to have a calendar and select the trading days I'd like to show in my charts.
The options present in the "SessionTemplate" allow me to exclude ALL Monday (or tuesday or wedn, etc) and not only THAT particular day
Also went to ninja...support/h...t7/index.htm but found nothing for me.

I really need Help
Anyone?

May I ask you why you would like to exclude some days and hours from your charting? There are some indies developed by Fat Tails like #23. You can select up to 12 days with the no trade you want to keep out but you cannot select the timing.

For a custom made indy you can ask at want your indicator created free

Beware that some are Elite and you will not be able to access them

Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
runner's Avatar
 runner 
Milan, Italy
 
Experience: Intermediate
Platform: Overcharts,NinjaT, StoneX
Broker: Rithmic, StoneXain
Trading: CL Futures, Cme, Eurex
Posts: 272 since Nov 2010
Thanks Given: 633
Thanks Received: 1,479

I'd like to exclude some days because I want to elimitate some noise in datas
For example: on ES yesterday we had only 2 hours trading that for my analysis make noise (low volume and not complete trading days), that why I'd like not to consider those datas.

I will check Fat Tails and I'm sure I will become a Elite member soon.,...
Thanks

Follow me on Twitter Started this thread Reply With Quote
  #6 (permalink)
 
runner's Avatar
 runner 
Milan, Italy
 
Experience: Intermediate
Platform: Overcharts,NinjaT, StoneX
Broker: Rithmic, StoneXain
Trading: CL Futures, Cme, Eurex
Posts: 272 since Nov 2010
Thanks Given: 633
Thanks Received: 1,479

FIND A SOLUTION!!!
II go to Tools->Historical data manager
than <Edit> and select the Instrument you want to edit (ES for me)
Go on <Last><Minute><february2011> and select the day I want to edit
Then RIGHT CLICK on the Row and click on <Exclude>
Click on how many roes you need to exclude and finally click on <Save> on bottom left.

go on the chart you want and right click on "Reload All Historical Data".

DONE
Hope this could be useful for someone.

Follow me on Twitter Started this thread Reply With Quote
  #7 (permalink)
 
runner's Avatar
 runner 
Milan, Italy
 
Experience: Intermediate
Platform: Overcharts,NinjaT, StoneX
Broker: Rithmic, StoneXain
Trading: CL Futures, Cme, Eurex
Posts: 272 since Nov 2010
Thanks Given: 633
Thanks Received: 1,479

FIND A SOLUTION!!!
II go to Tools->Historical data manager
than <Edit> and select the Instrument you want to edit (ES for me)
Go on <Last><Minute><february2011> and select the day I want to edit
Then RIGHT CLICK on the Row and click on <Exclude>
Click on how many roes you need to exclude and finally click on <Save> on bottom left.

go on the chart you want and right click on "Reload All Historical Data".

DONE
Hope this could be useful for someone.

Follow me on Twitter Started this thread Reply With Quote
  #8 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271


runner View Post
FIND A SOLUTION!!!
II go to Tools->Historical data manager
than <Edit> and select the Instrument you want to edit (ES for me)
Go on <Last><Minute><february2011> and select the day I want to edit
Then RIGHT CLICK on the Row and click on <Exclude>
Click on how many roes you need to exclude and finally click on <Save> on bottom left.

go on the chart you want and right click on "Reload All Historical Data".

DONE
Hope this could be useful for someone.

well i wouldnt do that. i would rather make a Custom bartype file. a single code like below would do the job.

if (time.compareto(startdate) >= 0 && time.compareto(enddate) < 0) return;

you can add as many time frame. the only limitations will be one has to hardcode everything.

Reply With Quote
  #9 (permalink)
 
runner's Avatar
 runner 
Milan, Italy
 
Experience: Intermediate
Platform: Overcharts,NinjaT, StoneX
Broker: Rithmic, StoneXain
Trading: CL Futures, Cme, Eurex
Posts: 272 since Nov 2010
Thanks Given: 633
Thanks Received: 1,479

could you please give/send me more info?

thanks

Follow me on Twitter Started this thread Reply With Quote
  #10 (permalink)
 bukkan 
Calcutta, India
 
Experience: Intermediate
Platform: ArthaChitra
Posts: 278 since Jun 2009
Thanks Given: 161
Thanks Received: 271


in the type folder (typically that would be in <My Documents>\NinjaTrader 7\bin\Custom\Type\) look for the @BarTypes.cs file. now NT lets you to build custom bar types (search futures.io (formerly BMT) or Ninja support forum). you can get some idea. but do remember its a bit internal to NT's so you should be knowing what you are doing.

Reply With Quote




Last Updated on February 22, 2011


© 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