Search found 107 matches

by Dru
23 Sep 2014
Forum: MultiCharts
Topic: Singleton pattern example - DLL - "Tag" property [SOLVED]
Replies: 2
Views: 1598

Re: Singleton pattern example - DLL - "Tag" property [SOLVED]

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
by Dru
09 Jun 2014
Forum: MultiCharts .NET
Topic: Many improvements remain to be done
Replies: 11
Views: 3769

Re: Many improvements remain to be done

- decent .Net API - just an example : adding a data series from the code is so weird, and so many things that I have easily done with your other .Net trading platform competitor are done in crazy ways or just unfeasible MULTICHARTS .NET 9.0 BETA 1 – WHAT’S NEW : ... New class added: CustomInstrumen...
by Dru
27 May 2014
Forum: MultiCharts .NET
Topic: MULTICHARTS .NET 8.8 RELEASE
Replies: 53
Views: 21936

Re: MULTICHARTS .NET 8.8 RELEASE

Is there a property that can be used to differentiate if the instrument uses 'Tick Count' or 'Trade Volume' as its 'Build Volume On' setting? PowerLanguage.NET Help IInstrumentSettings.BVO Property Read-only property. Returns built volume on tick-count or volume. public BuildVolumeOn BVO { public g...
by Dru
06 May 2014
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

Hi. There is new version of TPO study. Implemented features: 1) It would be welcomed an input to set how many ticks to build the profiles." Input "TicksRoundUp" was added. 2) I assume the study uses tick data because of the volume profile option that it has. Is it possible to have a TPO study, witho...
by Dru
28 Jan 2014
Forum: MultiCharts
Topic: Drawing Object Question
Replies: 2
Views: 1187

Re: Drawing Object Question

...
[RecoverDrawings = false]
variables:
YH (0),
Text_Plot_Date (0),
Text_Plot_Time (0),
intrabarpersist Text_YH (-1),
Text_YH_str (""),
intrabarpersist Line_YH (-1);
...
by Dru
24 Jan 2014
Forum: MultiCharts .NET
Topic: Best option for distributed development
Replies: 2
Views: 1384

Re: Best option for distributed development

Hi, I'm trying to determine what would be the best way to go about doing strategy development with 2 developers that are not at the same location, in addition to a 3rd production environment. My original plan was to check the "CS" directory (in StudyServer/Techniques) into our source code repositor...
by Dru
24 Jan 2014
Forum: MultiCharts .NET
Topic: VS2010 _ELAPI_exception_Wrap_ on prebuild script [SOLVED]
Replies: 1
Views: 1464

Re: VS2010 _ELAPI_exception_Wrap_ on prebuild script [SOLVED]

Hello, I am trying to go through the standard prebuilt script "Pivot_High" indicator with VS2010 and I am getting _ELAPI_exception_Wrap_ message (attached image). If I continue with debugging, ignoring this message, everything goes as it should. Can anyone explain what is happening please ? Thank y...
by Dru
15 Jan 2014
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

Hello, arnie. Finaly I found what the problem is regarding the overnight profiles. Is seems the code get confused by overnight sessions not starting at 5pm CT when the session template starts the session. Could you attach the wsp with session template problem? When we choose to highlight the open pr...
by Dru
18 Dec 2013
Forum: MultiCharts
Topic: Trend Lince drawing: Amateur question
Replies: 8
Views: 2030

Re: Trend Lince drawing: Amateur question

My 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
Insert in your code

Code: Select all

[recoverdrawings = false]
by Dru
11 Dec 2013
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

Why don't I have profiles for those 2 bars?
I download and reload the data and nothing, still no profiles.
Probably you reload only minute data. But profile builds from tick data. Try reload tick data.
by Dru
03 Dec 2013
Forum: MultiCharts QUIK
Topic: Ускорение работы хистори-сканера.
Replies: 10
Views: 8218

Re: Ускорение работы хистори-сканера.

"PureHistoryOnly"="True" не отменяет запрос тиков
Это странно. Я менял этот параметр у того же IQFeedа, перезапускал МС и не видел ни одного запроса тиков в логе QM ...
by Dru
29 Nov 2013
Forum: MultiCharts .NET
Topic: How to connect SVN and MC.NET
Replies: 0
Views: 1144

How to connect SVN and MC.NET

Many users have asked MultiCharts Team to support some source version control system in the PLEditor. I believe there is no need for that. We can make it ourselves. In this short video I will show the easiest way to do that with Subversion (SVN). First part: http://screencast.com/t/xETBK7AR31l Secon...
by Dru
28 Nov 2013
Forum: MultiCharts QUIK
Topic: Ускорение работы хистори-сканера.
Replies: 10
Views: 8218

Ускорение работы хистори-сканера.

Для истинных джедаев, коим не нужны статус-лайн и последняя RT-дневка (в случае с IQFeed), а нужна только чистая история для сканинга, существуют специальные "крутилки" в реестре: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\TS Support\MultiCharts\MainForm\Scanner\HistoryScanner\...
by Dru
28 Nov 2013
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

