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.

Frage zu MQ4 Schleife

Frage zu MQ4: wird in unterer Schleife nach dem Maximum (hl_0) gesucht oder dem Wert (hl_0) von i-Candles zuvor?

Ich habe das nämlich übersetzt in ein anderes Programm und dort wird immer nach hl_0 der i-ten Candle gesucht.

 

.
. 
double hl_0;
double l_iatr_0 = ATR(Null, 0, 20, 1);
for (int i      = 1; i < per; i++) {
   hl_0        = High[i] - Low[i];
   if (hl_0   >= l_iatr_0 * mult) return (1);
}
.
.

 

Danke

Featured Replies

Frage zu MQ4: wird in unterer Schleife nach dem Maximum (hl_0) gesucht oder dem Wert (hl_0) von i-Candles zuvor?

Ich habe das nämlich übersetzt in ein anderes Programm und dort wird immer nach hl_0 der i-ten Candle gesucht.

 

.
. 
double hl_0;
double l_iatr_0 = ATR(Null, 0, 20, 1);
for (int i      = 1; i < per; i++) {
   hl_0        = High[i] - Low[i];
   if (hl_0   >= l_iatr_0 * mult) return (1);
}
.
.

 

Danke

Die Schleife sucht den ersten Bar, dessen Range >= dem ATR vom Vorbar multipliziert mit einem Faktor (mult) ist und gibt dir in diesem Fall eine 1 zurück.

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.