NexusFi: Find Your Edge


Home Menu

 





Best way to signal divergence in NT strategy (wizard or code)


Discussion in NinjaTrader

Updated
    1. trending_up 1,151 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread

Best way to signal divergence in NT strategy (wizard or code)

  #1 (permalink)
d122y
Dublin, Ireland
 
Posts: 2 since Jan 2022
Thanks Given: 0
Thanks Received: 1

I'm looking to create and backtest a divergence strategy, for example on RSI or CumDelta vs price.

I've found I can easily compare rising or falling RSI even with the UI wizard but it needs to compare latest bar to n bars ago - where n is hardcoded. Is there a method or indicator I could use and input to a custom strategy which would make this fuzzier? By this I mean a method that accounts for recent divergence without forcing me to time it to the bar...

I'm also looking to develop and backtest a strategy around support and resistance breakouts.

What is the best way to programatically find these levels or geometries? Ideally with a parameter signifying the strength based on how many times they've been bounced off.. I take it this is something that has been done many times in NT/c# but I couldn't find much in history..


As I'm looking to backtest and tune strategies, visual indicators for the above are less useful.

Any help much appreciated!

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
22 thanks
What is Markets Chat (markets.chat) real-time trading ro …
19 thanks
ApexTraderFunding.com experience and review
15 thanks
GFIs1 1 DAX trade per day journal
15 thanks
EG Indicators
11 thanks
  #2 (permalink)
 pajarojo 
hood river or
 
Experience: Beginner
Platform: NinjaTrader
Trading: es
Posts: 3 since Nov 2020
Thanks Given: 1
Thanks Received: 6

I use sharkindicators bloodhound so I don't know how to specifically do it with a NT strategy but the way I've looked for divergence there was to run a donchian channel on both the indicator and on price and comparing them, e.g. if price is pushing against the top of it's donchian channel but the RSI is not moving up it's donchian upper line then you have divergence.

Reply With Quote
Thanked by:




Last Updated on February 6, 2022


© 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