data series (timeframe) optimization - TradeStation | futures io social day trading
futures io futures trading


data series (timeframe) optimization
Updated: Views / Replies:1,248 / 13
Created: by balucang Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

data series (timeframe) optimization

  #1 (permalink)
Trading Apprentice
Perugia/italy
 
Futures Experience: Advanced
Platform: Ninja Trader
Favorite Futures: ES
 
Posts: 2 since Nov 2013
Thanks: 0 given, 0 received

data series (timeframe) optimization

Hi,
I've recently moved from Ninja to Trade Station mainly because of the Walk Forward Optimizer. Is there a way to optimise the time frame in Tradestaion? It was possible in Ninja with the option "Optimize Data Series" but I am not able to find anything similar in TS.

thanks

Reply With Quote
 
  #2 (permalink)
Elite Member
Seattle
 
Futures Experience: Intermediate
Platform: MultiCharts 10
Broker/Data: InteractiveBrokers, IQFeed
Favorite Futures: ES
 
Posts: 46 since Nov 2015
Thanks: 18 given, 2 received

Any update on this, anyone have a suggestion?

I'm thinking an array but not sure how it might look.

GuppyDRV

Reply With Quote
 
  #3 (permalink)
 Vendor: www.orderflowdashpro.com 
North Carolina
 
Futures Experience: Beginner
Platform: NinjaTrader, Tradestation
Favorite Futures: es
 
Posts: 386 since Nov 2011
Thanks: 118 given, 367 received


You would add the series on the same chart. You would need to also change a multiplier for calculation of lookbacks. The other option would be to just load several charts or you could analyze the series for spectral or other qualities you wanted beforehand and not include in the optimization process. If you could created a variable and switched the data series it might be possible, something like this but it probably won't work as-is:


 
Code
variables: timeSeries(0), frequency(1); //optimize 0..3

if timeseries=0 then dataSeries = close of data2;
if timeseries=1 then dataSeries = close of data3;
if timeseries=2 then dataSeries = close of data4;
if timeseries=3 then dataSeries = close of data5;


if timeseries=0 then frequency = 1;
if timeseries=1 then frequency = 1*5;
if timeseries=2 then frequency = 1*10;
if timeseries=3 then frequency = 1*15;

Reply With Quote
 
  #4 (permalink)
Elite Member
Seattle
 
Futures Experience: Intermediate
Platform: MultiCharts 10
Broker/Data: InteractiveBrokers, IQFeed
Favorite Futures: ES
 
Posts: 46 since Nov 2015
Thanks: 18 given, 2 received

I'm thinking same sort of thing. I tried setting up Vars: no luck so I thought maybe an array. Not sure how the frequency plays in I'll have to think on that some.

I'll post my idea code when I hit my computer I'm on the iPad now.

GuppyDRV

Reply With Quote
 
  #5 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,529 since Apr 2013
Thanks: 230 given, 854 received
Forum Reputation: Legendary

GuppyDRV,

it might be possible using the Optimization API, by using price series providers or ADE (All Data Everywhere), too. At least this seems worth exploring.
However these solutions are not out of the box and will all require coding and changes to your strategy or in case of the Optimization API separate code
that handles the task.

Regards,

ABCTG


Last edited by ABCTG; January 30th, 2017 at 04:20 AM.
Reply With Quote
 
  #6 (permalink)
Elite Member
Seattle
 
Futures Experience: Intermediate
Platform: MultiCharts 10
Broker/Data: InteractiveBrokers, IQFeed
Favorite Futures: ES
 
Posts: 46 since Nov 2015
Thanks: 18 given, 2 received

I have not thought of the API and would need to learn more about it as I have know experience in that regard.

I was thinking............... maybe I'm over thinking this and set up the following code. It compiles and works but I'm not sure yet if the output is actually what I'm looking for.


So.......................I just set up some inputs and initialized the Var as an Integer plugging the input into the formula. I set up the instruments on the chart with 1-7 as the series with each set to a new time period 1-6 minutes. The input will only reference the instrument number so you have to keep that in mind.

