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


data series (timeframe) optimization
Updated: Views / Replies:1,258 / 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

  #11 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

GuppyDRV,

legacy EasyLanguage orders will (and can) only be executed on Data1. If your data1 is a one minute chart, you'd get fills on the one minute data, too.

These links can provide a start (even though some of them are for Multicharts, the logic dealt with in these links applies to TS, too):

https://www.multicharts.com/trading-software/index.php/Variable
https://futures.io/multicharts/37738-standard-deviation-data2.html
https://futures.io/easylanguage-programming/6917-powerlanguage-multi-time-frames.html

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #12 (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

@ABCTG

Thanks for the heads up reply. I'll take a look tomorrow after morning trading, I'm Pacific time. Looks like some homework for me.

GuppyDRV

Reply With Quote
 
  #13 (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


@ABCTG

O.K. so I think I get the idea of assigning the DataStream but am still not sure if I'm on the right track. This is my stab at it so far. It compiles but I'm still seeing trades all over the place. Data1 is still a I minute chart so I'm guessing I have not set the streams correctly. I took a look at the page with the code for FundValue (Function) etc.... but am still not completely certain of how. Once I get this ironed out I'm guessing that I can just sub an Input into the formula......... LTradeET (0, data(Input 1)) in order to have the ability of optimizing different time periods.

Inputs:
LongSide (10),
ShortSide (10);

Vars:
LTradeET (0, data3),
LTradeEX (0, data5),
STradeET (0, data3),
STradeEX (0, data5);

LTradeET = //Place logic here(close, LongSide) data3;
LTradeEX = //Place logic here(close, LongSide) data5;
STradeET = //Place logic here(close, ShortSide) data3;
STradeEX = //Place logic here(close, ShortSide) data5;

Thanks again and any help is always appreciated. I enjoy the learning process.

GuppyDRV


Last edited by GuppyDRV; February 1st, 2017 at 08:06 PM. Reason: change syntax
Reply With Quote
 
  #14 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

GuppyDRV,

you can't trade on any other stream as Data 1 with legacy EasyLanguage. This is outside of your control. What you can control is when you issue signals (at the end of a bar for a respective datastream for example), but the order will always be executed on Data 1.

I can't see the results you get, nor would the code snippet compile so I can't test things and only give you some pointers. From your snippet it appears you are using the Data 1 close in all your computations - not sure if this is what you intend and I can't say/see it if matters.

I would suggest that you start adding print statements to your code and that you turn it into an indicator to plot the values you compute. This will give you the chance to compare the values that your code comes up with versus the values that you expect (which you'd also compute and plot/print via an indicator).
Then you can investigate it further.

Regards,

ABCTG

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 09:50 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-17 in 0.10 seconds with 19 queries on phoenix via your IP 107.20.115.174