Have you fixed it? No Maybe it's a MC issue and not a coding issue. No. This is not MC issue. Realtime updates have not been implemented. Last profile is updating every 30 seconds (it requests new ticks and rebuild). Maybe MC management can hire you to code a complete market profile tool with all i...
by Dru
31 Oct 2013
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

First what seems to be a bug. Everytime we change the chart resolution the study toolbar disappears. Fixed. Regarding the initial balance vertical line Done. POC is not being correctly calculated, at least for the first 30min period of the day.See the difference between SC and MC. It has been fixed...
by Dru
29 Oct 2013
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

The new version of the "TPO" indicator is attached. Implemented features: 1) smaller font 2) stop that automatic resizing, hoping that resolved also the issue when using on charts quoted in fractions. 3) change the size of the triangle 4) the option to remove the TPO count on the left 5) the possibi...
by Dru
16 Oct 2013
Forum: MultiCharts .NET
Topic: Getting opened positions with TradeManager [SOLVED]
Replies: 2
Views: 2073

Re: Getting opened positions with TradeManager [SOLVED]

All of the above mentioned events are generated at strictly defined moments, for example, when a position or order update event is received from the broker. Respectively, the updating of the collection elements that are accessed via the Items property is also performed at a strictly defined moment....
by Dru
02 Oct 2013
Forum: MultiCharts
Topic: How to get Bar number for a given date and time [SOLVED]
Replies: 2
Views: 1560

Re: How to get Bar number for a given date and time [SOLVED]

Is there a better way than to go bar by bar and comparing the date & time?
symbol_date+symbol_time+binary search algorithm
by Dru
01 Oct 2013
Forum: MultiCharts
Topic: Positioning a chart at a date and time via program control [SOLVED]
Replies: 2
Views: 1500

Re: Positioning a chart at a date and time via program contr [SOLVED]

Martin got me thinking about a method to center charts in difference work spaces and different MC instances on the same machine.
Look on ScrollToBar
by Dru
13 Sep 2013
Forum: MultiCharts .NET
Topic: Problems of compiling [SOLVED]
Replies: 2
Views: 2103

Re: Problems of compiling [SOLVED]

Your indicator must have name "DAY_GAP" - the same way your class is named.
by Dru
13 Sep 2013
Forum: MultiCharts
Topic: Is there a way to induce a delay in an indicator [SOLVED]
Replies: 7
Views: 4052

Re: Is there a way to induce a delay in an indicator [SOLVED]

How can I induce a delay of 1 second in my indicator

Code: Select all

DEFINEDLLFUNC: ThreadSafe, "Kernel32.dll", void, "Sleep", dword;
Sleep(1000);
by Dru
05 Aug 2013
Forum: MultiCharts
Topic: custom dll for multicharts [SOLVED]
Replies: 4
Views: 4564

Re: custom dll for multicharts [SOLVED]

Code: Select all

// DllTest.h

#pragma once

extern "C" __declspec(dllexport) int __stdcall add(int a, int b);
by Dru
17 Jul 2013
Forum: MultiCharts
Topic: MC 8.7 question about T&S data
Replies: 26
Views: 7587

Re: MC 7 is totaly inaccurate and it is missing data !

pls dont waste my time with unqualified comments and read product documentation !
Read is not enough. It also needs to be properly understood ;-)
by Dru
16 Jul 2013
Forum: MultiCharts
Topic: MC 8.7 question about T&S data
Replies: 26
Views: 7587

Re: MC 7 is totaly inaccurate and it is missing data !

MC 7 is totaly inaccurate and it is missing data ! Look at volume too, values are wrong too ! snaps: http://screencast.com/t/ncQmIyhH5y settings: http://screencast.com/t/aqdHxy3o radekj PS: don't tell me that MC 7 release can be used to manage real money, you dont take you customers seriously with ...
by Dru
18 Jun 2013
Forum: MultiCharts .NET
Topic: Must close MultiCharts to recompile referenced assembly
Replies: 1
Views: 2070

Re: Must close MultiCharts to recompile referenced assembly

There is no way to unload an individual assembly without unloading all of the application domains that contain it. Use the Unload method from AppDomain to unload the application domains. (c)
by Dru
10 Jun 2013
Forum: MultiCharts .NET
Topic: Accessing the database externally
Replies: 3
Views: 2960

Re: Accessing the database externally

Dumping my symbols manually is a tedious job......

Code: Select all

foreach(var symbol in SymbolStorage.GetSymbols("IQFeed"))
Output.WriteLine(symbol.SymbolName);
by Dru
23 Apr 2013
Forum: MultiCharts .NET
Topic: How to input DateTime variable [SOLVED]
Replies: 6
Views: 3864

Re: How to input DateTime variable [SOLVED]

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;}
by Dru
07 Mar 2013
Forum: User Contributed Studies and Indicator Library
Topic: Optimization By linear Equity Curve
Replies: 14
Views: 13891

