Search found 2285 matches: Portfolio

Searched query: portfolio

by Zordan3274
11 Apr 2024
Forum: MultiCharts
Topic: Portfolio Trader Rank/Priorization
Replies: 2
Views: 930

Re: Portfolio Trader Rank/Priorization

Agree, all the examples provided below don't work. None of the below suggested rotation/ ranking code works, https://www.multicharts.com/trading-software/images/c/ce/Portfolio_Trader_Strategy_Examples.pdf https://www.multicharts.com/trading-software/index.php/Portfolio_Trader_Strategy_Examples#Rank_...
by Mik72
10 Apr 2024
Forum: MultiCharts
Topic: Portfolio strategy [SOLVED]
Replies: 2
Views: 151

Re: Portfolio strategy [SOLVED]

Thank you!!!
by andrei
05 Apr 2024
Forum: MultiCharts .NET
Topic: MultiCharts .NET 15 Release
Replies: 3
Views: 255

Re: MultiCharts .NET 15 Release

... regurgitating a function signature, without any details on what it does in the background. Would be great to have a scaling in/scaling out on a Portfolio Trader set of symbols. If you already doing this on github / elsewhere, please share the links. Thanks!
by Vlada MultiCharts
28 Mar 2024
Forum: MultiCharts
Topic: Portfolio strategy [SOLVED]
Replies: 2
Views: 151

Re: Portfolio strategy [SOLVED]

Hello Mik72,

You might want to check if the in-built Rotation Strategy suits your needs.
by rc76
28 Mar 2024
Forum: User Contributed Studies and Indicator Library
Topic: ADE, ELcollections, and GlobalVariables
Replies: 43
Views: 83738

Re: ADE, ELcollections, and GlobalVariables

Has anyone tried to use ADE in Portfolio Trader and succeed? I try to get data in PT's MM signal and plot it on MC's chart, but seems cannot get the data successfully. I will get this error: 01.png Here is the code: PT's MM signal: Vars: ...
by Mik72
26 Mar 2024
Forum: MultiCharts
Topic: Portfolio strategy [SOLVED]
Replies: 2
Views: 151

Portfolio strategy [SOLVED]

Hi everyone,

I would like to code a strategy that works on a portfolio of meny (more then 30) assets and buys the best five assets of the week . Is it possible? How can I compare the performance of all assets and buy only the best 5?

thanks.
by Kate MultiCharts
25 Mar 2024
Forum: MultiCharts
Topic: Trading Custom Futures @ IB
Replies: 2
Views: 214

Re: Trading Custom Futures @ IB

... work on fixing it in one of the future releases. In the meantime, we’d recommend not using the Reload option if you have a custom futures in portfolio. Instead, if you need to reload the whole custom futures or an individual contract, plot a chart for it and reload it (View → Reload).
by amw_775
23 Mar 2024
Forum: MultiCharts
Topic: Trade Copier
Replies: 13
Views: 872

Re: Trade Copier

... within a User Defined Timeout. The Master Account needs to run in Async Mode. The Slave account needs to run with Sync Mode. !MP Binance syncAT Portfolio Ch_test Elk_iboff This is the Master Signal Synchroniser plus sets the position for the Slave Account to copy. You can have N Number of Master ...
by amw_775
22 Mar 2024
Forum: MultiCharts
Topic: Trade Copier
Replies: 13
Views: 872

Re: Trade Copier

... multiple Trade Copiers in Multicharts. They are written in Pwerlanguage so anyone can customise them. You simply need to run your strategy in Portfolio Trader As Strategy1. Then You Keep Adding Strategies and configure a differenct account. for STrategy 2 ,3 ,4 ,5 and so on. All trades from ...
by Polly MultiCharts
18 Mar 2024
Forum: MultiCharts
Topic: Portfolio Max Buying Power/Leverage
Replies: 1
Views: 154

Re: Portfolio Max Buying Power/Leverage

Hello user_01,

You can use the Required Capital Assumptions in Margin Trading setting in Portfolio Trader to adjust it to your needs.
For more info about these settings please see this page.
by qwerasdft8
15 Mar 2024
Forum: MultiCharts
Topic: Trading Custom Futures @ IB
Replies: 2
Views: 214

Trading Custom Futures @ IB

HI, I'm using IB as datafeed and IB as broker. Multicharts version is 15.0 Release. I select "Reload Data"(EX: 1 week Back),When I'm using Portfolio Trader to Automate Order Execution / Backtesting. Instruments: NQTEST5(Custom Futures), Then PT stuck on "Loading Data", But if I use @NQ (IB ...
by user_01
15 Mar 2024
Forum: MultiCharts
Topic: Portfolio Max Buying Power/Leverage
Replies: 1
Views: 154

Portfolio Max Buying Power/Leverage

Hi. How do i set a limit to the portfolio buying power in portfolio backtesting. I use portfolio trader which consists of a 2 strategies and a bunch of stocks. I check the trades and at some point of time i was holding around 10 million worth ...
by ATCOTrader
12 Mar 2024
Forum: MultiCharts
Topic: Portfolio Trader Rank/Priorization
Replies: 2
Views: 930

Re: Portfolio Trader Rank/Priorization

Hi,

Have you found a solution to this? I have the same problem and have been trying to figure it out for some time now but nothing is working...

Regards
by Zordan3274
11 Mar 2024
Forum: MultiCharts
Topic: Portfolio Trader - Money Management Signal Max Symbols
Replies: 7
Views: 5749

Re: Portfolio Trader - Money Management Signal Max Symbols

Hello, The9000, would you mind sharing your workaround?
by AlessandroD
14 Feb 2024
Forum: MultiCharts FAQ
Topic: Spread trading with ADE and ELCollections
Replies: 0
Views: 145

Spread trading with ADE and ELCollections

... send the current openpositionprofit; chart 3 is the "sender"; it receives the current profits from charts 1 and 2 and decides whether a given portfolio SL/TP has been reached; charts 4 and 5 also contain the signals used for trading, and receive from chart 3 an instruction to close the position ...
by scrichley
16 Jan 2024
Forum: MultiCharts
Topic: Autotrading account [SOLVED]
Replies: 6
Views: 401

Autotrading account [SOLVED]

Good morning, I've been working on developing and backtesting some signals in a portfolio. I'm looking to set up autotrading now with some small $$$ to test out the process and connection. My question is do I need to have a dedicated account to autotrade? For example, ...
by Vlada MultiCharts
11 Jan 2024
Forum: MultiCharts
Topic: CSI / Portfolio Trader Settings / data range setting
Replies: 1
Views: 181

Re: CSI / Portfolio Trader Settings / data range setting

Hello LMC1,

Please make sure to disable the option "Pin to get realtime data". To do so, please click the pin icon on the right of the field for the end date (see the screenshot).
by LMC1
10 Jan 2024
Forum: MultiCharts
Topic: CSI / Portfolio Trader Settings / data range setting
Replies: 1
Views: 181

CSI / Portfolio Trader Settings / data range setting

Hi,

I used CSI data to test a trading system in Portfolio Trader. However, I could not change the testing period end date to the day I wanted. It always shows the current day as the default end date and I was not allowed to change it.
Please help.
Thanks.
by waveslider
22 Dec 2023
Forum: MultiCharts
Topic: Limiting number of open positions
Replies: 2
Views: 669

Re: Limiting number of open positions

Portfolio Trader seems to be lacking in this very basic functionality, making it virtually useless. 1. There seems to be no way to see the number of positions currently held at one time (it is possible to see how many strategies ...
by DanielFXS
25 Nov 2023
Forum: MultiCharts
Topic: Kraken Connection not reliable
Replies: 4
Views: 367

Kraken Connection not reliable

Hi, has anyone else got issues using Kraken. Do they limit API requests? When I run portfolio trader on a number of symbols, the loading data box gets stuck and rarely loads to 100%. I have to cancel portfolio backtesting and restart it over and over and hope the ...
by TJ
13 Nov 2023
Forum: MultiCharts
Topic: Divide by zero exception during the portfolio backtesting [SOLVED]
Replies: 4
Views: 458

Re: Divide by zero exception during the portfolio backtesting [SOLVED]

GIGO

The only variable is the input data.
If the input has a zero, or the resultant of your logic calculation returns a zero, you will get a "Divide by Zero" error.

The solution is simple -- go through your code with a fine-tooth comb.
by andreinvest
13 Nov 2023
Forum: MultiCharts
Topic: Divide by zero exception during the portfolio backtesting [SOLVED]
Replies: 4
Views: 458

Re: Divide by zero exception during the portfolio backtesting [SOLVED]

Kate, thank you!
I know why it can appear.
In my case i see this exception at 30% of instruments while testing portfolio, and it never appears during test at terminal with same instruments and signals.
I started this topic because i thought that something wrong with instruments in portfolio.
by Kate MultiCharts
13 Nov 2023
Forum: MultiCharts
Topic: Divide by zero exception during the portfolio backtesting [SOLVED]
Replies: 4
Views: 458

Re: Divide by zero exception during the portfolio backtesting [SOLVED]

Hello andreinvest,

Please check our Wiki guide on this error here.
by andreinvest
11 Nov 2023
Forum: MultiCharts
Topic: Divide by zero exception during the portfolio backtesting [SOLVED]
Replies: 4
Views: 458

Divide by zero exception during the portfolio backtesting [SOLVED]

When I'm backtesting the portfolio, I get a message : divide by zero exception. There are many instruments in the portfolio, but each one works on the same signal. While I'm finding a solution through disabling the tools. The same signal ...
by Polly MultiCharts
09 Nov 2023
Forum: MultiCharts
Topic: Portfolio fitness function using symbol metrics possible?
Replies: 1
Views: 335

Re: Portfolio fitness function using symbol metrics possible?

... ) = 0 then begin Print(" END ", maxNetprofit ); end; Add this signal to the Money Management Signal field. Optimize by Custom Fitness value. Portfolio Trader.png Apply max input. Open Output tab in the PowerLanguage Editor. Backtest your strategy. Output.png Please see the screenshot attached ...
by wilkinsw
17 Oct 2023
Forum: MultiCharts
Topic: Portfolio fitness function using symbol metrics possible?
Replies: 1
Views: 335

Portfolio fitness function using symbol metrics possible?

Hi, Is it possible to optimize a portfolio of symbols in PTO using a fitness function that can access the results for individual symbols? For example: Is it possible to find the highest net profit value for a given symbol from a given backtest ...
by Kate MultiCharts
29 Sep 2023
Forum: MultiCharts
Topic: Portfolio Trader
Replies: 1
Views: 336

Re: Portfolio Trader

... Equity and and the Buying Power red line = capital invested upon the position opening at the Open price. Here’s a screenshot for reference. Portfolio Trader.png
by rgranero
26 Sep 2023
Forum: MultiCharts
Topic: Portfolio Trader
Replies: 1
Views: 336

Portfolio Trader

... software considers available money from profit positions not yet closed "Portfolio_OpenPositionProfit" Let me explain with a practical example: In portfolio trader setting like the attached "MC" with the Signals "prova": {********************************************************************************} ...
by Vlada MultiCharts
19 Sep 2023
Forum: MultiCharts
Topic: SessionLastBar in live trading [SOLVED]
Replies: 7
Views: 875

Re: SessionLastBar in live trading [SOLVED]

... = true] RecalcLastBarAfter(1) SessionLastBar; // or your own exit The drawback of this method is that IOG loads CPU and it cannot be used in Portfolio Trader. 4) Close a position at the end of the day by analyzing the time in your script. Ensure that the position is closed a little before ...
by signalworks
01 Aug 2023
Forum: MultiCharts
Topic: Find top X S&P500 companies
Replies: 4
Views: 440

Find top X S&P500 companies

... criterion? If yes, would it be possible to access it by code to trade a change in top 10 composition? (e.g. one share out, the new one in the portfolio). Thanks!
by krzysiaczek99
08 Jul 2023
Forum: MultiCharts
Topic: Optimization results mess when Portfolio Trader is used
Replies: 2
Views: 398

