NexusFi: Find Your Edge


Home Menu

 





NT8 coding values of "Additional Data"


Discussion in NinjaTrader

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




 
Search this Thread
  #1 (permalink)
 felgab 
Montreal, Quebec
 
Experience: Intermediate
Platform: NinjaTrader
Trading: Futures
Posts: 16 since Jul 2011
Thanks Given: 9
Thanks Received: 5

Hello traders and coders. I use NT8 and the “Strategy Builder” program for simple strategies. I created one for a 233 ticks chart with “Conditions” and “Buy Orders” for Go Long and Go Short by adding an “Additional Data” (4181 ticks). The problem with “Strategy Builder”, tell me if I'm wrong, is that if you want the for "Go Long" or "Go Short" to be automatic, you have to work in “On bar close” mode. In the strategy I used “variables” to calculate some values comming from the “Additional Data” (4181 ticks). Long short story, I thought everything was calculated at the end of each “bar” of the 233 ticks chart, but I've discovered that this isn't the case for variables that use “Additional Data”! It seems that the values of the 4181 ticks chart are calculated at the end of each 4181 bar and not of the 233 ticks chart. On the other hand, when I use the same conditions, without the "Go Long" or "Go Short" in an indicator, and with the “On price change”, all the calculations are good and I get what I want. My question is this: is there a way to program or code NT8 with a strategy so that orders generate themselves, but calculations are performed on each price movement of 233 ticks chart?


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
The June 15 Resolution Trap: Irans Agreed Text Still Pri …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
The 50/50 Paradox: Peace and Invasion Each at 20% -- Ira …
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
1 thanks
  #2 (permalink)
 r3torcr0 
Buffalo NY
 
Experience: Beginner
Platform: NinjaTrader
Trading: Forex
Posts: 35 since Sep 2013
Thanks Given: 7
Thanks Received: 28

Sorry to ask a question before I answer but one more piece of information could be very helpful. Are you order triggers based on a volume level or a price level?


Follow me on X Reply With Quote




Last Updated on March 11, 2025


© 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