TEMA indicator plots horizontal line only - EasyLanguage Programming | futures io social day trading
futures io futures trading


Notices

TEMA indicator plots horizontal line only
Updated: Views / Replies:460 / 2
Created: by tomas262 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 100,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
 

TEMA indicator plots horizontal line only

  #1 (permalink)
Trading for Fun
Ostrava, Czech Republic
 
Futures Experience: Intermediate
Platform: SierraChart, OEC
Broker/Data: OEC
Favorite Futures: Futures & Spreads
 
Posts: 98 since May 2013
Thanks: 18 given, 38 received

TEMA indicator plots horizontal line only

Hello,

I am trying to build the TEMA indicator for Multicharts.
1) created a function called TEMA
 
Code
inputs:
	Length(numericsimple),
	Price(numericseries);

variables: 
	XMA(0),
	XMA2(0),
	XMA3(0);

XMA = XAverage( Price, Length ) ;
XMA2 = XAverage( XMA, Length ) ;
XMA3 = XAverage( XMA2, Length ) ;
 
TEMA = 3 * XMA - 3 * XMA2 + XMA3 ;
2) created an indicator called TEMA

 
Code
inputs:
	Price( Close ),
	Length( 14 );

variables:  var0( 0 ) ;

var0 = TEMA( Price, Length ) ;
 
Plot1( var0, "TEMA" ) ;
Now I attach the indicator onto a chart but only horizontal line appears instead of a moving average type line. What do I do wrong?
This suppose to be an "easy language"

Thanks for help

Attached Thumbnails
TEMA indicator plots horizontal line only-temaplot.png  

Last edited by tomas262; December 3rd, 2017 at 12:50 PM.
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)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,846 since Apr 2013
Thanks: 301 given, 1,130 received
Forum Reputation: Legendary


tomas262,

the first input in your function is the length, but when you call the function in the indicator you are using Price as the first parameter. Change the order in either the function or the indicator should give you the desired result.

Regards,

ABCTG

Reply With Quote
The following 2 users say Thank You to ABCTG for this post:

Reply



futures io > > > > > TEMA indicator plots horizontal line only

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Fundraiser: Feeding Families in Need (ends Dec 17)

December
 

Ask Me Anything (Brokers & Platforms) w/Ilan Levy Mayer @ Cannon Trading

Dec 13
 

Battlestations! Show us your trading desks w/GFF Brokers ($750 in Prizes)

January
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOS Draw Horizontal Line at Current Price Indicator needed ceramictilepro ThinkOrSwim 3 December 20th, 2017 11:45 PM
Enable/Disable horizontal grid line visibility indicator hachot NinjaTrader 0 October 8th, 2017 05:24 AM
Trend Line plots once RGButzArchInc EasyLanguage Programming 9 October 1st, 2014 10:47 AM
Range of Bar Indicator with Horizontal Line Added ceramictilepro NinjaTrader 2 January 17th, 2014 12:15 PM
can you get a horizontal line at the current high of the volume indicator anniebee321 NinjaTrader 4 December 10th, 2010 06:18 PM


Tags
code, easy language, easylanguage, ema, indicator, indicators, information, moving average, multicharts, neoticker, tradestation, type, xaverage

All times are GMT -4. The time now is 11:57 PM. (this page content is cached, log in for real-time version)

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-12-12 in 0.08 seconds with 15 queries on phoenix