Re: Optimization results mess when Portfolio Trader is used

Hello krzysiaczek99, That’s expected behaviour. If you’d like to optimize two strategies separately, you’ll need to put them into separate Portfolio windows. Having separate strategies in the same Portfolio window allows using different signals or broker accounts for specific symbol sets. But ...
by Polly MultiCharts
07 Jul 2023
Forum: MultiCharts .NET
Topic: DrwArrow color
Replies: 1
Views: 455

Re: DrwArrow color

... and it is not reproduced, unfortunately. Please note that drawings can be created by the study on the chart only; drawings are not created in Portfolio Trader and Scanner: drawings cannot be created during optimization. You can also try this code sample as an alternative: arrowData1.Color ...
by Kate MultiCharts
07 Jul 2023
Forum: MultiCharts
Topic: Optimization results mess when Portfolio Trader is used
Replies: 2
Views: 398

Re: Optimization results mess when Portfolio Trader is used

Hello krzysiaczek99, That’s expected behaviour. If you’d like to optimize two strategies separately, you’ll need to put them into separate Portfolio windows. Having separate strategies in the same Portfolio window allows using different signals or broker accounts for specific symbol sets. But ...
by krzysiaczek99
05 Jul 2023
Forum: MultiCharts
Topic: Optimization results mess when Portfolio Trader is used
Replies: 2
Views: 398

Optimization results mess when Portfolio Trader is used

After running optimization from Portfolio Trader for two different symbols as different strategies number of bug was encountered. 1) Seqential optimization is not performed i.e. for each strategy. Instead sort of combitional optimization ...
by amw_775
05 Jul 2023
Forum: MultiCharts
Topic: DollarBars VolumeBars Marcos Lopez Advances in Financial Machine Learning
Replies: 10
Views: 2452

Re: DollarBars VolumeBars Marcos Lopez Advances in Financial Machine Learning

... I'm open to sell the custom resolution plug in. Incase anyone is itnerested please PM. The way you would use to create chart in Multicharts or Portfolio trader with say a reoslution of 5 minutes, 60 minutes, or 1000 ticks etc. Now you can Create a chart in Multicharts or Strategy in Portfolio ...
by krzysiaczek99
03 Jul 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 891

Re: faulty backtest results when dataindex is used

... using exhausive optimization, by iterating over dataindex i wanted to do if for multiple symbols and it seems not to be possible. I know I can use Portfolio Trader but in this case I have to do it manually symbol by symbol as output for me are optimization reports and its not possible to generate ...
by rrams
01 Jul 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 891

Re: faulty backtest results when dataindex is used

... the other data series for triggers to trade the primary series. If you are trying to optimize for best symbol to trade, you might want to try the Portfolio Trader. Your code was wrong for calling a function which uses the data from a secondary series and I provided the example of how to do it ...
by Polly MultiCharts
13 Jun 2023
Forum: MultiCharts
Topic: Preventing orders from executing / emulating when session is closed?
Replies: 6
Views: 621

Re: Preventing orders from executing / emulating when session is closed?

... for sending orders in the code. Please note that IntrabarOrderGeneration can significantly increase the CPU load and it is also not supported in Portfolio Trader.
by ZaphodB
16 May 2023
Forum: MultiCharts
Topic: Computing power needed for PT with 500 symbols?
Replies: 2
Views: 401

Computing power needed for PT with 500 symbols?

I'm trying to backtest Portfolio Trader for the SP 500 and it keeps crashing the computer. I used the highest level AWS Workspace available with 8 vCPU and 32 GiB Memory and it still happened. What kind of computing power is needed here?
by Kate MultiCharts
20 Apr 2023
Forum: MultiCharts
Topic: Porfolio Trader with Paper Trader [SOLVED]
Replies: 1
Views: 372

Re: Porfolio Trader with Paper Trader [SOLVED]

Hello magomimmo,

Yes, right-click your strategy in Portfolio -> Show Properties -> Auto trading tab -> Select Broker Plug-in section.
There you can select the required account for trading.
by magomimmo
20 Apr 2023
Forum: MultiCharts
Topic: Porfolio Trader with Paper Trader [SOLVED]
Replies: 1
Views: 372

Porfolio Trader with Paper Trader [SOLVED]

Hi there, Is it possible to configure Portfolio Trader in such a way that it uses a paper trader (e.g. TS) as fictional broker instead of a true configured trader (e.g. IBKR)? I already creared a TS based Paper Trader and I can use it in automating ...
by wilkinsw
03 Apr 2023
Forum: MultiCharts
Topic: Portfolio Backtester Multiple commission rules per strategy?
Replies: 14
Views: 6454

Re: Portfolio Backtester Multiple commission rules per strategy?

... I found your inquiry. I think there is a workaround if you want to do what you want (far from optimal but could work). 1- Create fist strategy in portfolio with first instrument - In this strategy you have the optimizable variable 2- Create second strategy in the same portfolio - this strategy ...
by RockyLee
03 Apr 2023
Forum: MultiCharts
Topic: Portfolio Backtester Multiple commission rules per strategy?
Replies: 14
Views: 6454

Re: Portfolio Backtester Multiple commission rules per strategy?

... I found your inquiry. I think there is a workaround if you want to do what you want (far from optimal but could work). 1- Create fist strategy in portfolio with first instrument - In this strategy you have the optimizable variable 2- Create second strategy in the same portfolio - this strategy ...
by amw_775
11 Mar 2023
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

... bar generation was turned ON. ( If there were more than 10 charts MC woul hang / crash or autotrading would automatically turn of) I switched to Portfolio trader. It has been the best trading decision of my life. Im able to trader over 50 symbols with multiple strategies. Im using Portfolio trader ...
by ScottishSpeculator
10 Mar 2023
Forum: MultiCharts
Topic: How to code one trade a day or...
Replies: 9
Views: 1101

Re: How to code one trade a day or...

... hopefully. I think you can use the keywords Dailylosers or numlostrades but I am not sure if they are specific to each strategy or the overall portfolio. Doesn't say in the function description, perhaps an MC staff member can answer? How about doing something like this: input: Losslimit (1); ...
by MarkJ
10 Mar 2023
Forum: MultiCharts
Topic: Portfolio vs AA + AA Questions
Replies: 3
Views: 727

Re: Portfolio vs AA + AA Questions

Want to give this a bump... I'm migrating to MC from TS right now and would love to see the positions match pane be useful :) A simple aggregation ability would be wonderful.
by shimreaper
28 Feb 2023
Forum: MultiCharts
Topic: How to trigger trades on multiple instruments from one signal
Replies: 2
Views: 501

Re: How to trigger trades on multiple instruments from one signal

Hello shimreaper, In Portfolio Trader, you can use several data series. Please use instrument Y as Data 1 and instrument X as Data 2. Apply a signal which uses Data 2 and generates orders. The orders will be sent for the instrument ...
by o2cool
27 Feb 2023
Forum: MultiCharts
Topic: Money Management Question
Replies: 1
Views: 334

Money Management Question

... a newbie at muilticharts. Trying to struggle my way through. Any thoughts/advice/info would certainly be appreciated! I am testing out a system in portfolio trader. I set the Money Management Settings as follows: Exposure: 100% Max % of Capital Risk per Position: 25% Initial Portfolio Capital: ...
by scrichley
27 Feb 2023
Forum: MultiCharts
Topic: Possible to hold bonds instead of cash??
Replies: 0
Views: 338

Possible to hold bonds instead of cash??

... Admittedly, I am new to Multicharts and this is my first post... I'm looking to run a number of different mean reversion systems using the Portfolio trader. However, it seems to help quite a bit to hold bonds over cash when there is no signal to go long an ETF. Most of the time there is ...
by ZaphodB
15 Feb 2023
Forum: MultiCharts
Topic: fractional shares Interactive Brokers
Replies: 4
Views: 941

Re: fractional shares Interactive Brokers

Having difficulty accessing the Bug Genie. Please add me as a vote for fractional share trading in Portfolio Trader
by Svetlana MultiCharts
15 Feb 2023
Forum: MultiCharts
Topic: So Frustrated. Portfolio Trader, Different Trades
Replies: 1
Views: 560

Re: So Frustrated. Portfolio Trader, Different Trades

Hi o2cool, One of the major Portfolio Trader features is money management, that is realized through options in Portfolio Settings . The main MultiCharts window does not feature any money management. Probably your trades are filtered due ...
by Polly MultiCharts
13 Feb 2023
Forum: MultiCharts
Topic: Bug in new MC update release
Replies: 1
Views: 386

Re: Bug in new MC update release

Hello Salzburg, Please send us the portfolio where the issues are reproduced to our support email. To learn how to export the portfolio workspace please refer to this page . Also please send us logs via the main MultiCharts window -> Help ...
by Salzburg
13 Feb 2023
Forum: MultiCharts
Topic: Bug in new MC update release
Replies: 1
Views: 386

Bug in new MC update release

Reg (Build 24558) After update, I loaded up my portfolios PT, as usual, saved from previous version. 2 issues 1: After loading portfolio, it opens up as it should, but "save portfolio" icon is always highlighted blue, despite no change has been ...
by ABC
13 Feb 2023
Forum: MultiCharts
Topic: Problem with Portfolio_OpenPositionProfit
Replies: 5
Views: 641

Re: Problem with Portfolio_OpenPositionProfit

fltngpnt, some reserved words do not provide previous bar's values and this could cause your conditions not to become true either. You can check if this is the case for Portfolio_OpenPositionProfit and if you find this to be true assign the reserved word to a variable and use this variable within yo...
by fltngpnt
11 Feb 2023
Forum: MultiCharts
Topic: Problem with Portfolio_OpenPositionProfit
Replies: 5
Views: 641

Re: Problem with Portfolio_OpenPositionProfit

Thank you! That did the trick.
by rrams
11 Feb 2023
Forum: MultiCharts
Topic: Problem with Portfolio_OpenPositionProfit
Replies: 5
Views: 641

Re: Problem with Portfolio_OpenPositionProfit

fltngpnt, "crosses under" applies to a plottable number series. You should just use "<" or ">" instead. ...and check using a printout of the Portfolio_OpenPositionProfit at each step.
by fltngpnt
11 Feb 2023
Forum: MultiCharts
Topic: Problem with Portfolio_OpenPositionProfit
Replies: 5
Views: 641

Re: Problem with Portfolio_OpenPositionProfit

Thanks for your reply, but I’m not sure how it’s relevant to my question. TP is short for Take Profit, SL is short for Stop Loss.
by fltngpnt
11 Feb 2023
Forum: MultiCharts
Topic: Problem with Portfolio_OpenPositionProfit
Replies: 5
Views: 641

Problem with Portfolio_OpenPositionProfit

I came up with what I thought was a simple signal to close a position when the open profit of the entire portfolio passes a certain level, but when I apply the signal to my portfolio strategy it never triggers during backtesting. It triggers fine when I use a different exit ...
by o2cool
09 Feb 2023
Forum: MultiCharts
Topic: So Frustrated. Portfolio Trader, Different Trades
Replies: 1
Views: 560

So Frustrated. Portfolio Trader, Different Trades

... MC, but not to trading. Wrote a script. Nothing complicated. Works perfectly applied to individual instruments. Put the exact same script into the portfolio trader, set the margin to zero as to not cause interference, and a find a number of different trades. Same code. Same data (IQfeed). On top ...
by Vlada MultiCharts
03 Feb 2023
Forum: MultiCharts
Topic: How to trigger trades on multiple instruments from one signal
Replies: 2
Views: 501

Re: How to trigger trades on multiple instruments from one signal

Hello shimreaper,

In Portfolio Trader, you can use several data series. Please use instrument Y as Data 1 and instrument X as Data 2. Apply a signal which uses Data 2 and generates orders. The orders will be sent for the instrument Y (Data 1).
by shimreaper
01 Feb 2023
Forum: MultiCharts
Topic: How to trigger trades on multiple instruments from one signal
Replies: 2
Views: 501

