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 7 of 7
Filter subforums listed
Search:
Posts Made By:
sam028
Forum:
NinjaTrader
November 25th, 2019, 02:56 PM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
Well, I coded and tried it before sharing it, and...
Well, I coded and tried it before sharing it, and it worked as expected...
Forum:
NinjaTrader
November 25th, 2019, 05:08 AM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
Ninja has to be running.
Ninja has to be running.
Forum:
NinjaTrader
November 24th, 2019, 10:35 AM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
Try this strategy, test it carefully in sim mode...
Try this strategy, test it carefully in sim mode first!
280527
Forum:
NinjaTrader
November 23rd, 2019, 09:16 AM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
For this specific need it's going to be too long...
For this specific need it's going to be too long to explain step by step, and if you're not experienced this kind of strategy is a bit dangerous.
If I have some free time I'll put a functional...
Forum:
NinjaTrader
November 22nd, 2019, 06:34 PM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
It's not that simple, a strategy will only see...
It's not that simple, a strategy will only see its own instrument and its own PnL.
It should be something like this:
Account myAccount;
In OnStateChange() -> configure:
lock (Account.All)
...
Forum:
NinjaTrader
November 22nd, 2019, 04:44 AM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
You can use Account.positions...
You can use Account.positions (https://ninjatrader.com/support/helpGuides/nt8/?positions_account.htm). With this you can see the positions for all instruments, not only the one you're running the...
Forum:
NinjaTrader
November 21st, 2019, 07:01 PM
Replies:
22
Flatten everything once unrealized P/L reaches a certain number
Views:
5,370
Posted By
sam028
It's possible in creating a strategy where its...
It's possible in creating a strategy where its only goal would be to check the PnL of all your open positions and close them if the $ value is reached.
Showing results 1 to 7 of 7
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.