** I need some code example
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can i know how to prompt message in the alert log ?
Collapse
X
-
Hello soon123,
Thanks for your post.
Please see the help guide for the Alert() method, which includes an example of use: https://ninjatrader.com/support/help...nt8/?alert.htm
Paul H.NinjaTrader Customer Service
-
Hello soon123,
Thanks for your reply.
It would only send an alert() to the alerts panel during real time or playback with market replay.
From the help guide: Notes: 1. This method can only be called once the State has reached State.Realtime. Calls to this method in any other State will be silently ignored. This means then when applied to a chart, the alerts would not be sent while it processes historical data. Once the chart begins processing real-time data, if the alert conditions occur, the alert would be sent.
Did you test using real-time or playback with market replay data?
Paul H.NinjaTrader Customer Service
- 1 like
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by futurenow, Today, 07:17 PM
|
0 responses
3 views
0 likes
|
Last Post
![]()
by futurenow
Today, 07:17 PM
|
||
Started by Emma1, Today, 07:15 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by Emma1
Today, 07:15 PM
|
||
Started by n8dogg59, 05-10-2019, 08:00 AM
|
14 responses
621 views
0 likes
|
Last Post
![]()
by brownsfan019
Today, 06:06 PM
|
||
Started by [email protected], Today, 06:03 PM
|
0 responses
1 view
0 likes
|
Last Post
![]() |
||
Started by Johnny Santiago, Today, 04:36 PM
|
2 responses
13 views
0 likes
|
Last Post
by -=Edge=-
Today, 05:50 PM
|
Comment