How to trigger trades on multiple instruments from one signal

Hi, I was wondering if it is possible to do the following scenario in portfolio trader and how I would go about doing so: 1) Buy Signal is generated for instrument X 2) Signal for instrument X triggers a buy/sell trade on instruments Y So in essence I want ...
by amw_775
17 Jan 2023
Forum: MultiCharts
Topic: Attention Binance Users!
Replies: 5
Views: 2713

Re: Attention Binance Users!

... Strategy in the MAIN Account and all orders from the main account get copied automatically to around 12 subaccounts all through Multicharts Portfolio Trader. Orders & Positions are Resynchronised every 10 seconds. (Can be faster if hardware allows it)
by Mark Brown
30 Dec 2022
Forum: User Contributed Studies and Indicator Library
Topic: US 30 year hourly bond model
Replies: 0
Views: 1131

US 30 year hourly bond model

... that capital allocated to trading the markets or a respective system be only the "risk capital" portion of a person's total available investment portfolio. Typically, it would not be unreasonable to expect a perfectly sound/robust trading methodology to exceed its tested maximum historical draw-down ...
by rrams
25 Dec 2022
Forum: MultiCharts
Topic: Auto Trading Order Time Help
Replies: 5
Views: 618

Re: Auto Trading Order Time Help

... considered real time and should execute from a signal either at the end of the day session or the beginning of the next. You just need to leave Portfolio Trader and TWS running with Automate Order Execution turned on. I can test trade this scenario if you supply the list of symbols that are ...
by o2cool
23 Dec 2022
Forum: MultiCharts
Topic: Auto Trading Order Time Help
Replies: 5
Views: 618

Auto Trading Order Time Help

... a newbie to muilticharts. Been trying for two weeks to figure this out. I cannot seem to get auto trading setup correctly for a simple strategy in portfolio trader. I must be missing something. The strategy trades some US ETFs and stocks on the daily chart. In the strategy, once the conditions ...
by Idangy
14 Dec 2022
Forum: MultiCharts
Topic: PMMS simple example [SOLVED]
Replies: 6
Views: 817

Re: PMMS simple example [SOLVED]

Idangy, Yes the functions like pmms_strategy_is_paused(1) take a parameter that are the zero indexed numbered strategies in your portfolio from top to bottom. Zero is strategy one, one is strategy two. Strategies in your portfolio tree can have multiple signals in each of them. The PMMS ...
by rrams
12 Dec 2022
Forum: MultiCharts
Topic: PMMS simple example [SOLVED]
Replies: 6
Views: 817

Re: PMMS simple example [SOLVED]

Idangy, Yes the functions like pmms_strategy_is_paused(1) take a parameter that are the zero indexed numbered strategies in your portfolio from top to bottom. Zero is strategy one, one is strategy two. Strategies in your portfolio tree can have multiple signals in each of them. The PMMS ...
by Idangy
12 Dec 2022
Forum: MultiCharts
Topic: PMMS simple example [SOLVED]
Replies: 6
Views: 817

Re: PMMS simple example [SOLVED]

// Portfolio Money Management Signal to pause trading from // second strategy if no open position from first strategy. if pmms_strategies_count<2 then RaiseRunTimeError("Must have at least two strategies."); if pmms_strategy_marketposition(0)<>0 ...
by rrams
11 Dec 2022
Forum: MultiCharts
Topic: PMMS simple example [SOLVED]
Replies: 6
Views: 817

Re: PMMS simple example [SOLVED]

// Portfolio Money Management Signal to pause trading from // second strategy if no open position from first strategy. if pmms_strategies_count<2 then RaiseRunTimeError("Must have at least two strategies."); if pmms_strategy_marketposition(0)<>0 ...
by Idangy
05 Dec 2022
Forum: MultiCharts
Topic: Looking for (paid) teacher " Money Management Signals"
Replies: 0
Views: 388

Looking for (paid) teacher " Money Management Signals"

Hey :) I'm trading and developing with multicharts for quit a long time now and I want to take it to the next level with Portfolio Money Management Signals. unfortunately, the available info about it and how to use and code it is not enough clear for me and I'm having trouble understand ...
by Mik72
03 Dec 2022
Forum: MultiCharts
Topic: Correlation analysis on strategies
Replies: 3
Views: 544

Correlation analysis on strategies

Hi everyone, I would like to analyze the correlation between a group of strategies developed on the same instrument, for example, 8 strategies on CL. Is it possible, I tried to do it but Portfolio Trader analyzes the correlation on the instrument and not on the strategies.

Thanks
Michele
by Vlada MultiCharts
01 Dec 2022
Forum: MultiCharts
Topic: Sharpe Ratio on Portfolio Trader
Replies: 2
Views: 568

Re: Sharpe Ratio on Portfolio Trader

Hello RadioactiveToy, Please reproduce the situation in simplified environment and send us the following files to our support email so that we would be able to investigate it: 1. The .pws where the behaviour is reproduced. 2. Export of used symbols (with data) from QuoteManager in .qmd archive. 3. T...
by rc76
19 Nov 2022
Forum: MultiCharts
Topic: Potential Feature: The ability to change symbol using commandline during autotrading.
Replies: 2
Views: 412

Potential Feature: The ability to change symbol using commandline during autotrading.

... CommandLine(".csy name=" + MySymbolName); It will create many new possibilities with MC Charts and can complement the lack of such feature with Portfolio Trader to update symbols during auto-trading. Maybe also using CommandLine Add, Remove symbols? The feature request can be located at: https://www.multicharts.com/pm/public/multicharts/issues/MC-2820
by al68
17 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 674

Re: Portfolio Trader Initial Capital [SOLVED]

Many thanks again.
by Polly MultiCharts
17 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 674

Re: Portfolio Trader Initial Capital [SOLVED]

al68, You can open the script of pre-built signals for reference in PowerLanguage Editor in File->Open->check the ‘Signals’ box->signals starting with ‘Portfolio’ (e.g. Portfolio_Rotation_MM) and modify it to your needs. As for adding more pre-built signals, you can post your request at our Project ...
by al68
16 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 674

Re: Portfolio Trader Initial Capital [SOLVED]

I hoped there was an easier way, but as somebody said, "there are no free meals in finance".
Many thanks anyway.
P.S. can I suggest MultiCharts to provide some more examples of Portfolio Strategies?
by Polly MultiCharts
16 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 674

Re: Portfolio Trader Initial Capital [SOLVED]

Hello al68, In MultiCharts Portfolio Trader Money Management settings and Initial Capital are applied to the whole portfolio. If you’d like to set different initial capitals for different strategies, you can create two separate instances ...
by al68
16 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 674

Portfolio Trader Initial Capital [SOLVED]

Hello. I've 2 portfolio strategies that must work with 2 different brokers: strategyA with brokerA and strategyB with brokerB. If I have the same amount of money on both brokers (let's say for example 50.000$ on brokerA and 50.000$ ...
by Svetlana MultiCharts
16 Nov 2022
Forum: MultiCharts
Topic: MultiCharts 14.0 Release 5
Replies: 19
Views: 2944

Re: MultiCharts 14.0 Release 5

Which profile set must be check ?
Hi strelow,
In order to set the broker profile in Portfolio Trader, please right click your strategy in the Portfolio Tree and go to Show Properties – Auto Trading – Select broker plug-in – gear icon.
by Kate MultiCharts
16 Nov 2022
Forum: MultiCharts
Topic: IOG=false yet Portfolio Manager sends automated orders intrabar
Replies: 1
Views: 360

Re: IOG=false yet Portfolio Manager sends automated orders intrabar

... Include Backup of Logs from previous sessions; Upload collected data to Help Desk; uncheck other options and click Send. Also, please send your Portfolio workspace where the behaviour is reproduced here or to our support email. If the behaviour happens in backtesting or forward testing, please ...
by strelow
15 Nov 2022
Forum: MultiCharts
Topic: MultiCharts 14.0 Release 5
Replies: 19
Views: 2944

Re: MultiCharts 14.0 Release 5

Hello MC Almost working In portfolio trader when I click to Foward Testing works well but when click in Automate Order Execution this message error appears: Impossible to turn on autotrading. Calculation has been stopped Please check your ...
by fltngpnt
15 Nov 2022
Forum: MultiCharts
Topic: IOG=false yet Portfolio Manager sends automated orders intrabar
Replies: 1
Views: 360

IOG=false yet Portfolio Manager sends automated orders intrabar

I'm running a signal on multiple instruments in Portfolio Manager. All of the tradeable instruments are on 5-min. bars. The signal references multiple other instruments, as well as the trading instruments at different time frames (3-min and 15-min), ...
by rrams
08 Nov 2022
Forum: MultiCharts
Topic: Sharpe Ratio on Portfolio Trader
Replies: 2
Views: 568

Re: Sharpe Ratio on Portfolio Trader

RadioactiveToy, can you specify what you mean by underlyings and how your Portfolio Trader is setup?
It seems to work normally for me.
sharp.png
(53.86 KiB) Not downloaded yet
by RadioactiveToy
08 Nov 2022
Forum: MultiCharts
Topic: Sharpe Ratio on Portfolio Trader
Replies: 2
Views: 568

Sharpe Ratio on Portfolio Trader

Hi, I am trying to test/build a rotational portfolio of stocks using Portfolio Trader. One of the parameter i'd like to use to choose/rank the stocks is the Sharpe Ratio, the problem is that if i try to print the Sharpe Ratio of several underlyings ...
by Polly MultiCharts
02 Nov 2022
Forum: MultiCharts
Topic: Bulk Performance reports download
Replies: 1
Views: 345

Re: Bulk Performance reports download

... how please see our Wiki article . If you'd like to test your strategy on a number of financial instruments simultaneously, you might want to try Portfolio Trading. In MultiCharts Portfolio Trader you can develop, test, optimize your strategy and trade live or in a simulation environment. For ...
by syswizard
07 Oct 2022
Forum: MultiCharts
Topic: Can MultiCharts handle hundreds or thousands of strategies?
Replies: 22
Views: 3048

Re: Can MultiCharts handle hundreds or thousands of strategies?

... long, but another signal wants to place a short....or place another long. To do this, you must coordinate the strategies/signals. Perhaps the portfolio mgmt system can help in this regard...see PMMS functions. Also, why use a cloud connection for the data ? I refuse to even use a wireless ...
by rrams
14 Sep 2022
Forum: MultiCharts
Topic: Portfolio Trader 'End of Day' Print Code [SOLVED]
Replies: 2
Views: 1309

Re: Portfolio Trader 'End of Day' Print Code [SOLVED]

Code: Select all

if SessionLastBar then print("end of session");
by aconnery
14 Sep 2022
Forum: MultiCharts
Topic: Portfolio Trader 'End of Day' Print Code [SOLVED]
Replies: 2
Views: 1309

Portfolio Trader 'End of Day' Print Code [SOLVED]

I sometimes use Portfolio Trader to create an output CSV file which I can use externally. I use the following code ....... if(date <> LastCalcDate) then #return; ....... On daily bars this means if the date is not the calculation ...
by rrams
20 Aug 2022
Forum: MultiCharts
Topic: Cancel a signal, prevent from executing
Replies: 2
Views: 693

Re: Cancel a signal, prevent from executing

hi syswiz, If your signal is running in Portfolio Trader; you can create a Portfolio Money Management script to disable trading of all signals in the portfolio using the pmms_strategies_pause_all keyword or just stop taking new entries with pmms_strategies_deny_entries_all. ...
by strelow
10 Aug 2022
Forum: MultiCharts
Topic: Quantity order created on MC not follow in Binance
Replies: 11
Views: 1553

Re: Quantity order created on MC not follow in Binance

... already did suggested tip for 3 times and incluiding reinstaling MC and same thing happenned . The only way I founded is turnoff the MultiCharts64 Portfolio Trader and manualy use customize input according Contract Ratio but each a new entry this problem happened and I need repeat this procedure ...
by strelow
08 Aug 2022
Forum: MultiCharts
Topic: Quantity order created on MC not follow in Binance
Replies: 11
Views: 1553

