Search found 24 matches

by MarketMicro
04 Apr 2017
Forum: MultiCharts
Topic: same buy/sell signal not allowed
Replies: 4
Views: 1587

Re: same buy/sell signal not allowed

Fair point, Tony. I've made the changes below to illustrate the issue. I buy 10 contracts once, and want to sell 1 contract at a time. However, MC would only allow sell once, in other words, "sellname" should be executed many times but seems only one time is allowed. //buy signal if marketposition=0...
by MarketMicro
04 Apr 2017
Forum: MultiCharts
Topic: same buy/sell signal not allowed
Replies: 4
Views: 1587

Re: same buy/sell signal not allowed

In my signal, I might have the following entry and exit with their identifiable names. //buy signal if marketposition=0 and CurrentContracts<TotalAllowedSize and RSI>20 and RSI<40 then buy ("buyname") 1 contract next bar at Close limit; //sell signal if marketposition>=1 and CurrentContracts>0 and R...
by MarketMicro
04 Apr 2017
Forum: MultiCharts
Topic: same buy/sell signal not allowed
Replies: 4
Views: 1587

same buy/sell signal not allowed

Hi, In my signal, I might have the following entry and exit with their identifiable names. //buy signal if marketposition=0 and CurrentContracts<TotalAllowedSize and RSI>20 and RSI<40 then buy ("buyname") 1 contract next bar at Close limit; //sell signal if marketposition>=1 and CurrentContracts>0 a...
by MarketMicro
17 Feb 2017
Forum: MultiCharts
Topic: MC script runs multiple times when using two data series [SOLVED]
Replies: 7
Views: 2332

Re: MC script runs multiple times when using two data series [SOLVED]

I think I've just found the reason.

The setting for Test2 has the "Enable intra-bar Order Generation" checked. That's why the difference.

Thank you!
by MarketMicro
17 Feb 2017
Forum: MultiCharts
Topic: MC script runs multiple times when using two data series [SOLVED]
Replies: 7
Views: 2332

Re: MC script runs multiple times when using two data series [SOLVED]

Here's an interesting finding. I created a New Signal called Test3, and copy the exact same code (Test2) that generated the multiple printouts , paste into Test3. Turn off the Test2, and turn on Test3. The output is not only show one printout as below. 1170103.00 310.00 310.00 1.04564 1.04552 1.0490...
by MarketMicro
16 Feb 2017
Forum: MultiCharts
Topic: MC script runs multiple times when using two data series [SOLVED]
Replies: 7
Views: 2332

Re: MC script runs multiple times when using two data series [SOLVED]

I notice you only have 1 time series that is at 1min. My scenario is that data1 is 1 min like in your chart, and I also have data2 at 10min interval. When you have two time series in one chart, you should see that the script runs more than once. I also notice your x is set at 750, and since you have...
by MarketMicro
15 Feb 2017
Forum: MultiCharts
Topic: MC script runs multiple times when using two data series [SOLVED]
Replies: 7
Views: 2332

Re: MC script runs multiple times when using two data series [SOLVED]

Ben,

Is your example an Indicator or Signal?

I tried using Indicator, and it only print once for each bar time, but in a Signal it prints more than once as I have shown.
by MarketMicro
14 Feb 2017
Forum: MultiCharts
Topic: MC script runs multiple times when using two data series [SOLVED]
Replies: 7
Views: 2332

MC script runs multiple times when using two data series [SOLVED]

Hi, I use two data series, data1 is 1min, and data2 is 10min bars. There is no intrabarpersist. Here's a snippet of the code. IF BARSTATUS(2)=2 and time<>lastbartime THEN BEGIN lastbartime = time; ...... if date=1170103 and time=310 then print(date," ",time," ", ...bunch of variables here...); ........
by MarketMicro
31 Jan 2017
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 6714

Re: Multitimeframe Signals ADE, EL_Collections, etc.

Thanks, TJ.
I gather it's just the right syntax of MC.
by MarketMicro
31 Jan 2017
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 6714

Re: Multitimeframe Signals ADE, EL_Collections, etc.

Don't know why it works, but your suggestion works. Not sure why I need to declare it as MACD2(0,data2) and not MACD2(0). Thank you.
Appreciate it if someone can explain why it works.
Thank you.
by MarketMicro
30 Jan 2017
Forum: MultiCharts
Topic: Multitimeframe Signals ADE, EL_Collections, etc.
Replies: 21
Views: 6714

Re: Multitimeframe Signals ADE, EL_Collections, etc.

Hi, I'm currently trying to use Data1 as 1min bars, and Data2 as 10min bars, and in the same chart window. Using the code quoted here, inputs: F1(6),S1(10),L1(3),F2(6),S2(10),L2(3),F3(270),S3(585),L3(203), T1(0600),T2(1410),Y(90); variables: MACD1(0),MACD2(0),MACD3(0),OldMA(0),MACDBuy(9999),MACDSS(-...
by MarketMicro
19 Aug 2015
Forum: MultiCharts
Topic: MC chart latency issues
Replies: 2
Views: 1346

MC chart latency issues

