Search found 16 matches
- 05 Apr 2024
- Forum: MultiCharts
- Topic: Account Equity Stop or Avoid the Risk of Ruin
- Replies: 1
- Views: 110
Re: Account Equity Stop or Avoid the Risk of Ruin
Hi, I've probably just solved the problem , but I wanna share the solution with you all and ask what you think: // AccountEquityStop_Y Input: EquityStopAlert(numeric), // Set Stop Loss Alert EquityProfitAlert(numeric), // Set Profit Target Alert AcctNum(string), // Pass Account ID: "12345.." don't f...
- 05 Apr 2024
- Forum: MultiCharts
- Topic: Account Equity Stop or Avoid the Risk of Ruin
- Replies: 1
- Views: 110
Account Equity Stop or Avoid the Risk of Ruin
Hi, I'm trying to use an old Function in order to create an AccountEquity StopLoss, but when I use it in my Signals, the function gives me an error: "GetBDAccountEquity function is not implemented". Can anyone help me? I enclose the Function AccountEqutyStop_X that I use // AccountEquityStop_X Input...
- 17 Nov 2022
- Forum: MultiCharts
- Topic: Portfolio Trader Initial Capital [SOLVED]
- Replies: 4
- Views: 740
Re: Portfolio Trader Initial Capital [SOLVED]
Many thanks again.
- 16 Nov 2022
- Forum: MultiCharts
- Topic: Portfolio Trader Initial Capital [SOLVED]
- Replies: 4
- Views: 740
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?
Many thanks anyway.
P.S. can I suggest MultiCharts to provide some more examples of Portfolio Strategies?
- 16 Nov 2022
- Forum: MultiCharts
- Topic: Portfolio Trader Initial Capital [SOLVED]
- Replies: 4
- Views: 740
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...
- 06 Mar 2018
- Forum: MultiCharts
- Topic: Debugging window [SOLVED]
- Replies: 3
- Views: 2234
Re: Debugging window [SOLVED]
Many thanks. Done
- 21 Sep 2017
- Forum: MultiCharts
- Topic: Debugging window [SOLVED]
- Replies: 3
- Views: 2234
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 ...
- 02 Apr 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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...
- 02 Apr 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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] ...
- 30 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
Re: Portfolio Strategy on Equity
Second chart
- 30 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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:...
- 30 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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.
I should use the "I_ClosedEquity" function.
I will let you know.
- 27 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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...
- 26 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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....
- 26 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
Re: Portfolio Strategy on Equity
I forgot: i use MultiCharts 9.1 build 12410 (the latest)
- 25 Mar 2016
- Forum: MultiCharts
- Topic: Portfolio Strategy on Equity
- Replies: 13
- Views: 4810
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...