Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Daily PL
Collapse
X
-
Daily PL
I am writing a strategy that stops each day after a certain P/L is reached. I need to be able to read the last trade after it executes. Do you have an event that I can monitor that will tell when the last trade has executed (position close)?Tags: None
-
Hello chartish,
Below is a link to an example of a daily loss limit.
https://ninjatrader.com/support/foru...ples#post93881
Methods that trigger when an execution has filled or part filled are OnOrderUpdate(), OnExecutionUpdate(), and OnPositionUpdate().
Below are public links to the help guide.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
2 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by Rapine Heihei, Today, 08:19 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 08:19 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
4 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
5 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
96 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
Comment