Re: Optimization By linear Equity Curve

When running an optimization, in the Algorithm-specific Properties tab, what Standard Criteria should be selected? - "Custom Fitness Value". This should be selected correct? - yes. And if I were to select "Net Profit", would the "Net Profit" criteria over ride the !optimize by equity curve std dev!...
by Dru
01 Mar 2013
Forum: MultiCharts
Topic: Optimize on Sharpe Ratio
Replies: 18
Views: 11283

Re: Optimize on Sharpe Ratio

No coding needed. There is !optimize by sharp ratio! already in MC.
by Dru
26 Feb 2013
Forum: MultiCharts FAQ
Topic: [Advanced Topic] Programming DLL
Replies: 37
Views: 43728

Re: MultiCharts using C#

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.)
This is not necessary. The ONE interop dll can be the "bridge" for many .NET (C#) assemblies.
by Dru
26 Feb 2013
Forum: MultiCharts FAQ
Topic: [Advanced Topic] Programming DLL
Replies: 37
Views: 43728

Re: MultiCharts using C#

Dru, can you tell something about how you created the net_assembly_interop C++ dll?
Hmm ...
Do you want to know how I am writing a program in C++? :)
You can take the example and change project properties for new dll name.
Keywords for studying: C++/CLI, MS VS 2008, export functions from dll
by Dru
11 Feb 2013
Forum: MultiCharts
Topic: how to get signals from dll every one minute?
Replies: 3
Views: 1422

Re: how to get signals from dll every one minute?

Tso 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 ?
RecalcLastBarAfter can help
by Dru
11 Feb 2013
Forum: MultiCharts
Topic: What does cc1plus.exe do?
Replies: 5
Views: 3516

Re: What does cc1plus.exe do?

The installation of MC 8.5 kept on hanging at 40 sec to the end and it seems that it hanged on a loop with “cc1plus.exe” Is “cc1plus.exe” important? This is g++ compiler tool. Probably you have some "monstrous" study(s) with thousands lines of code (8000 or higher). The g++ may hang on such "wonder...
by Dru
31 Jan 2013
Forum: User Contributed Studies
Topic: Optimization By linear Equity Curve
Replies: 0
Views: 1857

Optimization By linear Equity Curve

It is working only for MC .NET 8.5 beta 2 or higher.
.NET version of the signal.
by Dru
31 Jan 2013
Forum: MultiCharts .NET
Topic: .Net 4.0 support
Replies: 8
Views: 4263

Re: .Net 4.5 support

it is important that mc.net supports .net 4.5
The customers of XP-based OS will be overboard.
by Dru
30 Jan 2013
Forum: MultiCharts
Topic: using only 1 core during portfoliobacktest
Replies: 1
Views: 1088

Re: using only 1 core during portfoliobacktest

During optimizing in the Portfoliobacktester it often just uses only 1 core instead of all 4. I didn’t change the priority or anything else on the task manager. It seem like that it sometimes uses 4 and sometimes just 1 – nothing in between that. Is this a known bug/feature? 1) If your strategy use...
by Dru
30 Jan 2013
Forum: MultiCharts
Topic: [RecoverDrawings = false]
Replies: 4
Views: 2382

Re: [RecoverDrawings = false]

Your indicator/signal/function code should be like:

Code: Select all

[RecoverDrawings = false]

// your study code here
This attribute is supported since MC 8.0 Release
by Dru
29 Jan 2013
Forum: MultiCharts
Topic: help for debug codes
Replies: 8
Views: 2064

Re: help for debug codes

Code: Select all

...
MyH=high[DMIOsc][-1];
MyL=low[DMIOsc][-1];
MyC=close[DMIOsc][-1];
...
end;
is equal to

Code: Select all

...
MyH=high[DMIOsc-1];
MyL=low[DMIOsc-1];
MyC=close[DMIOsc-1];
...
by Dru
29 Jan 2013
Forum: MultiCharts
Topic: Need explanation of this code
Replies: 2
Views: 1201

Re: Need explanation of this code

Can someone tell me the purpose of the following code...

#EVENTS
OnDestroy = EasyLanguageRtlOnDestroy;
#END ;


thanks
Such code is produced when you unpack source protected ELA/ELS/ELD archives.
This is TS "underground". It is useless for MC. You can remove it safely.
by Dru
23 Jan 2013
Forum: MultiCharts QUIK
Topic: Механизм выхода из позиции в пирамидинге
Replies: 4
Views: 2063

Re: Механизм выхода из позиции в пирамидинге

механизм выхода из множественной позиции по методу LIFO. Поинтересуюсь, т.к. не в курсе - а какие из реальных брокеров по такому методу закрывают позиции? Кроме форексовых. П.С. Возможно это уже как-то реализовано, а я не в курсе... Тогда, пожалуйста, дайте знать. Может exit from entry вам поможет:...
by Dru
23 Jan 2013
Forum: MultiCharts
Topic: How to handle Portfolio_OpenPositionProfit in a chart [SOLVED]
Replies: 4
Views: 2041

