Alerts based on Hull Moving Avg direction - ThinkOrSwim | futures io social day trading
futures io futures trading


Alerts based on Hull Moving Avg direction
Updated: Views / Replies:2,809 / 6
Created: by eddieo 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
 

Alerts based on Hull Moving Avg direction

  #1 (permalink)
Trading Apprentice
New York, NY
 
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Options
 
Posts: 4 since Feb 2015
Thanks: 1 given, 0 received

Alerts based on Hull Moving Avg direction

Hi,
I'm interested in triggering an alert in T.O.S. when the Hull Moving Average direction switches from Up to Down or vice versa.

The standard tools within Alerts allow you to trigger based on values being met or crossed, but not on the direction of the average.

Is anyone aware of how to set this up using Thinkscript or any other means?

Thanks,

EddieO

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
New York, NY
 
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Options
 
Posts: 4 since Feb 2015
Thanks: 1 given, 0 received

Following up on this one?

If anyone has ideas, would be much appreciated!

Reply With Quote
 
  #3 (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



eddieo View Post
If anyone has ideas, would be much appreciated!

 
Code
    
    #Hull Moving Average

input price = close;
input length = 20;
input displace = 0;

plot HMA = MovingAverage(AverageType.HULL, price, length)[-displace];

HMA.DefineColor("Up", GetColor(1));
HMA.DefineColor("Down", GetColor(0));
HMA.AssignValueColor(if HMA > HMA[1] then HMA.color("Up") else HMA.color("Down"));


    #Alert
Alert(HMA > HMA[1] and HMA[1] < HMA[2], "Up", Alert.BAR, Sound.Bell);
Alert(HMA < HMA[1] and HMA[1] > HMA[2], "Down", Alert.BAR, Sound.Bell);

Reply With Quote
The following 3 users say Thank You to rmejia for this post:
 
  #4 (permalink)
Trading Apprentice
New York, NY
 
Futures Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Options
 
Posts: 4 since Feb 2015
Thanks: 1 given, 0 received

Thank you!

Thank you rmejia! This is fantastic.

Reply With Quote
 
  #5 (permalink)
Trading Apprentice
Sioux Falls
 
Futures Experience: Beginner
Platform: ThinkorSwim
Favorite Futures: Emini ES
 
Posts: 1 since Jan 2016
Thanks: 0 given, 0 received

Hello, thanks for this, its exactly what I'm looking for as well (if I could just get it working haha). So I've created the study and added the thinkscript, however, it doesnt seem to be working....I purely copied and pasted the code....what should the "trigger if" condition be? I'm thinking that's where my problem may lie, but still not sure. Any help getting this working would be much appreciated. Thanks!

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

The trigger is a change in direction for the hull line. When it changes from up to down (color change) a sound and notification should trigger in thinkorswim.

Reply With Quote
 
  #7 (permalink)
Trading Apprentice
Tilburg
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: Currency
 
Posts: 2 since Oct 2017
Thanks: 0 given, 0 received

dot or arrow

Hi, this indicator is just what I needed!

Sorry for digging up an older post but I would like to ask for an addition.

Is it possible to add code so that there is a visual on change of direction?

Like an arrow or dot underneath or above the change of direction.

Thanks in advance!

Regards,

Patrick

Reply With Quote

Reply



futures io > > > > Alerts based on Hull Moving Avg direction

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trend Strength Indicator based on Moving Avg Exp mohi4u NinjaTrader 0 November 1st, 2012 06:37 PM
Hull Moving Average for Ninja, any help? Thanks hector24 NinjaTrader 6 October 26th, 2011 10:16 AM
Simple Hull Avg... Serger Elite EasyLanguage Automated Trading 3 September 2nd, 2011 10:39 AM
basic color coding according to direction of a moving average stephenszpak NinjaTrader Programming 7 May 29th, 2011 10:49 PM
Moving Avg of Indicator ceramictilepro NinjaTrader Programming 6 February 1st, 2011 10:09 PM


All times are GMT -4. The time now is 02:06 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-12 in 0.09 seconds with 19 queries on phoenix via your IP 54.163.209.109