Search found 31 matches

by Smarty
10 Jan 2021
Forum: MultiCharts .NET
Topic: Transfer the license to another computer
Replies: 2
Views: 1572

Re: Transfer the license to another computer

Hello Kate,

I found a way to solve, thanks for your interest.

However, the installation procedure in the latest versions is wrong, because without this trick I could no longer access my regular license.

Cordiality, Sabino
by Smarty
02 Jan 2021
Forum: MultiCharts .NET
Topic: Transfer the license to another computer
Replies: 2
Views: 1572

Transfer the license to another computer

I am changing computer, and I have to transfer the MC.NET license.

But in new versions I can't enter registration name and registration code, of my regular license.
How can I solve the problem ?

Greetings at all, Sabino.
by Smarty
02 Mar 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Ciao Bomberone, ... no exist fix. This is evident. You MUST avoid use previous values of variables inside functions. When a function use references to its array of values (previous), the interpreter badly handles the stack of function calls .. doing confusion. Then fix is possible at interpreter sou...
by Smarty
01 Mar 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Ciao Bomberone, the problem exists if you refer to past values in a function, this give error: If infVal[1] <> 0 then value = supVal/infVal[1]; this NO give error: If infVal <> 0 then value = supVal/infVal; it is still possible to develop a system that works on an intermarket level but I'm thinking ...
by Smarty
27 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Hi Felix ... timeseries are not corrupted ... Simply removing instructions that use previous values (lag parameter), anomaly disappears by magic :D Then I must write function without lag ... :( We must look at reality, even if reality do not like us ... writing functions that refer to previous value...
by Smarty
27 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Hi Felix .. thanks again ... :D :D :D ... we are colleagues may be we can send invoice at Multicharts (whose silence is deafening). We are serenely of opposite opinion ... for me, regardless of bizarre behavior of platform about timeseries, a logical flow is "sacred" and anything that happens out of...
by Smarty
27 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Hi Felix, thank you, I read with attention ... (1) "the calling code the conditional statement is honored" .... absolutelly true, I said already (2) Now for a series function, you cannot just call them in a conditional statement .... if true, it's terrible, I can understand that timeseries can have ...
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Hi Felix, thanks for your contribute. I put the same function to simplify the example ... but my goal is to perform a different functions according to the "calcMode" ... and those functions can also use previous values. Look at this version: inputs: calcMode(0); vars: calc(0); // or is calcMode = 1 ...
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Dear TJ .... then are 2 instructions !!!! .... no need debug ... debug have the same effects !

Thank you, but I don't answer more you.

I am waiting support

Ciao
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

This is a more easy version .. there are 2 instructions, in indicator there are "if then else" .... so it should print only 1 time following the logical condition ... no 2 times for both condition TRUE and FALSE... Indicator: inputs: calcMode(0); vars: calc(0); // or is calcMode = 1 or NOT ! .... no...
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5191

Re: Coding a function to calculate volatility

No ... compiling is without error ...

The sample is simple .... very much simple ... and now I write a more simpe version ...
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

where is logic error ? explain me ... and I said you "thanks" ...

or it's too much difficult to read ? do you want a more easy version ?

there are 10 instructions ...
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Re: Anomaly of interpreter [SOLVED]

Hi TJ ...

it's so clear what happened .... any calling at function is under a branch of "if-then-else", then must be called once .... do you want a switch version ?

Ciao
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5191

Re: Coding a function to calculate volatility

Hi TJ ... of course it's no question of intelligence of the indicator calculation.

I have isolated everything in easy instructions to make easy the understand that the flow is wrong, no matter what do indicator.

Of course ...

Ciao
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Anomaly of interpreter [SOLVED]
Replies: 21
Views: 5022

Anomaly of interpreter [SOLVED]

I have an anomaly of interpreter. The function FUN is called by the indicator, but it is always called, ignoring the logical, mutually exclusive conditions that should have the function run only once. This is indicator: inputs: calcMode(0), dataSeries1(1), dataSeries2(2); vars: xSeries(0), ySeries(0...
by Smarty
26 Feb 2018
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5191

Re: Coding a function to calculate volatility

I have isolated the problem on the interpreter, which also generates the error on the logarithm. I will open post as "anomaly of interpreter". This is indicator: inputs: calcMode(0), dataSeries1(1), dataSeries2(2); vars: xSeries(0), ySeries(0), calc(0); xSeries = Close of data(dataSeries1); ySeries ...
by Smarty
13 Feb 2018
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5191

Re: Coding a function to calculate volatility

for me too .... but it's no my situation .... soon I will post a complete example ... may be you can see what I am not able ... :-)
by Smarty
12 Feb 2018
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5191

Re: Coding a function to calculate volatility

No .... sorry Zheka ... it's sure. After this anomaly, I try to put "print" everywhere, but it's no possible to do not even apply step-by-step debugging. It was a numberseries in input at a function, whose first occurrence had zero value (the oldest). it was useless that I have filled with controls ...
by Smarty
12 Feb 2018
Forum: MultiCharts
Topic: Coding a function to calculate volatility
Replies: 17
Views: 5191

Re: Coding a function to calculate volatility

The error is regardless, even if the execution does not pass from the logarithm calculation instruction. The error is serious, please check support
by Smarty
30 Sep 2017
Forum: MultiCharts .NET
Topic: about to send one order to different symbols/accounts/brokers at same time
Replies: 1
Views: 8413

about to send one order to different symbols/accounts/brokers at same time

Hi for all, I read in the official documentation, that is possible " to send one order to different symbols/accounts/brokers at same time without Global Variables " .... see: https://www.multicharts.com/trading-software/index.php/Spread_and_Pair_Trading#Visual_Spread_on_Chart I would like to see a "...
by Smarty
08 Aug 2015
Forum: MultiCharts .NET
Topic: Reference .dll [SOLVED]
Replies: 3
Views: 3713

Re: Reference .dll [SOLVED]

Dear ManuelVene, very interesting this topic ....

Can you explain "step-by-step" how recall a generic "external .dll" in MC.NET source code ?

Thanks for all.
Sabino.
by Smarty
25 May 2014
Forum: MultiCharts .NET
Topic: compiling a strategy in dll mode or... some methods
Replies: 4
Views: 2430

Re: compiling a strategy in dll mode or... some methods

Josh thanks for your attention, i have fixed that error but there is a last issue as you can see from the attached, my idea is to create a DLL from the child class which inherits from "MySignalProtect" (which inherits from "SignalObject") in order to access all the attributes of the parent class. I ...
by Smarty
24 May 2014
Forum: MultiCharts .NET
Topic: compiling a strategy in dll mode or... some methods
Replies: 4
Views: 2430

compiling a strategy in dll mode or... some methods

I am working for protect my code c#, that I think is a very important question. how can I compile overall strategy the dll mode? or... how do I get CalcBar (as other specific methods) outside in a dll? I try to extend a strategy object, but there is an error... mcnet-error.png Have someone a ready s...
by Smarty
02 Mar 2014
Forum: MultiCharts .NET
Topic: difference between IOrderPriced and IOrderStopLimit ?
Replies: 1
Views: 1327

difference between IOrderPriced and IOrderStopLimit ?

I apologize for the trivial question, but the manual does not clearly explain the difference in depth between the two types of orders: IOrderPriced (limit and Stop) and IOrderStopLimit by definitions: (1) IOrderPriced OrderCreator.Limit (Stop); - creates a price Limit (Stop) order that should be sen...
by Smarty
14 Jan 2014
Forum: MultiCharts .NET
Topic: how intercept position value change? ... OnPositionChanged()
Replies: 3
Views: 1780

Re: how intercept position value change? ... OnPositionChang

Thanks for fast response.

I know that the OnPositionChanged() event does not exist, but due to its great utility I needs to rebuild it ...

however... If I'm not mistaken I can not use TradeManager in backtest mode, correct?

Regards, Sabino
by Smarty
13 Jan 2014
Forum: MultiCharts .NET
Topic: how intercept position value change? ... OnPositionChanged()
Replies: 3
Views: 1780

how intercept position value change? ... OnPositionChanged()

Could you please let me know how to intercept the change positions for a strategy? Using Position [1]. ClosedTrades I can access previous positions, it works when I close a position, but this is not enough when there is a change in the number of contracts. Using Currentposition.ClosedTrades know how...
by Smarty
12 Dec 2013
Forum: MultiCharts .NET
Topic: Portfolio does not show the correct number of contracts [SOLVED]
Replies: 3
Views: 2221

Re: Portfolio does not show the correct number of contracts [SOLVED]

Hello Henry,

there is a false alarm..... I worked badly with the portfolio tester, by wrong setting data1 e data2 instruments (as showing in figure is right)

Now my pair strategy works fine.

sorry for headache :-)) and thanks for attention.