Re: How to handle Portfolio_OpenPositionProfit in a chart [SOLVED]

I am using the "Portfolio_OpenPositionProfit" function in my signals, which can only be used in the portfolio backtester. As to be expected, when I insert my signal on a chart, I get an error. Has anyone found a way to make such signals work in a chart, e.g. with an íf' statement that can understan...
by Dru
23 Jan 2013
Forum: MultiCharts .NET
Topic: Multitasking : Unable to Add Refer, compatible Framework 4.0 [SOLVED]
Replies: 8
Views: 4713

Re: Multitasking : Unable to Add Refer, compatible Framework [SOLVED]

I tried to add a DLL as reference in the PowerLanguage Editor . (see the Attached DLL) But I get an error message : Could not load file or assembly The Assembly is built by a newer than the currently loaded runtime. (see attached file) How can we reference this assembly ? There are no simple ways i...
by Dru
21 Jan 2013
Forum: MultiCharts FAQ
Topic: [Advanced Topic] Programming DLL
Replies: 37
Views: 43728

Re: MultiCharts using C#

if c# function return String and its parameters also string,then how to correct write c++ dll?
Example updated.

Code: Select all

EXTERNAL: "net_assembly_interop.dll", lpstr, "ReturnStringExample", lpstr;
plot1( ReturnStringExample("from PL") );
by Dru
21 Jan 2013
Forum: MultiCharts FAQ
Topic: What compiler
Replies: 8
Views: 5251

Re: Recommended compiler to write MC64 dll's?

I read yesterday on BMT that Visual Studio 2010 generates DLLs that aren't compatible with MultiCharts.
Controversial statement. What exactly went wrong?
by Dru
21 Jan 2013
Forum: MultiCharts .NET
Topic: MC .NET 8.5 Beta2 : PowerLanguageEditor became invisible [SOLVED]
Replies: 3
Views: 2813

Re: MC .NET 8.5 Beta2 : PowerLanguageEditor became invisible [SOLVED]

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.
So it is.
by Dru
21 Jan 2013
Forum: User Contributed Studies and Indicator Library
Topic: Optimization By linear Equity Curve
Replies: 14
Views: 13891

Re: Optimization By linear Equity Curve

I am using MC 8.0 and get same error message?
It will work only in MC 8.5 beta 2 and future versions.
by Dru
19 Jan 2013
Forum: MultiCharts .NET
Topic: MC .NET 8.5 Beta2 : PowerLanguageEditor became invisible [SOLVED]
Replies: 3
Views: 2813

Re: MC .NET 8.5 Beta2 : PowerLanguageEditor became invisible [SOLVED]

PowerLanguageEditor .NET, became invisible !!!
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 version
by Dru
19 Jan 2013
Forum: User Contributed Studies and Indicator Library
Topic: Optimization By linear Equity Curve
Replies: 14
Views: 13891

Re: Optimization By linear Equity Curve

Thanks for writing this - can you explain how we use it though? Do we take the code found in !optimize by equity curve std dev! and put that in our signal? When I do that, I get an STD Exception: invalid argument. I'm sure I'm doing something wrong here - any help? 1) Do you use MC 8.5 beta 2? 2) H...
by Dru
18 Jan 2013
Forum: User Contributed Studies and Indicator Library
Topic: Optimization By linear Equity Curve
Replies: 14
Views: 13891

Optimization By linear Equity Curve

Attention! It is working only for MC 8.5 beta 2 or higher. There is a bug with keywords "postrade***" during optimization in less versions. I found that lots of people are interested in a feature that allowes to optimize a strategy by linear equity curve (https://www.multicharts.com/pm/viewissue.ph...
by Dru
29 Nov 2012
Forum: MultiCharts .NET
Topic: Bid and Ask from the DOM
Replies: 2
Views: 2559

Re: Bid and Ask from the DOM

is there any other way of obtaining the bid and ask?
Bars.StatusLine.Ask
Bars.StatusLine.Bid
by Dru
29 Nov 2012
Forum: MultiCharts
Topic: DOM
Replies: 3
Views: 1167

Re: DOM

it's possible to create a strategy on DOM?
That is possible. There is a "--- Market Depth on Chart ---" built-in indicator in MultiCharts. You can use it as example.
by Dru
27 Nov 2012
Forum: MultiCharts .NET
Topic: Average of a Bar [SOLVED]
Replies: 3
Views: 2806

Re: Average of a Bar [SOLVED]

There are 2 ways:
1) add the same instrument to the chart but with 1 tick resolution (or the one you need) and access ticks via BarsOfData
2) use IDataLoader
by Dru
22 Nov 2012
Forum: MultiCharts .NET
Topic: Compiled study- Not registered as compiled VS 2012
Replies: 4
Views: 2595

Re: Compiled study- Not registered as compiled VS 2012

