NexusFi: Find Your Edge


Home Menu

 





Donchian Channel for EasyLanguage


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Shaban with 4 posts (0 thanks)
    2. looks_two themeantrader with 3 posts (0 thanks)
    3. looks_3 canucck with 3 posts (1 thanks)
    4. looks_4 Big Mike with 2 posts (17 thanks)
      Best Posters
    1. looks_one Big Mike with 8.5 thanks per post
    2. looks_two olobay with 1.5 thanks per post
    3. looks_3 Fonz with 1.5 thanks per post
    4. looks_4 canucck with 0.3 thanks per post
    1. trending_up 21,803 views
    2. thumb_up 24 thanks given
    3. group 18 followers
    1. forum 26 posts
    2. attach_file 6 attachments




 
 

Donchian Channel for EasyLanguage

 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,536

Here is some code I wrote real quick for Donchian Channel for EasyLanguage. Below is the code, attached is the MultiCharts pla. I separated it into a function+indicator so it can be called by a signal easily.

[img]https://nexusfi.com/v/d6d5ae.png[/img]

Function:
 
Code
                            
// Ported to MultiCharts by Big Mike, https://nexusfi.com

// Dec 23 2010

inputs:
    
period        (NumericSimple),
    
myMid        (NumericRef),
    
myUpper    (NumericRef),
    
myLower    (NumericRef);
    
    
myUpper    Highest(Hperiod);
myLower    Lowest(Lperiod);
myMid         = (myUpper myLower) / 2
Indicator:
 
Code
                            
// Ported to MultiCharts by Big Mike, https://nexusfi.com

// Dec 23 2010

inputs:
    
period        (14);
    
vars:
    
myMid        (0),
    
myUpper    (0),
    
myLower    (0);
    
Value0 DonchianChannel(periodmyMidmyUppermyLower);

Plot1(myMid"Mid");
Plot2(myUpper"Upper");
Plot3(myLower"Lower"); 
Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Attached Files
Elite Membership required to download: DonchianChannel.pla
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread

Can you help answer these questions
from other members on NexusFi?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
Futures True Range Report
The Elite Circle
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
The Program
18 thanks
GFIs1 1 DAX trade per day journal
18 thanks
 
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,536


Oops, I see @diverdan did this already two months ago and I missed it. Oh well, 2 minutes of my life I won't get back

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread
Thanked by:
 
 spear 
Portland, OR, USA
 
Experience: Intermediate
Platform: Scottrade
Trading: stocks
Posts: 3 since Dec 2012
Thanks Given: 1
Thanks Received: 0

Big Mike, thanks for posting the Easy Language code for Donchian channels. I've yet to discover how to use the code. Can you assist me? What file extension to I add to the two snippits? How do I import them into TradeStation? I've just opened an account with TradeStation and don't have any experience with the platform, but am looking forward to getting started and the Donchian channel is the first indicator I hope to add.

 
 spear 
Portland, OR, USA
 
Experience: Intermediate
Platform: Scottrade
Trading: stocks
Posts: 3 since Dec 2012
Thanks Given: 1
Thanks Received: 0

Is Easy language for Sierra Charts usable with Tradestation?

 
 
sptrader's Avatar
 sptrader 
Colorado
 
Experience: Advanced
Platform: MultiCharts
Broker: IB & Iqfeed
Trading: ES , CL
Posts: 535 since Apr 2010
Thanks Given: 1,097
Thanks Received: 701


spear View Post
Big Mike, thanks for posting the Easy Language code for Donchian channels. I've yet to discover how to use the code. Can you assist me? What file extension to I add to the two snippits? How do I import them into TradeStation? I've just opened an account with TradeStation and don't have any experience with the platform, but am looking forward to getting started and the Donchian channel is the first indicator I hope to add.

****************************************************************************************

For Tradestation in the Easylanguage editor, you have to create a function and an indicator and copy and paste the code that Mike posted for each.. Then verify the study and function (verify all)..before you can plot it on a chart...
The .pla study that Mike posted is for Multicharts only...

 
 
bullsandthebears's Avatar
 bullsandthebears 
boston, ma / usa
 
Experience: Intermediate
Platform: ninja , metastock, multicharts, TDA, tradestation
Broker: Tradestation, Esignal, OptionsExpress, MBTrading, Ameritrade
Trading: spy,sector spyders
Posts: 67 since Jul 2012
Thanks Given: 9
Thanks Received: 14

I saw a post of how to use the donchian channel, I felt at ease on this triple donchian setup and wanted to share.
kind of sad multicharts doesnt have this as a general indicator... strange.

thanks again Mike.

Scott


Not a vendor, just a trader. I do not sell anything. Current studies involve EasyLanguage, Money Management and Technical Analysis. Do Enjoy: Fibs, S / R's , Eliotts, Cycles, Trends , Skews. Not Enjoy: fundamentals, Main St Media . It's all about keeping your emotions out of trading and work a system. Appreciate all insight as will be returned. Scotty B.
Attached Thumbnails
Click image for larger version

Name:	bullsandthebearsBIGMIKEDONCHIANCHANNELATM1.jpg
Views:	339
Size:	248.9 KB
ID:	104229  
Visit my NexusFi Trade Journal
 
 canucck 
los angeles, ca
 
Experience: Beginner
Platform: TOS
Trading: stocks
Posts: 10 since Aug 2011
Thanks Given: 3
Thanks Received: 8

Hi,

I am relatively new to Tradestation and ran into an error trying to verify the function, which I had called DonchianChannel, in which it stated that a value was not assigned to the user function.

Being new, I can only do the most basic of Easy Language coding, so I can't determine how to address that error and am wondering if it may be related to the code being for an older version of Easy Language.

Can someone share with me, either tips on how to get past this error, or current working code, please?

Thanks in advance,

Mike M

 
 olobay 
Montreal
 
Experience: Intermediate
Platform: MultiCharts
Broker: DeepDiscountTrading.com
Trading: CL
Posts: 364 since Jul 2011

Try importing this in Tradestation. I exported it from MultiCharts so I am not sure it will work.

Attached Files
Elite Membership required to download: DonchianChannel.pla
 
 canucck 
los angeles, ca
 
Experience: Beginner
Platform: TOS
Trading: stocks
Posts: 10 since Aug 2011
Thanks Given: 3
Thanks Received: 8



olobay View Post
Try importing this in Tradestation. I exported it from MultiCharts so I am not sure it will work.

Hi,

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


 



Last Updated on June 29, 2021


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts