Search found 128 matches

by no erocla
04 Apr 2019
Forum: MultiCharts
Topic: Re-entry delay
Replies: 2
Views: 117

Re-entry delay

I've some difficult to set a re-entry delay, to fix a reentry after a stoploss. IF marketposition() = 0 and stoptrigger = false and ...... then begin StopLoss = c * ((100-sl)/100); I'm coding stoploss as follow: if marketposition() = 1 then SELL ( "StopLoss" ) 1 contracts next bar at StopL...
by no erocla
06 Mar 2019
Forum: MultiCharts
Topic: IB Adj Data
Replies: 1
Views: 144

IB Adj Data

There is a way to retrieve Adj stock prices through QM on Interactive Brokers or some other data provider ?
by no erocla
15 Feb 2019
Forum: MultiCharts
Topic: mail alert with stocks information
Replies: 4
Views: 165

Re: mail alert with stocks information

You will likely require a timer though as the markets might be closed by the time you execute your code and you will need to make sure that all symbols have closed - for example by waiting past the bar time out before executing the code. ABC Of course! Anyway, on daily bars trading is easier to man...
by no erocla
14 Feb 2019
Forum: MultiCharts
Topic: mail alert with stocks information
Replies: 4
Views: 165

mail alert with stocks information

Is possibile through Portfolio Trader to retrieve information from stocks (for example close price of each stock) and sending it in one e-mail ?
Thank you in advance
NE
by no erocla
25 Jul 2018
Forum: MultiCharts
Topic: How to read N/A Data in PowerLanguage
Replies: 1
Views: 245

How to read N/A Data in PowerLanguage

Hi all,

there is a code to identify N/A data ?
I would like to exclude Signal calculation during missing data 2.

Best Regards
No Erocla
by no erocla
04 Jul 2018
Forum: MultiCharts
Topic: data2 miss alignment during holidays
Replies: 1
Views: 212

data2 miss alignment during holidays

Hi guys, I use IQFEED. I have SPX index (SPX.XO) H1 in data1 and SPX Index 24H in data2. Usually, SPX.XO session close at 22:00 GMT+1. Yesterday, SPX.XO close around 19:30, so in H1 i have last bar ah 20:00, and in D1 i have last bar at 22:00, and signals does not works. Any suggestions ? Regards No...
by no erocla
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 476

Re: calendar data on instrument [SOLVED]

Yes exactly, because sometimes happen that there are holidays and i've some hole.
(going a little bit OT) there is a way to retrieve calendar holidays days on PL ?
by no erocla
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 476

Re: calendar data on instrument [SOLVED]

every day from 01.01. to 31.12, 365 days per year
by no erocla
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 476

Re: calendar data on instrument [SOLVED]

Hi TJ thank you for response.
I mean not market data, but calendar data.
So i mean, every day in calendar data, including weekend too.

No Erocla
by no erocla
30 Nov 2017
Forum: MultiCharts
Topic: calendar data on instrument [SOLVED]
Replies: 6
Views: 476

calendar data on instrument [SOLVED]

There is a way to show all calendar data on chart regardless the instrument ?

Thank you
No Erocla
by no erocla
23 Aug 2017
Forum: MultiCharts
Topic: Portfolio trader issue mc11 [SOLVED]
Replies: 5
Views: 639

Re: Portfolio trader issue mc11 [SOLVED]

Ok just sent the email
by no erocla
23 Aug 2017
Forum: MultiCharts
Topic: Portfolio trader issue mc11 [SOLVED]
Replies: 5
Views: 639

Re: Portfolio trader issue mc11 [SOLVED]

Hi Henry and thank you for support.

Unfortunately it doesn't work, i don't have errors from updater but my problem is not fixed.
I've problem with sending mail too, i think that i need support.

Thank you in advance
No Erocla
by no erocla
22 Aug 2017
Forum: MultiCharts
Topic: Portfolio trader issue mc11 [SOLVED]
Replies: 5
Views: 639

Portfolio trader issue mc11 [SOLVED]

Hi guys, Without any reason, with mc 11, i cannot open a lot of PWS files on my portfolio trader. In those files there was complex model, with 80 systems with a portfolio trader signals. Please i need help. Regards No Erocla https://gyazo.com/6ab41d9bb3952583efc5472d8d17b670 https://gyazo.com/6ab41d...
by no erocla
21 Aug 2017
Forum: MultiCharts
Topic: E-Mail Alert issue [SOLVED]
Replies: 4
Views: 555

Re: E-Mail Alert issue [SOLVED]

Same problem on 11, already installed, i really can't undesrtand, it works 1 month ago...
by no erocla
21 Aug 2017
Forum: MultiCharts
Topic: E-Mail Alert issue [SOLVED]
Replies: 4
Views: 555

Re: E-Mail Alert issue [SOLVED]

I'VE TILL MC10, i can't download MC11 at the moment from platform.
Anyway thank you very much for the answer.
by no erocla
21 Aug 2017
Forum: MultiCharts
Topic: E-Mail Alert issue [SOLVED]
Replies: 4
Views: 555

E-Mail Alert issue [SOLVED]

Hi guys, last month E-Mail Alert stop working without any reasons. I tested it on 2 different PCs, with 3 different mail providers (GMX GMAIL OUTLOOK), with all ports. " Message error while trying to send Email alert. Description: Message sending to: smtp.mgx.com is failed" Regards No Erocla
by no erocla
20 Jun 2017
Forum: MultiCharts
Topic: Number of DAY from a certain data range [SOLVED]
Replies: 2
Views: 328

Re: Number of DAY from a certain data range [SOLVED]

Thank you a lot like always ABC!
by no erocla
20 Jun 2017
Forum: MultiCharts
Topic: Number of DAY from a certain data range [SOLVED]
Replies: 2
Views: 328

Number of DAY from a certain data range [SOLVED]

Hi guys,

there's any way to retrieve exact number of days between two dates ?

For example:

01/mar - 01/jan
or
1170301 - 1170101

should return 59.

Thank you very much in advance
No Erocla
by no erocla
01 Jun 2017
Forum: MultiCharts
Topic: Mail Format [SOLVED]
Replies: 9
Views: 1009

Re: Mail Format [SOLVED]

Any news regarding the possibility to change email format ?

Best regards
No Erocla
by no erocla
31 May 2017
Forum: MultiCharts
Topic: Futures continuos contract data feed
Replies: 1
Views: 209

Futures continuos contract data feed

Which data provider compatible with MC offers continuos futures contract data feed ?
by no erocla
30 May 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 703

Re: vix continuos custom futures problem [SOLVED]

The mission is to calculate VIX Expiration date, so of course, should be exact exact exact :D
I've just to count 30 days before third friday of the next month.
by no erocla
29 May 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 703

Re: vix continuos custom futures problem [SOLVED]

Hi TJ,

thank you for your response.
I've to count the third friday and then go back 30 days, and i can't do it using bars.
How can i count days diffently ?

Regards
No Erocla
by no erocla
29 May 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 703

Re: vix continuos custom futures problem [SOLVED]

Hi Angelina,

there is some function like: 30DaysBefore3rdFridayNextMonth for powerlaunguage ?

Regards
No Erocla
by no erocla
24 May 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 703

Re: vix continuos custom futures problem [SOLVED]

Hi Angelina and thank you for response. VIX Futures settlmenet is on wednesday, so this function does not work. Furthermore, for month that starts on wednesday calculation changes, and expiration is during 4th wednesday, Another question, there's any way to retrieve futures contract expiration from ...
by no erocla
25 Apr 2017
Forum: MultiCharts
Topic: vix continuos custom futures problem [SOLVED]
Replies: 8
Views: 703

vix continuos custom futures problem [SOLVED]

Hi all,

there's a way to set particular rules on custom futures ?
For example, vix futures settlement is third wednesday on the month, but if the first day of month is a wednesday, it will be the fourth day of the month.

Regards
No Erocla
by no erocla
25 Jan 2017
Forum: MultiCharts
Topic: Export Custom Futures
Replies: 1
Views: 354

Export Custom Futures

I've built a custom futures composed by front futures contracts.
There is a way to export on csv (ascii) ?

Thank you
Regards
No Erocla
by no erocla
22 Dec 2016
Forum: MultiCharts
Topic: How to retreive IB continuos contracts data
Replies: 2
Views: 399

How to retreive IB continuos contracts data

For example Interactive Brokers offer continuos contracts data, but i really don t know how to retrieve this from multicharts.
Any suggestion ?

Regards
No Erocla
by no erocla
20 Dec 2016
Forum: MultiCharts
Topic: Mail to different recipients chart by chart [SOLVED]
Replies: 3
Views: 427

Re: Mail to different recipients chart by chart [SOLVED]

Dear Henry,

thank you for answer, so i've to manage it through forward.
Anyway, should not be so hard to improve this features, i hope for the future !

No Erocla
by no erocla
16 Dec 2016
Forum: MultiCharts
Topic: Mail to different recipients chart by chart [SOLVED]
Replies: 3
Views: 427

Mail to different recipients chart by chart [SOLVED]

As in title, there is a way to set an Alert Mail Recipients different from chart to chart ?

Regards
No Erocla
by no erocla
04 May 2016
Forum: MultiCharts
Topic: Portfolio Trader IOG
Replies: 4
Views: 1219

Portfolio Trader IOG

Any news about it ? Traders are using a lot of "unstable" ways to realize some custom IOG mode for portfolio trader and in my opinion this is not good for some robust and stable automated trading (this need a lot of data and RAM comsumption too). I really hope that this will be integrated ...
by no erocla
28 Apr 2016
Forum: MultiCharts
Topic: Cannot access currency conversion server - error
Replies: 3
Views: 629

Re: Cannot access currency conversion server - error

Hi Henry and thank you for answer, i've just made a simple signal: print(ticksize); and i'm already using it with a lot of intruments to test it. I did same with bigpointvalue and others..... i've the latest version: MultiCharts64 Version 9.1 Release (Build 12587) i'm sure that i don t have any inte...
by no erocla
28 Apr 2016
Forum: MultiCharts
Topic: Cannot access currency conversion server - error
Replies: 3
Views: 629

Cannot access currency conversion server - error

This appears today, what can i do to fix it ?
I calculate something for my algorithm using ticksize, bigpointvalue and others.....

Regards
No Erocla
by no erocla
28 Apr 2016
Forum: MultiCharts
Topic: Oanda/QM error 401
Replies: 2
Views: 456

Re: Oanda/QM error 401

I can log into broker account with oanda platform without any problem, that's why i though that can be some interfacing error, or maybe this data provider limit just 1 demo account for MC.
by no erocla
28 Apr 2016
Forum: MultiCharts
Topic: Oanda/QM error 401
Replies: 2
Views: 456

Oanda/QM error 401

Hello,

i've used Oanda Demo like a forex data provider for around 1 month, without any problem.
After that i made a new demo account but QM give me this error:

Connection failed: error (401) unauthorized remote access

Any idea ? i cannot change username and password too.

Regards
No Erocla
by no erocla
14 Apr 2016
Forum: MultiCharts
Topic: Symbol Dictionary - Daily Limit
Replies: 2
Views: 2075

Re: Symbol Dictionary - Daily Limit

Again this issue with latest downloaded version (now), solved with regedit.
by no erocla
13 Apr 2016
Forum: MultiCharts
Topic: Retrieve exposure info
Replies: 5
Views: 987

Re: Retrieve exposure info

