Search found 83 matches

by maisatomai
05 May 2016
Forum: MultiCharts
Topic: Can session template be exported? [SOLVED]
Replies: 3
Views: 790

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
by maisatomai
04 May 2016
Forum: MultiCharts
Topic: Can session template be exported? [SOLVED]
Replies: 3
Views: 790

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...
by maisatomai
26 Apr 2016
Forum: MultiCharts
Topic: How do you do BollingerBand for daily on a 5 minute chart? [SOLVED]
Replies: 2
Views: 735

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.
by maisatomai
05 Apr 2016
Forum: MultiCharts
Topic: Workspace session template is different on another PC [SOLVED]
Replies: 1
Views: 567

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...
by maisatomai
05 Apr 2016
Forum: MultiCharts
Topic: Retrieve Return On Account backtesting figure [SOLVED]
Replies: 1
Views: 616

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?
by maisatomai
05 Apr 2016
Forum: MultiCharts
Topic: We have numtostr. But what about Bool to Str. [SOLVED]
Replies: 1
Views: 556

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
by maisatomai
05 Apr 2016
Forum: MultiCharts
Topic: In Easylanguage, how do I get the session timing that is in [SOLVED]
Replies: 3
Views: 798

Re: In Easylanguage, how do I get the session timing that is [SOLVED]

Capture.JPG
Capture.JPG (21.58 KiB) Viewed 573 times
For example in here, the session timing is set from 0800-2200

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.
by maisatomai
04 Apr 2016
Forum: MultiCharts
Topic: In Easylanguage, how do I get the session timing that is in [SOLVED]
Replies: 3
Views: 798

In Easylanguage, how do I get the session timing that is in [SOLVED]

Format instrument->Setting->Chart Setting->Sessions?

I tried to do

Code: Select all

NumToStr(sessionstarttime(1,1),0)
but that give me the session time in quotemanager
by maisatomai
29 Mar 2016
Forum: MultiCharts
Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
Replies: 5
Views: 1086

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 ...
by maisatomai
28 Mar 2016
Forum: MultiCharts
Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
Replies: 5
Views: 1086

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.
by maisatomai
28 Mar 2016
Forum: MultiCharts
Topic: how to know whether data 2 is null in easylanguage? [SOLVED]
Replies: 5
Views: 1086

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"
by maisatomai
09 Mar 2016
Forum: MultiCharts
Topic: how to exit only one contract for multiple contracts setting [SOLVED]
Replies: 5
Views: 993

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
::
Is this all your code?
yes you can try it on your side. and I think you will get the same result.
by maisatomai
09 Mar 2016
Forum: MultiCharts
Topic: how to exit only one contract for multiple contracts setting [SOLVED]
Replies: 5
Views: 993

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 ...
by maisatomai
08 Mar 2016
Forum: MultiCharts
Topic: how to exit only one contract for multiple contracts setting [SOLVED]
Replies: 5
Views: 993

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?
by maisatomai
16 Jun 2015
Forum: MultiCharts
Topic: Slippage settings in Portfolio Trader
Replies: 12
Views: 2902

Re: Slippage settings in Portfolio Trader

I agree with what OP has stated
by maisatomai
29 Jan 2015
Forum: MultiCharts
Topic: Why can't this data cannot be set as 5 mins resolution? [SOLVED]
Replies: 1
Views: 597

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....
by maisatomai
28 Nov 2014
Forum: MultiCharts
Topic: How many Multichart chart can you run in one computer
Replies: 5
Views: 1042

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?
by maisatomai
28 Nov 2014
Forum: MultiCharts
Topic: How many Multichart chart can you run in one computer
Replies: 5
Views: 1042

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?
by maisatomai
26 Nov 2014
Forum: MultiCharts
Topic: Own data feed into MC (streaming)
Replies: 2
Views: 923

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 ...
by maisatomai
18 Nov 2014
Forum: MultiCharts
Topic: Multicharts become unstable with Windows 7 running in Centos
Replies: 4
Views: 883

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.
by maisatomai
17 Nov 2014
Forum: MultiCharts
Topic: What the difference between buy and buy to cover?
Replies: 6
Views: 1325

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...
by maisatomai
17 Nov 2014
Forum: MultiCharts
Topic: What the difference between buy and buy to cover?
Replies: 6
Views: 1325

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"
by maisatomai
17 Nov 2014
Forum: MultiCharts
Topic: Multicharts become unstable with Windows 7 running in Centos
Replies: 4
Views: 883

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?
by maisatomai
04 Nov 2014
Forum: MultiCharts
Topic: help with time entry and time exit
Replies: 3
Views: 521

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
by maisatomai
04 Nov 2014
Forum: MultiCharts
Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
Replies: 8
Views: 1303

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...
by maisatomai
03 Nov 2014
Forum: MultiCharts
Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
Replies: 8
Views: 1303

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)
by maisatomai
03 Nov 2014
Forum: MultiCharts
Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
Replies: 8
Views: 1303

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
by maisatomai
03 Nov 2014
Forum: MultiCharts
Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
Replies: 8
Views: 1303

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...
by maisatomai
03 Nov 2014
Forum: MultiCharts
Topic: tick data has a high 2017 but 5 minutes bar is not showing [SOLVED]
Replies: 8
Views: 1303

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...
by maisatomai
29 Oct 2014
Forum: MultiCharts
Topic: EntryPrice showing 0 for buy to cover. [SOLVED]
Replies: 3
Views: 721

