Donchian Channel for EasyLanguage - EasyLanguage Programming | futures io social day trading
futures io futures trading


Donchian Channel for EasyLanguage
Updated: Views / Replies:12,546 / 16
Created: by Big Mike Attachments:4

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
 4  
 
Thread Tools Search this Thread
 

Donchian Channel for EasyLanguage

  #11 (permalink)
Elite Member
Montreal
 
Futures Experience: Intermediate
Platform: MultiCharts
Broker/Data: IB Canada/IQFeed
Favorite Futures: TF, CL
 
Posts: 281 since Jul 2011
Thanks: 306 given, 355 received


canucck View Post
Hi,

Thanks for replying. Unfortunately, TS can't import that kind of file. I appreciate your posting though.

Try this. Create a new indicator in Tradestation and paste this:

 
Code
Inputs:
	Period(14);

vars:
	Channel(0), iUpper(0), iLower(0);

iUpper = Highest(High, Period);
iLower = Lowest(Low, Period);
Channel = (iUpper + iLower) / 2;

Plot1(Channel, "Mean");
Plot2(iUpper, "Upper");
Plot3(iLower, "Lower");

Reply With Quote
The following 2 users say Thank You to olobay for this post:
 
  #12 (permalink)
Elite Member
los angeles, ca
 
Futures Experience: Beginner
Platform: TOS
Favorite Futures: stocks
 
Posts: 8 since Aug 2011
Thanks: 3 given, 4 received

That works - thanks!

I see you are from Montreal - I used to work by the "Big O" at Christie Brown. Boy, I miss those smoked meat sandwiches from Schwartz's and the bagels from the Fauborg Marche!

Reply With Quote
The following user says Thank You to canucck for this post:
 
  #13 (permalink)
Trading Apprentice
Toronto, Ontario
 
Futures Experience: Intermediate
Platform: multicharts
Favorite Futures: Stock
 
Posts: 4 since Jan 2015
Thanks: 0 given, 0 received

Tried to import this code into Multicharts


This is what I got when I tried to compile the code?


------ Build started: ------
Study: "Donchian Channel" (Indicator)
Please wait ....
------ Compiled with error(s): ------
Wrong expression
line 9, column 19


Help?

Reply With Quote
 
  #14 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,777 since Apr 2013
Thanks: 283 given, 1,061 received

StevenD,

my guess is that you didn't import the file, but created a new indicator yourself. Importing the file will work fine and I'd suggest you do that. Otherwise post the full code that gives you trouble, as with only the error message it's hard to guess.

Regards,
ABCTG


StevenD View Post
This is what I got when I tried to compile the code?


------ Build started: ------
Study: "Donchian Channel" (Indicator)
Please wait ....
------ Compiled with error(s): ------
Wrong expression
line 9, column 19


Help?


Reply With Quote
 
  #15 (permalink)
Trading Apprentice
Toronto, Ontario
 
Futures Experience: Intermediate
Platform: multicharts
Favorite Futures: Stock
 
Posts: 4 since Jan 2015
Thanks: 0 given, 0 received

Got it....Thanks!

Reply With Quote
 
  #16 (permalink)
Trading Apprentice
New York + US
 
Futures Experience: Intermediate
Platform: MultiCharts
Favorite Futures: Indian Stocks
 
Posts: 20 since Aug 2015
Thanks: 6 given, 1 received

Donchian Strategies

Thanks Big Mike...

What could be the possible strategies when Lets say close > x_bars

if I trade with 1 contract then how should I code Buy Entry, StopLoss, Short Entry..

Reply With Quote
 
  #17 (permalink)
Elite Member
Vancouver + Canada
 
Futures Experience: Intermediate
Platform: Sierra
Favorite Futures: CL ZB GC
 
Posts: 52 since Apr 2015
Thanks: 817 given, 91 received

Donchian Channel for Multicharts.NET

Multicharts.NET will not import a PLA file.
The Price Channel indicator in Multicharts.net does not have a mid line.
I adapted it to include the mid line.
(My first program in C#. Amazing what you can do with cut and paste and change variables)
____________________________

It appears we cannot upload a PLN file which is the format for the NET program

so here is the code;
open the Price Channel indicator in the editor and make the changes:

____________________________________

using System;
using System.Drawing;

namespace PowerLanguage.Indicator
{
[SameAsSymbol(true)]
public class Price_Channel_with_mid : IndicatorObject
{
private VariableSeries<Double> m_lowerband;

private VariableSeries<Double> m_upperband;

private VariableSeries<Double> m_midband;

private IPlotObject Plot1;

private IPlotObject Plot2;

private IPlotObject Plot3;

public Price_Channel_with_mid(object ctx) :
base(ctx){
length = 20;
}

[Input]
public int length { get; set; }

[Input]
public int displace { get; set; }

protected override void Create(){
m_lowerband = new VariableSeries<Double>(this);
m_upperband = new VariableSeries<Double>(this);
m_midband = new VariableSeries<Double>(this);
Plot1 =
AddPlot(new PlotAttributes("UpperBand", 0, Color.Yellow,
Color.Empty, 0, 0, true));
Plot2 =
AddPlot(new PlotAttributes("LowerBand", 0, Color.Yellow,
Color.Empty, 0, 0, true));
Plot3 =
AddPlot(new PlotAttributes("MidBand", 0, Color.Yellow,
Color.Empty, 0, 0, true));

}

protected override void CalcBar(){
m_lowerband.Value = Bars.Low.Lowest(length, 1);
m_upperband.Value = Bars.High.Highest(length, 1);
m_midband.Value = ((m_upperband.Value+m_lowerband.Value)/2);
if (((displace >= 0) || Bars.CurrentBar > Math.Abs(displace))){
Plot1.Set(displace, m_upperband.Value);
Plot2.Set(displace, m_lowerband.Value);
Plot3.Set(displace, m_midband.Value);
if ((displace <= 0)){
if (this.CrossesUnder(Bars.Low, m_lowerband)){
Alerts.Alert("Price making new low");
}
if (this.CrossesOver(Bars.High, m_upperband)){
Alerts.Alert("Price making new high");
}
}
}
}
}
}

Reply With Quote

Reply



futures io > > > > > Donchian Channel for EasyLanguage

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

September Journal Challenge (sponsored by TopstepTrader)

September

Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri
 

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Donchian's Rules for Trading Commodities Anagami The Elite Circle 4 January 25th, 2015 03:15 PM
Channel-Trading Tradetronics Trading Reviews and Vendors 53 December 27th, 2012 01:04 PM
ninja 7 donchian channel bobarian NinjaTrader 3 March 10th, 2011 07:33 PM
Stopping ETD (End of Trade drawdown) with classic Donchian Channels strategies drolles NinjaTrader Programming 2 December 23rd, 2010 12:00 PM
Donchian Channel upper line dimitri The Elite Circle 7 September 14th, 2010 04:45 PM


All times are GMT -4. The time now is 02:59 AM. (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-09-20 in 0.15 seconds with 15 queries on phoenix