Dear Henry, i've found this: https://gyazo.com/c7dd3c65d96dd4f4debda5c86a420c28 for every instrument, "importo" is like "exposure" of trade, in this case close*bigpointvalue. There's any way to retrieve total sum of "importo" present in portfolio through MC ? Thank you ...
by no erocla
12 Apr 2016
Forum: MultiCharts
Topic: GetRTAccountEquity - issue on PTF Trader [SOLVED]
Replies: 3
Views: 960

Re: GetRTAccountEquity - issue on PTF Trader [SOLVED]

Ok i solved, it does not work on backtest in ptf trader.
Turning on AT in PT seems that works.
by no erocla
12 Apr 2016
Forum: MultiCharts
Topic: GetRTAccountEquity - issue on PTF Trader [SOLVED]
Replies: 3
Views: 960

Re: GetRTAccountEquity - issue on PTF Trader [SOLVED]

If i put this:

PRINT("ACCOUNT ",GetRTAccountEquity("....."))

in Signal in portfolio trader, i cannot retrieve account information.

Same function works on Multicharts.

Regards
No Erocla
by no erocla
12 Apr 2016
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 15597

Re: Memory leak

Hello Henry,

- no
- 4 ptf trader + 5 MC charts
- no
- no

What i can say, is that now, using 1 Paper trading and 1 Real account, this problem does not occurs.

Regards
No Erocla
by no erocla
12 Apr 2016
Forum: MultiCharts
Topic: Modify bars updating [SOLVED]
Replies: 7
Views: 873

Re: Modify bars updating [SOLVED]

Hello Henry,

in this example i'm using Oanda and Interactive Brokers.

Thank you
Regards
No Erocla
by no erocla
07 Apr 2016
Forum: MultiCharts
Topic: GetRTAccountEquity - issue on PTF Trader [SOLVED]
Replies: 3
Views: 960

GetRTAccountEquity - issue on PTF Trader [SOLVED]

I cannot retrieve Account Equity info with GetRTAccountEquity function through Portfolio trader.
Same works obviously on MC.

Regards
No Erocla
by no erocla
06 Apr 2016
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 15597

Re: Memory leak

For example, using option "N" bars back, why last bar is not deleted after that a new bar is updated ? This permit to have a stable RAM consumption.

No Erocla
by no erocla
06 Apr 2016
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 15597

Re: Memory leak

Hi Henry, actually i can notice this behaviour using interactive broker (paper trading) and oanda (demo) , now i'm trying with IB real account and Oanda Demo, i'll give you a feedback with this setup too. I'm using 4/5 Portfolio Trader and 1 Multicharts with 6/7 workspaces with 4/5 charts in each of...
by no erocla
05 Apr 2016
Forum: MultiCharts
Topic: Modify bars updating [SOLVED]
Replies: 7
Views: 873

Re: Modify bars updating [SOLVED]

No im not refering to this, i can notice this behaviour using 2 different data provider. For example, take EUR.USD (2 secs) from broker "A" in data1, and DAX (2 secs) from broker "B" in data2, then you can see that bars are not in line. A mini clip that show this: https://gyazo.c...
by no erocla
05 Apr 2016
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 15597

Re: Memory leak

MultiCharts64 Version 9.1 Release (Build 12411)
by no erocla
05 Apr 2016
Forum: MultiCharts
Topic: Modify bars updating [SOLVED]
Replies: 7
Views: 873

Re: Modify bars updating [SOLVED]

Dear TJ,

thank you very much for answer, yes this can be useful for real time trading, but im afraid for data downloaded by QM that can be not representitive.

Regards
No Erocla
by no erocla
05 Apr 2016
Forum: MultiCharts
Topic: Memory leak
Replies: 111
Views: 15597

Re: Memory leak

I noticed today the same problem..... 31gb of 32gb of ram usage by ts server.
by no erocla
05 Apr 2016
Forum: MultiCharts
Topic: Modify bars updating [SOLVED]
Replies: 7
Views: 873

Modify bars updating [SOLVED]

Taking for example a 5 seconds time frame, i would like that bars are updated every 5 seconds, without waiting some price movement (tick).

This can be very useful for simulating correctly spread trading and arbitrage trading operating in the past, or results are totally wrong.

Best regards
No Erocla
by no erocla
05 Apr 2016
Forum: MultiCharts
Topic: Retrieve exposure info
Replies: 5
Views: 987

Re: Retrieve exposure info

Dear Henry,

i'm using interactive brokers, unfortunately i cannot see this value in TWS Platform.

I don't know if there's some other way to retrieve this value.

Thank you for help
Regards
No Erocla
by no erocla
31 Mar 2016
Forum: MultiCharts
Topic: Unnecessary data requests in Portfolio Trader? [SOLVED]
Replies: 4
Views: 1252

Re: Unnecessary data requests in Portfolio Trader? [SOLVED]

