ROC on an EMA - ThinkOrSwim | futures io social day trading
futures io futures trading


ROC on an EMA
Updated: Views / Replies:1,185 / 6
Created: by ositokillao Attachments:2

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
 

ROC on an EMA

  #1 (permalink)
Elite Member
Miami FL/USA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: stocks
 
Posts: 21 since Feb 2015
Thanks: 0 given, 0 received

ROC on an EMA

Can anybody please, help me out here?

I am trying to set up the ROC of an EMA indicator.

I had a sample link where they use it but I can't post links yet.

Thank you.

Reply With Quote
 
  #2 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,218 since Jun 2009
Thanks: 628 given, 6,316 received
Forum Reputation: Legendary


ositokillao View Post
Can anybody please, help me out here?

I am trying to set up the ROC of an EMA indicator.

I had a sample link where they use it but I can't post links yet.

Thank you.

go to ROC setting and change its input to EMA, an example https://futures.io/elite-circle/1261-want-your-ninjatrader-indicator-created-free-1019.html#post406744

Reply With Quote
 
  #3 (permalink)
Elite Member
Miami FL/USA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: stocks
 
Posts: 21 since Feb 2015
Thanks: 0 given, 0 received




I already tried that but I can't add EMA to the Inputs scroll box?

Is that even possible?

Here is a working example of the ROC EMA indicator Iam trying to get going:

https://www.whselfinvest.com/en/trading_strategies_03_rocema.php

Reply With Quote
 
  #4 (permalink)
Market Wizard
virginia
 
Futures Experience: Intermediate
Platform: ninja
Favorite Futures: ES
 
cory's Avatar
 
Posts: 5,218 since Jun 2009
Thanks: 628 given, 6,316 received
Forum Reputation: Legendary

not sure what you mean, tale a look at this

Attached Thumbnails
ROC on an EMA-2015-02-02_1343.png   ROC on an EMA-2015-02-02_1349.png  

Last edited by cory; February 2nd, 2015 at 02:51 PM.
Reply With Quote
 
  #5 (permalink)
Elite Member
Miami FL/USA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: stocks
 
Posts: 21 since Feb 2015
Thanks: 0 given, 0 received


cory View Post
not sure what you mean, tale a look at this

yeah thats in NT

I am using TOS. I wish TOS would allow me to do something like that.

There must be a way ...

Reply With Quote
 
  #6 (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, 421 received

Is it something like this?

https://groups.yahoo.com/neo/groups/TOS_thinkscript/conversations/messages/16575


Quoting 
algoeric Jun 18, 2013

Here's my rendition of a rate of change script. Plots the rate of change for the 5 period and the 252 period with some EMA smoothing.

 
Code
# Rate of Change Script
    # Coded by Eric Rasmussen
    # ericrasmussentx@...

# Bullish
    # 252 day ROC crosses above 5 day ROC and the next day is        still above 5 day
# Bearish
    # 252 day ROC crosses below 5 day ROC and the next day is        still below 5 day

declare lower;

input smooth = 5;

def roc5day = 
ExpAverage(((close - close[4]) / close[4]) * 100, length = smooth);

def roc252day =
ExpAverage(((close - close[251]) / close[251]) * 100, length = smooth);

def crossUp = roc252day crosses above roc5day;
def crossDown = roc252day crosses below roc5day;

# Plots 
plot roc252 = roc252day;
roc252.AssignValueColor(if roc252day > roc5day then color.GREEN else color.RED);
roc252.SetPaintingStrategy(paintingStrategy.LINE);
roc252.SetLineWeight(1);

plot zero = if !IsNaN(close) then 0 else double.NaN;
zero.SetPaintingStrategy(PaintingStrategy.LINE);
zero.AssignValueColor(if roc252day > roc5day then color.GREEN else color.RED);
zero.SetLineWeight(2);
zero.HideTitle();

plot downCross = if crossDown[-1] then 0 else double.NaN;
downCross.SetPaintingStrategy(PaintingStrategy.POINTS);
downCross.AssignValueColor(color = Color.RED);
downCross.SetLineWeight(3);
downCross.HideTitle();

plot downCross2 = if crossDown[-1] then 0 else Double.NaN;
downCross2.SetPaintingStrategy(PaintingStrategy.POINTS);
downCross2.AssignValueColor(color = Color.WHITE);
downCross2.SetLineWeight(5);
downCross2.HideTitle();