Errors tab has 0 errors, output window is blank. The footer is telling me build succeeded.
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"
by Dru
22 Nov 2012
Forum: MultiCharts .NET
Topic: Average of a Bar [SOLVED]
Replies: 3
Views: 2806

Re: Average of a Bar [SOLVED]

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).
In general there is no tick detalization for bars with minute or higher resolution.
by Dru
06 Nov 2012
Forum: MultiCharts
Topic: Calculating shape of equity curve for optimizer fitness?
Replies: 1
Views: 1240

Re: Calculating shape of equity curve for optimizer fitness?

I 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=5&t=8838#p48883
by Dru
05 Oct 2012
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

This indicator works well on ES, but it does not seem to work correctly on currency futures (such as 6E). Can you create a chart with same symbol but with tick-based resolution, for example 300 seconds? TPO is built from ticks. Probably there are ticks that do not correspond to minutes. I've checke...
by Dru
27 Sep 2012
Forum: MultiCharts .NET
Topic: Re-using code
Replies: 15
Views: 6624

Re: Re-using code

Often the reusable code needs to hold some state and/or may need calculate more than one data point. Using a function doesn't help for these situations and you need an object. You don't read my post carefully. Insert all your common code into this FUNCTION CS FILE. Just delete all generated code an...
by Dru
26 Sep 2012
Forum: MultiCharts .NET
Topic: Re-using code
Replies: 15
Views: 6624

Re: Re-using code

So I ask you MC.nexperts - what is "the way" of accomplishing code re-use for MC.NET? Is dll the only recommended way? It just seems more complicated and possibly more tedious to debug and test than it needs to be..... The simplest way is: 1) Create a New Function, call it "MyCommonCode" for ex. 2)...
by Dru
14 Sep 2012
Forum: MultiCharts
Topic: C# Dll [SOLVED]
Replies: 2
Views: 2004

Re: C# Dll [SOLVED]

I have created a C# dll and MC8 64 seems to find the dll but can't find the function.
viewtopic.php?f=1&t=8498#p51649
by Dru
14 Sep 2012
Forum: User Contributed Studies and Indicator Library
Topic: TPO indicator
Replies: 19
Views: 24021

Re: TPO indicator

Hello Dru, When I insert the same instrument in the charts 2 times, one time with 1 DAY and 2 time with 1 Minute, I get the following message"Message: Error in study "MCTPO_v2.0":: Study is missing Data 2. Please setup your chart data". Attached is the screenshot. Can you kindly advice, what should...
by Dru
07 Sep 2012
Forum: MultiCharts .NET
Topic: Application wide object/indicator [SOLVED]
Replies: 4
Views: 3351

Re: Application wide object/indicator [SOLVED]

Thank you for the reply. But the question still remains. Where can I declare the indicator? If I declare this class in every indicator that needs it, it would be very inefficient. All indicators & signals are compiled into one assembly. You can declare any class in any indicator or signal and this ...
by Dru
06 Sep 2012
Forum: MultiCharts .NET
Topic: Application wide object/indicator [SOLVED]
Replies: 4
Views: 3351

Re: Application wide object/indicator [SOLVED]

Is it possible to have an indicator which is accessible throughout the application? For example an indicator which analyzes an index and makes its properties availble to all other indicators in the application. This would be very powerful as you notice. If your question is "how can I share data bet...
by Dru
04 Sep 2012
Forum: User Contributed Studies and Indicator Library
Topic: TPO indicator
Replies: 19
Views: 24021

Re: TPO indicator

I followed the instructions, still no show???

Maybe it is the datafeed, I am IB.

thx
by Dru
03 Sep 2012
Forum: User Contributed Studies and Indicator Library
Topic: TPO indicator
Replies: 19
Views: 24021

Re: TPO indicator

Hi
Looking for a better TPO indicator , but I can't get this to work? Anyone succesful?

thx
Maybe you forgot to insert same instrument with 1 minutes resolution:
by Dru
31 Aug 2012
Forum: User Contributed Studies and Indicator Library
Topic: TPO indicator
Replies: 19
Views: 24021

TPO indicator

Hello all. I made a new TPO indicator for EL/PL. Maybe it will be useful for someone. The study requires two data series: [/b][/u] 1) Main data series resolution 1 day or 24 hours . 2) Second data series resolution 1 minute (or less for higher precision, but it can be very resource-consuming) Inputs...
by Dru
31 Aug 2012
Forum: MultiCharts .NET
Topic: PLStudio2010 project target framework is always .NET 4
Replies: 7
Views: 3633

Re: PLStudio2010 project target framework is always .NET 4

No matter ? as exampel : .net 4 has Tupels .net 3.5 does not If you want to customize this solution and/or project - you need to save it under different name and use it as you need. Keep in mind that "full integration" between MC.NET and MS VS is monitoring for changes of *.cs (*.vb) files by MC in...
by Dru
27 Aug 2012
Forum: MultiCharts .NET
Topic: Re-using code
Replies: 15
Views: 6624