Im interested too, i would like to use a lowest time frame (1 sec/5 sec) to give a certain delay to executions, or anyway to simulate IOG behaviour. The idea is to download just a little portion of Seconds bars data like data1 (with bars back option), something already possible in MC platform (examp...
by no erocla
30 Mar 2016
Forum: MultiCharts
Topic: Retrieve exposure info
Replies: 5
Views: 987

Retrieve exposure info

Hi all,

anyone know if there's some functions that allows to retrieve Net Exposure at broker ?
Could be usefull something like "GetRTAccountMargin", but with net exposure.

Thank you in advance
Best Regards
No Erocla
by no erocla
10 Mar 2016
Forum: MultiCharts
Topic: IB/MC: How to manage Rollover [SOLVED]
Replies: 7
Views: 2145

IB/MC: How to manage Rollover [SOLVED]

Hi guys,

which is the best way to manage futures rollover through automated trading ?
The best way should be to trade continuos futures, but i can't retrieve this data through API from QM.

Any idea ?

Best Regards
No Erocla
by no erocla
25 Feb 2016
Forum: MultiCharts
Topic: Multicharts RAM Usage
Replies: 8
Views: 911

Re: Multicharts RAM Usage

Anyway RAM consumption is too much and can be fixed.

No Erocla
by no erocla
25 Feb 2016
Forum: MultiCharts
Topic: Multicharts RAM Usage
Replies: 8
Views: 911

Re: Multicharts RAM Usage

- yes
- 50/60
- 200 lines average..

Thank you
Best regards
No Erocla
by no erocla
25 Feb 2016
Forum: MultiCharts
Topic: Multicharts RAM Usage
Replies: 8
Views: 911

Re: Multicharts RAM Usage

I mean Multicharts Portfolio Trader

Regards
No Erocla
by no erocla
25 Feb 2016
Forum: MultiCharts
Topic: Multicharts RAM Usage
Replies: 8
Views: 911

Re: Multicharts RAM Usage

64 bit
8 gb
1 year - 1 minute
50/60

** im using ptf trader for simulation

Regards
No Erocla
by no erocla
25 Feb 2016
Forum: MultiCharts
Topic: Multicharts RAM Usage
Replies: 8
Views: 911

Multicharts RAM Usage

Multicharts consumes a lot of RAM during simulation and during live trading because of data downloading (this occurs mostly using data2/data3 data). To avoid this, for live trading one way would be storing Data into HD instead of RAM, downloading only a little portion of real time data into the RAM....
by no erocla
12 Feb 2016
Forum: MultiCharts
Topic: Dynamic BI-Dimensional Array [SOLVED]
Replies: 10
Views: 1430

Dynamic BI-Dimensional Array [SOLVED]

Is possible to declaring a dynamic bi dimensional array in power language ?

Regards
No Erocla
by no erocla
11 Feb 2016
Forum: MultiCharts
Topic: Retrieve Profit Factor value
Replies: 2
Views: 635

Retrieve Profit Factor value

Hi all,

anyone know if there's a way to retrieve profit factor information from Signal or Portfolio Trader Signal ?

Regards
No Erocla
by no erocla
10 Feb 2016
Forum: MultiCharts
Topic: Portfolio: difference between simulation and paper trading
Replies: 7
Views: 2047

Re: Portfolio: difference between simulation and paper tradi

The main problem is the delay beetwin instruments bars close during sorting of array, explained here:
viewtopic.php?f=1&t=49150
by no erocla
31 Jan 2016
Forum: MultiCharts
Topic: Mail Format [SOLVED]
Replies: 9
Views: 1009

Re: Mail Format [SOLVED]

Thank you for help jaanie,

but how can i use this with multicharts ?

Regards
No Erocla
by no erocla
29 Jan 2016
Forum: MultiCharts
Topic: Mail Format [SOLVED]
Replies: 9
Views: 1009

Re: Mail Format [SOLVED]

Thank you a lot for response.

I'm not interested in this 4 lines, do you know if there s a way to delete them ?

Best regards
No Erocla
by no erocla
29 Jan 2016
Forum: MultiCharts
Topic: Mail Format [SOLVED]
Replies: 9
Views: 1009

Re: Mail Format [SOLVED]

Thank you for reply tj. if you write in Signal: Alert("HELLO"); you will receive this mail format: 29.01.2016 14:00:05 Source: System Instrument: ESTX50 Resolution: 1 Hour Price: 3'004.94 Message: HELLO i would like to customize it deleting first 4 lines. I would like to find a way to star...
by no erocla
29 Jan 2016
Forum: MultiCharts
Topic: Mail Format [SOLVED]
Replies: 9
Views: 1009

Mail Format [SOLVED]

Hi guys,

anyone know if there's a way to change and customize Alert Mail format ?

Regards
No Erocla
by no erocla
29 Jan 2016
Forum: MultiCharts
Topic: Portfolio trader - buy/short at market [SOLVED]
Replies: 3
Views: 905

Re: Portfolio trader - buy/short at market [SOLVED]

Dear Henry, thank you for response.

So, regarding live trading, IOG Mode doesn't work in Portoflio Trading ?

Regards
No Erocla
by no erocla
27 Jan 2016
Forum: MultiCharts
Topic: Portfolio trader - buy/short at market [SOLVED]
Replies: 3
Views: 905

Portfolio trader - buy/short at market [SOLVED]

Hi guys, i noticed that there are some differences beetwin portfolio trader and multicharts using the same Strategies Properties. For example,using market orders, if the marketposition of one Signal is 1 and i turn on Automated Trading, Multicharts send immediatly and correclty LONG order to the bro...
by no erocla
19 Jan 2016
Forum: MultiCharts
Topic: Portfolio Trader - multiple iteration issue
Replies: 8
Views: 3978

Re: Portfolio Trader - multiple iteration issue

Someone notice the same behavior ?
by no erocla
31 Dec 2015
Forum: MultiCharts
Topic: Portfolio Trader - multiple iteration issue
Replies: 8
Views: 3978

Re: Portfolio Trader - multiple iteration issue

Dear Henry, What i mean is that when you sort an array and allow "n best" strategy to enter at market, for example: allow : strategy 4 allow : strategy 2 allow : strategy 3 deny : strategy 1 is possibile that after some milliseconds/seconds another signal want to enter at market and so the...
by no erocla
22 Dec 2015
Forum: MultiCharts
Topic: Portfolio Trader - multiple iteration issue
Replies: 8
Views: 3978

Re: Portfolio Trader - multiple iteration issue

Dear Henry, i think that this problem can occurs in Portfolio Rank MM Signal too. For example, when i sort an array, i allow to the first "n" signals to go long. https://gyazo.com/4fa58f161d92614cc31cd859f118cbfd So i've maximum long system at market equal to 3. But what happen when there ...
by no erocla
14 Dec 2015
Forum: MultiCharts
Topic: PTF Trader Time Frame
Replies: 1
Views: 1228

PTF Trader Time Frame

Portfolio trader is calculated every tick and this, in my opinion, can give some loop problems. To avoid this, i programmed all signals to 1 minute timeframe inserting the following string in each of them: pmm_set_my_named_num("FLAG",1); then i check on portfolio trader signal if all minut...
by no erocla
11 Dec 2015
Forum: MultiCharts
Topic: Problem with Portfolio Money Management Signal.
Replies: 5
Views: 1421

Re: Problem with Portfolio Money Management Signal.

Hi Stefano,

did you finally solved your problem ?

No Erocla
by no erocla
24 Nov 2015
Forum: MultiCharts
Topic: Portfolio Trader - multiple iteration issue
Replies: 8
Views: 3978

Re: Portfolio Trader - multiple iteration issue

Dear Henry, thank you for response and your time.

I understand this but i think that to avoid some loop problems you have to give the possibility to set a timeframe to portfolio trader based on computer time, or some instruments data close.

Best regards
No Erocla
by no erocla
23 Nov 2015
Forum: MultiCharts
Topic: Portfolio Trader - multiple iteration issue
Replies: 8
Views: 3978

Re: Portfolio Trader - multiple iteration issue

Dear Henry, thank you for response, i send all in this thread too:

this is the error that i mean:

Image

The versione is the latest (downloaded now): MultiCharts64 Version 9.1 Release (Build 12010)
Regards
No Erocla
by no erocla
18 Nov 2015
Forum: MultiCharts
Topic: Currency Conversion: Base Currency Issue
Replies: 8
Views: 1478

Re: Currency Conversion: Base Currency Issue

Dear Henry, thank you for response.

But usually in Forex Market Base currency is on left, there's a way to change this setup ?

Also, when you find an order to broker, you send it on currency positioned on left, for example:

BUY 100.000 EUR.USD

will buy 100.000 Eur.

Reards
No Erocla
by no erocla
18 Nov 2015
Forum: MultiCharts
Topic: Portfolio Trader - multiple iteration issue
Replies: 8
Views: 3978

Portfolio Trader - multiple iteration issue

I will post sample codes to show what i mean: Signal: pmm_set_my_named_num("flag_signal",1); Portfolio trader Signal: variables: flag(false),idx(0); flag = FALSE; //// Control for flag from signals for idx = 0 to pmms_strategies_count -1 BEGIN IF (pmms_get_strategy_named_num(idx,"flag...
by no erocla
17 Nov 2015
Forum: MultiCharts
Topic: Currency Conversion: Base Currency Issue
Replies: 8
Views: 1478

Re: Currency Conversion: Base Currency Issue

Hi Henry and thank you for response. Based on this: currencyCodeToStr(currencyCode) – string value for the currency with currencyCode code. For example, currencycodetostr(symbolcurrencycode) will return “EUR” value, if the strategy is calculated using the symbol with EUR as a basic currency. symbolC...
by no erocla
17 Nov 2015
Forum: MultiCharts
Topic: Currency Conversion: Base Currency Issue
Replies: 8
Views: 1478

Re: Currency Conversion: Base Currency Issue

Dear chilli,

i'am talking about Base Currency assumed by quotemanager.
If you try "SymbolCurrencyCode" function you will see the same issue.

Regards
No Erocla
by no erocla
17 Nov 2015
Forum: MultiCharts
Topic: Currency Conversion: Base Currency Issue
Replies: 8
Views: 1478

Re: Currency Conversion: Base Currency Issue

Any news ?

Regards
No Erocla
by no erocla
11 Nov 2015
Forum: MultiCharts
Topic: Problem with Portfolio Money Management Signal.
Replies: 5
Views: 1421

Re: Problem with Portfolio Money Management Signal.

Ciao Stefano,

code is correct, you don't need to trigger cover/sell signals, just count how many open position do you have at market:

array:strategyIndexes[](0);
pmms_strategies_in_positions_count(strategyIndexes);

Obviously, you have to count it in your Portfolio Trader Signal.

Regards
No Erocla
by no erocla
10 Nov 2015
Forum: MultiCharts
Topic: Problem with Portfolio Money Management Signal.
Replies: 5
Views: 1421

Re: Problem with Portfolio Money Management Signal.

Ciao Stefano

Put this in your Signal when buy/sell is triggered:
pmm_set_my_named_num("trigger",1);

Then, recall it in your Portfolio Signal and count how many strategies want to enter.
You must use 2d array.

Regards
No Erocla
by no erocla
10 Nov 2015
Forum: MultiCharts
Topic: Currency Conversion: Base Currency Issue
Replies: 8
Views: 1478

Currency Conversion: Base Currency Issue

I noticed that Base Currency in Forex Market is wrong (using Interactive Brokers). For example, using SymbolCurrencyCode in EUR.USD FX, this function return "USD" as base currency and not "EUR". This is not correct also because when you send a Forex order on IB, like "Buy 10...
by no erocla
09 Nov 2015
Forum: MultiCharts
Topic: Portfolio_CurrentEntries
Replies: 2
Views: 844

Re: Portfolio_CurrentEntries

I'm working on the same thing.

You can't use Marketposition to limit max portfolio open positions.

Regards
No Erocla
by no erocla
09 Nov 2015
Forum: MultiCharts
Topic: IntraBar timestamps in a strategy - How? [SOLVED]
Replies: 7
Views: 4020

Re: IntraBar timestamps in a strategy - How? [SOLVED]

Hi all,

i'm interested to this features too, there's any news ?

Thank you
Regards
No Erocla
by no erocla
30 Oct 2015
Forum: MultiCharts
Topic: Portfolio: difference between simulation and paper trading
Replies: 7
Views: 2047

Re: Portfolio: difference between simulation and paper tradi

I don't know, i'm trying to find a way to fix it. Anyway, there's some difference beewting simulation and real trading, i don t have problem simulating tousands of trades. The main question anyway is: why during real trading this logical error occurs just sometimes and not always ? Regards and thank...
by no erocla
22 Oct 2015
Forum: MultiCharts
Topic: Portfolio: difference between simulation and paper trading
Replies: 7
Views: 2047

Re: Portfolio: difference between simulation and paper tradi

Dear Henry, thank you again for responding. I still think that anyway there is an error, i made a very simple code to explain it, this is PMM Signal: var:idx(0),count(0),maxopenposition(1),countin(0); array:strategyIndexes[](0); pmms_strategies_deny_entries_all; countin = 0; for idx = 0 to pmms_stra...
by no erocla
22 Oct 2015
Forum: MultiCharts
Topic: Retrieve minute information [SOLVED]
Replies: 2
Views: 518

Re: Retrieve minute information [SOLVED]

print(formattime("m",datetime));

but how to get integer value ?
by no erocla
22 Oct 2015
Forum: MultiCharts
Topic: Retrieve minute information [SOLVED]
Replies: 2
Views: 518

Retrieve minute information [SOLVED]

Hi all,

there is any shortcut/method to retrieve just "minute" information ?
For example a function that for time = 14:05 returns 5.

Regards
No Erocla
by no erocla
05 Oct 2015
Forum: MultiCharts
Topic: Portfolio: difference between simulation and paper trading
Replies: 7
Views: 2047

Re: Portfolio: difference between simulation and paper tradi

I try to make an example: this Portoflio Trader MM Signal limit max open position to Maxopenposition variable: var:idx(0),count(0),maxopenposition(2),countin(0),countout(0),countMP(0),SLOT(0); array:strategyIndexes[](0); pmms_strategies_deny_entries_all; countin = 0; countout = 0; COUNTMP = 0; slot=...
by no erocla
30 Sep 2015
Forum: MultiCharts
Topic: Portfolio: difference between simulation and paper trading
Replies: 7
Views: 2047

Portfolio: difference between simulation and paper trading

Hello, i noticed that there are some different between backtesting and trading in portfolio trader, i think that it depends of IOG mode of portfolio trader. In fact, if i print some variable it seems to loop on every tick. IOG mode can make some error if there are some delay during orders executions...
by no erocla
15 Sep 2015
Forum: MultiCharts
Topic: Instances on different PC with same IP Address
Replies: 1
Views: 722

Instances on different PC with same IP Address

I know that there's the possibility to run more then one MC instance in one pc, this is possibile too with different computers that has got the same IP Address ?

Regards
No Erocla
by no erocla
11 Sep 2015
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

Ok but i think that the problem persist.
When can i increase the variabile using pmm_set_global_named_num() function ?
by no erocla
11 Sep 2015
Forum: MultiCharts
Topic: Order and position tracker BUG
Replies: 3
Views: 1037

Re: Order and position tracker BUG

Dear Henry, thank you for response, i noticed this behaviour in 1 year of activity with multicharts and ib, so i think that i've tried all MC/TWS version. Anyway, actually i'm using this Gateway: https://gyazo.com/fef9c71e4fd5ab66090eed5c1a36fe9f https://gyazo.com/fef9c71e4fd5ab66090eed5c1a36fe9f wi...
by no erocla
09 Sep 2015
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

Ok with this cycle i can scan if there are some open position in my portfolio: for idx = 0 to pmms_strategies_count -1 begin if pmms_strategy_marketposition(idx) <> 0 then flag = 1; end; The problem occurs now, I have to check how many systems want to enter to Market, before that their signal will b...
by no erocla
08 Sep 2015
Forum: MultiCharts
Topic: ATTENTION IB USERS
Replies: 30
Views: 7271

Re: ATTENTION IB USERS

I noticed that ram usage is strictly correlated to mc data stored, so use data range "bars back" option and try to limit this value lower as possible:

https://gyazo.com/bc529bafbae419407ed31b028d47e207

So you will stop ram usage growing up.
by no erocla
08 Sep 2015
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

Dear Orion, thank you very much for the answer, but i don't understand very well how to solve my problem using those funcions. Maybe for my scope i've to: 1 - count how many equities are present in my portfolio (pmms_strategies_count) 2 - Don t allow to strategies operate before PMM Instructions (pm...
by no erocla
02 Sep 2015
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

Hello, i resume this discussion that can be usefull for mc users. I would like to set some systems in OR to reduce leverage and for other scope. This means that if i've 10 charts with 10 signals, just 1, 2 or 3 trading system can be active at the same time and not more. I don t know if is it possibi...
by no erocla
02 Sep 2015
Forum: MultiCharts
Topic: Order and position tracker BUG
Replies: 3
Views: 1037

Order and position tracker BUG

I noticed that in order and position tracker windows, data (like margin, account and more..) is not refreshed regularly and sometimes is totally blocked.

There's any way to fix it ?
I'm using Interactive Brokers.

Regards
No Erocla
by no erocla
07 Jul 2015
Forum: MultiCharts
Topic: Account Margin
Replies: 1
Views: 694

Account Margin

Hi all,

there s a way to get account margin using IB ?

Thanks a lot
Regards
No Erocla
by no erocla
03 Jun 2015
Forum: MultiCharts
Topic: Portfolio Trader - Set Max Open Position [SOLVED]
Replies: 3
Views: 2087

Re: Portfolio Trader - Set Max Open Position [SOLVED]

Thank you Henry for replay,

yes this can avoid totally every margin call problems.

Regards
No Erocla
by no erocla
02 Jun 2015
Forum: MultiCharts
Topic: Portfolio Trader - Set Max Open Position [SOLVED]
Replies: 3
Views: 2087

Portfolio Trader - Set Max Open Position [SOLVED]

Hi All,

there is any easy way through PT to set a Max Number of Open Position to reduce account size required in a TS portfolio ?
For example i would like, in a portfolio of 25 system, to limit the max number of open position at 15.

Regards
No Erocla
by no erocla
02 Jun 2015
Forum: MultiCharts
Topic: Close to Close equity incomplete [SOLVED]
Replies: 8
Views: 2069

Re: Close to Close equity incomplete [SOLVED]

I wrote a very simple example: inputs:PERIOD(30),JPY_ADJ(FALSE);//, DEV(1.5), factor(2),TP(3); variables: up( 0 ),dw( 0 ),CTS(0); condition98 = t>1100 and t<1600; //(insideask-insidebid)*10000 < 0.2; IF JPY_ADJ = TRUE THEN CTS=100; IF JPY_ADJ = false THEN CTS=100000; IF (marketposition = 0 and condi...
by no erocla
01 Jun 2015
Forum: MultiCharts
Topic: Close to Close equity incomplete [SOLVED]
Replies: 8
Views: 2069

Re: Close to Close equity incomplete [SOLVED]

- in QuoteManager select the symbos you are using, make a right click on it->Export data->Export instrument (with data). Send us the QMD export file for analysis; I always use IB Forex Data, QMD attached (in rar, QMD is not allowed) - in Power Language editor->File->Export->Export with dependent fun...
by no erocla
01 Jun 2015
Forum: MultiCharts
Topic: Close to Close equity incomplete [SOLVED]
Replies: 8
Views: 2069

Re: Close to Close equity incomplete [SOLVED]

Dear Henry,

thank you for response, the problem comes from portfolio trader and seems correlated to the number of strategies used during simulations.

Regards
No Erocla
by no erocla
29 May 2015
Forum: MultiCharts
Topic: Close to Close equity incomplete [SOLVED]
Replies: 8
Views: 2069

Close to Close equity incomplete [SOLVED]

Hello, maybe i found a bug: in Trade Analysis i can find 33000 Trades but in Close to Close equity chart shows just something like 16000-17000. Screen1 : http://gyazo.com/0e0f2c9020cf5956c32c817f429a4e5c Screen2 : http://gyazo.com/1237c128270a212f35b4eaba3e89282a Anyone can explain how is it possibi...
by no erocla
20 Nov 2014
Forum: MultiCharts
Topic: Is it Possible to Merge Portfolio Trees together?
Replies: 5
Views: 850

Re: Is it Possible to Merge Portfolio Trees together?

Thank you, very usefull, but could be very much better if there's the possibility to "massive" copy entire "Strategies" (signal+instrument) and consequently, a possibility to merge an entire portfolio. Anyway, all can be very much faster if you allow to massive import an entire w...
by no erocla
20 Nov 2014
Forum: MultiCharts
Topic: Is it Possible to Merge Portfolio Trees together?
Replies: 5
Views: 850

Re: Is it Possible to Merge Portfolio Trees together?

This function can be very very usefull, there's any news after 9.0 release ?

No Erocla
by no erocla
30 Apr 2014
Forum: MultiCharts
Topic: Order not accepted on IB Master account
Replies: 5
Views: 1500

Re: Order not accepted on IB Master account

Hello TJ and thank you for the answer. I haven't problem to trade with automated trading through a classic paper trading account, the problems occurs when i trade with a multiaccount paper trading (1 login with 1 master and 2 slaves account). Anyway yes, with Forex and i trade 100k. Regards No Erocla
by no erocla
30 Apr 2014
Forum: MultiCharts
Topic: Order not accepted on IB Master account
Replies: 5
Views: 1500

Order not accepted on IB Master account

Hi, i've a paper trading multiaccount with IB, with 1 master and 2 slaves. When i put my autotrading on, i can t send order to my broker and on log i can see this error: "Your order is not accepted because your equity with Loan Value is insufficient to cover the initial margin required of...&qu...
by no erocla
28 Apr 2014
Forum: MultiCharts
Topic: Margin at Broker
Replies: 10
Views: 992

Re: Margin at Broker

Yes i thought about GV, but some problem occurs when 2 signals comes exactly at the same time.
I know about this new very important feature and im waiting for it, when it will be available ?

Regards
No Erocla
by no erocla
28 Apr 2014
Forum: MultiCharts
Topic: Margin at Broker
Replies: 10
Views: 992

Re: Margin at Broker

For example i've two charts with two different trading systems:

Chart1: EURUSD (100k per trade)
Chart2: GBPUSD (100k per trade)

I would like that the orders generated by these 2 charts are in OR, i.e. they can't works togheter but just 1 per time.

I hope i was comprehensible

Regards
No Erocla
by no erocla
28 Apr 2014
Forum: MultiCharts
Topic: Margin at Broker
Replies: 10
Views: 992

Re: Margin at Broker

Ok thank you.

And there is any possibility to putting chart in or ? So they can't go at market togheter but only 1 per time ?

Again
No Erocla
by no erocla
25 Apr 2014
Forum: MultiCharts
Topic: Margin at Broker
Replies: 10
Views: 992

Re: Margin at Broker

Ok thank you for answer.

It contains the sum of all margin in all opened charts with Marketposition <> 0 like a global variable ? Or maybe, it just contains the margin value on current chart ?

Regards
No Erocla
by no erocla
24 Apr 2014
Forum: MultiCharts
Topic: Margin at Broker
Replies: 10
Views: 992

Margin at Broker

Hello,

there is the possibility to get the account margin information from the broker (es. IB) through MC ?

Thank you for any answer

Regards
No Erocla
by no erocla
04 Apr 2014
Forum: MultiCharts
Topic: GetRTAccountEquity [SOLVED]
Replies: 5
Views: 964

Re: GetRTAccountEquity [SOLVED]

Ok, but how is it possibile so ?

Image

Anyway, the important is that it works on live trading.

Regards
No Erocla
by no erocla
04 Apr 2014
Forum: MultiCharts
Topic: GetRTAccountEquity [SOLVED]
Replies: 5
Views: 964

Re: GetRTAccountEquity [SOLVED]

Thank you very much for answer, my autotrading works correctly so: Yes, i've configured symbol mapping Yes, i've selected correct broker plugin (IB) Ok putting autotrading on it seems to work, but i cannot backtest strategy now. I'am sure that last week i 've backtested my strategy using a money man...
by no erocla
04 Apr 2014
Forum: MultiCharts
Topic: GetRTAccountEquity [SOLVED]
Replies: 5
Views: 964

GetRTAccountEquity [SOLVED]

Hello all, this code: vars: lot(0),STOPLOSS(0),TAKEPROFIT(0),up(0),dw(0),equity(0); input: period(20),dev(2); equity = GetRTAccountEquity(GetAccountID); if LastBarOnChart then begin Value1 = Text_New_s(Date, Time_s, High + 6 * MinMove/PriceScale, NumToStr(equity , 0)); Text_SetColor(Value1, Yellow);...
by no erocla
05 Aug 2013
Forum: MultiCharts
Topic: Order and Position Tracker: P&L Calculation
Replies: 1
Views: 1492

Order and Position Tracker: P&L Calculation

Hello, i've a simple question. On the "Order and Position Tracker", under "Position History", there is "Open P/L" column. What it represents ? Broker (IB) P&L or just MC Strategy P&L ? Because this is the only way to see P&L Position History from TWS. Thank ...
by no erocla
01 Aug 2013
Forum: MultiCharts
Topic: Strange BUG between IB and MC
Replies: 5
Views: 1969

Re: Strange BUG between IB and MC

Very usefull,

thank you very much ! You solved me a big problem :)

No Erocla

@arjfca

yeah but this is a big problem on automated trading, i can t monitoring my ts h24 :)
by no erocla
30 Jul 2013
Forum: MultiCharts
Topic: Strange BUG between IB and MC
Replies: 5
Views: 1969

