Search found 83 matches
- 05 May 2016
- Forum: MultiCharts
- Topic: Can session template be exported? [SOLVED]
- Replies: 3
- Views: 1748
Re: Can session template be exported? [SOLVED]
Hi I do not want to set default session on the symbol as different strategies may use different time on same symbol
- 04 May 2016
- Forum: MultiCharts
- Topic: Can session template be exported? [SOLVED]
- Replies: 3
- Views: 1748
Can session template be exported? [SOLVED]
I create a workspace with 20 symbols and each symbol use different session template. When I send this workspace to another PC and open it, the session template will be set to default. I think it because I don't have the required session template in the new PC. Is there any way to overcome this probl...
- 26 Apr 2016
- Forum: MultiCharts
- Topic: How do you do BollingerBand for daily on a 5 minute chart? [SOLVED]
- Replies: 2
- Views: 1543
How do you do BollingerBand for daily on a 5 minute chart? [SOLVED]
I wanted BollingerBand(c,5,1) for daily value and thus I put i on a daily chart.
Now I am migrating to a 5minute chart. If I put BollingerBand(c,5,1) then it will refer to the 5 minutes bars.
Now I am migrating to a 5minute chart. If I put BollingerBand(c,5,1) then it will refer to the 5 minutes bars.
- 05 Apr 2016
- Forum: MultiCharts
- Topic: Workspace session template is different on another PC [SOLVED]
- Replies: 1
- Views: 1201
Workspace session template is different on another PC [SOLVED]
Hi, I am using the session template (Format instrument->Format->Settings->Session) in the workspace. Say I have a session template called US hours 1530-2215. When I transferred this workspace to another PC without the session template and open the workspace with the other PC, the session template wi...
- 05 Apr 2016
- Forum: MultiCharts
- Topic: Retrieve Return On Account backtesting figure [SOLVED]
- Replies: 1
- Views: 1198
Retrieve Return On Account backtesting figure [SOLVED]
I know net profit can be retrieved by the keyword netprofit. is there any way to get ROA?
- 05 Apr 2016
- Forum: MultiCharts
- Topic: We have numtostr. But what about Bool to Str. [SOLVED]
- Replies: 1
- Views: 1284
We have numtostr. But what about Bool to Str. [SOLVED]
is there any elegant way to do it rather than a multiple if? I googled and cannot find anything about it
- 05 Apr 2016
- Forum: MultiCharts
- Topic: In Easylanguage, how do I get the session timing that is in [SOLVED]
- Replies: 3
- Views: 2030
Re: In Easylanguage, how do I get the session timing that is [SOLVED]
I wanted to place a signal in this instrument and find out the session time of the instrument.
I tried using print(NumToStr(sessionstarttime(1,1),0)) and it will give me 0005-2355 which is the session time in quotemanager.
- 04 Apr 2016
- Forum: MultiCharts
- Topic: In Easylanguage, how do I get the session timing that is in [SOLVED]
- Replies: 3
- Views: 2030
In Easylanguage, how do I get the session timing that is in [SOLVED]
Format instrument->Setting->Chart Setting->Sessions?
I tried to do
but that give me the session time in quotemanager
I tried to do
Code: Select all
NumToStr(sessionstarttime(1,1),0)
- 29 Mar 2016
- Forum: MultiCharts
- Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
- Replies: 5
- Views: 2650
Re: how to know whether data 2 is null in easylanguage? [SOLVED]
I don't think this is a bug, just standard program behavior. You could check for the date of the current last bar, specifically to make sure that it's the same as on data1. You can also write code to check if there is a holiday on the data symbol or on a regular trading day. Regards, ABC yes. same ...
- 28 Mar 2016
- Forum: MultiCharts
- Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
- Replies: 5
- Views: 2650
Re: how to know whether data 2 is null in easylanguage? [SOLVED]
yes. same 5 minutes resolution.
For example, 22/2/2016, data 1 is trading and data 2 is a holiday.
If you try print(c of data2) when data 2 has no bar, it will give you the closeD of data2 of 21/2/2016 which is very misleading. This is a bug in multichart.
For example, 22/2/2016, data 1 is trading and data 2 is a holiday.
If you try print(c of data2) when data 2 has no bar, it will give you the closeD of data2 of 21/2/2016 which is very misleading. This is a bug in multichart.
- 28 Mar 2016
- Forum: MultiCharts
- Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
- Replies: 5
- Views: 2650
how to know whether data 2 is null in easylanguage? [SOLVED]
Let say at time 1200 data 1 has a bar and data 2 has a null bar. How do you check data2 has a null bar?
is there something like "bar of data2=null"
is there something like "bar of data2=null"
- 09 Mar 2016
- Forum: MultiCharts
- Topic: how to exit only one contract for multiple contracts setting [SOLVED]
- Replies: 5
- Views: 2204
Re: how to exit only one contract for multiple contracts set [SOLVED]
yes you can try it on your side. and I think you will get the same result.Is this all your code?Thanks but it don't really work.
I have your code and it don't work
::
- 09 Mar 2016
- Forum: MultiCharts
- Topic: how to exit only one contract for multiple contracts setting [SOLVED]
- Replies: 5
- Views: 2204
Re: how to exit only one contract for multiple contracts set [SOLVED]
Thanks but it don't really work. I have your code and it don't work if (Random(10)>9.9) then begin if (marketposition>=0) then buy 1 Contract next bar at market else if (marketposition<0) then buy to cover 1 Contract next bar at market; end; if (Random(10)<0.1) then begin if (marketposition>0) then ...
- 08 Mar 2016
- Forum: MultiCharts
- Topic: how to exit only one contract for multiple contracts setting [SOLVED]
- Replies: 5
- Views: 2204
how to exit only one contract for multiple contracts setting [SOLVED]
Hi I allow multiple entry for my signal. let say i buy this bar at close 4 times at 4 different timing and now my net position is 4.
If I has a code saying sell this bar at close, then it will sell all 4. How do I sell 1 by 1 instead of all 4?
If I has a code saying sell this bar at close, then it will sell all 4. How do I sell 1 by 1 instead of all 4?
- 16 Jun 2015
- Forum: MultiCharts
- Topic: Slippage settings in Portfolio Trader
- Replies: 12
- Views: 5390
Re: Slippage settings in Portfolio Trader
I agree with what OP has stated
- 29 Jan 2015
- Forum: MultiCharts
- Topic: Why can't this data cannot be set as 5 mins resolution? [SOLVED]
- Replies: 1
- Views: 1081
Why can't this data cannot be set as 5 mins resolution? [SOLVED]
It only recognise the file as one min resolution 01/26/2015,0005,0.7867,0.7871,0.7858,0.7868 01/26/2015,0010,0.7866,0.7868,0.7855,0.7856 01/26/2015,0015,0.7856,0.786,0.7851,0.7852 01/26/2015,0020,0.7852,0.7852,0.7845,0.7847 01/26/2015,0025,0.7848,0.7848,0.7843,0.7847 01/26/2015,0030,0.7848,0.7853,0....
- 28 Nov 2014
- Forum: MultiCharts
- Topic: How many Multichart chart can you run in one computer
- Replies: 5
- Views: 1915
Re: How many Multichart chart can you run in one computer
I have 16GB here. Realistically how many MC charts can I run? Have anyone run a test on it?
Does drawing the ticks consume a lot of resources? If we make the bars invisible, will it help?
Does drawing the ticks consume a lot of resources? If we make the bars invisible, will it help?
- 28 Nov 2014
- Forum: MultiCharts
- Topic: How many Multichart chart can you run in one computer
- Replies: 5
- Views: 1915
How many Multichart chart can you run in one computer
With strategy on each chart? I tried running 30 and it seems fine.
Was thinking whether it can take 300?
Was thinking whether it can take 300?
- 26 Nov 2014
- Forum: MultiCharts
- Topic: Own data feed into MC (streaming)
- Replies: 2
- Views: 1592
Own data feed into MC (streaming)
Is it possible? Is this? MultiCharts Data API - Call 1-888-340-6572 for more details The MultiCharts Data API allows you to connect any third-party real-time and historical data feeds to our MultiCharts package. When data feeds you want are not supported originally, you can use this API to make use ...
- 18 Nov 2014
- Forum: MultiCharts
- Topic: Multicharts become unstable with Windows 7 running in Centos
- Replies: 4
- Views: 1685
Re: Multicharts become unstable with Windows 7 running in Ce
dedicated server. Spec is multicore with 3 Ghz and 16GB of RAM. No firewall and antivirus enabled.
- 17 Nov 2014
- Forum: MultiCharts
- Topic: What the difference between buy and buy to cover?
- Replies: 6
- Views: 2903
Re: What the difference between buy and buy to cover?
Thanks for the replies. 1) So if you are short 11 and you have a code buy to cover next bar at market (note no contract size is input) , will you get a flat position? 2) if you are already long 3 and you have a code buy 5 contracts next bar at market , will you get position of +5 or +8? Actually I w...
- 17 Nov 2014
- Forum: MultiCharts
- Topic: What the difference between buy and buy to cover?
- Replies: 6
- Views: 2903
What the difference between buy and buy to cover?
Let say you have a short position of 5 and will there be a difference between
1) "buy to cover 10 contracts at next bar"
2) "buy 10 contracts at next bar"
1) "buy to cover 10 contracts at next bar"
2) "buy 10 contracts at next bar"
- 17 Nov 2014
- Forum: MultiCharts
- Topic: Multicharts become unstable with Windows 7 running in Centos
- Replies: 4
- Views: 1685
Multicharts become unstable with Windows 7 running in Centos
Hi I rented a server with Centos and installed virtual box and run windows 7.
Strangely MC become very slow and unstable. Anyone have any idea why?
Strangely MC become very slow and unstable. Anyone have any idea why?
- 04 Nov 2014
- Forum: MultiCharts
- Topic: help with time entry and time exit
- Replies: 3
- Views: 1253
Re: help with time entry and time exit
Code: Select all
[intrabargeneration=true]
if t[0]=XXXX then
buy this bar at close
if t[0]=YYYY then
sell this bar at close
- 04 Nov 2014
- Forum: MultiCharts
- Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
- Replies: 8
- Views: 2625
Re: tick data has a high 2017 but 5 minutes bar is not showi [SOLVED]
when I do a .rld, do multichart reload tick data too? I am confused about 3 questions 1) I have CQG pro feed using API and retail feed using IC. Both are showing a high of 2017 while MC is showing a high of 2016.25 (at least more than 1hr after this happen). How is it possible as Henry say that MC r...
- 03 Nov 2014
- Forum: MultiCharts
- Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
- Replies: 8
- Views: 2625
Re: tick data has a high 2017 but 5 minutes bar is not showi [SOLVED]
So can MC support stuff clarify how MC get the tick and 5min data if we are using live feed from CQG? Will it go through MC server first and MC server build the 5min bar? It seems impossible to connect to CQG as I did not find any CQG API in MC64 folder (the CQG dll is MC proprietary dll)
- 03 Nov 2014
- Forum: MultiCharts
- Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
- Replies: 8
- Views: 2625
Re: tick data has a high 2017 but 5 minutes bar is not showi [SOLVED]
@TJ: The tick data of MC also shows 2017 and I have a CQG client running and they are show 2017 for the high. Only MC 5 min chart show a high of 2016.25 but it was fixed to 2017 more than 2hr later
- 03 Nov 2014
- Forum: MultiCharts
- Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
- Replies: 8
- Views: 2625
Re: tick data has a high 2017 but 5 minutes bar is not showi [SOLVED]
I wrote a small program to build the 5 mins bar from MC tick data that I exported The red bar is the 5 mins bar I built myself and the green bar are from MC. I am using CQG as data feed provider. These bars are from quite long ago and I have refreshed a few times already. Notice there are some discr...
- 03 Nov 2014
- Forum: MultiCharts
- Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
- Replies: 8
- Views: 2625
tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
I am using CQG live feed. Symbol is mini S&P and the affected time frame is 3rd Nov 2014 Basically tick data has a 2017 5 min bar does not have it, and show tick of 2016.25 Why is it so? If we choose 1 day resolution, MC has an option to build from 5 min bars. When I did not choose this, MC will sho...
- 29 Oct 2014
- Forum: MultiCharts
- Topic: EntryPrice showing 0 for buy to cover. [SOLVED]
- Replies: 3
- Views: 1302
Re: EntryPrice showing 0 for buy to cover. [SOLVED]
actually I found the answer by chance. It exitprice(1).
- 28 Oct 2014
- Forum: MultiCharts
- Topic: Check FileExists in easylanguage
- Replies: 1
- Views: 1011
Check FileExists in easylanguage
There is fileappend and filedelete. But how do I check fileexist in multichart?
- 28 Oct 2014
- Forum: MultiCharts
- Topic: Anyway to get signal to run again on_filled in simulation?
- Replies: 1
- Views: 831
Anyway to get signal to run again on_filled in simulation?
I am in simulation mode (live feed) and using 5min bar. Say at beginning of bar, I have a bar signal and on the 3rd min, I am filled. Can I get MC to recalculate my code again once there is filled? There is a option in autotrading called onmarketpositionchage (recalculate on broker event) but this i...
- 27 Oct 2014
- Forum: MultiCharts
- Topic: print current market position first time indicator is
- Replies: 1
- Views: 773
print current market position first time indicator is
print current market position first time indicator is applied? I was wondering how can I do this cleanly.
I can code
but this will print the MarketPosition of bar number 1. I need the current market position.
I can code
Code: Select all
if (barnumber=1) then
print(MarketPosition);
- 26 Oct 2014
- Forum: MultiCharts
- Topic: EntryPrice showing 0 for buy to cover. [SOLVED]
- Replies: 3
- Views: 1302
EntryPrice showing 0 for buy to cover. [SOLVED]
For buy signal, the keyword entryprice allow me to know the price it bought at. But if for buy to cover signal, it shows 0. I tried exitprice but it still show 0. Anyone know how can I get the entryprice to buytocover?
- 24 Oct 2014
- Forum: MultiCharts
- Topic: Exchanging data between MC and C#
- Replies: 4
- Views: 1805
Exchanging data between MC and C#
Just wondering whether it can be done? Maybe write to text and reading from text may be an option but is there a better option?
- 23 Oct 2014
- Forum: MultiCharts
- Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
- Replies: 5
- Views: 1683
Re: IntrabarOrderGeneration=True & buy next bar at inside li [SOLVED]
Maybe I check it again tomorrow when the market is open. I understand what you mean and I thought MC will do what you have described. But I experienced otherwise. Thanks.
- 23 Oct 2014
- Forum: MultiCharts
- Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
- Replies: 5
- Views: 1683
Re: IntrabarOrderGeneration=True & buy next bar at inside li [SOLVED]
sorry for not being clear. I know what is a limit and what is a buy. Let say I would like to place a 100 limit buy if the price touch 102. if (currentprice<=102) then buy next bar at 100 limit 1st min: 107 2nd min: 102 3rd min:99.9 On the 2nd minute, MC will not place the 100 limit buy immediately. ...
- 23 Oct 2014
- Forum: MultiCharts
- Topic: strange output from code [SOLVED]
- Replies: 1
- Views: 951
strange output from code [SOLVED]
vars:oldtime(0); print("old time: "+NumToStr(oldtime,2)+"new time: "+NumToStr(time[0],2)); oldtime=time[0]; Did a generic indicator to illustrate this problem. It is running on live feed old time: 2145.00new time: 2150.00 old time: 2145.00new time: 2150.00 old time: 2150.00new time: 2155.00 old tim...
- 23 Oct 2014
- Forum: MultiCharts
- Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
- Replies: 5
- Views: 1683
IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
On a 5min bar chart, there is no signal in the first minute. But in 2nd minute, a signal appear and I would want to trade on the signal immediately. Now I am using this code buy next bar at inside limit However, this code will only buy on next bar open. Is there a way to buy this bar at inside limit?
- 23 Apr 2014
- Forum: MultiCharts
- Topic: Passing array to function such as average or RSI?
- Replies: 3
- Views: 1801
Re: Passing array to function such as average or RSI?
I tried doing something like this but it invalid value12=RSI(HighDaily,3)[0]; I think it because HighDaily is an array which is NumericSimple and RSI need NumericSeries. How do I create a numericseries? I think if all this fail I will just create my own algo to calculate things like RSI and average
- 23 Apr 2014
- Forum: MultiCharts
- Topic: Passing array to function such as average or RSI?
- Replies: 3
- Views: 1801
Passing array to function such as average or RSI?
Hi value10=average(HighDaily[0],2); value11=(HighDaily[0]+HighDaily[1])/2; This works as value10 has same value as value11 value10=average(HighDaily[0],3); value11=(HighDaily[0]+HighDaily[1]+HighDaily[2])/3; This don't work as value10 has different value as value11 HighDaily is of type Array. Anyone...
- 11 Dec 2013
- Forum: MultiCharts .NET
- Topic: any way to cancel a order?
- Replies: 1
- Views: 1549
any way to cancel a order?
For limit order buy_order.send(), is there anyway to cancel it next period?
- 11 Dec 2013
- Forum: MultiCharts .NET
- Topic: Automated trading API: Broker want charge extra fee?
- Replies: 1
- Views: 1186
Automated trading API: Broker want charge extra fee?
We emailed our broker and they wanted to charge us a fixed cost+variable cost per contract for using Pats API. Anyone has experience dealing with using MC.net for automated trading? Is there any way to use the brokers API for free or is this the norm we have to pay? Thanks in advance.
- 27 Nov 2013
- Forum: MultiCharts
- Topic: How does MC calculate drawdown?
- Replies: 1
- Views: 1225
- 30 May 2013
- Forum: MultiCharts .NET
- Topic: Is there any simple way to buy at the end of the month?
- Replies: 1
- Views: 1406
Is there any simple way to buy at the end of the month?
Let say if we use if (bars.time[0].month!=bars.time[1].month) then we only get to buy at start of next month.
If we use if (bars.time[0].month!=bars.time[1].month) we can only buy at start of next month because OrderCreator.MarketThisBar cannot be used.
If we use if (bars.time[0].month!=bars.time[1].month) we can only buy at start of next month because OrderCreator.MarketThisBar cannot be used.
- 29 May 2013
- Forum: MultiCharts
- Topic: Using marketposition in indicator
- Replies: 1
- Views: 1889
Using marketposition in indicator
I wanted to use alerts in signal but it does not work. So to get around this problem I decided to create a indicator which alert me when there is buying/selling opportunity. But the indicator must know whether it has a market position before they can advise. But the problem is that I cannot use mark...
- 28 May 2013
- Forum: MultiCharts
- Topic: "not connected" error for Multichart 64
- Replies: 1
- Views: 1819
"not connected" error for Multichart 64
I use both MC and MC.net. I added a symbol called GB M3-DT (e-signal) in Multichart.net 1) quote manager for MC .net and 2) quote manager for MC 64. It work perfectly for the MC .net but for MC 64 it will keep complaining that it is not connected. The step is totally the same for both. Any idea why ...
- 27 May 2013
- Forum: MultiCharts .NET
- Topic: Can we draw plot in a signal? [SOLVED]
- Replies: 1
- Views: 1932
Can we draw plot in a signal? [SOLVED]
Is there any way to do it? It is to save time having an indicator and signal
- 22 May 2013
- Forum: MultiCharts .NET
- Topic: Regarding contract sizing
- Replies: 1
- Views: 1535
Regarding contract sizing
I have read the help file and it wrote that I can buy more than 4 contract with buy_order.Send(4). However, I tried and I still can only buy one contract. Which setting am I missing?
- 22 May 2013
- Forum: MultiCharts .NET
- Topic: Importing via Ascii mapping
- Replies: 1
- Views: 1422
Importing via Ascii mapping
Hi I have 5 mins data and I import using Ascii mapping. When I change it to 1 day resolution, it will complain no data received. If I change back to 5 mins, it will show the data. So if we use Ascii mapping and have 5 mins data, we cannot use 1 day resolution?
- 22 May 2013
- Forum: MultiCharts .NET
- Topic: ASCII mapping only allow one folder?
- Replies: 3
- Views: 1817
Re: ASCII mapping only allow one folder?
how do we do it?
Do we first press the map button and choose one folder. Then press okay.
After that, we choose another folder and press okay. Will the first folder mapping be gone?
Do we first press the map button and choose one folder. Then press okay.
After that, we choose another folder and press okay. Will the first folder mapping be gone?
- 22 May 2013
- Forum: MultiCharts .NET
- Topic: ASCII mapping only allow one folder?
- Replies: 3
- Views: 1817
ASCII mapping only allow one folder?
Can we map multi folder for ascii mapping or can we only specify one path?
- 16 May 2013
- Forum: MultiCharts .NET
- Topic: How accurate is genetic optimization?
- Replies: 1
- Views: 1595
How accurate is genetic optimization?
Compared to exhaustive optimization, genetic optimization is fast. Can we get near-optimal solution from genetic optimization?
- 30 Apr 2013
- Forum: MultiCharts .NET
- Topic: How do I use OrderCreator.MarketThisBar? [SOLVED]
- Replies: 5
- Views: 3778
Re: How do I use OrderCreator.MarketThisBar? [SOLVED]
Hello maisatomai, Sorry for the typo. You can use MarketNextBar order if you are in CalcAtOpenNextBar mode. How do I get around this problem? I want to look at the next bar and if next bar is equal to 1/1/13 (for example), I will buy at this bar (which is 31/12/12). MarketThisBar order works only i...
- 28 Apr 2013
- Forum: MultiCharts .NET
- Topic: How do I use OrderCreator.MarketThisBar? [SOLVED]
- Replies: 5
- Views: 3778
Re: How do I use OrderCreator.MarketThisBar? [SOLVED]
Hello maisatomai, OrderCreator.MarketThisBar is not supported if [CalcAtOpenNextBar(true)]. You can use CalcAtOpenNextBar in this mode. Thanks Henry. Is this a typo? "You can use CalcAtOpenNextBar in this mode". Do you mean to say "You can't use CalcAtOpenNextBar in this mode" How do I get around t...
- 25 Apr 2013
- Forum: MultiCharts .NET
- Topic: how do I get next bar month?
- Replies: 6
- Views: 2284
Re: how do I get next bar month?
Andrew MultiCharts is very helpful. I apologize if this thread causes you any distress. I have a problem. If the year has 29th June, 30 June, 1 July, and if I use time[-1] to know whether month has changed, the earliest I can buy is on 30 June. However, I want my program to buy on 29th June. Is it p...
- 25 Apr 2013
- Forum: MultiCharts .NET
- Topic: How do I use OrderCreator.MarketThisBar? [SOLVED]
- Replies: 5
- Views: 3778
How do I use OrderCreator.MarketThisBar? [SOLVED]
If I change the below code OrderCreator.MarketNextBar, it will work all right. But if it is using OrderCreator.MarketThisBar, it did not create any position. The code is to buy on last day of the month. using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; using ATCent...
- 25 Apr 2013
- Forum: MultiCharts .NET
- Topic: how do I get next bar month?
- Replies: 6
- Views: 2284
Re: how do I get next bar month?
Yes, sadly this message was posted around 20 minutes before you send me the solution. You can lock or delete it.
- 25 Apr 2013
- Forum: MultiCharts .NET
- Topic: how do I get next bar month?
- Replies: 6
- Views: 2284
Re: how do I get next bar month?
I have spend 1.5 hrs in chat room without any solution.
I just want to do a signal which buy on last day of the month.
int thisbar=Bars.CurrentBar;
int test=Bars.FullSymbolData.Time[thisbar+1].Month;
int test1=Bars.Time[0].Month;
if (test!=test1)
buy_order.Send();
This give me error
I just want to do a signal which buy on last day of the month.
int thisbar=Bars.CurrentBar;
int test=Bars.FullSymbolData.Time[thisbar+1].Month;
int test1=Bars.Time[0].Month;
if (test!=test1)
buy_order.Send();
This give me error
- 25 Apr 2013
- Forum: MultiCharts .NET
- Topic: how do I get next bar month?
- Replies: 6
- Views: 2284
how do I get next bar month?
I want to get the month (e.g. Month=3 for march) for the next bar.
And this does not work.
int nextbarmonth=Bars.TimeNextBar.Month;
Anyone know how can I get it to work?
And this does not work.
int nextbarmonth=Bars.TimeNextBar.Month;
Anyone know how can I get it to work?
- 10 Apr 2013
- Forum: MultiCharts .NET
- Topic: Access P&L without using strategy performance report
- Replies: 6
- Views: 2529
Re: Access P&L without using strategy performance report
how do the optimization know which variable do we want to change to change in order to optimize?
- 10 Apr 2013
- Forum: MultiCharts .NET
- Topic: what is the different between sell and shortsell in code?
- Replies: 1
- Views: 1526
what is the different between sell and shortsell in code?
what is the difference between EOrderAction.SEll and EOrderAction.Sellshort in code execution. Both seems to give the same thing
- 09 Apr 2013
- Forum: MultiCharts .NET
- Topic: can we call a signal from our own main function
- Replies: 1
- Views: 1362
can we call a signal from our own main function
Can we have a main function which we can call the signal we want. If there is, how do we know which instruments does the signal apply to?
- 09 Apr 2013
- Forum: MultiCharts .NET
- Topic: Access P&L without using strategy performance report
- Replies: 6
- Views: 2529
Re: Access P&L without using strategy performance report
also I understand when I call the strategy, the program will go through all the data bar once to do the necessary code.
Is I am backtesting and wish to try out different parameters for my strategy, how do I do it?
Is I am backtesting and wish to try out different parameters for my strategy, how do I do it?
- 09 Apr 2013
- Forum: MultiCharts .NET
- Topic: Access P&L without using strategy performance report
- Replies: 6
- Views: 2529
Re: Access P&L without using strategy performance report
I have a strategy which has 2 variables which I wish to optimize. I wish to put it into a for loop and run the strategy, adjusting the 2 variables each time, so that I can know which is the most profitable variables parameters.
- 09 Apr 2013
- Forum: MultiCharts .NET
- Topic: BarsOfData() question [SOLVED]
- Replies: 2
- Views: 3835
BarsOfData() question [SOLVED]
I have subchart 1,2,3 and when I use BarsOfData(3).Close[0], it prompt an error and tell me subchart 4 is not set up.
- 09 Apr 2013
- Forum: MultiCharts .NET
- Topic: Access P&L without using strategy performance report
- Replies: 6
- Views: 2529
Access P&L without using strategy performance report
Are we able to do it in code?
- 01 Apr 2013
- Forum: MultiCharts .NET
- Topic: share variables value between indicators?
- Replies: 1
- Views: 1569
share variables value between indicators?
Let say you have method1le and method1se. Can method1se access a int variable that is in method1le?
- 30 Mar 2013
- Forum: MultiCharts .NET
- Topic: How do I know current open position?
- Replies: 1
- Views: 1619
How do I know current open position?
I have 2 functions, one is called good1LE and another is called good1SE good1LE is to long and good1SE is to close the position if the long position of good1LE suffer a 5 basis loss. Is there any function for good1SE to call such that "if (current value<good1LE trade price-5) close the position. It ...
- 30 Mar 2013
- Forum: MultiCharts .NET
- Topic: multichart cannot open more than 1 position?
- Replies: 1
- Views: 1611
multichart cannot open more than 1 position?
I tried code like if (Bars.Time[0].DayOfWeek.ToString()=="Wednesday") m_BBandLE.Send(); it only open one position I tried code like if (Bars.Time[0].DayOfWeek.ToString()=="Wednesday" || Bars.Time[0].DayOfWeek.ToString()=="Thursday") m_BBandLE.Send(); and it only open one position also Why is this so...
- 25 Mar 2013
- Forum: MultiCharts .NET
- Topic: Is there "Macro for Excel" alike in multichart?
- Replies: 3
- Views: 1849
Re: Is there "Macro for Excel" alike in multichart?
When I go to Excel, there is a function call record macro. I pass record and then I will perform a series of task (e.g. type Hello in cell A1, then highlight cell A1, then type World in cell B2). After that, I will stop recording. When I go to VBA editor and see the recorded macro, I will be able to...
- 24 Mar 2013
- Forum: MultiCharts .NET
- Topic: Is there "Macro for Excel" alike in multichart?
- Replies: 3
- Views: 1849
Is there "Macro for Excel" alike in multichart?
As above, which means we can just perform a series of functions and after getting into "VBA", we can see the code behind the operations.
- 22 Mar 2013
- Forum: MultiCharts .NET
- Topic: Limit up not accounted?
- Replies: 3
- Views: 1785
Re: Limit up not accounted?
I don't know whether I use the right term for it.
That means the market will disallow trading if the market trade up more than 3% (as an example). That means we will be unable to buy at that price. But in the strategy, multichart.net will still assume we can buy at that price
That means the market will disallow trading if the market trade up more than 3% (as an example). That means we will be unable to buy at that price. But in the strategy, multichart.net will still assume we can buy at that price
- 22 Mar 2013
- Forum: MultiCharts .NET
- Topic: Cannot display daily data using ascii mapping [SOLVED]
- Replies: 1
- Views: 1837
Cannot display daily data using ascii mapping [SOLVED]
My data is 5 minutes data. If I switch it to 1 day data, it will show "no data". I am using ascii mapping.
When I tried to import using quote manager add symbol method, I am able to switch between data of different frequency.
When I tried to import using quote manager add symbol method, I am able to switch between data of different frequency.
- 21 Mar 2013
- Forum: MultiCharts .NET
- Topic: Limit up not accounted?
- Replies: 3
- Views: 1785
Limit up not accounted?
Hi when we use the signal trading strategy, the signal does not account for limit up and limit down. How do I account for it?
- 21 Mar 2013
- Forum: MultiCharts .NET
- Topic: How does multichart know session end? [SOLVED]
- Replies: 1
- Views: 1740
How does multichart know session end? [SOLVED]
I have a set of data which I imported using quote manager. Strangely, when I put session break, it will break at 1635. Is there a way to change the session break?
- 21 Mar 2013
- Forum: MultiCharts .NET
- Topic: Seasonality with multichart [SOLVED]
- Replies: 3
- Views: 2273
Re: Seasonality with multichart [SOLVED]
I am using multichart.net 1) Answer noted. Thanks. 2) I trying to create something like a chart which many series. Series 1 stand for the daily return for year 2000, series 2 stand for the daily return for year 2001 and so on. 3) For example, my original data was $2000 for day 1, $2100 for day 2 and...
- 21 Mar 2013
- Forum: MultiCharts .NET
- Topic: MC.Net vs regular MC comparison list [SOLVED]
- Replies: 32
- Views: 19151
Re: MC.Net vs regular MC comparison list [SOLVED]
can I use easylanguage and power language in multichart.net? Are all functions of multichart in multichart.net?
- 21 Mar 2013
- Forum: MultiCharts .NET
- Topic: Seasonality with multichart [SOLVED]
- Replies: 3
- Views: 2273
Seasonality with multichart [SOLVED]
1) If we load 24hrs data into quote manager, is there to ask multichart.net to display only data in a certain time period (for example from 14:00 to 21:00) every day. 2) Can we ask multichart.net to display figures for a certain month (Can we do it with powerlanguage) 3) We have Jan 2013, Jan 2012, ...
- 18 Mar 2013
- Forum: MultiCharts .NET
- Topic: protected override void StartCalc() [SOLVED]
- Replies: 1
- Views: 1830
protected override void StartCalc() [SOLVED]
protected override void StartCalc() {
// assign inputs
System.Windows.Forms.MessageBox.Show("Test");}
I realise that messagebox will run for 3 times. I do not understand. Shouldn't it be only once?
// assign inputs
System.Windows.Forms.MessageBox.Show("Test");}
I realise that messagebox will run for 3 times. I do not understand. Shouldn't it be only once?
- 18 Mar 2013
- Forum: MultiCharts .NET
- Topic: Plot1.Set parameters
- Replies: 1
- Views: 1547
Plot1.Set parameters
CalcBar will loop through all bar. If I run this code at bar 334 by plot1.set(0,high), it will only plot for bar 334. Is there any way I can plot for bar 332 or bar 336?
- 18 Mar 2013
- Forum: MultiCharts .NET
- Topic: Why can't I access multichart.net function? [SOLVED]
- Replies: 1
- Views: 1878
Why can't I access multichart.net function? [SOLVED]
I downloaded 2 versions of multichart (.net and non .net) for evaluation purpose. I remember previously I was able to access the non.net functions. But today when I was doing the .net version, I realised that I cannot access the function codes. Even when I go to powerlanguage.net editor and press "o...
- 18 Mar 2013
- Forum: MultiCharts
- Topic: quote manager import price wrongly
- Replies: 1
- Views: 1165
quote manager import price wrongly
I import file from ASCII. I realised no matter which option I choose for the multipler (1x, 10x etc), the price (when I use multichart to chart it out) will always be in decimal.