Search found 12 matches
- 08 Jun 2021
- Forum: MultiCharts
- Topic: Several strategies on same instrument, but only one position at a time
- Replies: 1
- Views: 526
Several strategies on same instrument, but only one position at a time
Hi, I have created two different strategies for one particular instrument. I have each strategy on separate chart windows. I would like to autotrade both strategies simultaneously, but I only want one position at a time. That is, if one strategy has triggered a buy-signal and has bought, I do not wa...
- 09 Dec 2015
- Forum: MultiCharts
- Topic: Autotrading futures from the index chart?
- Replies: 1
- Views: 954
Autotrading futures from the index chart?
I am autotrading index futures from the futures charts now and that works fine.
Is it also possible to autotrade the same futures from the index chart?
And if so, how?
Is it also possible to autotrade the same futures from the index chart?
And if so, how?
- 21 Mar 2015
- Forum: MultiCharts
- Topic: Setprofittarget function with profit in percent [SOLVED]
- Replies: 7
- Views: 2635
Re: Setprofittarget function with profit in percent [SOLVED]
Erik, With intrabarorder generation on, "this bar on close" will fire immediately and not really wait for the bar to close. Not for me. In my backtest all exits are wrongly taken at the close of the bar. Not where my optimimized profit target is. My code starts with: [IntrabarOrderGeneration = true]...
- 19 Mar 2015
- Forum: MultiCharts
- Topic: Setprofittarget function with profit in percent [SOLVED]
- Replies: 7
- Views: 2635
Re: Setprofittarget function with profit in percent [SOLVED]
OK, thanks
Then I have to find a way to set the profit target in percent without using the Setprofit function. Anyone who knows how, in conjunction with Intrabar order generation and Bar Magnifier?
Then I have to find a way to set the profit target in percent without using the Setprofit function. Anyone who knows how, in conjunction with Intrabar order generation and Bar Magnifier?
- 18 Mar 2015
- Forum: MultiCharts
- Topic: Setprofittarget function with profit in percent [SOLVED]
- Replies: 7
- Views: 2635
Re: Setprofittarget function with profit in percent [SOLVED]
Erik Pepping,
I am doing it on EUR.USD forex. I have tried without decimals, 1 and 2 percent, which is approx the same profit target I know gives good result if I set the profits in points.
But with percent, entry and exit is taken at the same level each time. So backtested profit is 0.
Strange.
I am doing it on EUR.USD forex. I have tried without decimals, 1 and 2 percent, which is approx the same profit target I know gives good result if I set the profits in points.
But with percent, entry and exit is taken at the same level each time. So backtested profit is 0.
Strange.
- 18 Mar 2015
- Forum: MultiCharts
- Topic: Setprofittarget function with profit in percent [SOLVED]
- Replies: 7
- Views: 2635
Setprofittarget function with profit in percent [SOLVED]
I use IntrabarOrderGeneration and Bar Magnifier in my strategy, and use Setprofittarget(amount); Setstoploss(amount); for exit. And that works when amount is set in points. But I want to set the exits in percent of entryprice. I have tried: Input: Percent(1); Var: Profit(0); Profit = entryprice*Perc...
- 29 Jan 2015
- Forum: MultiCharts
- Topic: How to enter with Bar Magnifier?
- Replies: 10
- Views: 3989
Re: How to enter with Bar Magnifier?
Andrew,
Thank you very much for the email, I dont have time for the moment to work with the code, but I will next week.
Regards
Orjan
Thank you very much for the email, I dont have time for the moment to work with the code, but I will next week.
Regards
Orjan
- 26 Jan 2015
- Forum: MultiCharts
- Topic: How to enter with Bar Magnifier?
- Replies: 10
- Views: 3989
Re: How to enter with Bar Magnifier?
Andrew,
I have sent the files now
Regards
Orjan
I have sent the files now
Regards
Orjan
- 21 Jan 2015
- Forum: MultiCharts
- Topic: How to enter with Bar Magnifier?
- Replies: 10
- Views: 3989
Re: How to enter with Bar Magnifier?
- "If the stop loss is filled, then the only reason why the profit target is not filled at the same bar is that price never reached the profit target, or it reaches the stop loss first." Yes. But in no trade at all in my backtest is profit filled in the entry bar. Despite the profit target price is ...
- 20 Jan 2015
- Forum: MultiCharts
- Topic: How to enter with Bar Magnifier?
- Replies: 10
- Views: 3989
Re: How to enter with Bar Magnifier?
Andrew, Yes, you understood my entry strategy. And the entry works now, thank you. But I want to exit the trade in the same bar as I enter. The reason why I use "next bar" in the code is that I thought that "next bar" in conjunction with Bar Magnifier means next bar in the lower resolution (higher r...
- 19 Jan 2015
- Forum: MultiCharts
- Topic: How to enter with Bar Magnifier?
- Replies: 10
- Views: 3989
Re: How to enter with Bar Magnifier?
Thanks Andrew, I did as you said and only one entry was plotted in the chart (2011-02-22) and I got this message in Output: ==================== The date is 2015-01-19, time is 17:00:00, bar # is 1315.00, current bar open is 1.16, current bar high is 1.16, current bar low is 1.16, current bar close ...
- 19 Jan 2015
- Forum: MultiCharts
- Topic: How to enter with Bar Magnifier?
- Replies: 10
- Views: 3989
How to enter with Bar Magnifier?
When previous days low has been taken out, I want to go long within the same bar directly after the price goes above the previous days high. But my code buys, wrongly, at the high of the current bar. See pic, blue arrow. I use Intrabar Order Generation and Bar Magnifier (1 second) because enter and ...