Software Used to Trade Jack Hershey Methods

Quote from tobbe:

Many of the charts you see posted now are automatically or semi-automatically annotated, especially laterals etc, most using NT.

Iterative Refinement in action :cool:
 
Quote from LostTrader:

In truth, the Pace indicator is just a variant of NT's own ConstantLines indicator. I've lost track of what I've uploaded or not, so here is a complete set for Ninjatrader 6.5 -- just import and compile.

Good Trading!

Thanks for posting this. BarCheck is nice tool as well.
 
Is this ninja code? It gives me an error on the 1st line. Is it an indicator or a strategy?

Quote from bahdabing:

Just use this code and you will OWN the S & P:

var BAR, F, X, DAYS, CYCLELENGTH, LASTLOWBAR, COUNT, DAYS1,DAYS2,DAYS3,DAYS4,DAYS5, DIVIDEBY, mo1,mo2,mo3,mo4,mo5,thePrice,theVolume,AD: integer;
var AVG, VOL, N, DU, PV, BASE1,BASE2,BASE3,BASE4,BASE5,PEAK1,PEAK2,PEAK3,PEAK4,PEAK5,GAIN1,GAIN2,GAIN3,GAIN4,GAIN5,AVERAGEGAIN,DU1,DU2,DU3,DU4,DU5,AVERAGEDU : float;
var RETRACE, theMACD: integer;

