Coding an daily indicator on a intraday chart - EasyLanguage Programming | futures io social day trading
futures io futures trading


Coding an daily indicator on a intraday chart
Updated: Views / Replies:5,127 / 18
Created: by johni 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
 

Coding an daily indicator on a intraday chart

  #1 (permalink)
Trading Apprentice
canada
 
Futures Experience: Master
Platform: ts
Favorite Futures: stock
 
Posts: 29 since Jun 2011
Thanks: 0 given, 0 received

Coding an daily indicator on a intraday chart

How to code an daily indicator on an intraday chart

Want to code a daily moving average and daily stardard deviation and put on an intraday chart

Reply With Quote
 
  #2 (permalink)
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.

 
  #3 (permalink)
Fortitudo et Honor
Austin, TX
 
Futures Experience: Advanced
Platform: TradeStation
Favorite Futures: Futures
 
Posts: 882 since Mar 2011
Thanks: 128 given, 703 received



johni View Post
How to code an daily indicator on an intraday chart

Want to code a daily moving average and daily stardard deviation and put on an intraday chart

You'll have to use 1440 minutes on an intraday chart.

If you're wanting to plot the values on a smaller time frame chart, you'll have to develop items in the global dictionary and then plot them using an indicator that references them.

"A dumb man never learns. A smart man learns from his own failure and success. But a wise man learns from the failure and success of others."
Reply With Quote
 
  #4 (permalink)
Trading Apprentice
canada
 
Futures Experience: Master
Platform: ts
Favorite Futures: stock
 
Posts: 29 since Jun 2011
Thanks: 0 given, 0 received

Require a dll on the global directory?

Do you have some daily indicator for intraday chart?

Reply With Quote
 
  #5 (permalink)
Learn to swim
Salt Lake City, Utah
 
Futures Experience: Intermediate
Platform: NinjaTrader, Tradestation
Favorite Futures: Forex
 
Posts: 72 since Feb 2011
Thanks: 274 given, 36 received

You can always add multiple data streams to the chart and recode the indicator to reference the larger timeframe datastream for variables and calculations. Here is a very simple example of an exponential moving average function that is calculated on datastream 2:

inputs:
Length(numericsimple);

vars:
Xavg2(0,Data2);

Xavg2=xaverage(close data2,Length)Data2;

$xavg2=Xavg2;

Reply With Quote
 
  #6 (permalink)
Elite Member
Newcastle, Australia
 
Futures Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker/Data: IB
Favorite Futures: SPI,FTSE100, 6E, 6A
 
Posts: 285 since Oct 2010
Thanks: 108 given, 177 received


SammyD View Post

$xavg2=Xavg2;

Hi,

Whats the $... bit for?

Neil.

Reply With Quote
 
  #7 (permalink)
Learn to swim
Salt Lake City, Utah
 
Futures Experience: Intermediate
Platform: NinjaTrader, Tradestation
Favorite Futures: Forex
 
Posts: 72 since Feb 2011
Thanks: 274 given, 36 received

Perhaps the above example wasn't a good one because it is a function. The $ is simply an identifier that I use to distinguish items I've coded so that they will stand out in a directory from the default functions/indicators/strategies etc. For instance, TS may come out of the box with a function named "Average". If I coded my own version of this function, I would name it "$Average" to set it apart from the default name. I hope that makes sense. If, on the other hand, you are asking what the statement does, it is a necessary requirement of all functions to have this line, typically at the bottom. With all of that said, here is, perhaps, an easier example of "aliasing". This is the official term for coding multiple data streams into an indicator/function/strategy. All prices, variables, and function calls should be explicitly aliased to a data stream

inputs:
FastMALen( 5 );

variables:
FastMA( 0, Data2 );

FastMA = Average( Close of Data2, FastMALen ) of Data2 ;

Of course, to make this an indicator, simply add a "plot" statement.


Last edited by SammyD; March 15th, 2012 at 02:12 PM.
Reply With Quote
 
  #8 (permalink)
Elite Member
Canberra
 
Futures Experience: Beginner
Platform: MultiCharts
Favorite Futures: AUD/USD
 
Posts: 31 since Mar 2012
Thanks: 23 given, 22 received


johni View Post
How to code an daily indicator on an intraday chart

Want to code a daily moving average and daily stardard deviation and put on an intraday chart

I did this fairly simply by using CloseD, OpenD etc instead of Close in the indicator. I don't think these EL functions are documented by Multicharts but they work.

 
Code
var0 = XAverage(CloseD,50);

Reply With Quote
The following 2 users say Thank You to BenosBanderos for this post:
 
  #9 (permalink)
Trading Apprentice
grandiose
 
Futures Experience: Intermediate
Platform: Multicharts
 
Posts: 34 since Aug 2010
Thanks: 5 given, 6 received


BenosBanderos View Post
I did this fairly simply by using CloseD, OpenD etc instead of Close in the indicator. I don't think these EL functions are documented by Multicharts but they work.

 
Code
var0 = XAverage(CloseD,50);

Maybe that works in an indicator, but at least in a signal I cannot use this:
 
Code
 LinearRegAngle(LowD, 9)
So have to add the 1440min dataseries.

Reply With Quote
 
  #10 (permalink)
Elite Member
Canberra
 
Futures Experience: Beginner
Platform: MultiCharts
Favorite Futures: AUD/USD
 
Posts: 31 since Mar 2012
Thanks: 23 given, 22 received



nikke View Post
in a signal I cannot use this:
 
Code
 LinearRegAngle(LowD, 9)

Why not? Are you getting an error in when compiling? What is it?

Reply With Quote

Reply



futures io > > > > > Coding an daily indicator on a intraday chart

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
Intraday indicator using daily ans weekly datas nunoonline EasyLanguage Programming 8 February 17th, 2014 04:11 PM
murrey math indciator for daily chart mwpowers NinjaTrader 4 February 21st, 2013 07:10 AM
daily ES volume chart ceramictilepro NinjaTrader 2 September 25th, 2010 05:13 AM
coding for beginners : Text + Value-Boxes in your chart max-td NinjaTrader Programming 5 January 14th, 2010 07:56 AM
Daily chart in NinjaTrader with Zen Fire emini_Holy_Grail Reviews of Brokers and Data Feeds 3 January 4th, 2010 03:28 PM


All times are GMT -4. The time now is 03:10 PM.

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.163.209.109