Strange BUG between IB and MC

Hi guys, i hope that someone can help me to solve this strange problem. This is my EUR.CAD chart on IB: http://gyazo.com/77ced06c846458e034a2008483569403.png and this is my EUR.CAD chart on MC: http://gyazo.com/8d390ee142f17f95153fa0311986e25c.png This happens many times on many Crosses and should b...
by no erocla
14 Jul 2013
Forum: MultiCharts
Topic: SetStopLoss Confilct with two systems applied to one chart. [SOLVED]
Replies: 12
Views: 3585

Re: SetStopLoss Confilct with two systems applied to one cha [SOLVED]

Thanks all for answers,

anyway i solved it doing a unique code like tj said:

Code: Select all

if ( system1 ) then begin
input1;
input2;
stop = 100;
profit = 100;
end;

if ( system2 ) then begin
input1;
input2;
stop = 50;
profit = 50;
end;

setstoploss(stop);
setprofittarget(profit);
by no erocla
07 Jul 2013
Forum: MultiCharts
Topic: SetStopLoss Confilct with two systems applied to one chart. [SOLVED]
Replies: 12
Views: 3585

Re: SetStopLoss Confilct with two systems applied to one cha [SOLVED]

Maybe i explains badly, my question can involve any pair of systems. SetStopLoss works alwais if marketposition <> 0, so if you have two strategy active to one chart, stop loss (or profit target) will generate conflicts. There's some easy way to solve this problem ? For example i thought about put s...
by no erocla
07 Jul 2013
Forum: MultiCharts
Topic: SetStopLoss Confilct with two systems applied to one chart. [SOLVED]
Replies: 12
Views: 3585