Re: Re-using code

NOTE: This SHOULD work beautifully, however I was not able to make it work with a couple of tests. When I referenced a pl.net .dll, tried to implement an interface in one of my external .dll classes, it would compile in VS, but fail in pl.net. (something like the behavior you describe). I'd like to...
by Dru
21 Aug 2012
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

Thank you all for your feedback.
In this new version:
1) TPO draws at first bar of session
2) New option "Draw TPO"
3) Volume profile draws "correctly"
4) New option "Draw Offset"
by Dru
21 Aug 2012
Forum: MultiCharts .NET
Topic: Accessing strategy data by an indicator - how?
Replies: 13
Views: 7408

Re: Accessing strategy data by an indicator - how?

but it would be even greater if the TotalTrades updates along with the strategy’s executed trades. It's simple. You need to add field in the strategy class: List<int> m_total_trades_per_bar; And add TotalTrades value for each bar from the strategy to this List. From Indicator you just get access to...
by Dru
16 Aug 2012
Forum: MultiCharts .NET
Topic: Accessing strategy data by an indicator - how?
Replies: 13
Views: 7408

Re: Accessing strategy data by an indicator - how?

Sorry, Josh
Forgot attach pnl :)
Updated
by Dru
16 Aug 2012
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

Hello, Fernando. Thanks for advise. First, try to move the volume to the front of the TPO, not the back. In the back we tend to look at it as belonging to the previous period. This is option. Try press 'Mirrored' button on the chart toolbar. Second, I cannot understand your 30 minute reading. It's r...
by Dru
16 Aug 2012
Forum: MultiCharts .NET
Topic: Accessing strategy data by an indicator - how?
Replies: 13
Views: 7408

Re: Accessing strategy data by an indicator - how?

Anyway, I know it's possible since MC Support said so, now I just have to figure out how . Anyone has an idea I could try? Even a speculation would be great. :) JoshM, you are on a wrong way. The instance of the strategy object already exists and is applied on the chart. You just need get access to...
by Dru
16 Aug 2012
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

Re: TPO

can you explain a little bit what you did to make this?
If you are interested in the implementation details, then:
1) For the analysis of the volume used by the loading of ticks DataLoader
2) To draw - IChartCustomDraw
3) Toolbar - ChartToolbar
How long did it take to create?
About 2 days total.
by Dru
15 Aug 2012
Forum: MultiCharts .NET
Topic: TPO indicator
Replies: 1
Views: 2445

TPO indicator

by Dru
15 Aug 2012
Forum: User Contributed Studies
Topic: TPO
Replies: 71
Views: 44463

TPO

Hi all. My task is to make so-called TPO (Time Price Opportunity) indicator for new MC .NET platform. I will share the result with you. Your comments and suggestions are welcome.
by Dru
14 Aug 2012
Forum: MultiCharts .NET
Topic: Accessing strategy data by an indicator - how?
Replies: 13
Views: 7408

Re: Accessing strategy data by an indicator - how?

Who knows how I can access strategy data (such as the TotalTrades property) in an indicator?
All available strategy data for indicators is accessible through StrategyInfo property.
by Dru
14 Aug 2012
Forum: MultiCharts .NET
Topic: Bars.Request property data is always empty
Replies: 3
Views: 2820

Re: Bars.Request property data is always empty

