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 6 of 6
Filter subforums listed
Search:
Posts Made By:
sam028
Forum:
NinjaTrader
May 12th, 2010, 07:51 AM
Replies:
34
SendMail() for strategies
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
SendMail() for strategies
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
SendMail() for strategies
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
SendMail() for strategies
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
SendMail() for strategies
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
SendMail() for strategies
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?
Limited trading instruments
High platform usage fees
Lack of support or mentorship
Unrealistic rules and requirements
No significant challenges
Something else (discuss in thread)
View Results
Discuss Poll
futures io is now NexusFi
Trading Webinars How-to's
Trading Reviews & Products
Join Markets Chat waitlist
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.