Horizontal Moving Average? - ThinkOrSwim | futures io social day trading
futures io futures trading

Horizontal Moving Average?
Updated: Views / Replies:1,120 / 3
Created: by chrisplecker 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

Horizontal Moving Average?

  #1 (permalink)
Trading Apprentice
Charlottesville, VA
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
Posts: 21 since Apr 2014
Thanks: 0 given, 13 received

Horizontal Moving Average?

Hello, I'm trying to plot a horizontal moving average. I'm not sure how to do it. I'd provide an example but I am not allowed to post images or links. Basically I just want it like

------------------------------------------------------- 100.01

rather than the curved up and down moving average.

I have for example

def F10Length = 55;
def F10 = ExpAverage(Price, F10Length);
plot Fib55 = F10;

But it shows up as a curved line. I don't know how to get averages to plot horizontally like the Camarilla Points indicator for example.

To support the forum, I made the following Tick Index indicator.

declare lower;
input Period = 21;

plot TickIndex = close("$TICK");
#You can change the index by changing the symbol between the " ".  
#$TICK = NYSE Index
#$TIKQ = NASDAQ Cumulative Index
#$TIKRL = Russell 2000 Index
#$TIKSP = S&P 500 Index
#$TIKI = DJIA Index
#$TIKUS = All US Stock Index
TickIndex.DefineColor("Up", Color.UPTICK);
TickIndex.DefineColor("Down", Color.DOWNTICK);
TickIndex.AssignValueColor(if TickIndex > 0 then TickIndex.color("Up") else if TickIndex < 0 then TickIndex.color("Down") else GetColor(4));

def StDev = stdev(data = TickIndex, length = period);
def AvgLine = Average(data = TickIndex, length = period);

def UpperDev = 2.0;
def LowerDev = -2.0;

plot UpperBand = AvgLine + UpperDev * StDev;
plot LowerBand = AvgLine + LowerDev * StDev;

plot BaseLine = 0;
plot Overbought = 800;
plot Oversold = -800;
Beats having a separate $TICK chart open. I also added a StDev 2 Bollinger Band and +/-800 lines.

Reply With Quote
  #2 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 46,336 since Jun 2009
Thanks: 29,452 given, 83,947 received

You can attach images, just not from external sources.

Search for ADXVMA, it does what you want.


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
  #3 (permalink)
Trading Apprentice
Charlottesville, VA
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: Futures
Posts: 21 since Apr 2014
Thanks: 0 given, 13 received

Thank you. I only found 1 result searching this forum and it's not exactly what I was explaining.

I'm trying to get my moving averages to plot horizontally like the picture I attached.

Attached Thumbnails
Horizontal Moving Average?-horizontalmovingaverage.jpg  
Reply With Quote
  #4 (permalink)
Elite Member
New York City New York USA
Futures Experience: Intermediate
Platform: Think or Swim, Infinity Futures
Broker/Data: Thinkor Swim for Charts an Infinity Futures for Trading Dom
Favorite Futures: Oil
Posts: 51 since Jul 2012
Thanks: 448 given, 46 received

try this

#Horizontal Line

input n = 9;

def a = Average(close, n);
def c = HighestAll(if IsNaN(close[-1]) then a else Double.NaN);
plot l = c;

Reply With Quote


futures io > > > > Horizontal Moving Average?

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
What are these moving average? Mopaditi NinjaTrader 3 September 24th, 2014 03:11 PM
Best Moving Average sharmas Elite Automated Trading 62 April 9th, 2012 06:44 PM
Moving Average Kush NinjaTrader Programming 5 November 6th, 2011 12:49 PM
Moving average Help yiman NinjaTrader Programming 4 July 29th, 2011 08:03 AM
New Moving Average arnaudlx The Elite Circle 10 January 28th, 2011 05:15 AM

All times are GMT -4. The time now is 04:56 PM.

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-25 in 0.08 seconds with 20 queries on phoenix via your IP