15 min and 60 min MA on 5 min chart - ThinkOrSwim | futures io social day trading
futures io futures trading

15 min and 60 min MA on 5 min chart
Updated: Views / Replies:2,280 / 3
Created: by SanSan Attachments:1

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

Thread Tools Search this Thread

15 min and 60 min MA on 5 min chart

  #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Emini ES
Posts: 1 since Dec 2015
Thanks: 0 given, 0 received

15 min and 60 min MA on 5 min chart

Hi, I am looking for a thinkorswim study for 60 min 20 bar EMA on 5 min chart.
In tradestation, the coding is as below;

Inputs: length(20);
If CurrentBar = 240 then Value1 = xaverage(C,240);
If CurrentBar >240 then begin
If Fracportion((time- -30)/100)= =0 or time =1315 then begin
value1 = =value1[1] + (2 / (Length+ 1))*( C - value1[1]);
Value2 = value1;
Plot1(value1, "60min 20EMA");
else begin
Value2 = value1 + (2 / (Length + 1 )) * ( C - value1[1]);
Plot1(value2, "60 min 20EMA");


Reply With Quote
  #2 (permalink)
1.Fibs 2.??? 3.Profit
Puerto Rico
Futures Experience: Intermediate
Platform: thinkorswim
Broker/Data: TD Ameritrade
Favorite Futures: ES
rmejia's Avatar
Posts: 384 since Oct 2010
Thanks: 3,597 given, 424 received

There is a built in study "DailySMA" that does this but only SMA. I edited that one to EMA; attached is the study.

input price = FundamentalType.CLOSE;
input aggregationPeriod = AggregationPeriod.DAY;
input length = 9;
input displace = 0;
input showOnlyLastPeriod = no;

plot DailyEMA;

if showOnlyLastPeriod and !IsNaN(close(period = aggregationPeriod)[-1]) {
    DailyEMA = Double.NaN;
} else {
    DailyEMA = ExpAverage(fundamental(price, period = aggregationPeriod)[-displace], length);


Attached Files
Register to download File Type: ts _DailyEMASTUDY.ts (528 Bytes, 33 views)
Reply With Quote
  #3 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Options
Posts: 5 since Jan 2016
Thanks: 0 given, 1 received

input price = close;
input displace = 0;
input length = 21;
input period = AggregationPeriod.FIFTEEN_MIN;
input averageType = AverageType.Simple;

plot MA = MovingAverage(averageType, close(period = period) [-displace], length = length);

Reply With Quote
The following user says Thank You to jjjann for this post:
  #4 (permalink)
Trading Apprentice
Ciudad de la costa
Futures Experience: None
Platform: Thinkorswim
Favorite Futures: Emini ES
Posts: 1 since May 2018
Thanks: 1 given, 0 received

Thanks! I wanted to show 2 moving averages so I adapted the code learning from other examples. Hope it helps someone else:

input price = close;
input displace = 0;
input length1 = 200;
input length2 = 100;
input period = AggregationPeriod.DaY;
input averageType = AverageType.Simple;

plot MA1 = MovingAverage(averageType, close(period = period) [-displace], length = length1);

plot MA2 = MovingAverage(averageType, close(period = period) [-displace], length = length2);

Reply With Quote


futures io > > > > 15 min and 60 min MA on 5 min chart

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing Data on 60 min chart? sudhirc NinjaTrader 1 February 24th, 2015 05:06 AM
Creating a 20 period EMA of a 60 min chart in a 5 min chart. CapeDR NinjaTrader 7 May 23rd, 2014 03:37 AM
Murrey Math in 60 min sam028 NinjaTrader 7 September 18th, 2012 01:41 PM
how can a lay a 5 min prc chart on 1 min chart for ninjatrader 7 optimus prime NinjaTrader 2 May 18th, 2011 06:14 PM
alert works on 1-min, but not on 60-min epictetus EasyLanguage Programming 2 May 9th, 2011 02:06 PM

All times are GMT -4. The time now is 11:59 AM.

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-05-27 in 0.06 seconds with 19 queries on phoenix via your IP