Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Soultrader

Delta Divergence

Recommended Posts

Credit and thanks goes out to Blu-Ray for developing this indicator. The original post can be located here.

 

" It's based on the High of Day and Low of Day, I've also coded it with the alerts to fire off when a divergence appears.

 

Note: when testing it today, Alerts were really annoying within the first 15-30 minutes of the day, as they kept firing off when the market is finding it's range. ( Maybe that was my fault because I was testing it on 5 different symbols ;) )

 

Also coded it up into a "Show Me", so it will plot a dot with the relevant color when a divergence appears. However, I've coded this one up to fire off as soon as the next bar starts. As what would happen, it would plot a dot when divergence started to appear within a bar, but by the time the bar finished and there was no divergence the dot would still be there.

 

Note: to anyone unfamilar with this indicator, it will only work on LIVE data ( not historical )"

 

Screenshot is attached.

DELTA_DIVERGENCE.ELD

DELTA_DIVERGENCE_SM.ELD

5aa70e36e1461_DeltaDivergence.thumb.png.0060f406c051cc5bdfe4ed71bc1ecb2e.png

Share this post


Link to post
Share on other sites

I am using a 1 min and a 144 tick chart. I had it on for a day and did not get any divergences on the ym charts. What am I doing wrong here. If you do it on volume how do you plot it on a tick chart.

Thanks

Share this post


Link to post
Share on other sites

Hi I"m trying to download the ELD for thr DELTA DIVERGENCE INDICATOR and everytime I click on the document I got A message that I'm trying to edit someone else post or not logged in.Can anyone tell me how can I get this indicator in any other way.?

Sorry I'm new user and just don't know.

Thanks for any help:doh:

Share this post


Link to post
Share on other sites

hi-- great looking indicator-- thanks! i am trying to use this on a tick chart and so far have not seen any dots/divergences on the chart. is it possible i don't have parameters set correctly, or does it not work on tick charts? thanks...

Share this post


Link to post
Share on other sites
have not seen any dots/divergences on the chart... does it not work on tick charts? thanks...
You were not specific with your symbol and tick setting and datafeed source, but it should work with tick charts if the symbol traded a few times at higher higher (HH) or lower lows (LL) with respect to the HOD or LOD, respectively.

 

For example the attached showed about a dozen DD (Delta Diverg.) this AM with the ESH08 189 tick, TS data feed. A trader wouldn't have been very successful buying the DD (shown blue) for the first 10 signals or so. However, the signal could be useful in combination with other trend determination.

5aa70e39ca915_ESDD2008-02-04_133553.png.542c28954ce5473b1bea95da038aa59b.png

Share this post


Link to post
Share on other sites
You were not specific with your symbol and tick setting and datafeed source, but it should work with tick charts if the symbol traded a few times at higher higher (HH) or lower lows (LL) with respect to the HOD or LOD, respectively.

 

For example the attached showed about a dozen DD (Delta Diverg.) this AM with the ESH08 189 tick, TS data feed. A trader wouldn't have been very successful buying the DD (shown blue) for the first 10 signals or so. However, the signal could be useful in combination with other trend determination.

 

Thanks I think I got it working--- I noticed you are using the front month on the ES and I have been using the Continuous so that may have been the problem... thanks for the pic!:)

Share this post


Link to post
Share on other sites

Apologies if this has already been covered but does the divergence indicator in this thread calculate a divergence in the same way as this video

 

http://blog.marketdelta.com/index.php?s=Divergence&submit=

 

I am not a TS indicator expert but if blue ray is able to say whether any of the posted indicators is capable of being edited. The video seems to look in particular at lows in a range and then applying the divergence related to that position.

 

This forum is excellent (sharing of practical information). I think it was in the forum that I only recently realised ninjatrader had such good charting and flexibility in processing data.

 

Best regards

 

Ian

Share this post


Link to post
Share on other sites
Apologies if this has already been covered but does the divergence indicator in this thread calculate a divergence in the same way as this video

 

http://blog.marketdelta.com/index.php?s=Divergence&submit=

 

I am not a TS indicator expert but if blue ray is able to say whether any of the posted indicators is capable of being edited. The video seems to look in particular at lows in a range and then applying the divergence related to that position.

 

This forum is excellent (sharing of practical information). I think it was in the forum that I only recently realised ninjatrader had such good charting and flexibility in processing data.

 

Best regards

 

Ian

 

 

Ian

 

Yes it is exactly the same and it's FREE !

 

Cheers

 

Blu-Ray

Share this post


Link to post
Share on other sites

Great Blu-Ray and many thanks as watching that video I understood what the logic was trying to do (painting a divergence where it might matter). I understand that it has to run real time so I will watch it over the next few days to get acquainted with its action.

Share this post


Link to post
Share on other sites

Hi Blu-Ray,

I see that you developed the Delta Divergence indicator for TS. I use NinjaTrader and was wondering if I could get a textfile of the EL code, so that I can port it to NinjaTrader.

Please feel free to give me a flat "no" if this is an imposition.

 

Thanks

