NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: sam028
Forum: NinjaTrader May 12th, 2010, 07:51 AM
Replies: 34
Views: 14,277
Posted By sam028
I've made a quick example, take a look at it. ...

I've made a quick example, take a look at it.

13225

In this example, it will only send one mail, the boolean variable have to be re-initialized to false, when needed.
The first steps is,...
Forum: NinjaTrader May 11th, 2010, 10:24 AM
Replies: 34
Views: 14,277
Posted By sam028
I've just read it, can play with Ninja now, but...

I've just read it, can play with Ninja now, but some quick remarks:
- I don't see any boolean flag, to avoid multiple emails, and
- maybe using entryOrder1.AvgFillPrice instead of...
Forum: NinjaTrader May 11th, 2010, 05:07 AM
Replies: 34
Views: 14,277
Posted By sam028
Can you attache the .cs file for the strategy...

Can you attache the .cs file for the strategy you're working on ?
It will much much easier to see what's wrong.
Forum: NinjaTrader May 7th, 2010, 09:52 AM
Replies: 34
Views: 14,277
Posted By sam028
It's up to you, 2 choices: - send the email...

It's up to you, 2 choices:
- send the email when the order is sent, or
- send the email when he order is filled
So not both, unless you want two emails, one went the order is sent, an other one...
Forum: NinjaTrader May 6th, 2010, 11:17 AM
Replies: 34
Views: 14,277
Posted By sam028
It looks good. I use in this example a variable...

It looks good.
I use in this example a variable _ordefilled which needs to de defined and correctly initialized, but you have the idea I think: send the email only if the order is really filled....
Forum: NinjaTrader May 6th, 2010, 07:10 AM
Replies: 34
Views: 14,277
Posted By sam028
Just add a flag after each email/event: ...

Just add a flag after each email/event:

protected override void Initialize() {
private bool _enter_mail = false;
private bool _be_mail = false;
private bool _close_mail = false;
...
}
...
Showing results 1 to 6 of 6

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