Re: Quantity order created on MC not follow in Binance

Hello Kate Thanks your Support

Ok I understand now what happend and fixed my code but now I have other problem in portftofio Performace Report and Portfolio Real Time Auto Trading I have Equity and Open P/L 10 X and this is not true.
Issue_10x_Binace.png
(61.01 KiB) Not downloaded yet
by maison6579
01 Aug 2022
Forum: MultiCharts
Topic: Information about Recalculate Command ?
Replies: 3
Views: 916

Re: Information about Recalculate Command ?

Thanks Svetlana for this reply. However, I find a bug about this recalculate feature. The portfolio trader(PT) recalculate-command works. However, The right side information of PT , including (position, open P/L, even the Custom Text) could not refresh again after the ...
by bomberone1
29 Jul 2022
Forum: MultiCharts
Topic: Volume POC in signal
Replies: 8
Views: 4956

Re: Volume POC in signal

It is not working.
NOT SOLVED

I have found this:

https://www.abctradinggroup.com/portfol ... indicator/
by amw_775
25 Jul 2022
Forum: MultiCharts
Topic: DollarBars VolumeBars Marcos Lopez Advances in Financial Machine Learning
Replies: 10
Views: 2452

DollarBars VolumeBars Marcos Lopez Advances in Financial Machine Learning

... receive the Tota Volume, Buyvolume and dollar value inside your multicharts strategy or indicator. The above plugin is also compatible with portfolio trader. If your datafeed has aggresor flags (i.e. you are already give Buy Volume, SellVolume, and TotalVolume,) then under the FormatInstruments ...
by rrams
16 Jul 2022
Forum: MultiCharts
Topic: Stop trading for the day after profit reached
Replies: 5
Views: 913

Re: Stop trading for the day after profit reached

... or MarketPosition(1)=0) // means two bars after exit or a flat position 2. You can either add logic to every one of the signals in the portfolio to exit and not take new trades after the days gains reach a certain level or write just one Portfolio Money Management signal to do the same ...
by kinginhk
15 Jul 2022
Forum: MultiCharts
Topic: Stop trading for the day after profit reached
Replies: 5
Views: 913

Stop trading for the day after profit reached

... are triggered, how can i code in to ignore that entry signal please? 2. considering i'm trading a few currencies all with their own signals as a portfolio, how can i code an exit all positions at market and stop trading all signals for the day once my overall potfolio makes a certain percentage ...
by Svetlana MultiCharts
13 Jul 2022
Forum: MultiCharts
Topic: Information about Recalculate Command ?
Replies: 3
Views: 916

Re: Information about Recalculate Command ?

Hi maison6579, You may want to test this sample script in Portfolio Trader Var: ReCalcPersist recalc_once(True); // do not use recalcpersist in portfolio, it only works in charting Var: pf_recalconce(true), gvVal(0), gvErr(0); var: vo10(0); const: portfolioAppType(10); ...
by HellGhostEvocatorX
30 Jun 2022
Forum: MultiCharts .NET
Topic: why does the optimization run freeze in MS.net. but not in the portfolio trader
Replies: 1
Views: 606

Re: why does the optimization run freeze in MS.net. but not in the portfolio trader

And is there actually a guide somewhere on how to increase the performance for the back tests through clever programming?

in that sense write it in the code like this instead of like this
by HellGhostEvocatorX
30 Jun 2022
Forum: MultiCharts .NET
Topic: why does the optimization run freeze in MS.net. but not in the portfolio trader
Replies: 1
Views: 606

why does the optimization run freeze in MS.net. but not in the portfolio trader

... "no feedback", with a little luck I can reduce the number of processors to be used or press pause. But this turns out to be very difficult. In Portfolio Trader I don't have the problem with the same and 3 other instruments as well as the same signal. The remaining time is continuously reduced ...
by Svetlana MultiCharts
29 Jun 2022
Forum: MultiCharts
Topic: Portfolio Trader - Money Management Signal
Replies: 1
Views: 582

Re: Portfolio Trader - Money Management Signal

Hi Gary,

You can find more information about Sharpe ratio on this page.
Here is another thread related to Sharpe ratio optimization.
by ragdoll
20 Jun 2022
Forum: MultiCharts
Topic: Charts keeps on backfilling from live data feed instead of database
Replies: 3
Views: 759

Re: Charts keeps on backfilling from live data feed instead of database

... data is downloaded from the data feed server and plotted on the chart, it is stored in the cache. When you close MultiCharts, QuoteManager and Portfolio Trader, cached data is saved to the local database. You can also do it on demand without closing down all platform processes by using the ...
by Gary_MC
14 Jun 2022
Forum: MultiCharts
Topic: Portfolio Trader - Money Management Signal
Replies: 1
Views: 582

Portfolio Trader - Money Management Signal

Hi, Is there anyone here using the MC Portfolio Trader function live or do most people run each algo individually? I've built a small portfolio of CME Futures strategies that I want to turn on live after a few months of Sim account monitoring. ...
by Kate MultiCharts
18 May 2022
Forum: MultiCharts
Topic: why the time on the chart is the exchange time, but on the portfolio it is my local time [SOLVED]
Replies: 2
Views: 695

Re: why the time on the chart is the exchange time, but on the portfolio it is my local time [SOLVED]

Hello samwjwj,

It depends on your Time Zone settings.
For charts Time Zone is selected in Format -> Instrument -> Settings tab -> Time Zone. More info here.
Charts.png
(20.45 KiB) Not downloaded yet
For Portfolio it is set in the Data section. More info here.
Portfolio.png
(38.15 KiB) Not downloaded yet
by samwjwj
17 May 2022
Forum: MultiCharts
Topic: why the time on the chart is the exchange time, but on the portfolio it is my local time [SOLVED]
Replies: 2
Views: 695

why the time on the chart is the exchange time, but on the portfolio it is my local time [SOLVED]

why is the time of the same symbol different on a chart or in a portfolio? symbol: CLM2 1、on the chart: code: if LastBarOnChart then print("p",symbol,date,time); the results: p CLM2 1220517.00 2208.00 It works with the exchange time zone. 2、in the portfolio: ...
by Hemmo
14 May 2022
Forum: MultiCharts
Topic: Trading Multiple Strategies on the Same Instrument
Replies: 5
Views: 1222

Trading Multiple Strategies on the Same Instrument

... numbers of contracts being traded (or not being traded). Can anyone share their exact MultiCharts settings if they are successfully live trading a portfolio of strategies that include the same instruments when trading “SA”? If yes, please feel free to show their screenshots in the same manner as ...
by Tammy MultiCharts
09 May 2022
Forum: MultiCharts
Topic: Reading orders executed by portfolio trader
Replies: 5
Views: 827

Re: Reading orders executed by portfolio trader

Hi, 1. You need a separate license for MultiCharts .NET. You can get an additional license for the .NET version or convert yuor existing lifetime license into .NET. Please contact us at support@multicharts.com for more details. 2. MultiCharts .NET supports C# and Visual Basic .NET languages, PowerLa...
by samwjwj
08 May 2022
Forum: MultiCharts
Topic: Questions about Data、backforward continuous future contract and more
Replies: 5
Views: 1124

Questions about Data、backforward continuous future contract and more

I want to use portfolio trader to automatically trade futures, Forex, stocks and other varieties. What I want to do is mid-term or long-term trading, using one-minute data. I use Multichasts to receive data from interactive brokers ...
by Svetlana MultiCharts
06 May 2022
Forum: MultiCharts .NET
Topic: Attention Saxo Group users
Replies: 0
Views: 765

Attention Saxo Group users

... on the file > Properties > check Unblock at the bottom right). 3. Close MultiCharts and all its applications (QuoteManager, PowerLanguage Editor, Portfolio Trader, 3D Optimization Charts, etc.). 4. Run Windows Task Manager (right-click on the windows clock -> run Task Manager) and make sure that ...
by vishr
06 May 2022
Forum: MultiCharts
Topic: Reading orders executed by portfolio trader
Replies: 5
Views: 827

Re: Reading orders executed by portfolio trader

Got it. Follow up questions:

1. Regarding license, do I need to buy a separate license for .net version, I have lifetime MultiCharts?
2. Could existing strategies in PowerLanguages be used in .net version or converted using some tool?

Thanks
by Svetlana MultiCharts
06 May 2022
Forum: MultiCharts
Topic: Attention Saxo Group users
Replies: 0
Views: 1225

Attention Saxo Group users

... on the file > Properties > check Unblock at the bottom right). 3. Close MultiCharts and all its applications (QuoteManager, PowerLanguage Editor, Portfolio Trader, 3D Optimization Charts, etc.). 4. Run Windows Task Manager (right-click on the windows clock -> run Task Manager) and make sure that ...
by Tammy MultiCharts
06 May 2022
Forum: MultiCharts
Topic: Reading orders executed by portfolio trader
Replies: 5
Views: 827

Re: Reading orders executed by portfolio trader

Vishal,

What you are describing is not possible in regular MultiCharts.
You can access Order and Position Tracker events in MultiCharts .NET only.
by vishr
06 May 2022
Forum: MultiCharts
Topic: Reading orders executed by portfolio trader
Replies: 5
Views: 827

Re: Reading orders executed by portfolio trader

... describe what exactly you are trying to achieve in as much detail as possible. Hi Tammy, My intention is to forward all the orders executed via a portfolio trader to an external system. So I was looking for a way to capture these events from MultiCharts e.g. reading log files, subscribing to events ...
by Tammy MultiCharts
06 May 2022
Forum: MultiCharts
Topic: Reading orders executed by portfolio trader
Replies: 5
Views: 827

Re: Reading orders executed by portfolio trader

Hello Vishal,

Please describe what exactly you are trying to achieve in as much detail as possible.
by smhuggins
04 May 2022
Forum: MultiCharts
Topic: Position Size issue with available capital
Replies: 0
Views: 676

Position Size issue with available capital

Hi, I need help with Portfolio Trader and limiting the trade size to the specified position sizing. If I set position size at 5% of portfolio equity, the backtest generates trades to fill the remaining available equity at trade sizes ...
by vishr
04 May 2022
Forum: MultiCharts
Topic: Reading orders executed by portfolio trader
Replies: 5
Views: 827

Reading orders executed by portfolio trader

Hi, I recently switched to MultiCharts, and I really liked it. I use Portfolio Trader to automate my strategies, and now I am in a need of programmatically listening to all the order events generated and take an action. So far I am not able to find any way. ...
by maison6579
28 Apr 2022
Forum: MultiCharts
Topic: Information about Recalculate Command ?
Replies: 3
Views: 916

Information about Recalculate Command ?

... of these is " PowerLanguage: Improved the operation of “Recalculate” keyword in Portoflio Trader. “Recalculate” command will recalculate the whole portfolio now. Also, variables of RecalcPersist type are no longer supported in Portfolio Trader. Is there any more information about recalculate command ...
by altoncrooks
27 Apr 2022
Forum: MultiCharts
Topic: MAE Drawdown Stop Strategy
Replies: 0
Views: 552

MAE Drawdown Stop Strategy

I would like to create a stop strategy based on the Maximum Adverse Excursion of an individual trade. I have seen threads on doing this on a portfolio level. I would like to do it on an individual trade level. So If I do a backtest of a strategy and see on the %MAE chart that I can cut out a ...
by Vik
22 Apr 2022
Forum: MultiCharts .NET
Topic: Calculating Account Market Exposure
Replies: 1
Views: 812

Calculating Account Market Exposure

Hello, Are there any ways to get or calculate a total market exposure for current broker account (like Portfolio InvestedCapital but I can’t use Portfolio Trader)? I mean the amount of cash invested in securities in my broker account on the moment of strategy calculation regardless ...
by ZaphodB
19 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

My general advice: use PT for backtesting, and avoid, at all costs, using it for live execution. Go for your separate charts with IBOG, your execution stack will be more stable.

Hope that helps.
Appreciate it!
by c0ntango
16 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