Bars.Request must return info for the base-instrument (data stream 0, or in TS "data(0)"), but it does not. Or how to get Request-information of base-instrument ? It seems this property was planned as alternative of such code: var _request = new InstrumentDataRequest(Bars.Info.DataFeed, Bars.Info.A...
by Dru
14 Aug 2012
Forum: MultiCharts .NET
Topic: Trading "day" studies need to be smarter
Replies: 6
Views: 4918

Re: Trading "day" studies need to be smarter

Simple helper methods for access to session start & session end by DateTime : namespace PowerLanguage { public static class Extensions { public static DateTime StartOfSession(this SessionObject _sess, DateTime _dt) { if (_sess.StartDay == _dt.DayOfWeek) return _dt.Date + _sess.StartTime; if (_sess.E...
by Dru
09 Aug 2012
Forum: MultiCharts .NET
Topic: MC .Net performance
Replies: 5
Views: 7546

Re: MC .Net performance

So did I understand right, you create a dll consisting of x86 machine code when compiling PowerLanguage? Correct. Just wanted to estimate whether .NET will be faster than standard MC as .NET uses a JIT compiler which can create code thats quite fast by optimizing. For simple studies MC will be fast...
by Dru
08 Aug 2012
Forum: MultiCharts
Topic: FastFileAppend dll for 64bit?
Replies: 5
Views: 2475

Re: FastFileAppend dll for 64bit?

Could someone convert the FastFileAppend dll (32bit) to a 64 bit version that can be used with MC8 64bit ?
Source code of FastFileAppend is needed for convertion ...
by Dru
08 Aug 2012
Forum: MultiCharts .NET
Topic: VB or C#
Replies: 14
Views: 7700

Re: Use of Lambda object?

How can we translate
m_averagefc1.length = new Lambda<Int32>(delegate { return length; });
in VB ?
MSDN

Code: Select all

m_averagefc1.length = New Lambda(Of Integer)( Function() length)
by Dru
07 Aug 2012
Forum: MultiCharts .NET
Topic: VB or C#
Replies: 14
Views: 7700

Re: VB or C#

Great Thxs SPtrader
I get this error every time I try to load study or a signal in VS 2010 C#
Install this or unload vb project from solution (don't delete just unload)
by Dru
03 Aug 2012
Forum: MultiCharts .NET
Topic: GDI Objects Example? [SOLVED]
Replies: 2
Views: 3705

Re: GDI Objects Example? [SOLVED]

in 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/
Look on _Market_Depth_on_Chart_2_ indicator
by Dru
03 Aug 2012
Forum: MultiCharts .NET
Topic: If we add class, error : Class1 not defined [SOLVED]
Replies: 2
Views: 3386

Re: If we add class, error : Class1 not defined [SOLVED]

Hi, How do you add a module or a class ? In Visual Studio, If I add a Class in a an indicator , I get the message in the powerlanguage .NET editor : "Class1 not defined" How do i declare it in VS ? Emmanuel The format of the study file name is: TechName.TechType.cs(vb) where: 1) TechName - the name...
by Dru
03 Aug 2012
Forum: MultiCharts .NET
Topic: How can we use the Breakpoint under VS ?
Replies: 12
Views: 7410

Re: How can we use the Breakpoint under VS ?

Try to attach MS VS to process MultiCharts.exe with Managed debugging first.
by Dru
03 Aug 2012
Forum: MultiCharts .NET
Topic: How to access data of any symbol from scripts [SOLVED]
Replies: 4
Views: 4468

Re: How to access data of any symbol from scripts [SOLVED]

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
Find in MC .NET Help -> "DataLoader"
by Dru
03 Aug 2012
Forum: MultiCharts
Topic: MultiCore Machine and MC-Support
Replies: 14
Views: 4904

Re: MultiCore Machine and MC-Support

Could you do a simple test - run Exhaustive optimization with Channel BreakOut LS/SE. If CPU load will still be 50% then you could contact with MC's Help Desk for future investigation. If CPU load will 100% then the root of the problem is somewhere in your strategy.
by Dru
31 Jul 2012
Forum: MultiCharts
Topic: MultiCore Machine and MC-Support
Replies: 14
Views: 4904

Re: MultiCore Machine and MC-Support

"Hyperthreading" turned on in PC?
by Dru
30 Jul 2012
Forum: MultiCharts
Topic: MultiCore Machine and MC-Support
Replies: 14
Views: 4904

Re: MultiCore Machine and MC-Support

The optimization takes serveral hours.
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.
Exhaustive optimization (not WFO) utilise 30-50% of CPU only or it utilises 90-100% of CPU?
by Dru
27 Jul 2012
Forum: MultiCharts
Topic: MultiCore Machine and MC-Support
Replies: 14
Views: 4904

Re: MultiCore Machine and MC-Support

3) No, both exhaustive or genetic takes 100% of CPU Usage only 30-50 %.
I.e. exhaustive optimization utilise 30-50% of CPU only?
How long time does strategy calculates (backtest)? If this time is very short then MC's optimizer work is equal to strategy calculation and efficiency is low.
by Dru
26 Jul 2012
Forum: MultiCharts
Topic: MultiCore Machine and MC-Support
Replies: 14
Views: 4904

Re: MultiCore Machine and MC-Support

I have a Multicore Windows Machine running a walkforward opitmization. As you can see in the screenshot it does not use all cores and does not stress the machine. Is there anything I need to configure? 1. Does your signal/strategy uses keywords: definedllfunc/external or print or FileAppend ? 2. Wh...
by Dru
23 Jul 2012
Forum: MultiCharts
Topic: Threadsafe and Global Variable DLL
Replies: 4
Views: 1466

Re: Threadsafe and Global Variable DLL

I use GV_GetNamedString, CV_SetNamedString, so I suppose that I can't use it. If I use numbers instead Name to reference GV, should it be applicable? Yes. I want to note that the "numbers" faster than "names" and the access time is independent of the number of "numbers GV", as the time when access ...
by Dru
20 Jul 2012
Forum: MultiCharts
Topic: Threadsafe and Global Variable DLL
Replies: 4
Views: 1466

Re: Threadsafe and Global Variable DLL

Hello Question for an expert in software. Threadsafe is suppose to accelerate the process of some DLL. Is it appropriate to use the Threadsafe option with the globalvariable dll? https://www.multicharts.com/trading-software/index.php/ThreadSafe. If so, How do I do it? Martin Some functions from glo...
by Dru
10 Jul 2012
Forum: MultiCharts
Topic: Positions at broker into Scanner?
Replies: 7
Views: 1835

Re: Positions at broker into Scanner?

A small MC .NET PR :-) MultiCharts .NET will help you. There are low-level trading infrastructure ("PowerLanguage.TradeManager") accessible from any type of study. Access to trading capabilities of any broker (profile) and access to all trading events (order statuses, position's updates, connection ...
by Dru
10 Jul 2012
Forum: MultiCharts
Topic: cross over condition
Replies: 12
Views: 8947

Re: cross over condition

EDIT: Further elaboration: there seems to be a problem with "crosses over", which is equal to: (X[1] <= 30) and (X > 30). Using that code the X variable will be serialized (becoming a numerical series), but the "crosses over" reserved word doesn't do that - meaning that isn't not equal any more to ...
by Dru
10 Jul 2012
Forum: MultiCharts
Topic: cross over condition
Replies: 12
Views: 8947

Re: cross over condition

Observation: Making changes from Auto detect to User specified does not work
It is strange, but I can't reproduce this issue at my side :-(
May be some details exists?
by Dru
10 Jul 2012
Forum: MultiCharts
Topic: Once..begin sometimes triggered twice [SOLVED]
Replies: 9
Views: 3241

Re: Once..begin sometimes triggered twice [SOLVED]

It is auto maximum number of bars back calculations ... Set up MaxBarsStudyWillReference manually to 20 and look on results. The algorithm's work is looks like: 1) Set MaxBB = 0. Calculate. Detect that we need 1 BB. Break (Status Off). 2) Set MaxBB = 6. Calculate. Detect that we need *** BB. Break (...
by Dru
28 Jun 2012
Forum: MultiCharts FAQ
Topic: [Advanced Topic] Programming DLL
Replies: 37
Views: 43728

Re: MultiCharts using C#

4) Copied the net_assembly_interop.dll file from '\Call_dotNET_code_from_PL\Debug\' to 'C:\Program Files\MultiCharts\'. net_assembly_interop.dll is the C++/CLI "mixed" dll (native dll + managed code). i.e. it is PROXY that delegate all work to net_assembly.dll - is the pure managed dll (assembly) t...
by Dru
27 Jun 2012
Forum: MultiCharts FAQ
Topic: [Advanced Topic] Programming DLL
Replies: 37
Views: 43728

Re: MultiCharts using C#

So to summarize; does someone has a working C# project (that can be reverse engineered to learn how it works), or willing/able to write down the needed steps? :) The question like "How I can use .NET assembly in MultiCharts (PL)" is same as question "How I can use .NET assembly in any unmanaged app...
by Dru
05 Apr 2012
Forum: MultiCharts
Topic: Serious Issue with Exits - Automated trading - no workaround [SOLVED]
Replies: 69
Views: 29152

Re: Serious Issue with Exits - Automated trading - no workar [SOLVED]

No different with Beta 2 This morning I have a open limit exit. As soon as a stop order is issued (next bar), the open limit exit order is cancelled (for no reason) and re-issued. At this point I am not using "intrabarpersist", which may solve some problems I have heard. Too late to try this mornin...
by Dru
05 Apr 2012
Forum: MultiCharts
Topic: Automated trading with MultiCharts – what can go wrong?
Replies: 10
Views: 2793

Re: Automated trading with MultiCharts – what can go wrong?

Hi One of the issues I have with regard to auto trading as opposed to mc chart trading, is that auto trading places multiple live orders at the broker. where as chart trading only has one order. say you were long and had a stoploss and a trailing stop. These would appear as two orders at the broker...
by Dru
05 Apr 2012
Forum: MultiCharts
Topic: Platform Identification in Power Language
Replies: 1
Views: 648

Re: Platform Identification in Power Language

Code: Select all

if 0 = customerid then print("This is MC")
else print("This is TS");
by Dru
24 Mar 2012
Forum: MultiCharts
Topic: Too many Exits using !From Broker To Strategy MP Synchronize
Replies: 4
Views: 1594

Re: Too many Exits using !From Broker To Strategy MP Synchro

When using !From Broker To Strategy MP Synchronizer! on a chart that receives Order Entry information from another chart, sometimes when multiple contract orders are filled piecemeal (not all at once), then the receiving chart Exit strategy thinks each one of the piecemeal partial fills are to have...
by Dru
20 Mar 2012
Forum: MultiCharts
Topic: Custom Criteria – creating your own optimization criteria
Replies: 28
Views: 36063

Re: Custom Criteria – creating your own optimization criteri

For information: No limits for custom criteria optimizations . Sharpe Ratio? It's simplest! If you can calculate your own optimization criteria value then you can optimize your stratagy on it. See on: 1) https://www.multicharts.com/trading-software/index.php/SetCustomFitnessValue 2) the new signal i...
by Dru
12 Sep 2007
Forum: MultiCharts
Topic: Password protected ELS file is not opened from PLEditor
Replies: 2
Views: 1653

Correct password is "PASS1234". (Large letters)

Go to advanced search