Multi timeframe programming in Easylanguage - futures io
futures io futures trading



Multi timeframe programming in Easylanguage


Discussion in EasyLanguage Programming

Updated by ABCTG
      Top Posters
    1. looks_one chisound with 5 posts (5 thanks)
    2. looks_two buylosellhi with 4 posts (0 thanks)
    3. looks_3 ABCTG with 2 posts (0 thanks)
    4. looks_4 evelina with 1 posts (0 thanks)
    1. trending_up 11,550 views
    2. thumb_up 5 thanks given
    3. group 5 followers
    1. forum 13 replies
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Multi timeframe programming in Easylanguage

(login for full post details)
  #1 (permalink)
new york
 
Experience: None
Platform: SierraChart
 
Posts: 63 since Dec 2010
Thanks: 1 given, 32 received

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.

Reply With Quote

Can you help answer these questions
from other members on futures io?
Want to Go With Futures
Emini and Emicro Index
Horizontal Line Indicator
Platforms and Indicators
Need a near crosses scan help for TOS
ThinkOrSwim
Looking freelancer for MT4 Indicator
Platforms and Indicators
Times and Sales more data to be displayed
TradeStation
 
 
(login for full post details)
  #3 (permalink)
Chicago, IL USA
 
Experience: Advanced
Platform: Multicharts
Broker: TT and IQFeed
Trading: 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),

Reply With Quote
 
(login for full post details)
  #4 (permalink)
Chicago, IL USA
 
Experience: Advanced
Platform: Multicharts
Broker: TT and IQFeed
Trading: 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.

Reply With Quote
The following 4 users say Thank You to chisound for this post:
 
(login for full post details)
  #5 (permalink)
new york
 
Experience: None
Platform: SierraChart
 
Posts: 63 since Dec 2010
Thanks: 1 given, 32 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

Reply With Quote
 
(login for full post details)
  #6 (permalink)
Chicago, IL USA
 
Experience: Advanced
Platform: Multicharts
Broker: TT and IQFeed
Trading: 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.

Reply With Quote
 
(login for full post details)
  #7 (permalink)
new york
 
Experience: None
Platform: SierraChart
 
Posts: 63 since Dec 2010
Thanks: 1 given, 32 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....

Reply With Quote
 
(login for full post details)
  #8 (permalink)
Chicago, IL USA
 
Experience: Advanced
Platform: Multicharts
Broker: TT and IQFeed
Trading: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received

here you go......

Attached Thumbnails
Click image for larger version

Name:	MC1.jpg
Views:	269
Size:	59.7 KB
ID:	49978   Click image for larger version

Name:	MC2.jpg
Views:	287
Size:	83.5 KB
ID:	49979   Click image for larger version

Name:	MC3.jpg
Views:	224
Size:	71.2 KB
ID:	49980  
Reply With Quote
The following user says Thank You to chisound for this post:
 
(login for full post details)
  #9 (permalink)
new york
 
Experience: None
Platform: SierraChart
 
Posts: 63 since Dec 2010
Thanks: 1 given, 32 received

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

Reply With Quote
 
(login for full post details)
  #10 (permalink)
Chicago, IL USA
 
Experience: Advanced
Platform: Multicharts
Broker: TT and IQFeed
Trading: ES
 
Posts: 6 since Apr 2010
Thanks: 3 given, 5 received


I am using Multicharts 7

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Multi timeframe programming in Easylanguage


May 28, 2018


Upcoming Webinars and Events
 

Dealing with burnout w/Linda Bradford Raschke

Elite only
     



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