My general advice: use PT for backtesting, and avoid, at all costs, using it for live execution. Go for your separate charts with IBOG, your execution stack will be more stable.

Hope that helps.
by ZaphodB
15 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

... on another symbol. Not a problem if, instead of using PT, I just used separate charts and used IBOG. However, it'd be nice to be able to use Portfolio Trader and the features it has, I think. I really don't know much about PT and I'm all ears for any general advice too.
by c0ntango
14 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

-> One of my main questions is if a PMM signal closes a position during a round of calculations, will that freed up equity be available for entries during the same round of calculations? I was unable to find a PMM keyword that speaks to this You could write a test to figure this out if absolutely ne...
by ZaphodB
13 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

Thanks for the info! I wonder if there's some way to have the MM signal have the entry logic for each symbol and if the entry logic is true, "print" a log/count. Then this could be referenced by the actual entry strategy so it can divide capital by the number of symbols entry logic was true for. I h...
by Axel
11 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Re: Solid foundation for Portfolio Trader?

I think the Portfolio Trader is a great piece of software. I don't really know the answer to your 2 first questions but if I had to guess... Syncing between symbols is probably easier in MC.NET or, if you perhaps could do something ...
by ZaphodB
07 Apr 2022
Forum: MultiCharts
Topic: Solid foundation for Portfolio Trader?
Replies: 7
Views: 1500

Solid foundation for Portfolio Trader?

I have a decent amount of experience with MC now but have never used Portfolio Trader. I really should have used it earlier because it looks like the best way to test strategies that don't need IBOG or bar magnifier. It is also really cool to think about trading ...
by hadenxu
05 Apr 2022
Forum: MultiCharts
Topic: the strategy is awaiting data for Bar Magnifier...
Replies: 8
Views: 2702

Re: the strategy is awaiting data for Bar Magnifier...

... Magnifier... MC is downloading the data from DataSource?? MultiCharts has an option to "Download data before backtesting". :: Sorry, that's for Portfolio backtesting only. For regular backtesting, please make sure you have the required data before starting the backtest. Hi TJ i also encounter ...
by Svetlana MultiCharts
08 Mar 2022
Forum: MultiCharts
Topic: Rotational strategy
Replies: 1
Views: 523

Re: Rotational strategy

Hi Marten,

You can find Portfolio strategies pre-built in PowerLanguage Editor and use them as an example. The logic is explained in this article.
by Svetlana MultiCharts
08 Mar 2022
Forum: MultiCharts
Topic: Trouble getting TS data fill in Portfolio Backtester/Trader
Replies: 1
Views: 532

Re: Trouble getting TS data fill in Portfolio Backtester/Trader

Hello, Is the issue with TS data feed or ASCII Import? If you use TS data feed, is Save data to local database box enabled in QuoteManager – Tools – Data sources – TS – Settings? Do you see the missing data in QuoteManager – right click the symbol – Edit Data ? Please describe the issue in more deta...
by Svetlana MultiCharts
03 Mar 2022
Forum: MultiCharts
Topic: GetAppInfo(aiHighestDispValue); using wrong symbol
Replies: 13
Views: 3178

Re: GetAppInfo(aiHighestDispValue); using wrong symbol

... on the file > Properties > check Unblock at the bottom right). 3. Close MultiCharts and all its applications (QuoteManager, PowerLanguage Editor, Portfolio Trader, 3D Optimization Charts, etc.). 4. Run Windows Task Manager (right-click on the windows clock -> run Task Manager) and make sure that ...
by Svetlana MultiCharts
01 Mar 2022
Forum: MultiCharts
Topic: Build custom fitness for Portfolio Trader
Replies: 3
Views: 663

Re: Build custom fitness for Portfolio Trader

Please refer to this thread.

Pre-built function Portfolio_Equity() can be used to calculate Portfolio Equity Curve:

Code: Select all

var : PE(0); PE = Portfolio_Equity();
Please refer to this thread for more info about the standard deviation of the portfolio equity curve calculation.
by Barbo
25 Feb 2022
Forum: MultiCharts
Topic: Build custom fitness for Portfolio Trader
Replies: 3
Views: 663

Re: Build custom fitness for Portfolio Trader

Thank you Svetlana, of course i will if necessary, but i think we can solve here: becuase what i'm trying to do is to refer to historical portfolio values to compare them and calculate my own custom fitness. For example.. is it possible to calculate the standard deviation of the portfolio equity ...
by Svetlana MultiCharts
25 Feb 2022
Forum: MultiCharts
Topic: Build custom fitness for Portfolio Trader
Replies: 3
Views: 663

Re: Build custom fitness for Portfolio Trader

i think it takes the average of the custom fitness calculated on each strategy and does not calculate it on the set of trades as if they were a single strategy Hi Barbo, Could you reproduce this behaviour in a simplified environment and send us the following files for analysis? 1. The workspace whe...
by thomashck
24 Feb 2022
Forum: MultiCharts
Topic: Hardware recommendation for 500 symbols [SOLVED]
Replies: 1
Views: 628

Hardware recommendation for 500 symbols [SOLVED]

... could give me some advise, highly appreciated. if you need further information pls let me know. Symbols: 400~500 bar interval: 5 min Strategy: portfolio signal and money management signal (no intra-bar order) data provider: IQfeed brokers: IB cloud service: AWS
by Barbo
05 Feb 2022
Forum: MultiCharts
Topic: Build custom fitness for Portfolio Trader
Replies: 3
Views: 663

Build custom fitness for Portfolio Trader

Hi everyone, i'd like to know if there is a way to build custom fitness in portfolio trader that considers the set of strategies as a single strategy. I'll explain: i would like to access past positions and those positions would need the date, the time of entry ...
by Tammy MultiCharts
04 Feb 2022
Forum: MultiCharts
Topic: Portfolio Trader Priority Question
Replies: 3
Views: 631

Re: Portfolio Trader Priority Question

Hello joebone,

In Portfolio margin calculation exits and partial exits have a higher priority as no additional funds must be used. Invested Capital is released by exits.
As for the orders sorted by Money Management, order execution priority rules described here are applied.
by joebone
01 Feb 2022
Forum: MultiCharts
Topic: Portfolio Trader Priority Question
Replies: 3
Views: 631

Re: Portfolio Trader Priority Question

Hello joebone, That is correct, one strategy can't exit the positions of another strategy. The backtest doesn't have a problem finding margin to buy and sell all on the same bar even when lower priority signals are selling for money that buys on higher priority signals. Does that mean all selling h...
by Tammy MultiCharts
01 Feb 2022
Forum: MultiCharts
Topic: Portfolio Trader Priority Question
Replies: 3
Views: 631

Re: Portfolio Trader Priority Question

Hello joebone,

That is correct, one strategy can't exit the positions of another strategy.
by tpredictor
31 Jan 2022
Forum: MultiCharts
Topic: Trouble getting TS data fill in Portfolio Backtester/Trader
Replies: 1
Views: 532

Trouble getting TS data fill in Portfolio Backtester/Trader

Cannot get data to fill in Portfolio Backtester/Trader from TS even though it filled on the chart fine. I have resorted to ASCII import. Not sure why it won't load from TS or what settings I need. I got a partial data but cannot get missing dates now.
by Martenbengtsson2
30 Jan 2022
Forum: MultiCharts
Topic: Rotational strategy
Replies: 1
Views: 523

Rotational strategy

... SPY sell GLD What is the proper way to do this in multicharts? The normal procedure wount let me place orders on data2 and when I read about the portfolio manager I dont see how to make it behave the oposite way on the two instruments. It seem so simple and maybee it is. I just dont see it. Best ...
by cooper
30 Jan 2022
Forum: MultiCharts
Topic: Equity curve log scale
Replies: 4
Views: 624

Re: Equity curve log scale

Thanks for the response Kate. I should say I'm using the portfolio trader. I assume it's not possible to view the equity curve on a chart like in your screenshot from portfolio trader? Also, I can't see an option to export the equity curve from the strategy ...
by Tammy MultiCharts
27 Jan 2022
Forum: MultiCharts
Topic: Timezone settings in Portfolio Trader
Replies: 2
Views: 701

Re: Timezone settings in Portfolio Trader

Hello Gary_MC, It is not possible to mix symbols with different time zones on a chart or in a portfolio, otherwise the starting point of the data series will not match. For the correct work Local time zone must be selected for all the instruments. the instruments aren't ...
by Kate MultiCharts
27 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader Data 2
Replies: 1
Views: 400

Re: Portfolio Trader Data 2

Hi Jimmyrakete,

You can add instruments in the Data2 column in the Instrument List.
More info here.
by Jimmyrakete
27 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader Data 2
Replies: 1
Views: 400

Portfolio Trader Data 2

how can I insert a second data series in Portfolio Trader if my system requires it?

https://prnt.sc/26k93k5
by ragdoll
26 Jan 2022
Forum: MultiCharts
Topic: Charts keeps on backfilling from live data feed instead of database
Replies: 3
Views: 759

Re: Charts keeps on backfilling from live data feed instead of database

... data is downloaded from the data feed server and plotted on the chart, it is stored in the cache. When you close MultiCharts, QuoteManager and Portfolio Trader, cached data is saved to the local database. You can also do it on demand without closing down all platform processes by using the ...
by Kate MultiCharts
26 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader
Replies: 1
Views: 400

Re: Portfolio Trader

Hello Jimmyrakete, You can set the maximum percentage of capital to be exposed to risk in the Exposure box. For example, if you set it to 50%, only 50% of the capital will be available for all the positions. If an additional position causes total exposure to exceed 50%, the position size will be red...
by Kate MultiCharts
26 Jan 2022
Forum: MultiCharts
Topic: Charts keeps on backfilling from live data feed instead of database
Replies: 3
Views: 759

Re: Charts keeps on backfilling from live data feed instead of database

... data is downloaded from the data feed server and plotted on the chart, it is stored in the cache. When you close MultiCharts, QuoteManager and Portfolio Trader, cached data is saved to the local database. You can also do it on demand without closing down all platform processes by using the ...
by Jimmyrakete
25 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader
Replies: 1
Views: 400

Portfolio Trader

Is there a possibility to set in Portfolio Trader that it opens only so many new positions so that it invests 50 or 90% of the capital in positions?

So when it is at 90% no new position should be opened
by gpw797
24 Jan 2022
Forum: MultiCharts
Topic: Charting issues
Replies: 3
Views: 740

Re: Charting issues

Of course when I change chart to 1 minute the problem goes away. It is a petty big limitation of the software when tick based charts don't work correctly and crash the platform. This is just 2 charts on a very nice computer.. don't dare try using a tick based chart in Portfolio Trader!
by joebone
19 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader Priority Question
Replies: 3
Views: 631

Portfolio Trader Priority Question

After messing with portfolio Trader for a few weeks I finally have everything working as intended.... Almost... The Question I am doing a sector rotation strategy and I need to have all my exits take place before my purchases in order ...
by idodo
17 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader Flag [SOLVED]
Replies: 2
Views: 691

Re: Portfolio Trader Flag [SOLVED]

Hi ABC,

That is exactly what I was looking for.
Thanks!

Ido
by aconnery
16 Jan 2022
Forum: MultiCharts
Topic: IB Japanese Stocks - Smart routing
Replies: 2
Views: 425

IB Japanese Stocks - Smart routing

... already in MC exchanges and used by IB, and by changing the market hours to 24/7, however, it means that these stocks could not be used in any portfolio analysis as the 'SMART' exchange is based on U.S. market hours and not Japan. Can't put stocks with different time zones in to a single portfolio. ...
by joebone
14 Jan 2022
Forum: MultiCharts
Topic: Trouble with getting flat while pyramiding orders
Replies: 3
Views: 726

Re: Trouble with getting flat while pyramiding orders

Svetlana helped me out with my support request...

for anyone coming behind me to work on portfolio trading and pyramiding exits here is the answer..

