EasyLanguage Treasure Chest

Discussion in 'Trading Software' started by Tums, Nov 24, 2008.

Thread Status:
Not open for further replies.
  1. Tums

    Tums

    EasyLanguage Treasure Chest

    Please share your EasyLanguage codes here.
    (...and your usage experience too!)

    Public license open source material only.
    Please include credit where credit is due.
    No encrypted/compiled codes please.
    (never trust those from a public board!)


    For educational purposes.
    No warranties or guarantees implied.
    Use at own risk.


    Feedbacks appreciated.


    <hr>note:
    OEC platform can read basic EasyLanguage codes.
    Codes specifically written for OEC and
    OEC installation questions/answers are here:
    OEC Indicator Treasure Chest

    TraderStudio platform can read basic EasyLanguage codes.
    You can post your TraderStudio installion questions here:
    TradersStudio Thread

    For NinjaTrader codes, please go to:
    NinjaTrader Treasure Chest

    <hr>Click here to Subscribe to this thread.
     
    SupermanTrades likes this.
  2. Tums

    Tums

    Index

    1. HH LL
    2. Hull Moving Average (indicator & autotrade)
    3. Scalper Buys and Sells
    4. How to draw a tape
    5. Heiken Ashi Paintbar, Piscuy modified version, Suri HA Candles NEW
    6. Renko indicator, Renko Adaptive Autotrade
    7. Pivot Points
    8. Market-E-Motion
    9. TRO OHMLC
    10. NPP builds a Emini system Autotrade -- Strictly Educational !

    11. A Basic Crossover Autotrade Strategy SPM take note!
    12. ZigZag, A simple version, More ZigZag codes NEW !
    13. Updated Ergodic Oscillator NEW! True Strength Indicator (TSI), CCI-TSI
    14. Donchian Channel
    15. Gartley Pattern
    16. Tums Premium / Discount
    17. Bollinger Band Squeeze (BBS) Indicator
    18. Inside Ask Bid, High/Low Bracket, ATR Label NEW
    19. Stochastic with Overbought/Oversold Highlight
    20. Time Price Opportunities

    21. BB BandWidth Indicator
    22. Jack Hershey Method: Beginner Rockets
    23. Identifying Highs and Lows
    24. 3 Bar Reversal by jychiu, by iluv2trade, Original by Anekdoten
    25. RSI and EMA Crossover AutoTrade
    26. A Neat Little System
    27. Efficiency Ratio
    28. A Simple System for Beginners
    29. DeMark Oscillator
    30. ADV-DECL line

    31. Fisher's Transform
    32. Tick Count Down, Tick Speedo NEW
    33. Programmer's Data Box
    34. Stacked Volume Bar
    35. Displaced Moving Average with Projection
    36. a Take Off on the DMI
    37. Awesome Oscillator Updated: With Accelerator
    38.
    39. Stochastic Momentum Index (SMI) New in line format
    40. Linear Regression Envelope

    41. Tick Money Flow (TMF)
    42. Candle Patterns
    43. Call Volume minus Put Volume
    44. Red Light / Green Light
    45. Fibo
     
  3. Tums

    Tums

  4. Tums

    Tums

  5. Tums

    Tums

  6. Tums

    Tums

    How to draw Tapes (tight trendlines)

    [​IMG]

    Finished product:

    [​IMG]


    Code:
    [color=blue]
    // Tape v1.0
    // Author: TUMS
    // Date: October 2008
    // License: public domain
    // Description: This program draws the 2 bar tapes
    // [url]http://elitetrader.com/vb/showthread.php?s=&postid=2109583#post2109583[/url]
    //
    // You are encouraged to post your enhancements on
    // [url]http://www.elitetrader.com/vb/showthread.php?threadid=97684[/url]
    
    
    inputs:
    begin_time(935),
    end_time(1610),
    tape_color(lightgray);
    
    variables:
    slope(0),
    id_tl_RTL(-1),
    id_tl_LTL(-1),
    outside_bar(false),
    inside_bar(false),
    RTL_tape_end(0),
    LTL_tape_begin(0),
    LTL_tape_end(0),
    tape_width(0);
    
    outside_bar = high > high[1] and low < low[1];
    inside_bar = high <= high[1] and low >= low[1];
    tape_width = maxlist(range, range[1]);
    
    
    if time > begin_time and time < end_time then
    begin
    
    if outside_bar = false and inside_bar = false then
    begin
    
    if high > high[1] then
    begin
    	slope = low - low[1];
    	RTL_tape_end = low + slope;
    	LTL_tape_begin = low[1] + tape_width;
    	LTL_tape_end = low + tape_width + slope;
       
    	id_tl_RTL = tl_new(date, time[1], low[1], date, time + barinterval, RTL_tape_end);
    	id_tl_LTL = tl_new(date, time[1], LTL_tape_begin, date, time + barinterval, LTL_tape_end );
       
    	tl_setcolor(id_tl_RTL, tape_color);
    	tl_setcolor(id_tl_LTL, tape_color);
    end
    else
    
    if low < low[1] then
    begin
    	slope = high[1] - high;
    	RTL_tape_end = high - slope;
    	LTL_tape_begin = high[1] - tape_width;
    	LTL_tape_end = high - tape_width - slope;
       
    	id_tl_RTL = tl_new(date, time[1], high[1], date, time + barinterval, RTL_tape_end);
    	id_tl_LTL = tl_new(date, time[1], LTL_tape_begin, date, time + barinterval, LTL_tape_end );
       
    	tl_setcolor(id_tl_RTL, tape_color);
    	tl_setcolor(id_tl_LTL, tape_color);
    end;
    
    end;
    end;
    
    
    [/color]
     
  7. mij

    mij

    Thanks, this stuff is nice....The code for HH LL is missing though...
     
  8. Tums

    Tums

    Sorry... posted the wrong link.
    Corrected now.
    Thanks for the heads up.
     
  9. Excellent Post!!!

    Tums,

    Do you have any idea what needs to be changed to import this into multicharts using their 'Power Language?'
     
  10. Tums

    Tums

    Usually no changes are needed for MultiCharts.
     
    #10     Nov 26, 2008
Thread Status:
Not open for further replies.