NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: ratfink
Forum: NinjaTrader February 28th, 2017, 02:44 AM
Replies: 5
Views: 2,736
Posted By ratfink
Saying 'logic errors' doesn't help much, it's...

Saying 'logic errors' doesn't help much, it's used often and works fine, e.g with CalculateOnBarClose set to false, then in OnBarUpdate:



if (FirstTickOfBar)
{
// here we get only the...
Forum: NinjaTrader February 27th, 2017, 05:27 PM
Replies: 5
Views: 2,736
Posted By ratfink
Use the 'FirstTickOfBar' variable (NT7)....

Use the 'FirstTickOfBar' variable (NT7). ('IsFirstTickOfBar' in NT8)

When it's true you then know that the previous bar just closed and the new bar is just opening (i.e effectively the same as...
Showing results 1 to 2 of 2

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 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