Software Used to Trade Jack Hershey Methods

Discussion in 'Trading Software' started by Tums, Jun 26, 2007.

  1. Thanks tobbe. Ditto on the tick charts. Thanks Tums for permitting the ramble.

    lj



    Moderator's comment:
    We welcome all discussions on Software Used to Trade Jack Hershey Methods, including the tools that support those software.
    Thank you for contributing.
     
    #811     Oct 2, 2008
  2. Tums

    Tums

    #812     Oct 6, 2008
    Sprout likes this.
  3. Tums

    Tums

    I will be drawing a basic 2 bar tape... with the ends extending to the 3rd bar's space.

    These are the coordinates we will be working with.

    <img src="http://www.elitetrader.com/vb/attachment.php?s=&postid=2109583">
     
    #813     Oct 6, 2008
    Sprout likes this.
  4. Tums

    Tums

    EasyLanguage is an English-like programming language, even a non-programmer can easily follow the instruction flow and decipher the logics.

    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]
     
    #814     Oct 6, 2008
    Sprout likes this.
  5. Tums

    Tums

    Here's how the finished product looks like...

    <img src="http://www.elitetrader.com/vb/attachment.php?s=&postid=2109627">


    edit:
    The code I posted above is NOT the comprehensive Auto Tape Drawing program...
    but rather, it is a first step in understanding how to use EasyLanaguage to build tapes.

    My posts focused on the basic 2 bar tape.
    Although its capabilities are limited as is, the tapes can still be used in understanding how price develop within the tapes... then breaks the RTL, and turns into opposite tapes... which in turn forms traverses, and then channels.

    There are lots you can add to this basic framework. I encourage you to post your enhancement here as your way of paying-forward.
     
    #815     Oct 6, 2008
    Sprout likes this.
  6. ptunic

    ptunic

    Thanks, Tums! This is really helpful, got it running on TS, looking nice.

    I hope to contribute code as well at one point. Still in learning mode for now :)
     
    #816     Oct 6, 2008
  7. As I mentioned elsewhere, have dumped DTN and IB feeds (the latter now used only for crude backup) and now use the NT + Zenfire setup. As I ramp up NT I've hit a few glitches (for me) and would appreciate any help that anyone might wish to give.

    The first thing is if Pepe's xml files noted above are essential to using his indicators then how do you get rid of the text extension? I have tried to do this and will not bore anyone with the details of the failure except to say that the downloaded files are .txt files but on my desktop that attribute is hidden.

    A second quickie. How does one get rid of those bleeding red and green triangles?

    Instead of putting a great wad of questions in a single post, I'll submit periodic clips of confusion.

    TIA

    lj
     
    #817     Oct 10, 2008
  8. Never mind the above but there'll probably be more questions of comparable caliber.

    lj
     
    #818     Oct 10, 2008
  9. Guys

    I’m trying to setup Pepe’s JH indicators script on NT.
    Problem is I initially imported the original zip, then the latest zip.

    I then could not see some of the indicators so I did a remove Ninja script assembly.

    Now I have some ‘skeleton indicators’(I can see the name, no dll) Indicators showing the jurik ones.

    I cannot delete these as they don’t show up on –Edit ninjascript- indicators, on the list on delete

    The main problem is if I try to utilities-import Ninja script or remove utilities-Ninja script assembly. I get the following message.

    “You have custom Ninjascript files on your PC that have programming errors. These errors must be resolved before you can import the NinjaScript Archive file.”

    Any idea what I can do? I need to purge these erroneous ones.
     
    #819     Oct 12, 2008
  10. nkhoi

    nkhoi

    edit, scroll thru indicator list, look for the one with yellow color, right click, delete, also delete 'user custom indicator' if it is there.
     
    #820     Oct 12, 2008