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 8 of 8
Filter subforums listed
Search:
Posts Made By:
Big Mike
Forum:
NinjaTrader
August 20th, 2009, 01:29 AM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
Good plan vast. Here are my thoughts, untested...
Good plan vast. Here are my thoughts, untested code below. There is probably a simpler way to do this, perhaps using MAX on the Performance.RealtimeTrades DataSeries, but I didn't have time to test...
Forum:
NinjaTrader
August 19th, 2009, 08:53 PM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
vast, Please explain in plain english what...
vast,
Please explain in plain english what it is you are trying to accomplish with all of your code, list all the objectives please. I am sorry but I am not sure what you are trying to do...
Forum:
NinjaTrader
August 19th, 2009, 03:07 AM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
Also my suggestion is to simplify things a bit. ...
Also my suggestion is to simplify things a bit. You can write C# code in a way where it flows like English and in a logical fashion. It may not be the most optimized code but don't worry about that...
Forum:
NinjaTrader
August 19th, 2009, 02:54 AM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
vast, First you should post code using the...
vast,
First you should post code using the PHP Code tag (is on editor toolbar) so it doesn't word-wrap.
The issue with your code is in this area:
if
(CumProfit >...
Forum:
NinjaTrader
August 16th, 2009, 11:56 PM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
Sorry can't test right now. You may need to do a...
Sorry can't test right now. You may need to do a check first:
if (Performance.AllTrades.Count > 1)
If it's zero it may screw up the rest. Check the log for any obvious errors.
Sorry about...
Forum:
NinjaTrader
August 13th, 2009, 10:03 PM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
Yup good job. Gary and I have similar...
Yup good job.
Gary and I have similar thoughts and MM plan, think of it like a trailing stop for your daily profit target/loss.
Forum:
NinjaTrader
August 13th, 2009, 08:59 PM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
Hmm. Maybe create your own DataSeries. ...
Hmm. Maybe create your own DataSeries.
#variables
private DataSeries mycumprofit;
#init
mycumprofit = new DataSeries(this);
#onbarupdate
Forum:
NinjaTrader
August 13th, 2009, 03:26 PM
Replies:
21
Stop strategy after a set $ amount lost from CumProfit
Views:
9,814
Posted By
Big Mike
From:...
From: https://nexusfi.com/programmers-paradise/241-code-snippets-needed.html#post1241
// At the start of a new session calculate the prior cum profit so it won't be included in the
//...
Showing results 1 to 8 of 8
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.