Look at
SameExitFromOneEntryOnce = False;
https://www.multicharts.com/trading-sof ... eEntryOnce
by joebone
12 Jan 2022
Forum: MultiCharts
Topic: Trouble with getting flat while pyramiding orders
Replies: 3
Views: 726

Re: Trouble with getting flat while pyramiding orders

... I enjoy learning along the way. You never get better if you don't try. I will admit that there is a whole new "barrier to entry" when it comes to portfolio and pyramid trading. Way more coding just to get the piping to work. I found the RejectedOrderAction yesterday afternoon and now my plan is ...
by Tammy MultiCharts
11 Jan 2022
Forum: MultiCharts
Topic: Portfolio - This bar at close vs next bar at open [SOLVED]
Replies: 2
Views: 717

Re: Portfolio - This bar at close vs next bar at open [SOLVED]

Hello joebone, If you are using buy next bar at open , the order will be generated on the Close of the bar and sent on the Open of the next bar. As far as sell short this bar at close , please note that "this bar at close" orders are generally used for backtesting. In live trading the orders will no...
by joebone
11 Jan 2022
Forum: MultiCharts
Topic: Trouble with getting flat while pyramiding orders
Replies: 3
Views: 726

Trouble with getting flat while pyramiding orders

Hello I have a script that I am having trouble debugging. The end use for this will be in portfolio trader but I am currently debugging in a chart. Relevant information..... I am using a weekly chart of SPY going back to 1996 as Data(1). Data(2-10) are the SPDR Sectors ...
by ABC
11 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader Flag [SOLVED]
Replies: 2
Views: 691

Re: Portfolio Trader Flag [SOLVED]

Hi Ido,

GetAppInfo( aiApplicationType ) appears to be what you are looking for.
Usage
GetAppInfo(Attribute)

Parameters
aiApplicationType - identifies the calling application:

0 = Unknown

1 = Chart

2 = Scanner

10 = Portfolio Trader
Regards,

ABC
by idodo
10 Jan 2022
Forum: MultiCharts
Topic: Portfolio Trader Flag [SOLVED]
Replies: 2
Views: 691

Portfolio Trader Flag [SOLVED]

Hi, When using a "Pmms..." functions in a signal while backtesting in a portfolio everything is fine. When running the same signal on the chart (without portfolio) than I get an error that this function is not supported. Now, I understand that it is not supported, ...
by joebone
07 Jan 2022
Forum: MultiCharts
Topic: Portfolio - This bar at close vs next bar at open [SOLVED]
Replies: 2
Views: 717

Portfolio - This bar at close vs next bar at open [SOLVED]

Hello, Just a quick question. I am building a portfolio Rotation Tool and I wanted see if this logic checked out with someone who knew. If I use This bar at close to sell positions and Next bar at open to Buy positions will the sell orders clear ...
by Gary_MC
04 Jan 2022
Forum: MultiCharts
Topic: Timezone settings in Portfolio Trader
Replies: 2
Views: 701

Timezone settings in Portfolio Trader

Hi, I've put together a portfolio with a mix of instruments that are all seasonal trades and when I tested it as one portfolio I found that I can only test if TimeZone is set to "local" or else I get an error message, which I've found ...
by Nicola
30 Dec 2021
Forum: MultiCharts
Topic: Exchange Data from Portfolio Trader Backtesting to Indicator-plotting
Replies: 0
Views: 518

Exchange Data from Portfolio Trader Backtesting to Indicator-plotting

Please, I need any help for : - PLOTTING at least 5 values over 3000 bars (12-year data), which my ("Umanot") signal gets from a 40-STOCK Portfolio Trader Backtesting, - using an INDICATOR, which reads any ADE (All Data Everywhere) format storing all such 5x3000 numeric values (Integer and ...
by joebone
23 Dec 2021
Forum: MultiCharts
Topic: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]
Replies: 4
Views: 1113

Re: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]

This needs to be easier to find. Been trying to figure this out for myself the last few days as well. Also a side note Portfolio Equity doesnt seem to be in the wiki? EDIT Going to drop some tags here for future people to find Portfolio Buying power calculations Available Buying Power ...
by GiroldoAle
21 Dec 2021
Forum: MultiCharts
Topic: Use of CFDs
Replies: 2
Views: 530

Re: Use of CFDs

Hi,
I'm not considerino spread trading.. I'd like to down size my exposure up to be able to add all my trading system into my portfolio with a limited capital...
by joebone
21 Dec 2021
Forum: MultiCharts
Topic: A few questions about portfolio trader... including max data#
Replies: 0
Views: 509

A few questions about portfolio trader... including max data#

~My Objective I plan to trade a standard portfolio of many different etfs/stocks. I would like to monitor the performance of each of these etfs against several metrics then let the computer build the portfolio on a rolling basis. ~My Strategy ...
by GiroldoAle
21 Dec 2021
Forum: MultiCharts
Topic: Use of CFDs
Replies: 2
Views: 530

Use of CFDs

Hi everyone, I have about 70 Trading System coded on the main futures (Crude Oil, Gold, S&P, ...). In all my portfolio simulations I've found that put all trading system together bring me to a great equity line. The selection of these 70 with reasonings of equity curve quality ...
by Tammy MultiCharts
14 Dec 2021
Forum: MultiCharts
Topic: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]
Replies: 4
Views: 1113

Re: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]

Hello petermcphee, The reason why Portfolio_InvestedCapital returns a value twice as much as was spent for buying the stocks is MaxPotentialLoss set to 100% in Portfolio Settings > Potential Loss per Contract section. With this setting 100% ...
by Svetlana MultiCharts
10 Dec 2021
Forum: MultiCharts
Topic: [portfolio trader] exit rules from backtest to realtrading script
Replies: 1
Views: 475

Re: [portfolio trader] exit rules from backtest to realtrading script

Hello,

When trading in the synchronous mode, the orders generated on historical data are not taken into account. Portfolio Trader considers that the position was opened at the moment when auto trading was started.
More information about the difference of auto trading modes is here.
by Tammy MultiCharts
03 Dec 2021
Forum: MultiCharts .NET
Topic: Exit all open position in Portfolio Trader at once
Replies: 1
Views: 825

Re: Exit all open position in Portfolio Trader at once

Hello lewisthegood, During Auto Trading in Portfolio Trader the orders can only be sent on bar close or bar open of the main data series. Unfortunately, at the moment there is no perfect way to close all the open positions at the same time in ...
by Kate MultiCharts
26 Nov 2021
Forum: MultiCharts
Topic: Invested Capital per entryname or signal?
Replies: 3
Views: 614

Re: Invested Capital per entryname or signal?

fatgecko, Try checking PosTradeEntryPrice , PosTradeSize , PosTradeCount . Here's an example of how you can get invested capital per signal/entryname: once cleardebug; if (currentbar = 100) then buy ("St Name1") 1 contract next bar at market; if (currentbar = 110) then buy ("St Name2") 2 contract ne...
by Kate MultiCharts
24 Nov 2021
Forum: MultiCharts
Topic: Invested Capital per entryname or signal?
Replies: 3
Views: 614

Re: Invested Capital per entryname or signal?

Hello fatgecko, You can calculate Portfolio_InvestedCapital for each separate instrument. Portfolio_InvestedCapital = entryprice(0) * bigpointvalue * currentcontracts Here's an example: Print( " symbolname ", symbolname, " entryprice(0) ", entryprice(0), " bigpointvalue ", bigpointvalue, " currentco...
by fatgecko
22 Nov 2021
Forum: MultiCharts
Topic: Invested Capital per entryname or signal?
Replies: 3
Views: 614

Invested Capital per entryname or signal?

The built-in Portfolio_InvestedCapital variable is great for determining how much equity is currently held in open positions. Is there a way of obtaining a similar value for each entryname or each Signal in a multi-signal Portfolio ...
by lewisthegood
10 Nov 2021
Forum: MultiCharts .NET
Topic: Exit all open position in Portfolio Trader at once
Replies: 1
Views: 825

Exit all open position in Portfolio Trader at once

I am looking for a way/function/commend to exit all the open positions within the same account (interactive brokers) for Portfolio Trader at the same time, but I cannot find a perfect way to do so. For example, I have 1 long position of X and 1 short position of Y in the same account ...
by LucaF
03 Nov 2021
Forum: MultiCharts
Topic: [portfolio trader] exit rules from backtest to realtrading script
Replies: 1
Views: 475

[portfolio trader] exit rules from backtest to realtrading script

... realtime. Exit rules doesn't work as in backtest. If I have, for example, this exitrule: if barssinceentry=3 then exit next bar market; When I run portfolio trader in SA mode each day, it reads actual position from Interactive Brokers, but it reads them as these positions were opened the day before ...
by petermcphee
03 Nov 2021
Forum: MultiCharts
Topic: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]
Replies: 4
Views: 1113

Re: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]

After some more testing I can see that Portfolio_InvestedCapital is being multiplied x 2. I created a new, single stock portfolio with the exact same settings as the first and used this code: If BarNumber >= 0 Then Buy 1 share Next Bar Market; If LastBarOnChart Then Begin SetExitOnClose; ...
by petermcphee
02 Nov 2021
Forum: MultiCharts
Topic: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]
Replies: 4
Views: 1113

Re: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]

I think I see what the problem is...the Portfolio_InvestedCapital doesn't seem to calculate correctly. If I build a portfolio of one symbol and buy 1 share, the allocated capital doesn't equal the notional value of share buy. E.g. If BarNumber >= 0 Then Buy 1 Shares Next Bar Market; ...
by petermcphee
02 Nov 2021
Forum: MultiCharts
Topic: Portfolio Trader - Daily Equity Curve [SOLVED]
Replies: 1
Views: 553

Re: Portfolio Trader - Daily Equity Curve [SOLVED]

Actually, I now see the daily profit totals, which I can just add to the starting capital in Excel!
by petermcphee
02 Nov 2021
Forum: MultiCharts
Topic: Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]
Replies: 4
Views: 1113

Portfolio Trader - % Equity Doesn't Seem to Work as Expected [SOLVED]

Hello, (Sorry, long post here!) I'm trying to understand how the allocation of capital works with the Portfolio Trader as it doesn't seem to be working as I'd expect. I've created a simple buy and hold strategy to test this using a collection of stocks that simply buys as ...
by petermcphee
02 Nov 2021
Forum: MultiCharts
Topic: Portfolio Trader - Daily Equity Curve [SOLVED]
Replies: 1
Views: 553

Portfolio Trader - Daily Equity Curve [SOLVED]

Hello,

Is there a way to output the daily equity curve value for a portfolio? I know that the trades are visible in the export report but it would be good to see each day's total equity value.

Thanks,

Peter.
by lewisthegood
22 Oct 2021
Forum: MultiCharts .NET
Topic: Open PnL of Portfolio trader
Replies: 2
Views: 1033

Re: Open PnL of Portfolio trader

thank you
by Svetlana MultiCharts
22 Oct 2021
Forum: MultiCharts .NET
Topic: Open PnL of Portfolio trader
Replies: 2
Views: 1033

Re: Open PnL of Portfolio trader

