NexusFi: Find Your Edge


Home Menu

 





Divergence Strategy with Bloodhound


Discussion in NinjaTrader

Updated
    1. trending_up 572 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 3 attachments




 
Search this Thread

Divergence Strategy with Bloodhound

  #1 (permalink)
 grzltn 
Melbourne, Australia
 
Experience: Intermediate
Platform: NinjaTrader8
Broker: NT Brokerage
Trading: Futures
Posts: 23 since Jul 2021
Thanks Given: 16
Thanks Received: 15

Hi all,

I have been teaching myself c# and slowly making progress trying to code up my current trading system.

Then found Bloodhound. It seems to do most of what I need to do and much more. However I have gotten stuck. My strategy is based on divergence and to date I have used the Ninza DivergenceEngine$. However this does not appear to work with Bloodhound.

Is anyone aware of a clean divergence indicator that does work with Bloodhound?

Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
What broker to use for trading palladium futures
Commodities
Better Renko Gaps
The Elite Circle
 
  #2 (permalink)
 
mwf2220's Avatar
 mwf2220 
Abu Dhabi United Arab Emirates
 
Experience: None
Platform: NinjaTrader
Broker: Philip Capital
Trading: futures
Posts: 173 since Sep 2020
Thanks Given: 1,555
Thanks Received: 392


grzltn View Post
Hi all,

I have been teaching myself c# and slowly making progress trying to code up my current trading system.

Then found Bloodhound. It seems to do most of what I need to do and much more. However I have gotten stuck. My strategy is based on divergence and to date I have used the Ninza DivergenceEngine$. However this does not appear to work with Bloodhound.

Is anyone aware of a clean divergence indicator that does work with Bloodhound?

Thanks in advance.

Hey, I think you might have some settings wrong; the DEngine$ works fine in BH for me. Remember that you have to nest the indicator you will base divergences on in the DivergenceEngine$ within BH:



Once you do that, set the comparison to compare to 0:



and you should have it:



Hope this is useful.

I'm happy to send the template, but I'm still on BH 1.x so not sure if it will work for you. Besides, you should be able to recreate this easily.

Feel free to reach if anything is unclear.

Good luck.

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 grzltn 
Melbourne, Australia
 
Experience: Intermediate
Platform: NinjaTrader8
Broker: NT Brokerage
Trading: Futures
Posts: 23 since Jul 2021
Thanks Given: 16
Thanks Received: 15



mwf2220 View Post
Hey, I think you might have some settings wrong; the DEngine$ works fine in BH for me. Remember that you have to nest the indicator you will base divergences on in the DivergenceEngine$ within BH:

Hey @mwf2220,

Thank you for responding. You are right and it is fairly straight forward to use the DE$ long/short flags in Blood Hound. My trading qualifies the trade based on the actual indicator values at the divergence points and not just a L/S flag.

I spend some quality time with Shark Indicators this morning and think I have landed on a reasonable solution. My current plan is to write a pass-through wrapper for the DE$. I will either pass the "y" values through as well as various values so I can use these in the Comparison Solver (my preference), of if too hard I will just keep decision logic inside the wrapper - filtering out signals that do not meet my x & y criteria.

You just gotta love the flexibility of the tools we have these days!

Warmest,

Lex

PS a shout out to Keith from Shark Indicators for extending himself above and beyond reasonable expectations.

Started this thread Reply With Quote
Thanked by:
  #4 (permalink)
 
mwf2220's Avatar
 mwf2220 
Abu Dhabi United Arab Emirates
 
Experience: None
Platform: NinjaTrader
Broker: Philip Capital
Trading: futures
Posts: 173 since Sep 2020
Thanks Given: 1,555
Thanks Received: 392

Hey, glad you got it sorted. Sorry for my uber-basic reply; I thought you were stuck on something simple, but clearly not.

Just out of curiosity, when you say "My trading qualifies the trade based on the actual indicator values at the divergence points and not just a L/S flag." are you talking about the underlying indicator used to spot divergences, like the MACD, or the DE$? I ask because I enquired awhile ago about setting up alerts for divergence candidates before confirmation but they (Ninza) said no dice. Just wondered if you were getting data from the DE$ itself or another indicator.

If you'd prefer not to divulge anything, no worries, but any insights would be appreciated.

Thanks, and good luck with your plan.

Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 Mojomood 
Chicago, Illinois, US
 
Experience: Master
Posts: 6 since Jan 2023
Thanks Given: 0
Thanks Received: 2


grzltn View Post
Hey @mwf2220,

Thank you for responding. You are right and it is fairly straight forward to use the DE$ long/short flags in Blood Hound. My trading qualifies the trade based on the actual indicator values at the divergence points and not just a L/S flag.

I spend some quality time with Shark Indicators this morning and think I have landed on a reasonable solution. My current plan is to write a pass-through wrapper for the DE$. I will either pass the "y" values through as well as various values so I can use these in the Comparison Solver (my preference), of if too hard I will just keep decision logic inside the wrapper - filtering out signals that do not meet my x & y criteria.

You just gotta love the flexibility of the tools we have these days!

Warmest,

Lex

PS a shout out to Keith from Shark Indicators for extending himself above and beyond reasonable expectations.

I'm also working on an algorithm to see divergences from the values of the indicator, not price. That is my issue with D3 Spotter and many others in that they tell you there was a divergence after price has reached the peak/valley. Working from the indicator values does have the risk to alert too early, which is why I've been working on level detection that can be fed to a strategy for awhile. Let me know how it goes with divergence detection. It's a hard thing to solve as (IMO) it can't be solved consistently with knowledge of likely reversal zones, but when combined...

Reply With Quote




Last Updated on November 5, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts