NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 15 of 15
Search: Posts Made By: monpere
Forum: NinjaTrader March 14th, 2012, 03:41 PM
Replies: 66
Views: 24,433
Posted By monpere
The specialized command goes in the indicator...

The specialized command goes in the indicator OnBarUpdate() code. The strategy is only reading that command, and resetting it after it has read and processed it.


//###
//### Indicator
//###...
Forum: NinjaTrader March 14th, 2012, 03:10 PM
Replies: 66
Views: 24,433
Posted By monpere
My indicator and strategy have a lot of...

My indicator and strategy have a lot of customized code for my particular style of trading, but a simple case would look like this:


//###
//### Strategy
//###
public class TradeManager_Global...
Forum: NinjaTrader March 14th, 2012, 01:47 PM
Replies: 66
Views: 24,433
Posted By monpere
I check in OnMarketData(), and I have a 1 second...

I check in OnMarketData(), and I have a 1 second timer check.
Forum: NinjaTrader March 14th, 2012, 09:56 AM
Replies: 66
Views: 24,433
Posted By monpere
I feel the same way you do. Although I think...

I feel the same way you do. Although I think this approach is pretty cool technically, its un-supportability is the reason I chose not to go that route. If you want a more supportable approach,...
Forum: NinjaTrader March 13th, 2012, 10:36 AM
Replies: 66
Views: 24,433
Posted By monpere
OIF requires additional I/O to disk. That is...

OIF requires additional I/O to disk. That is always more expensive.
Forum: NinjaTrader February 23rd, 2012, 05:58 PM
Replies: 66
Views: 24,433
Posted By monpere
Thanks. By the way, I just recently found out...

Thanks. By the way, I just recently found out that using unmanaged orders in a strategy, also allows you to move the stop and target orders like when you call ATM's from the strategy.
Forum: NinjaTrader February 23rd, 2012, 04:17 PM
Replies: 66
Views: 24,433
Posted By monpere
Cool idea, thanks. Does that strategy live only...

Cool idea, thanks. Does that strategy live only during the time the trade is open, and then dies once the trade closes? And also, can you still communicate with that strategy while the trade is...
Forum: NinjaTrader February 23rd, 2012, 09:33 AM
Replies: 66
Views: 24,433
Posted By monpere
#region Variables private...

#region Variables
private NinjaTrader.Strategy.TMFTGuidedStrategy trader;
private Button buyRange;
private Button sellRange;
.
Where and how do you define...
Forum: NinjaTrader February 23rd, 2012, 09:10 AM
Replies: 66
Views: 24,433
Posted By monpere
I've recently been using a simpler way to...

I've recently been using a simpler way to communicate between the indicator and strategy using a public class declared outside of the strategy namespace, as follows:

In the Strategy, I have:
...
Forum: NinjaTrader February 21st, 2012, 10:23 PM
Replies: 66
Views: 24,433
Posted By monpere
Is the close button on the chart trader the...

Is the close button on the chart trader the default close button from NT, or is it a button that you created in the chart trader, that tells the strategy to close the trade?
Forum: NinjaTrader February 21st, 2012, 07:02 PM
Replies: 66
Views: 24,433
Posted By monpere
That is true. Closing a position with a...

That is true. Closing a position with a charttrader close button will terminate the strategy. I don't think you can avoid it. I generally close trades manually by moving the target order on the...
Forum: NinjaTrader December 1st, 2011, 07:17 PM
Replies: 66
Views: 24,433
Posted By monpere
https://nexusfi.com/download/vip_elite_circle/788-...

https://nexusfi.com/download/vip_elite_circle/788-download.html?view
Forum: NinjaTrader December 1st, 2011, 07:30 AM
Replies: 66
Views: 24,433
Posted By monpere
You cannot do advanced trade management with an...

You cannot do advanced trade management with an indicator. The only order management method I know of that can be used inside and indicator is CreateOrder(). That is the method used in the bTPA...
Forum: NinjaTrader November 30th, 2011, 09:56 PM
Replies: 66
Views: 24,433
Posted By monpere
You have to write your own code for the button...

You have to write your own code for the button actions. Most of my order buttons control a separately running strategy. The break even button tells the strategy to do something like...
Forum: NinjaTrader November 30th, 2011, 08:45 PM
Replies: 66
Views: 24,433
Posted By monpere
Check out the ChartButtons indicator in the...

Check out the ChartButtons indicator in the download section as an alternative. I use it exclusively, and can use it with or without chart trader visible or enabled, and no need to alter NinjaTrader...
Showing results 1 to 15 of 15

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