PlotSeries( SMASeries( #VOLUME, 65) , 1, #Red, #Thin );

mo1:=BARCOUNT() -1 ;
mo2:=BARCOUNT() -21 ;
mo3:=BARCOUNT() -41 ;
mo4:=BARCOUNT() -61 ;
mo5:=BARCOUNT() -81 ;

DrawText( +' VOLUME AVG(65)= '+FormatFloat( '0,0' , SMA(mo1, #VOLUME, 65) ) , 1, 5, 15, #Black, 8 );

RETRACE := 1;
F:=40;COUNT:=0;LASTLOWBAR :=1000000;
FOR BAR:= BARCOUNT() -1 DOWNTO BARCOUNT()-127 do
BEGIN
IF LASTLOWBAR < BAR THEN BAR:= LASTLOWBAR ;

//CHECK CYCLE AT SIX DAYS
X:= PEAKBAR(BAR, #HIGH, RETRACE) ;
N:= PEAK(BAR, #HIGH, RETRACE) - LOWEST(X-1, #LOW, 5) ;

IF N/LOWEST(X-1, #LOW, 5) >= 0.20 THEN CYCLELENGTH:= 5 ELSE
BEGIN

//RAISE CYCLE TO SEVEN
X:= PEAKBAR(BAR, #HIGH, RETRACE) ;
N:= PEAK(BAR, #HIGH, RETRACE) - LOWEST(X-1, #LOW, 6) ;
IF N/LOWEST(X-1, #LOW, 6) >= 0.20 THEN
CYCLELENGTH:= 6 ELSE
BEGIN
//RAISE CYCLE TO EIGHT
X:= PEAKBAR(BAR, #HIGH, RETRACE) ;
N:= PEAK(BAR, #HIGH, RETRACE) - LOWEST(X-1, #LOW, 7) ;
IF N/LOWEST(X-1, #LOW, 7) >= 0.20 THEN
CYCLELENGTH:= 7;
END;

END;

IF N/LOWEST(X-1, #LOW, CYCLELENGTH) >= 0.20 THEN
BEGIN
DAYS:= PEAKBAR(BAR, #HIGH, RETRACE) - LOWESTBAR(X-1, #LOW, CYCLELENGTH)+1 ;

IF PRICECLOSE(PEAKBAR(BAR, #HIGH, RETRACE) ) < PRICECLOSE(PEAKBAR(BAR, #HIGH, RETRACE)-1 ) THEN
PV:= VOLUME(PEAKBAR(BAR, #HIGH, RETRACE)-1 ) ELSE PV:= VOLUME(PEAKBAR(BAR, #HIGH, RETRACE) ) ;

DrawText(
'LOW: '+FormatFloat( '0.00', LOWEST(X-1, #LOW, CYCLELENGTH) )+' HIGH: '+FormatFloat( '0.00', PEAK(BAR, #HIGH, RETRACE) )+' = '+FormatFloat( '0.00', (N/LOWEST(X-1, #LOW, CYCLELENGTH) )*100)+'% DAYS: '+FormatFloat( '0', DAYS)+ ' '+DateToStr( GetDate( LOWESTBAR(X-1, #LOW, CYCLELENGTH) ) )+' to '+DateToStr( GetDate( PEAKBAR(BAR, #HIGH, RETRACE) ) ) + ' PV= '+FormatFloat( '0,00', PV ) , 0, 5, F, #Black, 8 );

DrawCircle( 6, 0, PEAKBAR(BAR, #HIGH, RETRACE), PEAK(BAR, #HIGH, RETRACE) , #green, #thin );
DrawCircle( 6, 0, LOWESTBAR(X-1, #LOW, CYCLELENGTH), LOWEST(X-1, #LOW, CYCLELENGTH) , #red, #thin );

F:=F+10;
LASTLOWBAR:=LOWESTBAR(X-1, #LOW, CYCLELENGTH)-1 ;
COUNT:= COUNT+1;

IF COUNT=1 THEN BEGIN
GAIN1:=N/LOWEST(X-1, #LOW, CYCLELENGTH) ;DAYS1:=DAYS;DU1:=LOWEST(mo1, #VOLUME, 20);
END;
IF COUNT=2 THEN BEGIN
GAIN2:=N/LOWEST(X-1, #LOW, CYCLELENGTH) ;DAYS2:=DAYS;DU2:=LOWEST(mo2, #VOLUME, 20);
END;
IF COUNT=3 THEN BEGIN
GAIN3:=N/LOWEST(X-1, #LOW, CYCLELENGTH) ;DAYS3:=DAYS;DU3:=LOWEST(mo3, #VOLUME, 20);
END;IF COUNT=4 THEN BEGIN
GAIN4:=N/LOWEST(X-1, #LOW, CYCLELENGTH) ;DAYS4:=DAYS;DU4:=LOWEST(mo4, #VOLUME, 20);
END;
IF COUNT=5 THEN BEGIN
GAIN5:=N/LOWEST(X-1, #LOW, CYCLELENGTH) ;DAYS5:=DAYS;DU5:=LOWEST(mo5, #VOLUME, 20);

AVERAGEGAIN:= (GAIN1+GAIN2+GAIN3+GAIN4+GAIN5)/5 ;

IF DU1>0 THEN DIVIDEBY:=1;
IF DU2>0 THEN DIVIDEBY:=2;
IF DU3>0 THEN DIVIDEBY:=3;
IF DU4>0 THEN DIVIDEBY:=4;
IF DU5>0 THEN DIVIDEBY:=5;
AVERAGEDU:= (DU1+DU2+DU3+DU4+DU5)/DIVIDEBY;

DrawText( ' RETURN% '+FormatFloat( '0.00' , AVERAGEGAIN*100 )
+'% RANK: '+FormatFloat( '0.00',
100*((AVERAGEGAIN)/((DAYS1+DAYS2+DAYS3+DAYS4+DAYS5)/5)) ) +' Avg DU = '+FormatFloat('0,0' , AVERAGEDU ) +' FRV = '+FormatFloat('0,0' , 3*AVERAGEDU ) +' Peak = '+FormatFloat('0,0' , 2*(3*AVERAGEDU) ) , 0, 5, F, #Black, 8 );

END;
IF COUNT = 5 THEN BREAK;
END;
END;
theMACD:= CreatePane( 100, false, true);
PlotSeries( MACDSeries( #Close) , theMACD, #Blue, #Histogram );
IF PRICECLOSE(BARCOUNT-1) >PRICECLOSE(BARCOUNT-2)THEN thePrice:=4;
IF VOLUME(BARCOUNT-1) >VOLUME(BARCOUNT-2)THEN theVolume:=2;
IF MACD( BARCOUNT-1, #CLOSE) > MACD(BARCOUNT-2, #CLOSE )THEN AD:=1;

DrawText( 'TODAYS SCORE is '+FormatFloat('0', thePrice+theVolume+AD ) , theMACD, 5, 15, #Black, 8 );
 
Quote from Duey Decimal:

Is this ninja code? It gives me an error on the 1st line. Is it an indicator or a strategy?

It's a partial quote of the Equities Code used for Wealth-Lab Developer which produces Dry Up Volume Levels and Rank. It his nothing to do with the ES or S & P 500.

- Spydertrader
 
Here's a BidAskWall indicator for NT. Not what Spyder has been using (thought that wouldn't be too hard in NT, as they even supply a Market Depth Ladder script). This simply writes the current bid and ask volumes(# of levels selectable), the last volume (size filter selectable), and draws a line if a wall exists (multiple selectable).

Spacing could be improved, but back problems prevent me from sitting at my desk very long at the moment, and I need to concentrate on reading the charts more.

Seems to work fine, and I've been finding it useful even at my skill level (only showing 1-2 levels).

Hope it helps others!
 

Attachments

I don't know if anyone is using it (bi9foot?), but here's an update for BarPaint.

Changes:

1. Dropped reversal bar coloring in favor of bi9foot's standard Hershey colors.

2. Added option to draw LostTrader's IBGS triangles.

3. Added option to draw basic range information (Price, current volume, PRVolume). (Modeled after Pepe's).

4. All markings persist across sessions . (Previously IBs and OBs only showed for current session.)

On another note, is there a guide somewhere on ET on how to include images in a post? I couldn't find anything related in Help...

-palinuro
 

Attachments

Here are a few setup configuration items for users of Ensign charting (what few remain) :)

The doc contains setups for:

Bar coloring P/V
PRV
Pace Lines
Bar Numbers
 

Attachments

Specterx, to add NT text to the chart I press the F12 key and then click on the area where the text should go. That brings up the "Text Properties" window. The rectangle on your chart may have something to do with the "Outline" area located underneath the white space where you enter the text you want placed on the chart. You might be able to resolve the issue by setting the width to zero. Also, clicking on "Font..." will probably show you that your default color is set to black which means that the text won't show up on a black background.

I emailed NT to ask if there were a more efficient way to change the text color and they told me no. However, one thing I do to make annotating a little bit faster is to place "1, 2, 3, FTT, and FBO" near the bottom of the chart, right above the volume window. For some reason when you click on the chart text and then press "Ctrl - C" (copy) followed by "Ctrl - V" (paste) the text will copy and paste on top of itself. You can easily make 20 point 1's or whatever and just grab and drag them as the day unfolds. It's a pretty easy way to do it. Let me know if anything I said doesn't make sense.
 
Quote from Padawan:

Specterx, to add NT text to the chart I press the F12 key and then click on the area where the text should go. That brings up the "Text Properties" window. The rectangle on your chart may have something to do with the "Outline" area located underneath the white space where you enter the text you want placed on the chart. You might be able to resolve the issue by setting the width to zero. Also, clicking on "Font..." will probably show you that your default color is set to black which means that the text won't show up on a black background.

Thanks, I'll try this out tomorrow.

I emailed NT to ask if there were a more efficient way to change the text color and they told me no. However, one thing I do to make annotating a little bit faster is to place "1, 2, 3, FTT, and FBO" near the bottom of the chart, right above the volume window. For some reason when you click on the chart text and then press "Ctrl - C" (copy) followed by "Ctrl - V" the text will copy on top of itself. You can easily make 20 point 1's or whatever and just grab and drag them as the day unfolds. It's a pretty easy way to do it. Let me know if anything I said doesn't make sense.

I already keep red and blue gaussian lines in my volume window for the same purpose :)
 
Back
Top