Search found 19 matches

by krzysiaczek99
06 Feb 2024
Forum: MultiCharts
Topic: setting up different swap rates
Replies: 3
Views: 150

Re: setting up different swap rates

Hello krzysiaczek99, Please describe your issue in detail. What exactly are you trying to achieve? Could you please provide any examples from other platforms? Also please send screenshots demonstrating the issue if possible. I want to achieve possibility of backtest FOREX data. For example for 1 lo...
by krzysiaczek99
06 Feb 2024
Forum: MultiCharts
Topic: setting up different swap rates
Replies: 3
Views: 150

setting up different swap rates

How I can set up different swap rates for long and short in MC. Is it possible ?

Krzysztof
by krzysiaczek99
12 Jul 2023
Forum: MultiCharts
Topic: switching chart type during optimization from Easy Language
Replies: 1
Views: 285

switching chart type during optimization from Easy Language

Hi all, Is it possible to switch chart type in EL script e.g for one value from optimizer to be OHLC and another RENKO? ChatGPT says its possible saying I can use SetChartType or ChartType but they don't compile. Yes, `ChartType` and `SetChartType` are common for both Easy Language and Power Languag...
by krzysiaczek99
08 Jul 2023
Forum: MultiCharts
Topic: Optimization results mess when Portfolio Trader is used
Replies: 2
Views: 397

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 Money...
by krzysiaczek99
05 Jul 2023
Forum: MultiCharts
Topic: Optimization results mess when Portfolio Trader is used
Replies: 2
Views: 397

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 between two strategies is done even those strategies are separ...
by krzysiaczek99
03 Jul 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

Hi, I know that only primary instrument can be traded but we are talking here about backtest and optimization results not trading. The pourpose of this script was to make fully automated backtest on multiple symbols using exhausive optimization, by iterating over dataindex i wanted to do if for mult...
by krzysiaczek99
30 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

Hi krzysiaczek99, The FAQ that TJ pointed out does have the correct information for handling multiple data series, including function calls. The topic is not the most apparent to figure out for an easy language. It is ok to ask how to write the code but you included a function from John Ehler that ...
by krzysiaczek99
29 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

is my advice wrong?
or
your code does not work?

there is a difference.
reply was made as a solution to problem described in this thread and its not working. It feeds data from different instrument to EL script but it don't affect backtest or optimization results what is a subject of this thread
by krzysiaczek99
28 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

See post #5 https://www.multicharts.com/discussion/viewtopic.php?t=6929 Unfortunatelly your advice is wrong. After modifying code as below, backtest is still done on data1 even after setting idx = 2. So please advice how it is possible to change input data inside the script to get correct backtest ...
by krzysiaczek99
24 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

See post #5
viewtopic.php?t=6929
Can you just give example how my code should be changed to be able to iterate over different instruments using optimizer ?
by krzysiaczek99
24 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

See post #5 https://www.multicharts.com/discussion/viewtopic.php?t=6929 I simple want to iterate over dataindex to make multiple instruments backtest using optimizer. Optimizer results are faulty as well when you change dataindex to use different instruments. If I use the trick as in my last post a...
by krzysiaczek99
23 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

the same bug occurs also when such code is used:
if idx = 1 then Price = Close of Data1;
if idx = 15 then Price = Close of Data15;
and idx set yo 15
by krzysiaczek99
23 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

Re: faulty backtest results when dataindex is used

additiona attachements
instr15.jpg
USDJPY has index 15
(638.95 KiB) Not downloaded yet
test15.jpg
setting of dataindex to 15
(193.5 KiB) Not downloaded yet
res15.jpg
backtests results
(840.07 KiB) Not downloaded yet
by krzysiaczek99
23 Jun 2023
Forum: MultiCharts
Topic: faulty backtest results when dataindex is used
Replies: 12
Views: 889

faulty backtest results when dataindex is used

res15_1.jpg test1.jpg instr1.jpg res1.jpg res1_1.jpg Hi, I have following code: Inputs: dataindex(1), RSILength(14); Vars: oResult1(0), ObLevel(0.8), OsLevel(-0.8), Price(0); Price = Close of Data(dataindex); oResult1 = JohnEhler_My_RSI( RSILength, Price ); if oResult1 crosses under 0 then SellShor...
by krzysiaczek99
26 Sep 2012
Forum: MultiCharts
Topic: Multicharts and R
Replies: 17
Views: 6853

Multicharts and R

Hi,

I would like to have a communication between R and Multicharts. Is it possible to use Global Variable for it ?? i.e. if I will call Global variable dll from R will I have access to global memory used
by MC ?? Or maybe there is another method.

Krzysztof
by krzysiaczek99
25 Sep 2012
Forum: MultiCharts
Topic: is custom fitness working ??
Replies: 2
Views: 1256

is custom fitness working ??

My fitness function is like this if (StrategyPerformance.TotalTrades > 200) { if (StrategyPerformance.AvgBarsInWinningTrades > 4) { return StrategyPerformance.PercentProfitable*StrategyPerformance.Profitfactor; } } Than im getting in optimization report Average bars in winner = 2 and total number of...
by krzysiaczek99
24 Sep 2012
Forum: MultiCharts
Topic: Why no trades ?? [SOLVED]
Replies: 4
Views: 1132

Re: Why no trades ?? [SOLVED]

Hi,

I found the reason of the problem. During import of the data Big Point Value must be changed to 1, I have it set for MC 5.5. When i changed it to 1 from 10000, strategy started to work.

Thanks anyway, Krzysztof
by krzysiaczek99
24 Sep 2012
Forum: MultiCharts
Topic: Why no trades ?? [SOLVED]
Replies: 4
Views: 1132

Re: Why no trades ?? [SOLVED]

I will try it. However if "Crosses under" would not work than AAA in my test would not be printed but it is. Beside the version difference that data was imported using "ASCII mapping". In working case of MC 5.5 it is fetched from global server. It should not matter as it is displayed and indicator w...
by krzysiaczek99
23 Sep 2012
Forum: MultiCharts
Topic: Why no trades ?? [SOLVED]
Replies: 4
Views: 1132

Why no trades ?? [SOLVED]

I have the old MC 5.5 and took strategy and data from it and imported to MC 8.0 but the same strategy on the same data doesn't generate trading signals at all. Data after import is properly displayed at MC 8, its not a problem to attach e.g. indicator to it. MC 5.5 generate trades with no problem fo...

Go to advanced search