Re: EntryPrice showing 0 for buy to cover. [SOLVED]

actually I found the answer by chance. It exitprice(1).
by maisatomai
28 Oct 2014
Forum: MultiCharts
Topic: Check FileExists in easylanguage
Replies: 1
Views: 543

Check FileExists in easylanguage

There is fileappend and filedelete. But how do I check fileexist in multichart?
by maisatomai
28 Oct 2014
Forum: MultiCharts
Topic: Anyway to get signal to run again on_filled in simulation?
Replies: 1
Views: 452

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...
by maisatomai
27 Oct 2014
Forum: MultiCharts
Topic: print current market position first time indicator is
Replies: 1
Views: 426

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

Code: Select all

if (barnumber=1) then
print(MarketPosition);
but this will print the MarketPosition of bar number 1. I need the current market position.
by maisatomai
26 Oct 2014
Forum: MultiCharts
Topic: EntryPrice showing 0 for buy to cover. [SOLVED]
Replies: 3
Views: 721

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?
by maisatomai
24 Oct 2014
Forum: MultiCharts
Topic: Exchanging data between MC and C#
Replies: 4
Views: 1088

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?
by maisatomai
23 Oct 2014
Forum: MultiCharts
Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
Replies: 5
Views: 899

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.
by maisatomai
23 Oct 2014
Forum: MultiCharts
Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
Replies: 5
Views: 899

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. ...
by maisatomai
23 Oct 2014
Forum: MultiCharts
Topic: strange output from code [SOLVED]
Replies: 1
Views: 569

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...
by maisatomai
23 Oct 2014
Forum: MultiCharts
Topic: IntrabarOrderGeneration=True & buy next bar at inside limit [SOLVED]
Replies: 5
Views: 899

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?
by maisatomai
23 Apr 2014
Forum: MultiCharts
Topic: Passing array to function such as average or RSI?
Replies: 3
Views: 978

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
by maisatomai
23 Apr 2014
Forum: MultiCharts
Topic: Passing array to function such as average or RSI?
Replies: 3
Views: 978

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...
by maisatomai
11 Dec 2013
Forum: MultiCharts .NET
Topic: any way to cancel a order?
Replies: 1
Views: 805

any way to cancel a order?

For limit order buy_order.send(), is there anyway to cancel it next period?
by maisatomai
11 Dec 2013
Forum: MultiCharts .NET
Topic: Automated trading API: Broker want charge extra fee?
Replies: 1
Views: 766

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.
by maisatomai
27 Nov 2013
Forum: MultiCharts
Topic: How does MC calculate drawdown?
Replies: 1
Views: 858

How does MC calculate drawdown?

Image

For trade 3 the drawdown is 412.5. Shouldnt it be 225+337.5?
For trade 4 you lose money, but the drawdown is lower??
by maisatomai
30 May 2013
Forum: MultiCharts .NET
Topic: Is there any simple way to buy at the end of the month?
Replies: 1
Views: 866

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.
by maisatomai
29 May 2013
Forum: MultiCharts
Topic: Using marketposition in indicator
Replies: 1
Views: 1526

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...
by maisatomai
28 May 2013
Forum: MultiCharts
Topic: "not connected" error for Multichart 64
Replies: 1
Views: 1490

"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 ...
by maisatomai
27 May 2013
Forum: MultiCharts .NET
Topic: Can we draw plot in a signal? [SOLVED]
Replies: 1
Views: 1222

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
by maisatomai
22 May 2013
Forum: MultiCharts .NET
Topic: Regarding contract sizing
Replies: 1
Views: 1007

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?
by maisatomai
22 May 2013
Forum: MultiCharts .NET
Topic: Importing via Ascii mapping
Replies: 1
Views: 914

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?
by maisatomai
22 May 2013
Forum: MultiCharts .NET
Topic: ASCII mapping only allow one folder?
Replies: 3
Views: 1047

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?
by maisatomai
22 May 2013
Forum: MultiCharts .NET
Topic: ASCII mapping only allow one folder?
Replies: 3
Views: 1047

ASCII mapping only allow one folder?

Can we map multi folder for ascii mapping or can we only specify one path?
by maisatomai
16 May 2013
Forum: MultiCharts .NET
Topic: How accurate is genetic optimization?
Replies: 1
Views: 1097

How accurate is genetic optimization?

