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.

MC - Global Variable

Hat jemand Erfahrungen mit den folgenden Built-In Funktionen von Global Variables in Multicharts?

 

GVSetNamedDouble

GVSetNamedInt

GVGetNamedDouble

GVGetNamedInt

 

Leider sind die Funktionen seitens Multicharts nicht dokumentiert. Wie prüfe ich, ob schon eine globale Variable erstellt wurde?

 

Gibt es gute Gründe, warum man die externe Version Global Variable 2.2 ( GV2.2 ) verwenden sollte?

Featured Replies

Hat jemand Erfahrungen mit den folgenden Built-In Funktionen von Global Variables in Multicharts?

 

GVSetNamedDouble

GVSetNamedInt

GVGetNamedDouble

GVGetNamedInt

 

Leider sind die Funktionen seitens Multicharts nicht dokumentiert. Wie prüfe ich, ob schon eine globale Variable erstellt wurde?

 

Gibt es gute Gründe, warum man die externe Version Global Variable 2.2 ( GV2.2 ) verwenden sollte?

 

Hi,

 

also ich programmiere mit ELCollections.dll, denn damit kannst du auch backtesting machen,. mit Global Varaibale geht das nicht.

Ausserdem hat ELC so viele weitere features, einfach genial erkannt und programmiert von Bamboo (im TradeStation Forum veröffentlicht).

Ich habe die ELC Kommandos direkt in meinen Codes integriert und sämtliche ELC Funktionen eliminiert, das spart Resourcen.

 

Hier ein Code Beispiel, wie man die REWIND Funktion substituiert:

 


//MapNN
external method: "ELCollections.dll", int,    "MapNN_Clear", double;
external method: "ELCollections.dll", int,    "MapNN_Count", double;
external method: "ELCollections.dll", bool,   "MapNN_Exists", double, double;
external method: "ELCollections.dll", double, "MapNN_Get", double, double;
external method: "ELCollections.dll", double, "MapNN_New";
external method: "ELCollections.dll", bool,   "MapNN_IterMore", double;
external method: "ELCollections.dll", double, "MapNN_IterKey", double;
external method: "ELCollections.dll", double, "MapNN_IterValue", double;
external method: "ELCollections.dll", int,    "MapNN_IterNext", double;
external method: "ELCollections.dll", int,    "MapNN_Put", double, double, double;
external method: "ELCollections.dll", int,    "MapNN_Rewind", double;
//On Destroy Handler
external: "ELCollections.dll", int, "_OnDestroyHandler", IEasyLanguageObject;
#Events
OnDestroy = _OnDestroyHandler;
#End;

cntMapX=[b]MapNN_Count[/b](sessPriceVPO);
			N=[b]MapNN_Rewind[/b](sessPriceVPO);
			for ii=1 to cntMapX begin
				if [b]MapNN_IterMore[/b](sessPriceVPO) then begin
					key=[b]MapNN_IterKey[/b](sessPriceVPO);
					val=[b]MapNN_IterValue[/b](sessPriceVPO);
					// ... here your operation code

					[b]MapNN_IterNext[/b](sessPriceVPO);
				end;
			end;

 

 

 

-swisstrader

Edited by whipsaw
<> code Tag

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.