Hello lewisthegood, Please use Portfolio.OpenPositionProfit. using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; using ATCenterProxy.interop; namespace PowerLanguage.Strategy { public class Portfolio_OpenPositionProfit ...
by lewisthegood
21 Oct 2021
Forum: MultiCharts .NET
Topic: Open PnL of Portfolio trader
Replies: 2
Views: 1033

Open PnL of Portfolio trader

... "B" will always enter into the opposite direction from instrument "A" in order to hedge the trade. However, I do not how to show the whole portfolio's open PnL in C# (MC.NET). I can only find something like: " StrategyInfo.OpenEquity - StrategyInfo.ClosedEquity " which return the open PnL ...
by hbscreener
13 Oct 2021
Forum: MultiCharts
Topic: Using IOData.dll in Optimization with Multi-cores CPU
Replies: 3
Views: 878

Using IOData.dll in Optimization with Multi-cores CPU

Hi, I am trying to use the RFile and InData functions of IOData.dll to read text files in the portfolio trader. Everyting is working fine until I start the optimization. The optimization results vary every time, even though all parameters remain the same. This problem ...
by Tammy MultiCharts
07 Oct 2021
Forum: MultiCharts
Topic: Saving imported Ascii Data in the data base in quote manager
Replies: 3
Views: 618

Re: Saving imported Ascii Data in the data base in quote manager

Hello MAC, The data imported from an ASCII file is stored in cache. When you close MultiCharts, QuoteManager and Portfolio Trader, the cached data is compressed and saved to the local database. If MultiCharts wasn't shut down correctly, the cached data may be lost though. To make ...
by Tammy MultiCharts
23 Sep 2021
Forum: MultiCharts
Topic: Portfolio_Rotation Signal how it works ?
Replies: 3
Views: 984

Re: Portfolio_Rotation Signal how it works ?

... if Close > AVERAGEFC(close ,100) then Buy ("Brk LE") next bar at BuyPx Stop; if BarsSinceEntry > 5 then begin sell 1 contracts Next bar at market; Portfolio Rank Signal Base that you have added in the second screenshot generates an Entry at Market and a Market order for reversing the long position ...
by Remy
22 Sep 2021
Forum: MultiCharts
Topic: Search consultant to train me with MultiCharts64 Portfolio Trader
Replies: 0
Views: 471

Search consultant to train me with MultiCharts64 Portfolio Trader

Hello, I have the MultiCharts64 Portfolio Trader software but I don't understand how it works. As MultiCharts no not provide training session, I am looking for a person to train me to use the tool. I am looking to understand how to code strategies ...
by Remy
21 Sep 2021
Forum: MultiCharts
Topic: Portfolio_Rotation Signal how it works ?
Replies: 3
Views: 984

Re: Portfolio_Rotation Signal how it works ?

... ,100) then Buy ("Brk LE") next bar at BuyPx Stop; if BarsSinceEntry > 5 then begin sell 1 contracts Next bar at market; The first on, with no portfolio system. Every trade time is more than 1 day. https://i.ibb.co/0MqBJ3K/Capture-d-cran-du-2021-09-21-18-36-54.png If I simply add the one signal ...
by Tammy MultiCharts
17 Sep 2021
Forum: MultiCharts
Topic: Portfolio_Rotation Signal how it works ?
Replies: 3
Views: 984

Re: Portfolio_Rotation Signal how it works ?

Hello Remy, Portfolio Rotation Strategy calculates a specific indicator by using every instrument in the portfolio. Positions are opened for those instruments which have the best indicator values. The wiki article provides an example ...
by tpredictor
08 Sep 2021
Forum: MultiCharts
Topic: Portfolio vs AA + AA Questions
Replies: 3
Views: 727

Re: Portfolio vs AA + AA Questions

... really sure... be good to hear form those running AA mode successfully with many strategies on same symbol what the "rules" are. Or given I have portfolio trader if that might be a better/alternative route?
by tpredictor
07 Sep 2021
Forum: MultiCharts
Topic: Portfolio vs AA + AA Questions
Replies: 3
Views: 727

Re: Portfolio vs AA + AA Questions

Got a partial answer from scanning Unger's work-- he sums each strategy and see that the total strategy positions match the broker. If a summary field were added per instrument for this then one could check at a glance that total matches all strategies or that the difference is the discretionary pos...
by tpredictor
07 Sep 2021
Forum: MultiCharts
Topic: Portfolio vs AA + AA Questions
Replies: 3
Views: 727

Portfolio vs AA + AA Questions

I have briefly read the portfolio guide. For running multiple strategies on same instrument is portfolio an alternative or is it better/preferred? Are there benefits or limitations if I just want to execute multiple strategies on same ...
by Remy
07 Sep 2021
Forum: MultiCharts
Topic: Portfolio_Rotation Signal how it works ?
Replies: 3
Views: 984

Portfolio_Rotation Signal how it works ?

Hello, On this page. https://www.multicharts.com/trading-software/index.php?title=Portfolio_Trader_Strategy_Examples Formula (PercentChange(close, 14)); I don't understand what this formula is for. I'is not a condition, and the variable is not called in the rest of the code. The value is set in pmm_...
by Kate MultiCharts
01 Sep 2021
Forum: MultiCharts
Topic: Easy way to test consensus systems?
Replies: 3
Views: 611

Re: Easy way to test consensus systems?

tpredictor,

I'd recommend checking the Portfolio Money Management keywords, they should help you with your script.
by Kate MultiCharts
31 Aug 2021
Forum: MultiCharts
Topic: Easy way to test consensus systems?
Replies: 3
Views: 611

Re: Easy way to test consensus systems?

Hello tpredictor,

You might want to work in Portfolio Trader using Money Management Signal and PMM/PMMS keywords.
If that doesn’t help, please describe what you are trying to achieve in more detail.
by tpredictor
30 Aug 2021
Forum: MultiCharts
Topic: Easy way to test consensus systems?
Replies: 3
Views: 611

Easy way to test consensus systems?

... want to have to recode each strategy into a new master. Assuming all the strategies run on same time frame-- might there be an easier way? Can the portfolio tester be used for consensus strategy?
by Jonny473
21 Aug 2021
Forum: MultiCharts
Topic: Portfolio Trader Rank/Priorization
Replies: 2
Views: 930

Portfolio Trader Rank/Priorization

