Software Used to Trade Jack Hershey Methods

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

  1. Aok

    Aok

    Nicely done, Vorzo
     
    #531     Mar 2, 2008
  2. sscott

    sscott

    I have QT with an IB feed and and they charge me $10/month, I have a live data feed for the YM and the ES, why is your feed so expensive?
     
    #532     Mar 4, 2008
  3. ericta

    ericta

    Real tick feed, long history back fill, and reliability.

    edit: freedom to change brokers.
     
    #533     Mar 4, 2008

  4. I am using a different platform (Lightspeed) to place the actual trades.

    I believe the only way to get the price you have is to actually open an account with IB (or a different broker).
     
    #534     Mar 4, 2008
  5. I updated my BarCheck indicator for NT to mark IBGS changes.
    It still does inside & outside bars....
     
    #535     Mar 5, 2008
  6. Here are a few additions that you can add to Multicharts.

    First is a second countdown clock:


    Code:
    // Program name: !Secondcountdown
    // description: this program puts a digital count down clock on the chart.
    // Author: Marina
    // Modified: Jonathan (March 6, 2008
    // Modification note:
    // 1. added hor_offset() to push the clock to the right of the chart
    // 2. fixed the clock vertical location to previous close
    
    
    Input : Color(Red), Size(14), hor_offset(500);
    VAR: TextID( Text_New_s(Date, Time_s, Close, "") ), txt(""), avg(0);
    
    
    if currentbar = 1 then begin
    	if 2<>bartype_ex then raiseruntimeerror("This study can be applied on minute charts only.");
    	text_setborder(TextID,true);
    	text_setcolor(TextID,color);
    	text_setsize(TextID,Size);
    end;
    
    txt = text(
    	( TimeToSeconds(mod(time_s,10000)) - TimeToSeconds(mod(currenttime_s,10000)) ):0:0
    	//, " seconds left"
    );
    
    // uncomment this line for new beta and comment second
    //value1 = (getappinfo(aihighestdispvalue)-getappinfo(ailowestdispvalue))/2 + getappinfo(ailowestdispvalue);
    value1 = c[1];
    
    Text_SetString(TextID,txt);
    Text_SetLocation_s(TextID, Date, Time_s+ hor_offset, value1);
     
    #536     Mar 6, 2008
  7. Here is a marker for bar # identification for Multicharts:

    Code:
    Input : start_time(0930), end_time(1615), color(Red), points_offset(20);
    
    var : bar_num(0);
    
    if Time>=start_time and Time<=end_time then begin
    	if 0=bar_num then bar_num = 1;
    end
    else
    	bar_num = 0;
    
    if bar_num>0 then begin
    	value1 = text_new( d, t, l - points_offset point, text(bar_num:0:0) );
    	text_setcolor(value1,color);
    	bar_num = bar_num + 1;
    end;
     
    #537     Mar 6, 2008
  8. Here is Tums JHM labels for Multicharts with Vorzo's modification and had added thicker pennant lines for those with vision problems. . . lol



    Code:
     //
     // Program: Labels for trading the Jack Hershey Method
     // Version: 1.1, Feb 29, 2008
     // Author: TUMS
     // Modified: Vorzo
     // License: Public Domain
     //
     // Description: This EasyLanguage script puts labels on the chart
     // ob  = Outside Bar
     // Sym = Sym Pennant
     // FTP = Flat Top Pennant
     // FTP = flat bottom pennant
     // Lat = Lateral
     //
     // In the spirit of Paying-Forward, you are invited to post your 
     // extensions and enhancements on:
     // [url]http://www.elitetrader.com/vb/showthread.php?s=&threadid=97684[/url]
     //
    
     Input:
        text_col(yellow),
        TL_Col(yellow),
        Txt_Offset(0.05),
        Show_Txt(1),
        Show_OB(1),
        TextStyleHor(2),
        TextStyleVert(1),
        PennantSize(1);
    
     Variables:
        ID_TL    (0),
        ID_txt(0),
         id_TxtLat(0),
        old_id(0),
        ccc(0),
        top_TL(0),
        bot_tL(0),
        top_TLlat(0),
        bot_tLlat(0),
        LatHi(0),
        LatLo(0),
        inside(false),
        insidebar(false),
        lateral(false);
    
     inside = high <= high[1] and low >= low[1];
     insidebar = high < high[1] and low > low[1];
    
     if     high[1]<=high[2] and high<=high[2] and
        low[1]>=low[2] and low>=low[2] and lateral=false then
     begin
        lateral=true;
        LatHi=High[2];
        LatLo=Low[2];
     end;
    
     {== Lateral ==}
    
     if lateral and lateral[1]=false then
     begin
        if Show_Txt=1 then
         begin
            {******* Comment out in TradeStation *******}
            text_delete( id_txt );{delete prior label}
    
            id_TxtLat = Text_New( Date, Time[1], high[2]*(1 + Txt_Offset/100), 
     "Lateral" );
            Text_SetStyle( id_TxtLat, TextStyleHor, TextStyleVert );
            Text_SetColor( id_TxtLat, BLUE );
        end;
    
        top_TLlat = tl_new( date[2], time[2], high[2], date, time, high[2] );
        bot_tLlat = tl_new( date[2], time[2], low[2], date, time, low[2] );
        TL_setcolor(top_TLlat,TL_Col);
        TL_setcolor(bot_TLlat,TL_Col);
        TL_SetSize(top_TLlat,1);
        TL_SetSize(bot_TLlat,1);
     end;
    
     //if date=1080205 then 
     Print(date,time,lateral,ID_txt:10:2,id_TxtLat:10:2);
    
     if lateral and lateral[1] then
     begin
        {******* Comment out in TradeStation *******}
        if id_txt>Id_txtlat and Show_Txt=1 then {delete labels inside lateral}
            text_delete( id_txt );
        TL_SetEnd(top_TLlat,date,time,LatHi);
        TL_SetEnd(bot_TLlat,date,time,LatLo);
     end;
    
     if Close>LatHi or Close<LatLo then
     begin
        lateral=false;
        LatHi=0;
        LatLo=0;
     end;
    
     {== FBP ==}
     if h < h[1] and l = l[1] then
     begin
        //id_tl = tl_new( date, time, high + Txt_Offset, date, time, high +  Txt_Offset * 2 );
        //TL_setcolor(ID_tl,TL_Col);
        if Show_Txt=1 then
        begin
            id_txt =  Text_New( Date, Time, high[1]*(1 + Txt_Offset/100), "FBP" );
            Text_SetStyle( id_txt, TextStyleHor, TextStyleVert );
            Text_SetColor( id_txt, text_col);
        end;
    
    	draw_pennant(top_TL,bot_tL,TL_Col,PennantSize);
     end
    
     else
    
     {== FTP ==}
     if high = high[1] and low > low[1] then
     begin
        //id_tl= tl_new( date, time, high + Txt_Offset , date, time, high +  Txt_Offset * 2 );
        //TL_setcolor(ID_tl,TL_Col);
    
        if Show_Txt=1 then
        begin
            id_txt = Text_New( Date,  Time, high[1]*(1 + Txt_Offset/100), 
     "FTP");
            Text_SetStyle( id_txt, TextStyleHor, TextStyleVert);
            Text_SetColor( id_txt, text_col);
        end;
    
    	draw_pennant(top_TL,bot_tL,TL_Col,PennantSize);
     end
    
     else
    
     {== InsideBar ==}
     if insidebar then
     begin
        //id_tl= tl_new( date, time, high + Txt_Offset, date, time, high +  Txt_Offset * 2 );
        //TL_setcolor(ID_tl,TL_Col);
        if Show_Txt=1 then
        begin
            id_txt = Text_New( Date, Time, high[1]*(1 + Txt_Offset/100), "Sym P"  );
            Text_SetStyle( id_txt, TextStyleHor, TextStyleVert );
            Text_SetColor( id_txt, text_col);
        end;
    
    	draw_pennant(top_TL,bot_tL,TL_Col,PennantSize);
    
     end;
    
     {== Outside Bar ==}
     if Show_OB=1 then
     begin
        if high > high[1] and low < low[1] then
        begin
            id_txt = Text_New( Date, Time, Low*(1-Txt_Offset/100), "OB" );
            Text_SetStyle( id_txt, TextStyleHor, 0 );
            Text_SetColor( id_txt, text_col);
        end;
     end;
    
     
    #538     Mar 6, 2008
  9. The second clock and bar # identification were created by the staff of Multicharts upon asking them, and were delivered in less than 24 hours.

    Many thanks to the staff at MC.
     
    #539     Mar 6, 2008
  10. Here is the last - draw pennant function:

    Code:
    Input : top_TL(NumericRef), bot_tL(NumericRef), color(NumericSimple), size(NumericSimple);
    
    top_TL = tl_new( date[1], time[1], high[1], date, time, high );
    TL_setcolor(top_tl,color);
    bot_tL = tl_new( date[1], time[1], low[1], date, time, low );
    TL_setcolor(bot_tl,color);
    TL_SetSize(top_TL,size);
    TL_SetSize(bot_tL,size);
    
     
    #540     Mar 6, 2008