NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: monpere
Forum: NinjaTrader April 21st, 2012, 02:40 PM
Replies: 20
Views: 8,113
Posted By monpere
The DrawText() statement is not required. I just...

The DrawText() statement is not required. I just put it there to show on the chart what bars are being affected by the code. DrawText() and Print() statements can help a lot in debugging code that...
Forum: NinjaTrader April 21st, 2012, 12:49 PM
Replies: 20
Views: 8,113
Posted By monpere
Here's an example namespace...

Here's an example

namespace NinjaTrader.Strategy
{
public class a0test : Strategy
{
#region Variables
#endregion

protected override void Initialize() {
Forum: NinjaTrader April 19th, 2012, 07:43 PM
Replies: 20
Views: 8,113
Posted By monpere
From TN Help manual // Only trade between...

From TN Help manual


// Only trade between 7:45 AM and 1:45 PM
if (ToTime(Time[0]) >= 74500 && ToTime(Time[0]) <= 134500)
{
// Strategy logic goes here
}
Showing results 1 to 3 of 3

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