Is there a unique ID for a call to a PowerLanguage function that can be used in place of the callerID (origination agnostic) which I currently manage manually?
Code: Select all
VARIANT IPowerLanguageObject.TagEx
Is there a unique ID for a call to a PowerLanguage function that can be used in place of the callerID (origination agnostic) which I currently manage manually?
Code: Select all
VARIANT IPowerLanguageObject.TagEx
Insert in your codeMy code is drawing a trend line. After a very short time, the trend line disappear. How should I code to have it stay on screen
Code: Select all
[recoverdrawings = false]
Probably you reload only minute data. But profile builds from tick data. Try reload tick data.Why don't I have profiles for those 2 bars?
I download and reload the data and nothing, still no profiles.
Это странно. Я менял этот параметр у того же IQFeedа, перезапускал МС и не видел ни одного запроса тиков в логе QM ..."PureHistoryOnly"="True" не отменяет запрос тиков
symbol_date+symbol_time+binary search algorithmIs there a better way than to go bar by bar and comparing the date & time?
Look on ScrollToBarMartin got me thinking about a method to center charts in difference work spaces and different MC instances on the same machine.
How can I induce a delay of 1 second in my indicator
Code: Select all
DEFINEDLLFUNC: ThreadSafe, "Kernel32.dll", void, "Sleep", dword;
Sleep(1000);
Code: Select all
// DllTest.h
#pragma once
extern "C" __declspec(dllexport) int __stdcall add(int a, int b);
Read is not enough. It also needs to be properly understoodpls dont waste my time with unqualified comments and read product documentation !
Dumping my symbols manually is a tedious job......
Code: Select all
foreach(var symbol in SymbolStorage.GetSymbols("IQFeed"))
Output.WriteLine(symbol.SymbolName);
I would like to use time variable for start and end of calculation (STime, ETime). Can someone point me to the example in MC.NET?
I want to compare variable later with Bar.Time.
Code: Select all
[Input]
public DateTime StartTime{get;set;}
This is not necessary. The ONE interop dll can be the "bridge" for many .NET (C#) assemblies.Since the PowerLanguage code calls the interop dll, I assume that every C# dll need its own accompanying interop dll, hence the question. Don't know though if this assumption is valid.)
Hmm ...Dru, can you tell something about how you created the net_assembly_interop C++ dll?
RecalcLastBarAfter can helpTso I need to use a timer through which I can call dll ,for example, every minute. Is there a timer in Multicharts or I can write the timer in my dll ?
The customers of XP-based OS will be overboard.it is important that mc.net supports .net 4.5
Code: Select all
[RecoverDrawings = false]
// your study code here
is equal toend;Code: Select all
...
MyH=high[DMIOsc][-1];
MyL=low[DMIOsc][-1];
MyC=close[DMIOsc][-1];
...
Code: Select all
...
MyH=high[DMIOsc-1];
MyL=low[DMIOsc-1];
MyC=close[DMIOsc-1];
...
Such code is produced when you unpack source protected ELA/ELS/ELD archives.Can someone tell me the purpose of the following code...
#EVENTS
OnDestroy = EasyLanguageRtlOnDestroy;
#END ;
thanks
Example updated.if c# function return String and its parameters also string,then how to correct write c++ dll?
Code: Select all
EXTERNAL: "net_assembly_interop.dll", lpstr, "ReturnStringExample", lpstr;
plot1( ReturnStringExample("from PL") );
Controversial statement. What exactly went wrong?I read yesterday on BMT that Visual Studio 2010 generates DLLs that aren't compatible with MultiCharts.
So it is.After all, I don't think it was necessary to unintall and reinstall MC .NET 8.5, Only removing the registery GUISettings_V4 was necessary.
It will work only in MC 8.5 beta 2 and future versions.I am using MC 8.0 and get same error message?
Close PLEditor.NET and delete registry key [HKEY_CURRENT_USER\Software\TS Support\MultiCharts .NET\PLEditor] or [HKEY_CURRENT_USER\Software\TS Support\MultiCharts .NET64\PLEditor] if you use 64bit versionPowerLanguageEditor .NET, became invisible !!!
Bars.StatusLine.Askis there any other way of obtaining the bid and ask?
That is possible. There is a "--- Market Depth on Chart ---" built-in indicator in MultiCharts. You can use it as example.it's possible to create a strategy on DOM?
First check the name of your class that inherits SignalObject for consistency with name of code file. Example: if my class name is "_Historical_Entry" then file name is "_Historical_Entry.Strategy.cs"Errors tab has 0 errors, output window is blank. The footer is telling me build succeeded.
In general there is no tick detalization for bars with minute or higher resolution.There is no Bar.Average or Bar.Data properties (where the data is a collection of the individual ticks, so I could calculate the average myself).
viewtopic.php?f=5&t=8838#p48883I know how to do that in EasyLanguage (using the ELCollection.dll) but can we do a similar calculation in the optimizer?
Any thoughts?
viewtopic.php?f=1&t=8498#p51649I have created a C# dll and MC8 64 seems to find the dll but can't find the function.
I followed the instructions, still no show???
Maybe it is the datafeed, I am IB.
thx
Maybe you forgot to insert same instrument with 1 minutes resolution:Hi
Looking for a better TPO indicator , but I can't get this to work? Anyone succesful?
thx
If you are interested in the implementation details, then:can you explain a little bit what you did to make this?
About 2 days total.How long did it take to create?
All available strategy data for indicators is accessible through StrategyInfo property.Who knows how I can access strategy data (such as the TotalTrades property) in an indicator?
Source code of FastFileAppend is needed for convertion ...Could someone convert the FastFileAppend dll (32bit) to a 64 bit version that can be used with MC8 64bit ?
MSDNHow can we translate
m_averagefc1.length = new Lambda<Int32>(delegate { return length; });
in VB ?
Code: Select all
m_averagefc1.length = New Lambda(Of Integer)( Function() length)
Install this or unload vb project from solution (don't delete just unload)Great Thxs SPtrader
I get this error every time I try to load study or a signal in VS 2010 C#
Look on _Market_Depth_on_Chart_2_ indicatorin the features descriptions you discuss working with GDI objects; do you have an example?
The example (DOM on chart) is very intriguing.
TIA.
http://www.multicharts.com/advantages-net/
Find in MC .NET Help -> "DataLoader"How to do this ?
"Access data of any symbol from scripts
Your indicators and strategies can access data for symbols that are not even charted, giving you maximum flexibility when making trading decisions.
"
ciao
radekj
When I asked "How long time does strategy calculates (backtest)?" I had in mind a time from applying signals/strategy on chart and to end of strategy calculation.The optimization takes serveral hours.
I.e. exhaustive optimization utilise 30-50% of CPU only?3) No, both exhaustive or genetic takes 100% of CPU Usage only 30-50 %.
It is strange, but I can't reproduce this issue at my sideObservation: Making changes from Auto detect to User specified does not work
Code: Select all
if 0 = customerid then print("This is MC")
else print("This is TS");