John Ehlers ZERO LAG alagrande's version for THINKORSWIM - ThinkOrSwim | futures io social day trading
futures io futures trading

John Ehlers ZERO LAG alagrande's version for THINKORSWIM
Updated: Views / Replies:810 / 0
Created: by alagrande 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 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

Thread Tools Search this Thread

John Ehlers ZERO LAG alagrande's version for THINKORSWIM

  #1 (permalink)
glendale ca usa
Posts: 49 since Sep 2017
Thanks: 2 given, 40 received

John Ehlers ZERO LAG alagrande's version for THINKORSWIM

#This is my version, anyone is welcome to play with it and modify it for better results.

input length = 20;
input GainLimit = 50;

input length2 = 4;
input GainLimit2 = 20;

def alpha = 2/ (length + 1);
def alpha2 = 2/ (length2 + 4);

def EMA = alpha*close + (1 - alpha)*EMA[1];
def EMA2 = alpha2*close + (1 - alpha2)*EMA2[1];

def Value1 = -GainLimit + GainLimit;
def Gain = Value1/10;

def Value2 = -GainLimit2 + GainLimit2;
def Gain2 = Value2/10;

def EC = alpha*(EMA + Gain*(close-EC[1]))+ (1 - alpha)*EC[1];
def Error = Close - EC;

def EC2_ = alpha2*(EMA2 + Gain2*(close-EC[1]))+ (1 - alpha2)*EC[1];
def Error2 = Close - EC2_;

def BestGain = Gain;
def BestGain2 = Gain2;

DEF LeastError = 1000000;

plot EC1 = alpha*(EMA + BestGain*(Close - EC[1])) + (1 - alpha)*EC[1];

plot EC2 = alpha2*(EMA + BestGain2*(Close - EC[1])) + (1 - alpha2)*EC[1];

plot EMA44 = alpha2*close + (1 - alpha2)*EMA[1];



ASSIGnPriceColor(IF EC1<EC2 [1] then color.cyan else if EC1>EC2[1] then color.yellow else color.current);


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


futures io > > > > John Ehlers ZERO LAG alagrande's version for THINKORSWIM

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

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Show us your trading desks and win $1,400 in prizes w/Earn2Trade


Similar Threads
Thread Thread Starter Forum Replies Last Post
John Ehlers Zero Lag ebtrader ThinkOrSwim Programming 18 February 12th, 2019 02:56 AM
john ehlers' indicators bob314159 Trading Reviews and Vendors 1 February 28th, 2015 09:12 PM
Super Smoother Filter by John Ehlers slickiam Sierra Chart 3 July 14th, 2014 05:48 AM
Center of Gravity by John Ehlers Silvester17 NinjaTrader 10 June 9th, 2014 04:45 PM
John Ehlers traderwerks Traders and Trading Methods 0 August 22nd, 2013 10:59 PM

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

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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