Search found 14 matches

by al68
17 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 653

Re: Portfolio Trader Initial Capital [SOLVED]

Many thanks again.
by al68
16 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 653

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 al68
16 Nov 2022
Forum: MultiCharts
Topic: Portfolio Trader Initial Capital [SOLVED]
Replies: 4
Views: 653

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$ on brokerB) I will set "Initial Portfolio Capital" (on the Portfolio...
by al68
06 Mar 2018
Forum: MultiCharts
Topic: Debugging window [SOLVED]
Replies: 3
Views: 2154

Re: Debugging window [SOLVED]

Many thanks. Done
by al68
21 Sep 2017
Forum: MultiCharts
Topic: Debugging window [SOLVED]
Replies: 3
Views: 2154

Debugging window [SOLVED]

Hello, in order to debug my strategy I have written Print(Date,Time,barnumber,currentbar,buybar,buycount,...) at the end of the code. Now I'm looking for a debugging window that shows the relative data, possibly scrolling together with the chart, but I can't find it! Any suggestion? I've also tried ...
by al68
02 Apr 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

Correct ! But the Portfolio strategies (with pmms functions) shouldn't work as a firewall which allow or not the orders to be executed? If they're firewalls the strategy should carry on generating orders and so calculating the equity. Maybe should I put the code in the "Money Management Signal" wind...
by al68
02 Apr 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

This is my new code but, as you can see from the enclosed image, it doesn't allow the system to trade more than 20 trades. Any suggestion ? Vars: Eq(0),EqAvg(0),EqJ(0); var: need_convert(false), equity(0); Vars: maxeq(0),mineq(0),numWins(0),numLosses(0),numTrades(0); Eq=I_ClosedEquity; If Eq<>Eq[1] ...
by al68
30 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

Second chart
by al68
30 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

Calculations 1 and 2 of the strategy below seem to work, but I've had no time to check the results, yet. Inputs: Calc(1),PortfolioPctStop(1); Vars: Eq(0),EqAvg(0); var: need_convert(false), equity(0); inputs: StopLossPcntsOfPortfolio(0.1), ProfitTargetPcntsOfPortfolio(0.6); variable: value(0); vars:...
by al68
30 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

I'm afraid the Eq value is wrong.
I should use the "I_ClosedEquity" function.
I will let you know.
by al68
27 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

My idea consisted of using a TradingSystem with an imperfect equity line (as shown in the image below) and add an EquityManagement strategy which pauses the TradingSystem when the equity line crosses under its average, and resumes the TradingSystem when the equity line crosses over its average. I wa...
by al68
26 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

As I wrote in my comments these are my attempts (1 to 6) of writing a PortfolioStrategy i.e. six different ways of calculating what I want , but none of them manage to switch off and on (pause an resume) the TradingSystem (which is not included) as the Equity line crosses under and over its Average....
by al68
26 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Re: Portfolio Strategy on Equity

I forgot: i use MultiCharts 9.1 build 12410 (the latest)
by al68
25 Mar 2016
Forum: MultiCharts
Topic: Portfolio Strategy on Equity
Replies: 13
Views: 4668

Portfolio Strategy on Equity

Hi, I’m trying to develop a Portfolio Management Strategy which evaluates the Equity curve of the underlying TradingSystem and allows its orders only when the Equity curve is over its average. So if the Equity > its Avg then trade, if not don’t trade. Of course I’m talking about using a virtual Equi...

Go to advanced search