NexusFi: Find Your Edge


Home Menu

 





Programming NT7 strategy using Unirenko Bars


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one currencychick with 1 posts (0 thanks)
    2. looks_two rleplae with 1 posts (0 thanks)
    3. looks_3 kjhosken with 1 posts (0 thanks)
    4. looks_4 Pahadi with 1 posts (0 thanks)
    1. trending_up 3,183 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 adaisguy 
Edmonton, Alberta
 
Experience: Intermediate
Platform: NT8
Broker: Continuum, Global Futures, Ironbeam
Trading: ES
Posts: 7 since May 2016
Thanks Given: 1
Thanks Received: 4

Hey Everyone,

I'm trying to program a strategy in NT7 using unirenko bars. Basically it looks for a setup using minute bars then uses a unirenko reversal bar as the trigger to place the trade. I'm having an issue getting the strategy to recognize the open/close prices of the unirenko bars. I have read a lot of forum posts here about getting it to work but it doesn't seem to be working for me.

I'm using unirenko v4 from the downloads at NexusFi. If I use the minute dataseries and add the unirenko in the strategy with Add(PeriodType.Custom5, 002004004), in the output window I only get one data point for the unirenko open and close. That data does not update even though the unirenko chart does.

If I use unirenko as the primary dataseries I only get a value of zero for the open and closes of the unirenko bars.

I've read that that unirenko does not backtest well but I am testing it using the market replay connection. I assume NT handles market replay data the same as a live connection.

Does anyone have any ideas?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Hormuz Completely Closed: US Strikes Day 2, Iran Shoots …
Traders Hideout
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
Iran and Israel Stand Down: What $9M in Peace Contracts …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #2 (permalink)
 Pahadi 
Toronto, Canada
 
Experience: Intermediate
Platform: NinjaTrader
Broker: NinjaTrader
Trading: S&P 500
Posts: 4 since Feb 2012
Thanks Given: 3
Thanks Received: 1

Hi Adaisguy,
Did you get a reply regarding your inquiry?
Thanks
Al


Reply With Quote
  #3 (permalink)
 
rleplae's Avatar
 rleplae 
Gits (Hooglede) Belgium
Legendary Market Wizard
 
Experience: Master
Platform: NinjaTrader, Proprietary,
Broker: Ninjabrokerage/IQfeed + Synthetic datafeed
Trading: 6A, 6B, 6C, 6E, 6J, 6S, ES, NQ, YM, AEX, CL, NG, ZB, ZN, ZC, ZS, GC
Posts: 2,947 since Sep 2013
Thanks Given: 2,442
Thanks Received: 5,855


Difficult to comment without a bit of code sample...

I did a strategy with Unirenko in the past and high/low was accessible
maybe it's the version of your unirenko ? or your code ?


Follow me on X Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 currencychick 
Durham, NC
 
Experience: Intermediate
Platform: Ninja Trade, Meta Trader
Broker: PFG
Posts: 58 since May 2010
Thanks Given: 9
Thanks Received: 19

Having the same issue. In real time and replay it's good, but when I reload it looks the Holy Grail of Trading
What can I add to strategy that so that it reads that accurately historically.
I've seen the hybrid renko. Is it a matter of changing the actual bars or can code be added to address. Thanks


Reply With Quote
  #5 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
Posts: 96 since Sep 2016
Thanks Given: 7
Thanks Received: 35

I may be off base on this, but as I understand your problem since you are looking for a unirenko reversal, you already know how far price needs to move off the setup for a qualifying price move, so can you just place a trailing stop order?


Follow me on X Reply With Quote




Last Updated on May 21, 2019


© 2026 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 - Downloads - Top
no new posts