1...................1 Minute
2...................2 Minute
3...................3 Minute
Etc.........

So what do you think am I getting a simple solution to optimize on data series?

Inputs:
LongSideET (10),
ShortSideET (10),
DatSerEnt (1); //So this is the input for data series

Vars:
LTradeET (0),
STradeET (0),
timeFilter (false);

LTradeET = //PLace Moving Av here(close data (DatSerEnt), LongSideET);
STradeET = //Place Moving Av here(close data (DatSerEnt), ShortSideET);
timeFilter = time >= 0830 and time < 1500;

If (timeFilter) Then Begin
if marketposition = 0 then begin

//Enter Strategy code here

GuppyDRV


Last edited by GuppyDRV; January 30th, 2017 at 11:29 PM. Reason: Had an Extra Var I forgot to remove
Reply With Quote
 
  #7 (permalink)
Elite Member
Seattle
 
Futures Experience: Intermediate
Platform: MultiCharts 10
Broker/Data: InteractiveBrokers, IQFeed
Favorite Futures: ES
 
Posts: 46 since Nov 2015
Thanks: 18 given, 2 received

So its doing something I'm just not yet sure what?

GuppyDRV

Reply With Quote
 
  #8 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,529 since Apr 2013
Thanks: 230 given, 854 received
Forum Reputation: Legendary

GuppyDRV,

keep in mind that the results you get with your approach are based on your computations executed on the Data1 interval, too. Having said that the results would be different comparing them to a strategy that you just run on Data1 and change the interval for that data stream manually - unless you make sure that you only execute your code at the end of each interval you are currently "optimizing".

I would suggest to use different variables for each datastream and tie them to the respective datastream, too. Then you'll likely have to debug your code and check if the values your signals uses with your code are actually the ones that you have in mind.

Regards,

ABCTG

Reply With Quote
 
  #9 (permalink)
 Vendor: www.orderflowdashpro.com 
North Carolina
 
Futures Experience: Beginner
Platform: NinjaTrader, Tradestation
Favorite Futures: es
 
Posts: 386 since Nov 2011
Thanks: 118 given, 367 received

What about using Portfolio Maestro for this? It might be an option.

Reply With Quote
 
  #10 (permalink)
Elite Member
Seattle
 
Futures Experience: Intermediate
Platform: MultiCharts 10
Broker/Data: InteractiveBrokers, IQFeed
Favorite Futures: ES
 
Posts: 46 since Nov 2015
Thanks: 18 given, 2 received


@tpredictor
@ABCTG

ABCTG, I think you're spot on! I'm getting fills but they are not on the DataSeries I have iterated on. They might be filling on the one minute chart but have not verified that.

Tpredictor, I have tried setting up the Vars as suggested but am not having any luck. My skills aren't there yet. I originally thought an array but I keep getting stuck on the same issue of how do populate the actual close data of each bar for each data(n).

ABCTG, I think I get where you're going and appreciated the analysis. Do you have a resource or reference to an easy language source that would teach me how to achieve what your suggesting? Only one way to learn, ask the questions then do the work!

GuppyDRV

Reply With Quote

Reply



futures io > > > > data series (timeframe) optimization

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
CTA - Series 3, Series 7, Series 9, Series 10, Series 56 NASD exams certifications Big Mike Traders Hideout 41 January 15th, 2015 10:27 AM
2nd Data Series Problem nismo EasyLanguage Programming 7 September 8th, 2011 10:30 AM
TF Data Series tderrick Emini Index Futures Trading 7 July 31st, 2011 01:30 PM
sensitivity multi-timeframe trick (small timeframe on bigger one) SARdynamite NinjaTrader Programming 4 July 15th, 2010 03:57 PM
_ADXVMA_Alerts_v01_5 data series ryohkyo NinjaTrader Programming 5 March 6th, 2010 12:28 AM


All times are GMT -4. The time now is 12:20 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-13 in 0.12 seconds with 19 queries on phoenix via your IP 54.221.93.187