Re: SetStopLoss Confilct with two systems applied to one cha [SOLVED]

Thank you for answer,

i would like to solve this problem without rewriting my trading system portfolio, there s some other way to do it ? Or the only 1 way is to write all in 1 code ?

Thank you again for any answer.

No Erocla
by no erocla
07 Jul 2013
Forum: MultiCharts
Topic: SetStopLoss Confilct with two systems applied to one chart. [SOLVED]
Replies: 12
Views: 3585

SetStopLoss Confilct with two systems applied to one chart. [SOLVED]

Hi guys, i've got a problem. I've two systems applied to 1 chart: System 1 : With Stop loss System 2 : Without Stop loss System 2 read the stop loss of System 1, going out from the market many times. I think that it happens, because "SetStopLoss" function works if Marketposition <> 0. Anyo...
by no erocla
06 Jun 2013
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

Yes true, thank you very much !! But there s still a little problem, when i have two signals at they same time, variables are both 0 and both systems go on market... Any idea to solve this problem ? Maybe giving a delay to 1 code ? (but is not so good like solution.....) Thx to any answer Regards
by no erocla
06 Jun 2013
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

I tried to use it but it doesn t works.....very strange. I wrote this code: Code 1 FLAGMA = GVSetInteger(2,flagma); flagsto = GVGetInteger(1); IF ( MarketPosition_at_Broker <> 0) then flagma = 1; if (MarketPosition_at_Broker = 0) then flagma = 0; IF ( marketposition <> 1 and CONDITION2 AND flagsto =...
by no erocla
04 Jun 2013
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

There s not a sample code that can i see ?

Thank you very much again.

Best Regards
by no erocla
01 Jun 2013
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

Re: MultiCharts AND/OR Trading Systems setting

is not possibile too with global variables ?
by no erocla
31 May 2013
Forum: MultiCharts
Topic: MultiCharts AND/OR Trading Systems setting
Replies: 16
Views: 3672

MultiCharts AND/OR Trading Systems setting

Hi all, i'am new of the Forum and i've a question. How can i set different strategies on different charts, setting them in OR ? For example: sys 1 = DAX sys 2 = FIB sys 3 = XX and i would like to have not more then one active system in my broker. Is it possibile ? How can i trace marketposition from...

Go to advanced search