Hi, I have printed below timestamps from both datetime_bar_update and computerdatetime . Tick timestamp in MC datetime_bar_update(decimal) in Seconds computerdatetime(decimal) in Seconds computerdatetime-datetime_bar_update(decimal) in Seconds 8/18/2015 11:03:51.907 42234.46 51.90757044 42234.46 51....
by MarketMicro
10 Dec 2014
Forum: MultiCharts
Topic: barstatus in precision testing
Replies: 10
Views: 2519

Re: barstatus in precision testing

Henry, are you referring to the issues relating to BarStatus which will be improved in MC 9.1 beta 1? Before I upgrade from 8.8 to 9, I would like to know if I need to re-compile everything, or it's simply a download and install? ****************************************************************** Dur...
by MarketMicro
10 Dec 2014
Forum: MultiCharts
Topic: barstatus in precision testing
Replies: 10
Views: 2519

Re: barstatus in precision testing

TJ, the chart resolution for Chart1 and 2 are ticks.
by MarketMicro
10 Dec 2014
Forum: MultiCharts
Topic: barstatus in precision testing
Replies: 10
Views: 2519

Re: barstatus in precision testing

Before I upgrade from 8.8 to 9, I would like to know if I need to re-compile everything, or it's simply a download and install?
by MarketMicro
09 Dec 2014
Forum: MultiCharts
Topic: barstatus in precision testing
Replies: 10
Views: 2519

Re: barstatus in precision testing

Using MC 8. In the chart, I have set, Series 1 = Bid price Series 2 = Ask price Series 3 = 1min bar In the Script, I have, if date=1141201 and time_s>=110918 and time_s<=110937 then begin print(time_s, " Barnumber=", barnumber); print(time_s, " ", barstatus(1), " ", barstatus(2), " ", barstatus(3));...
by MarketMicro
09 Dec 2014
Forum: MultiCharts
Topic: barstatus in precision testing
Replies: 10
Views: 2519

barstatus in precision testing

Hi, For precision backtesting, I'm using Data Series #1 as Bid, #2 as Ask, and #3 as a bar (either minute or ticks). I want to be able to make decision using #3 bar status, and I use the keyword BarStatus(3)=1, or 2 or 0 . It seems that BarStatus does not return what I expect it to be. Could you adv...
by MarketMicro
21 Nov 2014
Forum: MultiCharts
Topic: apply single signal to multiple assets w/o multiple charts
Replies: 6
Views: 2080

Re: apply single signal to multiple assets w/o multiple char

There's definitely a need for trading stocks. If I have 30 stocks using the same strategy, it will be more resource efficient to not have to open 30 charts, or even 100 for that matter. However, the challenge that I can see from an architectural standpoint is when I use tick format instead of 1-min ...
by MarketMicro
20 Nov 2014
Forum: MultiCharts
Topic: apply single signal to multiple assets w/o multiple charts
Replies: 6
Views: 2080

apply single signal to multiple assets w/o multiple charts

Hi,

Can one MC signal be applied to multiple assets (stocks) without opening a chart for each?

Thank you in advance.

MM
by MarketMicro
19 Nov 2014
Forum: MultiCharts
Topic: MT4 data via Universal DDE [SOLVED]
Replies: 6
Views: 4434

Re: MT4 data via Universal DDE [SOLVED]

Thanks for the reply Ben. I have the template selected as you have shown, and the "=MT4|BID!*" and I have even restarted the QuoteManager. Finally, I got help from Christina. The problem was it requires a "." at the end of the symbol. e.g. instead of "EURUSD", it requires "EURUSD." to make it work. MM
by MarketMicro
18 Nov 2014
Forum: MultiCharts
Topic: MT4 data via Universal DDE [SOLVED]
Replies: 6
Views: 4434

MT4 data via Universal DDE [SOLVED]

Hi,

Is anyone successful with using Universal DDE with MT4 data feed into MC 8 or 9?

There's a video in Multicharts that shows us how to do it, but in QuoteManager->Tools->DataSources->UniversalDDE Settings, I get the following errors (see attached).

MM
by MarketMicro
08 Jul 2014
Forum: MultiCharts
Topic: Marketposition is incorrect
Replies: 4
Views: 1614

Re: Marketposition is incorrect

I'm using SA.

According to the Position Traker, there is no open position. I'm not sure how to read the position from the chart as I don't see any position indicated on the top of the chart.

MM
by MarketMicro
08 Jul 2014
Forum: MultiCharts
Topic: Marketposition is incorrect
Replies: 4
Views: 1614

Marketposition is incorrect

Hi,

I'm using MC EL 8.8 and with LMAX.

I have the following,

MP=Marketposition;
if MP=1 then Sell ("exit") all shares next bar at market;

however, even if my position is closed, i.e. no outstanding position, the Marketposition is still 1.00. Why is that? Please advise.

MM
by MarketMicro
11 May 2014
Forum: MultiCharts .NET
Topic: How to import data with bid/ask price and volume?
Replies: 4
Views: 2949

Re: How to import data with bid/ask price and volume?

Hi, I have similar issue. My historical data file contains DATE,TIME,BID,ASK columns Based on your solution, am I right to understand that I should do the following steps? 1. create a symbol that uses ASCII mapping 2. import from the ascii file with BID column 3. create another symbol 4. import from...

Go to advanced search