Search found 10 matches

by hbscreener
13 Oct 2021
Forum: MultiCharts
Topic: Using IOData.dll in Optimization with Multi-cores CPU
Replies: 3
Views: 907

Re: Using IOData.dll in Optimization with Multi-cores CPU

Hello hbscreener, You are right, the discrepancies are related to the number of CPU cores utilized during the optimization. Several parallel calculations of the strategy with different inputs are run during the optimization, if more that 1 thread is used. If the file is modified during each calcula...
by hbscreener
13 Oct 2021
Forum: MultiCharts
Topic: Using IOData.dll in Optimization with Multi-cores CPU
Replies: 3
Views: 907

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 annoyed me for a few days. Unti...
by hbscreener
27 Nov 2020
Forum: MultiCharts
Topic: Automation of Portfolio Trader
Replies: 5
Views: 1087

Re: Automation of Portfolio Trader

Mulitcharts support has any idea on the automation, please?
by hbscreener
19 Nov 2020
Forum: MultiCharts
Topic: Automation of Portfolio Trader
Replies: 5
Views: 1087

Re: Automation of Portfolio Trader

Hi, You might want to try some windows automation scripting tools or macro recording tools such as AutoIt, AutoHotKey, WinAutomation, etc. You can also check "Do not show the Assign the initial Market Position at the Broker dialogue" in Strategy properties > Auto Trading tab. Thanks, I have tried A...
by hbscreener
18 Nov 2020
Forum: MultiCharts
Topic: Automation of Portfolio Trader
Replies: 5
Views: 1087

Re: Automation of Portfolio Trader

Would Mulitcharts support please give me some suggestions? Thanks.
by hbscreener
16 Nov 2020
Forum: MultiCharts
Topic: Automation of Portfolio Trader
Replies: 5
Views: 1087

Automation of Portfolio Trader

Hi, Just want to check if there is any way to fully automate the execution of the Portfolio Trader. Under normal circumstance, user needs to open the Portfolio Trader, click the backtest button, answer any subsequent questions popped up, waiting for the result and close the Portfolio Trader. They ar...
by hbscreener
05 Apr 2019
Forum: MultiCharts
Topic: Dynamic MaxBarsBack ? [SOLVED]
Replies: 6
Views: 1779

Re: Dynamic MaxBarsBack ? [SOLVED]

hbscreener, you have to avoid looking back at previous bars values, like you do within the highest function. One way to deal with that could be to keep an array of the last 250 bar values and find your highest value within the array. Regards, ABC Thank you so much, ABC. It is definitely a way out f...
by hbscreener
05 Apr 2019
Forum: MultiCharts
Topic: Dynamic MaxBarsBack ? [SOLVED]
Replies: 6
Views: 1779

Re: Dynamic MaxBarsBack ? [SOLVED]

Why do you have less than 250 bars of data? That's not a lot of data. This is like going to a soccer match with 6 players. You have to decide: do you want to play the game or not. Thanks, TJ. The portfolio actually contains a large basket of stocks, with long history and short. I just want to calcu...
by hbscreener
04 Apr 2019
Forum: MultiCharts
Topic: Dynamic MaxBarsBack ? [SOLVED]
Replies: 6
Views: 1779

Re: Dynamic MaxBarsBack ? [SOLVED]

Thanks TJ.

Is it impossible to do so?
by hbscreener
04 Apr 2019
Forum: MultiCharts
Topic: Dynamic MaxBarsBack ? [SOLVED]
Replies: 6
Views: 1779

Dynamic MaxBarsBack ? [SOLVED]

Hi all, I use the Portfolio Trader to load, say 100 symbols. Different symbols contain different number of bars. If the symbol has >= 250 bars, the highest high of the recent 250 bars is obtained. If the symbol has < 250 bars, the highest high of all the bars is obtained. The code is shown below. if...

Go to advanced search