Skip to content
View in the app

A better way to browse. Learn more.

#T/N/X/T

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Historical Flag

Hallo,

 

leider kann man mir im NinjaTrader-Forum keine Antwort auf folgendes Problem geben (da DLL-Support nicht unterstützt wird). Vielleicht hat ja hier jemand eine Lösung / Idee.

 

Ich möchte das Historical-Flag an eine Methode, die in einer DLL liegt übergeben. Leider wird IMMER true übergeben, obwohl Realtimedaten angezeigt werden.

Folgende Programmfragmente zeigen den Aufruf der Methode:

 

protected override void OnStartUp()
       {
           startMTIWorkbench();
       }

 

       protected override void OnBarUpdate()
       {
           Print("Historical: " + Time[0] + " / " + Historical);

           StockPoint pt = new StockPoint(Time[0], Open[0], High[0], Low[0], Close[0], 0);
           workbench.addBar (pt, Historical, ignoreTicklist);
       }

Featured Replies

No posts to show

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.