Multiple time frames - MultiCharts | futures io social day trading
futures io futures trading


Multiple time frames
Updated: Views / Replies:720 / 6
Created: by shamanov 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 100,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
 

Multiple time frames

  #1 (permalink)
Toronto Canada
 
 
Posts: 9 since Jan 2018
Thanks: 5 given, 1 received

Multiple time frames

I'm trying to use multiple time frames in my signal; All functions in the signal use the primary time frame but one function uses an secondary time frame on the same symbol. I've set up the secondary time frame in the format instruments but was wondering how to get this one function within the signal to use the secondary time frame. Do I need to set up the secondary time frame in the signal or do I do this in the function code. If so how can I do this. I understand that this code:
BarsOfData(2).Close[0] will utilize second time frame in relation to price but how can I get the function to use BarsOfData(2).

Reply With Quote
 
  #2 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,084 since Apr 2013
Thanks: 375 given, 1,338 received

shamanov,

you need to tie functions to their respective data streams. This should get you going: https://www.multicharts.com/discussion/viewtopic.php?f=19&t=45848&p=100792&hilit=data2#p100792.

Regards,

ABCTG

Follow me on Twitter Visit my Facebook Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #3 (permalink)
Toronto Canada
 
 
Posts: 9 since Jan 2018
Thanks: 5 given, 1 received


I have my second chart hidden using a different time frame but same instrument, and I have a function trying to utilize this second time frame on the hidden chart will this function code utilize the second chart/data stream:

using System;

namespace PowerLanguage.Function
{
public class funciton : FunctionSimple<Double>
{
private sum m_summationfc1;



public funciton(CStudyControl ctx) :
base(ctx) {}

public funciton(StudyControl ctx, int data_stream) :
base(ctx, data_stream) {}

public ISeries<Double> price { get; set; }

public Int32 length { get; set; }


protected override void Create(){
m_summationfc1 = new sum(this);
int data_stream = 2;


}

protected override void StartCalc(){


}


protected override double CalcBar(){
return m_summationfc1[0] / 2;
}
}
}

Reply With Quote
 
  #4 (permalink)
Toronto Canada
 
 
Posts: 9 since Jan 2018
Thanks: 5 given, 1 received

Are the 2 parameters of this function [this.TrueRangeSeries();] time and data stream. Would this function function use 30 minute time frame and second data stream:

this.TrueRangeSeries(30, 2);]

Reply With Quote
 
  #5 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,084 since Apr 2013
Thanks: 375 given, 1,338 received

shamanov,

I don't think that you set the time frame with the input, as it's determined by the data stream (which is the second parameter). The first one is most likely bars back, although I'd suggest to test this so you are sure.

Regards,

ABCTG


shamanov View Post
Are the 2 parameters of this function [this.TrueRangeSeries();] time and data stream. Would this function function use 30 minute time frame and second data stream:

this.TrueRangeSeries(30, 2);]


Follow me on Twitter Visit my Facebook Reply With Quote
The following user says Thank You to ABCTG for this post:
 
  #6 (permalink)
W.Coast, USA.
 
Trading Experience: Intermediate
Platform: Anything
Favorite Futures: Emini
 
Posts: 54 since Jul 2017
Thanks: 13 given, 35 received


ABCTG View Post
shamanov,

I don't think that you set the time frame with the input, as it's determined by the data stream (which is the second parameter). The first one is most likely bars back, although I'd suggest to test this so you are sure.

Regards,

ABCTG


are you able to access barsofdata(2) on a per tick basis when backtesting? I think the bar magnifier only applies to barsofdata(1), so even if you set the resolution to 1 tick, barsofdata(2) will always be on close or OHLC.

Reply With Quote
 
  #7 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Trading Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 2,084 since Apr 2013
Thanks: 375 given, 1,338 received

Arch,

that's correct when it comes to the bar magnifier or intra bar computations on higher data streams.

Regards,

ABCTG


Arch View Post
are you able to access barsofdata(2) on a per tick basis when backtesting? I think the bar magnifier only applies to barsofdata(1), so even if you set the resolution to 1 tick, barsofdata(2) will always be on close or OHLC.


Follow me on Twitter Visit my Facebook Reply With Quote

Reply



futures io > > > > Multiple time frames

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
 

Show us your trading desks and win over $5,000 in prizes w/Jigsaw Trading

September
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple time frames in one indicator Donovan2580 EasyLanguage Programming 2 October 4th, 2016 05:27 AM
Multiple Time Frames jkinneberg NinjaTrader Programming 17 March 21st, 2015 07:42 PM
One buy signal from multiple time frames smolarek NinjaTrader 0 March 9th, 2015 11:33 PM
Trading using multiple time frames in Multicharts bondstrader MultiCharts 5 September 26th, 2014 08:22 AM
multiple time frames shanemcdonald28 NinjaTrader Programming 2 March 2nd, 2014 06:20 PM


All times are GMT -4. The time now is 06:03 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 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