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!
See more
See less

Partner 728x90

Collapse

How to retrieve data in my strategy from alerts log

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to retrieve data in my strategy from alerts log

    Hello,

    I have an third party indicator that send an sound alert and fill the alerts log file with data regarding that alert.

    I would like to use this alerts as trading signals, so I need to know the instant which each alert is triggered and to get the data from this alert to decide the direction & price of the order (buy/sell).

    Attached you will find the alerts log file with one alert triggered.

    Any ideas?

    Thanks!
    Attached Files

    #2
    Hello federicoo,

    There are no supported / documented methods to read the alerts log window.

    In general, it is recommended that the indicator set a plot value (at the time the alert would be triggered), and this be used for sending signals to a host strategy (or for use with the Market Analyzer cell and filter conditions).

    Below is a link to an example.



    You could choose to use unsupported ways of finding the Alerts window and then digging through the WPF elements of that window.



    This thread will remain open for any community members that may know of an unsupported way of reading the Alerts log.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    21 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X