Multi timeframe programming in Easylanguage - EasyLanguage Programming | futures io social day trading
futures io futures trading


Multi timeframe programming in Easylanguage
Updated: Views / Replies:9,436 / 13
Created: by buylosellhi Attachments:3

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

 
 3  
 
Thread Tools
 

Multi timeframe programming in Easylanguage

 
Elite Member
new york
 
Futures Experience: Beginner
Platform: Ninjatrader
Favorite Futures: ES
 
Posts: 41 since Dec 2010
Thanks: 1 given, 5 received

Multi timeframe programming in Easylanguage

Hi,
Can someone please help me with how to program a multi timeframe indicator in Easylanguage. specifically, I want to take a larger chart and display an indicator on that onto a smaller chart. For eg, a 20-EMA on 10-tick Range chart displayed on 5-tick range chart.
I'd greatly appreciate some example code, if possible.
Many thanks in advance.

 
 
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
 
Elite Member
Chicago, IL USA
 
Futures Experience: Advanced
Platform: Multicharts
Broker/Data: TT and IQFeed
Favorite Futures: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received


First you need to set up 2 data series on a chart. The base data series should be the one you want to view, ie 5 tick range chart in your case. You can make the second data series invisible in the Style tab of the Format Instrument dialog box of the second data series ( 10 tick range bar in your case ). Then use the following code. Data1 in the code is your 5 tick range bar and Data2 in the code is your 10 tick range bar. The following example plots the 20 bar EMA of the 5 tick range bar and the 10 tick range bar on the 5 tick range bar chart.

Inputs: Price(Close),
Len(20);

Variables: ema1(0,data1),

 
 
Elite Member
Chicago, IL USA
 
Futures Experience: Advanced
Platform: Multicharts
Broker/Data: TT and IQFeed
Favorite Futures: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received

sorry messed up on my post accidentally Here we go.

First you need to set up 2 data series on a chart. The base data series should be the one you want to view, ie 5 tick range chart in your case. You can make the second data series invisible in the Style tab of the Format Instrument dialog box of the second data series ( 10 tick range bar in your case ). Then use the following code. Data1 in the code is your 5 tick range bar and Data2 in the code is your 10 tick range bar. The following example plots the 20 bar EMA of the 5 tick range bar and the 10 tick range bar on the 5 tick range bar chart.

 
Code
Inputs:  Price(Close),
           Len(20);

Variables:   ema1(0,data1),
                ema2(0,data2);

ema1 = XAverage(Price,Len) of data1;
ema2 = XAverage(Price,Len) of data2;

Plot1(ema1,"5tickEMA");
Plot2(ema2,"10tickEMA");
That should do it.

The following 4 users say Thank You to chisound for this post:
 
 
Elite Member
new york
 
Futures Experience: Beginner
Platform: Ninjatrader
Favorite Futures: ES
 
Posts: 41 since Dec 2010
Thanks: 1 given, 5 received

hi chisound, thanks for your reply. I did try that but Range/Renko charts are not supported in multi-series charting. I think this may have to be done programmatically using pushpop.dll or global variables etc, but I'm not very comfortable with that and would need some help. thanks again

 
 
Elite Member
Chicago, IL USA
 
Futures Experience: Advanced
Platform: Multicharts
Broker/Data: TT and IQFeed
Favorite Futures: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received

I use Range charts myself with multiple data series with no problems. When i say "Range Chart" what I mean is I set the Instrument chart type to Regular and the Resolution to x Point to set it to a Range Chart. That works really well. I have verified values for multiple data series and they are correct.

 
 
Elite Member
new york
 
Futures Experience: Beginner
Platform: Ninjatrader
Favorite Futures: ES
 
Posts: 41 since Dec 2010
Thanks: 1 given, 5 received

chisound, thanks for your reply. i'm afraid i'm not able to follow you. could you pls post a screenshot of your settings ? I cant seem to do what you've outlined in your post. thanks in advance....

 
 
Elite Member
Chicago, IL USA
 
Futures Experience: Advanced
Platform: Multicharts
Broker/Data: TT and IQFeed
Favorite Futures: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received

here you go......

Attached Thumbnails
Multi timeframe programming in Easylanguage-mc1.jpg   Multi timeframe programming in Easylanguage-mc2.jpg   Multi timeframe programming in Easylanguage-mc3.jpg  
The following user says Thank You to chisound for this post:
 
 
Elite Member
new york
 
Futures Experience: Beginner
Platform: Ninjatrader
Favorite Futures: ES
 
Posts: 41 since Dec 2010
Thanks: 1 given, 5 received

hi chisounds, thanks for your reply. what platform are you using ? is this tradestation ? looks nothing like mine....

 
 
Elite Member
Chicago, IL USA
 
Futures Experience: Advanced
Platform: Multicharts
Broker/Data: TT and IQFeed
Favorite Futures: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received


I am using Multicharts 7


 



futures io > > > > > Multi timeframe programming in Easylanguage
Thread Tools



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

September Journal Challenge (sponsored by TopstepTrader)

September

Battlestations! Win $947 in prizes for showing us your trading desk!

October
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
NT Multi Timeframe and multi indicator review eurostoxx NinjaTrader 3 August 29th, 2011 12:07 PM
Multi Timeframe Price Indicator michaelf NinjaTrader 1 March 17th, 2011 12:07 PM
Multi Timeframe EMA indicator kulu NinjaTrader Programming 3 November 14th, 2010 05:10 PM
Multi-Timeframe in a strategy max-td NinjaTrader Programming 30 July 22nd, 2010 12:35 PM
sensitivity multi-timeframe trick (small timeframe on bigger one) SARdynamite NinjaTrader Programming 4 July 15th, 2010 02:57 PM


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

Copyright © 2018 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 2018-10-20 in 0.14 seconds with 15 queries on phoenix