Share this post


Link to post
Share on other sites
Hi Blu-Ray,

I see that you developed the Delta Divergence indicator for TS. I use NinjaTrader and was wondering if I could get a textfile of the EL code, so that I can port it to NinjaTrader.

Please feel free to give me a flat "no" if this is an imposition.

 

Thanks

 

NO !! ...................... ;)...... lol... only joking, here you go :

 

inputs:

UpColor(Green),

DownColor(Red),

UpDivergence(Blue),

DownDivergence(Magenta);

 

variables:

 

MyVol(0), LL(0),HH(0),

Color(yellow),

intrabarpersist MyCurrentBar(0),

intrabarpersist VolumeAtBid(0),

intrabarpersist VolumeAtAsk(0),

intrabarpersist BAVolDiff(0),

intrabarpersist VolTmp(0);

 

if date <> date[1] then begin

LL = low;

HH = High;

end;

 

if Low < LL then LL = Low;

if High > HH then HH = high;

 

 

 

if LastBarOnChart then begin

MyVol = Iff(BarType < 2, Ticks, Volume);

if CurrentBar > MyCurrentBar then begin

VolumeAtBid = 0;

VolumeAtAsk = 0;

BAVolDiff= 0;

VolTmp = 0;

MyCurrentBar = CurrentBar;

end;

if InsideBid < InsideAsk then begin

if Close <= InsideBid then

VolumeAtBid = VolumeAtBid + MyVol - VolTmp

else if Close >= InsideAsk then

VolumeAtAsk = VolumeAtAsk + MyVol - VolTmp ;

end;

if VolumeAtBid > 0 and VolumeAtAsk > 0 then BAVolDiff= VolumeAtAsk-VolumeAtBid ;

VolTmp = MyVol ;

end ;

if BAVolDiff<= 0 then color = DownColor else color = UpColor;

 

plot1(BAVolDiff, "BAVolDiff", color);

Plot2( 0, "ZeroLine" ) ;

 

if low = LL and BAVolDiff> 0 then begin

setplotcolor(1,UpDivergence);

Alert( "New Low_Bid/Ask_Divergence");

end;

 

if high = HH and BAVolDiff< 0 then begin

setplotcolor(1,DownDivergence);

Alert ("New High_Bid/Ask_Divergence");

end;

 

 

Hope this helps

 

Blu-Ray

Share this post


Link to post
Share on other sites

Astro there are a whole bunch of Ninja 'delta' type indicators (as there are TS ones :)). I don't recall there being any that do divergence but it would probably be easier to use one of those as a starting point. I believe they are filed under 'buy sell' in the Ninja indicator section of the forum.

Share this post


Link to post
Share on other sites

Thanks you Bluray for developing this indicator. I have been using it so far on 20 min currency futures charts and like what I see.

 

I wanted to change the color of the blue show me dot to a color that I can see better on my chart. I have tried changing the color on both the Input tab, and under the color tab and I have not had any luck. Should Updivergence and Down divergence both be the same color under both tabs? I have tried this and havent had any luck. Any insight into this would be appreciated very much.

 

Bluray thaks again to the contributions you have made to this site.

 

Scott

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Topics

  • Posts

    • IMHO, the best feature of the Double Seven entry strategy is that buys and does not sell in equity-based markets. Large scale selling short in the primary stock markets requires a financed loan of shares from a broker, so it's less common than buying. Therefore, selling in a stock-tracking market generally isn't profitable--even where derivative instruments provide cheaper access to selling.
    • Another chart type... Footprint. 
    • I would forget about tinkering with lot sizes in the short-term. I only increase my lot size when it's justified by my growing capital (closed profit). Adjusting lot size on the fly would imply that I somehow know the specific probability of each individual trade succeeding--which I don't. So, I focus on the overall statistical performance of my strategy over every 6 months. This doesn't require anything clever. As an example, choose a chart structure (15 minute, 1 hour, Renko, range bar, etc.) where price swings are identifiable to your eye. Load a MACD oscillator onto the chart. Note that there are two MACD's floating around online. The "old" MACD uses a weighted EMA in its calculations while the "new" MACD uses a regular MACD in its calculations. If you're using the old one, focus on the main line crossing the signal line and ignore the zero level. If you're using the new one, focus on the main line crossing the zero level and ignore the signal line. These are your entries. Your dynamic exit target is the opposite crossover of whichever MACD lines you're using. Now for the most challenging part... stopouts. You need to determine the number of pips/points/ticks at which price traveled against your entry and did not return in favor of your entry for all trades. These stopout statistics can be collected with pen and paper, which I have arduously done in the past. This is much easier if you can code, backtest, and auto-optimize the stop level. The idea is that your dynamic takeprofit is theoretically infinite, and your stop is fixed at a level that is statistically favorable to you. Although this isn't really "money managment," it certainly manages your money.  
    • PRM Perimeter Solutions stock top of range breakout at https://stockconsultant.com/?PRM
    • PNR Pentair stock narrow range breakout at https://stockconsultant.com/?PNR
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.