** 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 ganeshkhere, Yesterday, 08:46 AM
|
3 responses
17 views
0 likes
|
Last Post
|
||
Started by REI140205, Yesterday, 06:17 PM
|
3 responses
19 views
0 likes
|
Last Post
|
||
Started by prodigaltrader, Today, 12:18 AM
|
0 responses
11 views
0 likes
|
Last Post
![]() |
||
Started by owenwong, Yesterday, 06:34 PM
|
2 responses
30 views
0 likes
|
Last Post
![]()
by owenwong
Yesterday, 06:52 PM
|
||
Started by Gathem, Yesterday, 06:06 PM
|
1 response
24 views
0 likes
|
Last Post
![]()
by Gathem
Yesterday, 07:32 PM
|
Comment