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.

Historien Export eines Tages ausschließen

Hallo,

 

ich versuche vergeblich mit unterem Skript den Historienexport von Samstagdaten zu verhindern.

Es wurde dafür in eine Zeile DayofWeek()) == 6 hinzugefügt, aber der Samstag wird trotzdem weiter exportiert.

if (dtval < FromDateTime || dtval > ThruDateTime || DayOfWeek() == 6) continue;

Ich verwende den MT4 von Oanda. Könnte bitte mal jemand testen, ob es bei ihm auch so ist. Oder findet jemand auf Anhieb einen möglichen Fehler? Die Datei befindet sich im Anhang und müßte in den Ordner experts\scripts von Metatrader kopiert werden.

 

Danke!

Export.mq4

Featured Replies

  • Author

Im Bsp für GBPUSD wird bei mir für dieses Paar weiterhin der 09.07. exportiert.

 

2011.07.08,16:58,1.60506,1.60529,1.60506,1.60516,11

2011.07.08,16:59,1.60511,1.60529,1.60507,1.60526,7

2011.07.09,00:43,1.60496,1.60496,1.60496,1.60496,1

2011.07.10,15:00,1.60451,1.60451,1.60418,1.60436,12

2011.07.10,15:01,1.6044,1.60474,1.6044,1.60461,23

Wenn ich es richtig interpretiere, musst du statt "DayOfWeek()" -> "TimeDayOfWeek(dtVal)" nehmen!

 

DayOfWeek gibt nur den aktuellen Tag (zum Zeitpunkt der Ausführung) zurück und TimeDyOfWeek den Tag eines bestimmten Datums.

 

vg

  • Author

Ja Knochen, das war es. Mir hat auch jemand per Email die Lsg geliefert.

 

Danke auch dir!

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.