Sabino
by Smarty
05 Dec 2013
Forum: MultiCharts .NET
Topic: Portfolio does not show the correct number of contracts [SOLVED]
Replies: 3
Views: 2221

Portfolio does not show the correct number of contracts [SOLVED]

Hi for all, this looks like a real anomaly. Individual strategy reports sign exactly number of contracts, respectively, 1 and 2, but if I apply strategies toghether in testing portfolio environment there is a huge anomaly: in portfolio backtest figure always 1 contract. the strategy report (by chart...
by Smarty
04 Dec 2013
Forum: MultiCharts .NET
Topic: is possible develop a Pair trading signal?
Replies: 5
Views: 2863

Re: is possible develop a Pair trading signal? ... an idea..

I have seen that it is possible to access a strategy by an indicator, then i try about invoking strategy methods directly within that indicator (invoke send_order for 2 different strategy/instrument). Still no good solution, because chart with strategies have been are already positioned on last bar....
by Smarty
05 Nov 2013
Forum: MultiCharts .NET
Topic: is possible develop a Pair trading signal?
Replies: 5
Views: 2863

Re: is possible develop a Pair trading signal?

Hello Henry, thanks for your attention... You must allow me a bit of disappointment. We know that it is possible to access the data on all the charts, but you can send orders only on the first chart for full paper trading simulation, without using any broker ... In optical OO must not complicated to...
by Smarty
05 Nov 2013
Forum: MultiCharts .NET
Topic: is possible develop a Pair trading signal?
Replies: 5
Views: 2863

is possible develop a Pair trading signal?

Hi for all, I am novice on MC.NET. As the beginning I installed the starter edition and I am using the free data feed (google finance) with target a simple "pair trading". Then, in my workspace I have insert 2 chart instruments: GOOG and AAPL, and a Spread Ratio Indicator. There are some problems ab...

Go to advanced search