https://drive.google.com/file/d/1dUGV-f8X6igmEBlgyxf5osxmuBwzK5ah/view?usp=sharing Lets say I have number of X instruments in my Portfolio Trader Strategy. I have one strategy applied. This strategy contains, besides calculations only based on the instrument itself, also a rank/ PortfolioEntriesPriority ...
by Svetlana MultiCharts
10 Aug 2021
Forum: MultiCharts
Topic: The Signals on MC chart and PT are different. (If it's possible to reload PT data automatically?)
Replies: 1
Views: 436

Re: The Signals on MC chart and PT are different. (If it's possible to reload PT data automatically?)

Hi Morgan, MultiCharts and Portfolio Trader are different tools and they were designed for different goals. In most cases it is not relevant to compare the results. If you still want to compare, you can achieve similar results, if you ...
by smhuggins
10 Aug 2021
Forum: MultiCharts
Topic: Crypto position sizing - fractional tokens buys in backtests
Replies: 1
Views: 618

Crypto position sizing - fractional tokens buys in backtests

Hello Wondering if you can help please with fractional trading with crypto in portfolio backtester. This is based on spot tokens not futures. Am using Binance data feed, and I want to accurately calculate position sizing (and performance metrics) in backtests in ...
by Vlada MultiCharts
29 Jul 2021
Forum: MultiCharts .NET
Topic: Order confirmation for parent order only in Portfolio Trader
Replies: 3
Views: 1256

Re: Order confirmation for parent order only in Portfolio Trader

darob,

Technically you can show the message box (MessageBox) from the script.
However, the message box will stop the calculation for a period when it is being displayed, so we don't recommend this method.
by Vlada MultiCharts
27 Jul 2021
Forum: MultiCharts
Topic: TS Data Issue "TS/ORCAL already in use.. closing down!"
Replies: 2
Views: 960

Re: TS Data Issue "TS/ORCAL already in use.. closing down!"

... > Settings section> Run this program as an administrator. Do the same for TS and all MultiCharts components (Quote Manager, PowerLanguage Editor, Portfolio Trader). We also recommend launching TS first, wait till it is running up, and then launching MultiCharts each time you restart them.
by kinwai
08 Jul 2021
Forum: MultiCharts
Topic: Auto-trade connection issue [SOLVED]
Replies: 1
Views: 623

Auto-trade connection issue [SOLVED]

... even the IB service is resumed, then autotrade is stopped unconsciously. Any configuration I can do? This situation has never happened when I use portfolio trader for autotrade before.
by kinwai
01 Jul 2021
Forum: MultiCharts
Topic: Change limit order to market order when cannot fill after 5 seconds [SOLVED]
Replies: 7
Views: 1543

Re: Change limit order to market order when cannot fill after 5 seconds [SOLVED]

I believe I found the root cause, it isn’t related to the usage of CurrentTime_s, Time_s nor DateTime. Currently, I am using Portfolio trader with 1 min timeframe, it looks the above data type doesn’t support IOG mode even it has IOS option, so the program cannot get the second by tick, ...
by Kate MultiCharts
25 Jun 2021
Forum: MultiCharts
Topic: Portfolio Trader will stop working on auto-trading after some while time.
Replies: 1
Views: 540

Re: Portfolio Trader will stop working on auto-trading after some while time.

... We'll need to investigate it on our end. When the issue is reproduced, please send us (support@multicharts.com) the following files: 1. The portfolio workspace where the issue is reproduced. 2. The exported scripts with all dependent functions that are used on the workspace. 3. MultiCharts ...
by Morgan
24 Jun 2021
Forum: MultiCharts
Topic: Portfolio Trader will stop working on auto-trading after some while time.
Replies: 1
Views: 540

Portfolio Trader will stop working on auto-trading after some while time.

Hi, MC team: I used MC V.14 portfolio trader for auto-trading. I used Binance future for broker and set around 100 crypto future on it. I set 1 hour time-frame and 2 different strategies plus the Money-management module. In the beginning, ...
by fatgecko
15 Jun 2021
Forum: MultiCharts
Topic: Automated EOD trading on complete exchange in Portfolio Trader
Replies: 2
Views: 529

Re: Automated EOD trading on complete exchange in Portfolio Trader

Thanks Salzburg. Great to get your thoughts, and find someone else who has tried! Mapping - have done this using a screen macro, took about 4 hours to complete, so ok there. Symbol List - don't see this as a huge issue, as I'm ok to compromise with a manual update to the PT instruments on, say, a we...
by Salzburg
15 Jun 2021
Forum: MultiCharts
Topic: Automated EOD trading on complete exchange in Portfolio Trader
Replies: 2
Views: 529

Re: Automated EOD trading on complete exchange in Portfolio Trader

Hi, i think you will run into problems such as, - how will you manage to map 10000 symbols since you can really do this manually PER symbol , not in one go. - How will you manage to keep your 10k symbol up to date on the fly, using Multicharts, quote monitor and portfoliotrader? - Polygon.io would a...
by fatgecko
15 Jun 2021
Forum: MultiCharts
Topic: Automated EOD trading on complete exchange in Portfolio Trader
Replies: 2
Views: 529

Automated EOD trading on complete exchange in Portfolio Trader

Hi Everyone, Has anyone got experience working with Portfolio Trader to do automated EOD trading on a complete exchange (or multiple exchanges)? I am seeking to set up something like: * Universe = all NASDAQ/NYSE/AMEX (~10000 or so symbols) * Script ...
by lingwuchung
11 Jun 2021
Forum: MultiCharts
Topic: Multicharts on AWS
Replies: 4
Views: 975

Re: Multicharts on AWS

MultiCharts works on Windows 8.1 and 10. It is possible to use the software on a virtual machine that corresponds to those operating systems.
Thanks. Any plan to make the optimization or portfolio manager to be distributed across multiple VM on cloud?
by Vlada MultiCharts
08 Jun 2021
Forum: MultiCharts
Topic: Several strategies on same instrument, but only one position at a time
Replies: 1
Views: 522

Re: Several strategies on same instrument, but only one position at a time

... and XXX resolution to your chart for reference only. You can link multiple charts to share information between them using Global Variables . In Portfolio Trader you can apply a signal to multiple instruments. Please read more about portfolio trading in the following wiki section .
by rrams
24 May 2021
Forum: MultiCharts
Topic: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !
Replies: 3
Views: 733

Re: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !

Hello quantum777, Unless you are extremely unlucky, there are other people who have experienced the same problem and are just afraid to ask. So please take the time and effort to collect enough information to properly identify and catagorize the issue for the benefit of everyone. That is the hard pa...
by quantum777
18 May 2021
Forum: MultiCharts
Topic: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !
Replies: 3
Views: 733

Re: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !

at the market order error in MC shows in log:

Order rejected - reason:Invalid effective time
by Vlada MultiCharts
18 May 2021
Forum: MultiCharts
Topic: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !
Replies: 3
Views: 733

Re: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !

Hello,

Do you see any errors in the Order and Position Tracker -> Logs tab?
If IB rejects the orders due to the issues on their end, this is beyond MultiCharts support and should be addressed to IB directly.
by bomberone1
17 May 2021
Forum: MultiCharts
Topic: Equities universe
Replies: 22
Views: 3438

Re: Equities universe

... trading from the market sanner is not possible 2) the maximum number of symbols is 5,000. In your opinion, if we insert the 5000 symbols in the Portfolio Trader, can we overcome both problems? Have any of you tried to trade with thousands of symbols on the Portfolio Trader?
by bomberone1
11 May 2021
Forum: MultiCharts
Topic: Equities universe
Replies: 22
Views: 3438

Re: Equities universe

In this situation, why not add all symbol in portfolio trader? Scanner does not enable for autotrading purpose, but portfolio trader yes. You will add all stocks that you need in portfolio. By default Autotrading is not supported in the Scanner ...
by quantum777
04 May 2021
Forum: MultiCharts
Topic: MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !
Replies: 3
Views: 733

MC Portfolio, auto-trade, end of day, swing trade, IB MARKET ORDERS REJECTED !

... GLL, TWM, DUST, TZA, DRIP which were rejected. I rarely have problems with my TDA/TOS account tech support. This is getting really frustrating! MC Portfolio MARKET ORDERS rejected 20210504.jpg
by joebone
29 Apr 2021
Forum: MultiCharts
Topic: WFA Questions
Replies: 7
Views: 1178

Re: WFA Questions

... The WFA report would be far more useful if each selected optimization had its own full time series report. The same way you can break apart portfolio trader into its individual reports. Not being able to see what's happening in the individual steps reduces the WFA's use. And as you mentioned ...
by Salzburg
26 Apr 2021
Forum: MultiCharts
Topic: Equities universe
Replies: 22
Views: 3438

Re: Equities universe

Hi c0ntango, I am trading large portfolios of equities, i would say biggest problem you are facing is mapping and adjusting your portfolio in an easy way. Would say that MC and portfoliotrader is not he right tool for the job. I am using ...
by rrams
26 Apr 2021
Forum: MultiCharts
Topic: Equities universe
Replies: 22
Views: 3438

Re: Equities universe

... when you want to work with thousands of symbols, you normally request snap quotes. One last price quote at an interval the provider can handle. Portfolio Trader is the only tool MultiCharts has to potentially trade thousands of symbols. (The scanner can only accept indicators and that many open ...
by Salzburg
23 Apr 2021
Forum: MultiCharts
Topic: Multicharts Missing Trades in Live Trading
Replies: 23
Views: 4710

Re: Multicharts Missing Trades in Live Trading

... for me is custom built futures (this seems to use lots of resources and caused moments of "freeze up", so i never use custom futures again, also portfolio trader running intraday systems, this have caused some strange behaviour for me in live trading.. hence i only use portfolio trader for daily ...
by Vlada MultiCharts
22 Apr 2021
Forum: MultiCharts
Topic: Close EOD Kase/Non Time Bars
Replies: 6
Views: 895

Re: Close EOD Kase/Non Time Bars

... own exit The disadvantages of this method are that firstly, IOG creates additional load on the CPU, and secondly, this method can't be used in Portfolio. 4) One can close the position at the end of the day using their own script logics that would analyze the time. Make sure the position gets ...
by Kate MultiCharts
20 Apr 2021
Forum: MultiCharts
Topic: If I can destinguish positions from which strategy in MM - Portfolio Trader?
Replies: 1
Views: 453

Re: If I can destinguish positions from which strategy in MM - Portfolio Trader?

Hello Morgan,

Please check the Portfolio Money Management section in our Wiki or in the PowerLanguage Editor Dictionary.

pmms_* keywords might be helpful in the MM signal (e.g. pmms_strategy_marketposition(StrategyIndex) or pmms_strategy_set_entry_contracts(StrategyIndex, Contracts)).
by strelow
16 Apr 2021
Forum: MultiCharts
Topic: How is the correct way to setup base currency in portfolio trader for Binance
Replies: 4
Views: 1051

Re: How is the correct way to setup base currency in portfolio trader for Binance

Hello Tammy

Even using your suggestion i did one test but the result was a position with 1500 btc no respect my limit of 2000 dolars
base_currency_issue.PNG
(122.47 KiB) Not downloaded yet
base_currency_issue_2.PNG
(15.39 KiB) Not downloaded yet
by Tammy MultiCharts
16 Apr 2021
Forum: MultiCharts
Topic: How is the correct way to setup base currency in portfolio trader for Binance
Replies: 4
Views: 1051

Re: How is the correct way to setup base currency in portfolio trader for Binance

Hello strelow, The are no built-in base crypto currencies in MultiCharts. However, if you select "None" in Strategy Properties > Base Currency, the second currency of the pair (for instance, USDT for BTCUSDT) will be used for profit and loss calculation of the strategy and for Strategy Performance R...
by Kate MultiCharts
15 Apr 2021
Forum: MultiCharts
Topic: Limiting number of open positions
Replies: 2
Views: 669

Re: Limiting number of open positions

Hello Leo,

You can use Portfolio Money Management signals.
You can find the Wiki section dedicated to PMM Keywords here, or you can find more info in the PowerLanguage Editor Dictionary.
by Morgan
14 Apr 2021
Forum: MultiCharts
Topic: If I can destinguish positions from which strategy in MM - Portfolio Trader?
Replies: 1
Views: 453

If I can destinguish positions from which strategy in MM - Portfolio Trader?

Hi, I have several strategies run via portfolio trader. I separate them with different segment and run together. Currently, I contral them via Money Managemt module but have one problem. That is I would like to limit every strategies entry postion. ...
by darob
09 Apr 2021
Forum: MultiCharts .NET
Topic: Order confirmation for parent order only in Portfolio Trader
Replies: 3
Views: 1256

Re: Order confirmation for parent order only in Portfolio Trader

I don't suppose it's possible to develop a keyword that will throw a confirmation dialog directly from the code? That would be awesome please and thank you!
by Leo
09 Apr 2021
Forum: MultiCharts
Topic: Limiting number of open positions
Replies: 2
Views: 669

Limiting number of open positions

Hello everyone, in Portfolio Trader I would like to limit the number of concurrent open positions, and this number has to be calculated on the basis of the overall open risk. Example: Let's say I have 5 different trading systems running ...
by Salzburg
09 Apr 2021
Forum: MultiCharts
Topic: Avoid manually adding instruments?
Replies: 6
Views: 916

Re: Avoid manually adding instruments?

Traderguy, as far as i know, symbols for mapping is only added to mapping when you turn on a portfolio for live trading or input the symbol on a chart with strategy on and turn it on. Also this only happens as far as i know only if data used is same as broker. Its also ...
by TraderGuy
09 Apr 2021
Forum: MultiCharts
Topic: Avoid manually adding instruments?
Replies: 6
Views: 916

Re: Avoid manually adding instruments?

I believe the mapping file will be built for you when you add all symbols to Portfolio trader. There are some threads on this. It's not perfect but it's a start.
by strelow
08 Apr 2021
Forum: MultiCharts
Topic: How is the correct way to setup base currency in portfolio trader for Binance
Replies: 4
Views: 1051

How is the correct way to setup base currency in portfolio trader for Binance

Hello I trying to setup the portfolio trade to do some backtests with binance Crypto but I notice even I put in properties cash per trade max for example $ 2000 when I run the backtests the simulation not make limitation of $2k I think ...
by plbourse
01 Apr 2021
Forum: MultiCharts
Topic: Portfolio optimization
Replies: 6
Views: 2148

Re: Portfolio optimization

Dear Support
I run Portfolio OPtimization with global variables and get different results between the optimization and the backtesting with the same data. Any solution to solve this ? Maybe it is already on teh forum. Thanks
by Vlada MultiCharts
31 Mar 2021
Forum: MultiCharts .NET
Topic: Order confirmation for parent order only in Portfolio Trader
Replies: 3
Views: 1256

Re: Order confirmation for parent order only in Portfolio Trader

Hi darob,

Unfortunately, technically it is not possible to do this. Order confirmation works for the patches or orders that can consist of entries, exits and reverses, so using it with such criteria is not available.
by darob
24 Mar 2021
Forum: MultiCharts .NET
Topic: Order confirmation for parent order only in Portfolio Trader
Replies: 3
Views: 1256

Order confirmation for parent order only in Portfolio Trader

Hi, is there a way to enable order confirmation for parent orders only in Portfolio Trader? As it is it applies to stops and targets too which is a problem.

Thanks
by Vlada MultiCharts
18 Mar 2021
Forum: MultiCharts
Topic: How many contracts could buy
Replies: 1
Views: 470

Re: How many contracts could buy

Hello ragdoll,

The Strategy Properties form does not have pre-built functionality for calculating the number of contacts depending on the margin and capital, it does not have a field for specifying the margin.

The margin settings are available only in Portfolio Trader.
by hoishing
12 Mar 2021
Forum: MultiCharts
Topic: error after changing database location [SOLVED]
Replies: 1
Views: 452

Re: error after changing database location [SOLVED]

... reference: Quit MC and set the required locations by modifying the Path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts64\Databases\Portfolio Computer\HKEY_LOCAL_MACHINE\SOFTWARE\TS Support\MultiCharts64\Databases\Storage
by thomashck
11 Mar 2021
Forum: MultiCharts
Topic: How to get the numbers of open long/short entries in PT [SOLVED]
Replies: 2
Views: 640

How to get the numbers of open long/short entries in PT [SOLVED]

I'm coding a strategy to control the numbers of open long/short entries in PT but I found that only Portfolio_CurrentEntries function can be use.
Is there anyone has idea of how to separate the numbers of open long/short entries in PT?
by denniswklam
03 Mar 2021
Forum: MultiCharts
Topic: Debug idea of underflow overflow range error for Portfolio Trader Strategy Signal
Replies: 2
Views: 689

Re: Debug idea of underflow overflow range error for Portfolio Trader Strategy Signal

... added ClearPrintLog after a certain time interval to reset the my Print Output I had within the strategy signal for strategy instrument index 0 in Portfolio Trader. Before the change, I had the Print Output printing texts and values from each strategy signal pass and the money management signal ...
by Vlada MultiCharts
03 Mar 2021
Forum: MultiCharts
Topic: Debug idea of underflow overflow range error for Portfolio Trader Strategy Signal
Replies: 2
Views: 689

Re: Debug idea of underflow overflow range error for Portfolio Trader Strategy Signal

... the script. If the issue persists, please send the following files to support@multicharts.com so that we could reproduce the issue on our end: 1) Portfolio Workspace; 2) Exported data in QMD ; 3) Used signals in PLA ; 4) The description of how to reproduce the issue.
by Svetlana MultiCharts
03 Mar 2021
Forum: MultiCharts
Topic: Need Help with Portfolio Trader Settings
Replies: 1
Views: 617

Re: Need Help with Portfolio Trader Settings

Hi Transatlantic, It is recommended to set parameters the following way to ensure that Portfolio Trader settings do not influence on your strategy: Exposure = 100% Max % of Capital at Risk per Position = 100% Initial Portfolio Capital = $1 000 000 000 Margin value ...
by Transatlantic
28 Feb 2021
Forum: MultiCharts
Topic: Is Code for Builtin Strategy 'Portfolio_SpreadingTradingSystem.Slave' Correct?
Replies: 2
Views: 616

Is Code for Builtin Strategy 'Portfolio_SpreadingTradingSystem.Slave' Correct?

Hi, I am unable to confirm that the code for Portfolio_SpreadTradingSystem.Slave runs correctly. Can anyone confirm it does? Specifically, I am not clear on Lines 25 and Line 30, which effectively seem to be the same as Line 12: Line 12: if sign(my_mp) <> sign(master_mp) then begin Line 25: if Sign(...

Go to advanced search