NexusFi: Find Your Edge


Home Menu

 





Using 2 different datasets: entry on Daily, manage on 1 minute


Discussion in NinjaTrader

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




 
Search this Thread

Using 2 different datasets: entry on Daily, manage on 1 minute

  #1 (permalink)
 
spinnybobo's Avatar
 spinnybobo 
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
Posts: 173 since Aug 2009
Thanks Given: 105
Thanks Received: 61

Hello,

I know it is possible to do this since anything is possible in C#, however, I dont know how hard it would be or how accurate the results.
Basically I am developing a trading strategy in which I enter off of the Daily Chart---a simple entry with a moving average and perhaps a CCI and RSI, etc..
Then, I wanted to be able to manage my position. So, I wanted to then move to the 1 minute chart since Ninja Trader does not allow you to look intraBar like I heard Multicharts does.

So, when I think about having 3 CSV files: daily data, 1 minute data, and currentPosition.csv, it makes sense---I have not done it yet, but it seems easier to not use Ninja.
However, when I think about NinjaTrader, I seem to get a little lost since we are dealing with other things like the chart and functions involved with that.

I obviously wanted to show a picture, so I would like to do it in NinjaTrader. Does anybody have any ideas?
thanks
Spencer

Follow me on Twitter Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
ZombieSqueeze
Platforms and Indicators
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
REcommedations for programming help
Sierra Chart
 
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


spinnybobo View Post
Hello,

I know it is possible to do this since anything is possible in C#, however, I dont know how hard it would be or how accurate the results.
Basically I am developing a trading strategy in which I enter off of the Daily Chart---a simple entry with a moving average and perhaps a CCI and RSI, etc..
Then, I wanted to be able to manage my position. So, I wanted to then move to the 1 minute chart since Ninja Trader does not allow you to look intraBar like I heard Multicharts does.

So, when I think about having 3 CSV files: daily data, 1 minute data, and currentPosition.csv, it makes sense---I have not done it yet, but it seems easier to not use Ninja.
However, when I think about NinjaTrader, I seem to get a little lost since we are dealing with other things like the chart and functions involved with that.

I obviously wanted to show a picture, so I would like to do it in NinjaTrader. Does anybody have any ideas?
thanks
Spencer

You can just code a strategy in NinjaTrader. The strategy can either be used for automated entries and exits, or alternatively, if you prefer manual execution to plot the entry and exit signals on your chart and/or to trigger sound alerts.

Reply With Quote
Thanked by:
  #3 (permalink)
 
spinnybobo's Avatar
 spinnybobo 
Crete, IL/USA
 
Experience: Intermediate
Platform: NinjaTrader, Mt4
Broker: Tradestation/Tradestation, NinjaTrader, FXCM and Tallinex
Trading: ES, CL, EUR/USD, TF
Posts: 173 since Aug 2009
Thanks Given: 105
Thanks Received: 61



Fat Tails View Post
You can just code a strategy in NinjaTrader. The strategy can either be used for automated entries and exits, or alternatively, if you prefer manual execution to plot the entry and exit signals on your chart and/or to trigger sound alerts.

thanks Fat Tails, but this is mostly for testing so I can't do it manually. I would like to code it in Ninja, however, not sure how it would work out since I am dealing with 2 different time frames----the daily for entry, and the 1min for exit----because the exit is based on price and not close of bar, so the price can occur inside the bar.

so, not sure how to do this.

thanks
Spencer

Follow me on Twitter Started this thread Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


spinnybobo View Post
thanks Fat Tails, but this is mostly for testing so I can't do it manually. I would like to code it in Ninja, however, not sure how it would work out since I am dealing with 2 different time frames----the daily for entry, and the 1min for exit----because the exit is based on price and not close of bar, so the price can occur inside the bar.

so, not sure how to do this.

thanks
Spencer

If you are running a strategy real-time, the daily timeframe is critical, as you will not get daily data just-in-time, but with a delay. I would calculate daily data from intraday data, by using the appropriate session template. That way I would load a single 1-min bar series into my strategy.

You can achieve intrabar execution by loading a second bar series, say a 10-tick bar series. But this will take quite some resources, if you are running a backtest. It really depends on what you want to do.

Reply With Quote
Thanked by:




Last Updated on February 13, 2012


© 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