plot upCross = if crossUp[-1] then 0 else Double.NaN;
upCross.SetPaintingStrategy(PaintingStrategy.POINTS);
upCross.AssignValueColor(color = color.GREEN);
upCross.SetLineWeight(3);
upCross.HideTitle();

plot upCross2 = if crossUp[-1] then 0 else Double.NaN;
upCross2.SetPaintingStrategy(PaintingStrategy.POINTS);
upCross2.AssignValueColor(color = Color.WHITE);
upCross2.SetLineWeight(5);
upCross2.HideTitle();

AddCloud(0, roc252day, color1 = color.RED, color2 = color.GREEN);
AddCloud(0, roc252day, color1 = color.RED, color2 = color.GREEN);

Reply With Quote
 
  #7 (permalink)
Elite Member
Miami FL/USA
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: stocks
 
Posts: 21 since Feb 2015
Thanks: 0 given, 0 received


rmejia View Post
Is it something like this?

https://groups.yahoo.com/neo/groups/TOS_thinkscript/conversations/messages/16575



 
Code
# Rate of Change Script
    # Coded by Eric Rasmussen
    # ericrasmussentx@...

# Bullish
    # 252 day ROC crosses above 5 day ROC and the next day is        still above 5 day
# Bearish
    # 252 day ROC crosses below 5 day ROC and the next day is        still below 5 day

declare lower;

input smooth = 5;

def roc5day = 
ExpAverage(((close - close[4]) / close[4]) * 100, length = smooth);

def roc252day =
ExpAverage(((close - close[251]) / close[251]) * 100, length = smooth);

def crossUp = roc252day crosses above roc5day;
def crossDown = roc252day crosses below roc5day;

# Plots 
plot roc252 = roc252day;
roc252.AssignValueColor(if roc252day > roc5day then color.GREEN else color.RED);
roc252.SetPaintingStrategy(paintingStrategy.LINE);
roc252.SetLineWeight(1);

plot zero = if !IsNaN(close) then 0 else double.NaN;
zero.SetPaintingStrategy(PaintingStrategy.LINE);
zero.AssignValueColor(if roc252day > roc5day then color.GREEN else color.RED);
zero.SetLineWeight(2);
zero.HideTitle();

plot downCross = if crossDown[-1] then 0 else double.NaN;
downCross.SetPaintingStrategy(PaintingStrategy.POINTS);
downCross.AssignValueColor(color = Color.RED);
downCross.SetLineWeight(3);
downCross.HideTitle();

plot downCross2 = if crossDown[-1] then 0 else Double.NaN;
downCross2.SetPaintingStrategy(PaintingStrategy.POINTS);
downCross2.AssignValueColor(color = Color.WHITE);
downCross2.SetLineWeight(5);
downCross2.HideTitle();

plot upCross = if crossUp[-1] then 0 else Double.NaN;
upCross.SetPaintingStrategy(PaintingStrategy.POINTS);
upCross.AssignValueColor(color = color.GREEN);
upCross.SetLineWeight(3);
upCross.HideTitle();

plot upCross2 = if crossUp[-1] then 0 else Double.NaN;
upCross2.SetPaintingStrategy(PaintingStrategy.POINTS);
upCross2.AssignValueColor(color = Color.WHITE);
upCross2.SetLineWeight(5);
upCross2.HideTitle();

AddCloud(0, roc252day, color1 = color.RED, color2 = color.GREEN);
AddCloud(0, roc252day, color1 = color.RED, color2 = color.GREEN);




thanks but not exactly I think

here is a working sample of what I am looking for:

https://www.whselfinvest.com/en/trading_strategies_03_rocema.php

On the actual page they show it with a basic line that changes color. If you click on the EXPLANATORY VIDEO
link you will see it again, this time with a HISTOGRAM kind of setting...

Basically I need a ROC for an EMA of 16 time periods.

Reply With Quote

Reply



futures io > > > > ROC on an EMA

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
EMA Envelope Tanju23 NinjaTrader 4 September 8th, 2011 01:48 PM
EMA colours grego NinjaTrader 2 October 28th, 2010 12:37 PM
EMA colorizer Zoethecus NinjaTrader Programming 2 October 5th, 2010 07:11 PM
Get the EMA of a double value??? Curbfeeler NinjaTrader Programming 4 April 9th, 2010 05:21 PM
MACD: The 12-period (EMA) minus 26 EMA emini_Holy_Grail Traders Hideout 1 February 22nd, 2010 01:04 PM


All times are GMT -4. The time now is 09:03 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-14 in 0.09 seconds with 20 queries on phoenix via your IP 54.221.73.186