Compared to exhaustive optimization, genetic optimization is fast. Can we get near-optimal solution from genetic optimization?
by maisatomai
30 Apr 2013
Forum: MultiCharts .NET
Topic: How do I use OrderCreator.MarketThisBar? [SOLVED]
Replies: 5
Views: 2199

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...
by maisatomai
28 Apr 2013
Forum: MultiCharts .NET
Topic: How do I use OrderCreator.MarketThisBar? [SOLVED]
Replies: 5
Views: 2199

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...
by maisatomai
25 Apr 2013
Forum: MultiCharts .NET
Topic: how do I get next bar month?
Replies: 6
Views: 1215

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...
by maisatomai
25 Apr 2013
Forum: MultiCharts .NET
Topic: How do I use OrderCreator.MarketThisBar? [SOLVED]
Replies: 5
Views: 2199

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...
by maisatomai
25 Apr 2013
Forum: MultiCharts .NET
Topic: how do I get next bar month?
Replies: 6
Views: 1215

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.
by maisatomai
25 Apr 2013
Forum: MultiCharts .NET
Topic: how do I get next bar month?
Replies: 6
Views: 1215

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
by maisatomai
25 Apr 2013
Forum: MultiCharts .NET
Topic: how do I get next bar month?
Replies: 6
Views: 1215

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?
by maisatomai
10 Apr 2013
Forum: MultiCharts .NET
Topic: Access P&L without using strategy performance report
Replies: 6
Views: 1338

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?
by maisatomai
10 Apr 2013
Forum: MultiCharts .NET
Topic: what is the different between sell and shortsell in code?
Replies: 1
Views: 973

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
by maisatomai
09 Apr 2013
Forum: MultiCharts .NET
Topic: can we call a signal from our own main function
Replies: 1
Views: 862

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?
by maisatomai
09 Apr 2013
Forum: MultiCharts .NET
Topic: Access P&L without using strategy performance report
Replies: 6
Views: 1338

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?
by maisatomai
09 Apr 2013
Forum: MultiCharts .NET
Topic: Access P&L without using strategy performance report
Replies: 6
Views: 1338

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.
by maisatomai
09 Apr 2013
Forum: MultiCharts .NET
Topic: BarsOfData() question [SOLVED]
Replies: 2
Views: 2558

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.
by maisatomai
01 Apr 2013
Forum: MultiCharts .NET
Topic: share variables value between indicators?
Replies: 1
Views: 940

share variables value between indicators?

Let say you have method1le and method1se. Can method1se access a int variable that is in method1le?
by maisatomai
30 Mar 2013
Forum: MultiCharts .NET
Topic: How do I know current open position?
Replies: 1
Views: 958

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 ...
by maisatomai
30 Mar 2013
Forum: MultiCharts .NET
Topic: multichart cannot open more than 1 position?
Replies: 1
Views: 999

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...
by maisatomai
25 Mar 2013
Forum: MultiCharts .NET
Topic: Is there "Macro for Excel" alike in multichart?
Replies: 3
Views: 1085

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...
by maisatomai
24 Mar 2013
Forum: MultiCharts .NET
Topic: Is there "Macro for Excel" alike in multichart?
Replies: 3
Views: 1085

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.
by maisatomai
22 Mar 2013
Forum: MultiCharts .NET
Topic: Limit up not accounted?
Replies: 3
Views: 1046

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
by maisatomai
22 Mar 2013
Forum: MultiCharts .NET
Topic: Cannot display daily data using ascii mapping [SOLVED]
Replies: 1
Views: 1191

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.
by maisatomai
21 Mar 2013
Forum: MultiCharts .NET
Topic: Limit up not accounted?
Replies: 3
Views: 1046

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?
by maisatomai
21 Mar 2013
Forum: MultiCharts .NET
Topic: How does multichart know session end? [SOLVED]
Replies: 1
Views: 996

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?
by maisatomai
21 Mar 2013
Forum: MultiCharts .NET
Topic: Seasonality with multichart [SOLVED]
Replies: 3
Views: 1282

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...
by maisatomai
21 Mar 2013
Forum: MultiCharts .NET
Topic: MC.Net vs regular MC comparison list [SOLVED]
Replies: 32
Views: 11674

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?
by maisatomai
21 Mar 2013
Forum: MultiCharts .NET
Topic: Seasonality with multichart [SOLVED]
Replies: 3
Views: 1282

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, ...
by maisatomai
18 Mar 2013
Forum: MultiCharts .NET
Topic: protected override void StartCalc() [SOLVED]
Replies: 1
Views: 1143

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?
by maisatomai
18 Mar 2013
Forum: MultiCharts .NET
Topic: Plot1.Set parameters
Replies: 1
Views: 948

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?
by maisatomai
18 Mar 2013
Forum: MultiCharts .NET
Topic: Why can't I access multichart.net function? [SOLVED]
Replies: 1
Views: 1202

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...
by maisatomai
18 Mar 2013
Forum: MultiCharts
Topic: quote manager import price wrongly
Replies: 1
Views: 861

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.

Go to advanced search