Software Used to Trade Jack Hershey Methods

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

  1. nkhoi

    nkhoi

    ninja 6.5
    [​IMG]
     
    #311     Dec 17, 2007
  2. cnms2

    cnms2

     
    #312     Dec 17, 2007
  3. RedDuke

    RedDuke

    One of very impotant changes for 6.5 is that it allows indicator access to DOM and T&S. It kinda allowed access to DOM in 6.0, but it was not supported there.

    DOM is accessed with OnMarketDepth method. OnMarketDepth is advanced enough to analyze not just changes, but what changed such as were orders added to the queue or removed.

    T&S is accessed with OnMarketData method.

    I would definitely run 6.5 for charting and demo trading, but not for live trading since it is is early beta (4) version.

    Regards,
    redduke
     
    #313     Dec 17, 2007
    Sprout likes this.
  4. I just sent a note to QT support asking if the background between bars could be colored (with inside/outside bars in mind especially). It would save me SO much time annotating, especially on the YM which has tons of formations.

    I would like to code Paintbars that color the background behind the bars (and only the bars), for example in between two adjacent bars. That doesn't seem to be an option, but I have the impression from the other options, that it should be doable.

    For example

    <img src=http://www.elitetrader.com/vb/attachment.php?s=&postid=1717548>
     
    #314     Dec 17, 2007
  5. bi9foot

    bi9foot

    FYI, what you showed was done using AmiBroker.
     
    #315     Dec 17, 2007
  6. Thanks!! I knew I stole that sample from some-body on these forums... :D

    AmiBroker is my fall-back plan - I have gotten used to QuoteTracker, but suspect I want more scripting capability and am trying NinjaTrader first - the market recording & replay is a big plus.
     
    #316     Dec 17, 2007
  7. bi9foot

    bi9foot

    The prv code for Amibroker has been posted in this thread a couple of times. So if you decide to try it out it is all in this thread.
     
    #317     Dec 17, 2007
  8. Tums

    Tums

    STR/SQU Easylanguage code for TS Tradestation.


    Instruction:
    set up YM and INDU 2m in the chart.
    the code will take YM as data1, INDU as data2.

    Enter offset into the configuration, and you are good to go.
    (you can check here for daily offset http://indexarb.com/ )



    Code:
    input:  offset(0),
    	upperline(2),
    	lowerline(-2);
    
    var: 	Spread (0), 
    	STRSQZ (0), 
    	close1(0), 
    	close2(0);
    
    
    close1 = close data1;
    close2 = close data2;
    
    Spread = close1 - close2;
    
    
    STRSQZ = spread - offset;
    
    If STRSQZ > upperline then setplotcolor (1, green)
    else
    If STRSQZ < lowerline then setplotcolor (1, red);
    
    
    Plot1 (STRSQZ, "STRSQZ");
    
    plot2 (0,"Zero") ;
    plot3 (upperline, "Upperline");
    plot4 (lowerline, "Lowerline");
    
     
    #318     Dec 19, 2007
    Sprout likes this.
  9. set up YM and INDU 2m in the chart. ?

    how do i set up 2 charts into one? i'm a bit confused :)
     
    #319     Dec 19, 2007
  10. ok so i opened a chart... entered the symbol YMH08... then inserted another symbol: $INDU
    so i got both of these charts on the screen

    then i create the easylanguage file and inserted the code: and i think from the web page you provided... the offset for the day was 79.2 right? so i entered that..


    everything correct so far? i think it does look right. except it's looking weird becuase the STR/SQZ data from the premarket is skewing the entire range.... is there anyway to make it not look at the premarket or aftermarket range?

    also, the STR/SQZ indicator shows that most of today's volume are above the upperline.... doesn't that mean the buying in YM is a lot better than the INDU.... but the YM is stilll going down
     
    #320     Dec 19, 2007