Dark
Theme
Light
Theme
Register
Username or Email
Username or Email
Password
Password
Forgot
Signup
Forgot
Browse
Register
Downloads / Indicators
Articles
Upgrade to Elite
Unanswered Posts
My Posts
Return to Homepage
Today's Posts
Trading Reviews and Vendors
Futures Brokers Reviews
Traders Hideout (general)
Platforms and Indicators
Trading Journals
Elite Trading Journals
Psychology and Money Management
Off-Topic
The Elite Circle
Webinars
Trading Articles
Main Trading Articles Index
Article Categories
Help, Tutorials, How-To's
Traders and Trading Methods
Platforms, Tools and Indicators
Terms (Glossary)
Article Tools
List New Articles
List Recent Article Changes
Random Article
Most Popular Articles
Category Groupings
Wanted Articles
Most Linked to from Forum
Go to Page...
Quotes
by TradingView
>
Search Forums
>
Showing results 1 to 9 of 9
Filter subforums listed
Search:
Posts Made By:
gregid
Forum:
NinjaTrader
April 28th, 2015, 05:23 PM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
You're welcome
You're welcome
Forum:
NinjaTrader
April 28th, 2015, 05:09 PM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
Hard to say, theoretically both should work, but...
Hard to say, theoretically both should work, but just in case when using multiple bars series always use CurrentBars[x]
Forum:
NinjaTrader
April 28th, 2015, 04:13 PM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
The problem is you don't have enough bars...
The problem is you don't have enough bars available - you are requesting data from 4 bars ago (3) while on bar 0, 1, 2. This won't work so you need to make sure that:
if (CurrentBars[1] < X) return;...
Forum:
NinjaTrader
April 28th, 2015, 03:42 PM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
Now we know that the secondary bars have been...
Now we know that the secondary bars have been successfully added and the error was in your DrawText.
If you are inside BarsInProgress == 1 you can use Open[X] and this will use the right Bars, so...
Forum:
NinjaTrader
April 28th, 2015, 11:50 AM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
OK, please try the minimum version with just...
OK, please try the minimum version with just adding the bar and Print method (no DrawText...) just as in my post - trying to identify where the error is.
Forum:
NinjaTrader
April 28th, 2015, 11:45 AM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
I think the error message is cutoff - can you...
I think the error message is cutoff - can you scroll to the right to get a full one?
Forum:
NinjaTrader
April 28th, 2015, 11:24 AM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
What is UT2? Try adding without the...
What is UT2?
Try adding without the Instrument.FullName, ie:
Add(PeriodType.Custom4, 10);// [1]
Also for better debugging add Print method to check in the output window if it executes:
...
Forum:
NinjaTrader
April 28th, 2015, 09:38 AM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
You had it at the bottom: :becky: ///...
You had it at the bottom: :becky:
/// <summary>
/// </summary>
public ReversalBarsType () : base(PeriodType.Custom4)
{
this.OxFln4MCc = true;
}
So use Custom4 to add the bar...
Forum:
NinjaTrader
April 28th, 2015, 09:06 AM
Replies:
19
Add(Instrument.FullName,PeriodType.... ReversalBarsType
Views:
5,493
Posted By
gregid
I gather ReversalBars is some custom bar type you...
I gather ReversalBars is some custom bar type you have imported to NT. The only way to add custom bar type is to use Custom or Final eg. assuming that ReversalBars use Custom5 you would use:
...
Showing results 1 to 9 of 9
Have you been scammed by "Vinny Emini"?
Yes
No
Who?
View Results
Discuss Poll
futures io is now NexusFi
Trading Webinars How-to's
Trading Reviews & Products
Legends Trading (Prop Trading)
NinjaTrader Brokerage (Broker)
Ninja Mobile Trader (Server Hosting)
Apex Trader Funding (Prop Trading)
Tradovate (Trading Platform)
NinjaTrader (Trading Platform)
SharkIndicators (Trading Software)
© 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.