NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 7 of 7
Search: Posts Made By: wuileng
Forum: NinjaTrader February 4th, 2016, 04:04 PM
Replies: 13
Views: 7,547
Posted By wuileng
I've played around with it a bit more. It seems a...

I've played around with it a bit more. It seems a workaround for this problem would be to not define my indicator in State.Configure, but instead wait till OnBarUpdate to do so (of course with logic...
Forum: NinjaTrader February 4th, 2016, 03:49 PM
Replies: 13
Views: 7,547
Posted By wuileng
What I meant is that when I try to use my...

What I meant is that when I try to use my indicator from within a strategy (via AddChartIndicator), the strategy fails to run because the indicator is referencing BarsPeriod. However, this does not...
Forum: NinjaTrader February 4th, 2016, 03:25 PM
Replies: 13
Views: 7,547
Posted By wuileng
Okay, I just tried several things out. All three...

Okay, I just tried several things out. All three lines work when applying the indicator to a chart.

However, when calling the indicator from a strategy, only the third (the hardcode) works. Sorry...
Forum: NinjaTrader February 4th, 2016, 03:03 PM
Replies: 13
Views: 7,547
Posted By wuileng
else if (State == State.Configure) { int...

else if (State == State.Configure)
{
int barValue = Math.Max(1, base.BarsPeriod.Value);
AddDataSeries(RefInstrument, base.BarsPeriod.BarsPeriodType, barValue, Data.MarketDataType.Last);...
Forum: NinjaTrader February 4th, 2016, 02:51 PM
Replies: 13
Views: 7,547
Posted By wuileng
Thanks again for your help. I just tried...

Thanks again for your help.

I just tried your syntax, and am getting the same error I was getting using my syntax:



When I do not reference anything to do with BarsPeriod or BarsPeriods...
Forum: NinjaTrader February 4th, 2016, 02:08 PM
Replies: 13
Views: 7,547
Posted By wuileng
Thanks for your response. I don't think the...

Thanks for your response. I don't think the syntax is incorrect as I have already made the code-breaking adjustments required from NT7 to NT8 and it compiles fine.

The problem is that the primary...
Forum: NinjaTrader February 4th, 2016, 12:56 PM
Replies: 13
Views: 7,547
Posted By wuileng
NT8 - Multi Instrument Indicators

Has anyone tried writing a multi instrument/spread indicator in NT8?

I was wondering if there was a way to add a secondary series which takes on the BarsPeriodType and BarsPeriod of the primary...
Showing results 1 to 7 of 7

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