Search found 354 matches
- 11 Mar 2024
- Forum: MultiCharts
- Topic: Updating from ASCII Files
- Replies: 1
- Views: 97
Updating from ASCII Files
I use CSI Data to write to ASCII Files which I have configured in the Quote Manager. Each night, CSI will update these files but MultiCharts does not show the updated data. How do I configure the Quote Manager so it knows to read and update the data from these ASCII files? This seemed to work fine i...
- 30 Jun 2015
- Forum: MultiCharts
- Topic: Great podcasts on systematic trading
- Replies: 1
- Views: 1264
Great podcasts on systematic trading
I came across this website a couple of months ago; it features interviews with systematic traders who discuss the craft of building trading systems:
http://bettersystemtrader.com/
The podcasts are free to listen to, and should give you a lot of food for thought.
http://bettersystemtrader.com/
The podcasts are free to listen to, and should give you a lot of food for thought.
- 13 May 2015
- Forum: MultiCharts
- Topic: Data Series in Functions [SOLVED]
- Replies: 2
- Views: 1829
Re: Data Series in Functions [SOLVED]
It wouldn't work as an array, but if you made CalcClose a simple numeric variable that you updated with each price bar, it should work. For example: Vars: CalcClose(0); CalcClose = Close + Random(10); // This could be any value Value1 = BollingerBand (CalcClose, 50, 2); This compiles without error, ...
- 29 Apr 2015
- Forum: MultiCharts
- Topic: TL_new, TL_delete, TL_lock
- Replies: 8
- Views: 3252
Re: TL_new, TL_delete, TL_lock
Correct me if I'm wrong though - if you delete a trendline, that shouldn't change the ID of trendlines that were created earlier and continue to exist?
- 14 Apr 2015
- Forum: MultiCharts
- Topic: Portfolio Backtesting - total portfolio liquidation value [SOLVED]
- Replies: 3
- Views: 1868
Re: Portfolio Backtesting - total portfolio liquidation valu [SOLVED]
No it doesn't. Compile this code as a signal and run it as a portfolio money management signal: Print(Date," Portfolio Equity = ", Portfolio_Equity," Portfolio Net_Profit = ", Portfolio_NetProfit); You will see unique values for both portfolio_equity and portfolio_netprofit for each day (assuming th...
- 30 Mar 2015
- Forum: MultiCharts
- Topic: Generating and printing statistics for a portfolio
- Replies: 12
- Views: 3960
Re: Generating and printing statistics for a portfolio
What's weird is that the price data I'm using (end-of-day) doesn't have a time stamp, just a date stamp.
- 30 Mar 2015
- Forum: MultiCharts
- Topic: Generating and printing statistics for a portfolio
- Replies: 12
- Views: 3960
Re: Generating and printing statistics for a portfolio
The last one was the charm - you figured it out! It must have something to do with how the portfolio trader was handling the date comparison. Weird!
Thanks a million!!!
Thanks a million!!!
- 30 Mar 2015
- Forum: MultiCharts
- Topic: Generating and printing statistics for a portfolio
- Replies: 12
- Views: 3960
Re: Generating and printing statistics for a portfolio
It prints out three times at the end of each year.
Code: Select all
...
20110103
20110103
20110103
20120103
20120103
20120103
20130102
20130102
20130102
...
- 30 Mar 2015
- Forum: MultiCharts
- Topic: Generating and printing statistics for a portfolio
- Replies: 12
- Views: 3960
Re: Generating and printing statistics for a portfolio
Thanks again for your help. I am using end-of-day bars, and I have included code similar to what you provided above in my code. Here is my code. Note that it is designed to work for single systems (in MultiCharts) as well as within Portfolio Trader. Note also that it uses the ELCollections.dll: // T...
- 30 Mar 2015
- Forum: MultiCharts
- Topic: Generating and printing statistics for a portfolio
- Replies: 12
- Views: 3960
Re: Generating and printing statistics for a portfolio
Thank you for this suggestion. It seems to have gotten me closer to the solution I am looking for. However, it looks like I still have some work to do. I added my signal as the Money Management signal from with the Portfolio Settings but it looks like for each year, it is calculating three separate ...
- 30 Mar 2015
- Forum: MultiCharts
- Topic: Generating and printing statistics for a portfolio
- Replies: 12
- Views: 3960
Generating and printing statistics for a portfolio
I am looking to calculate and average the maximum drawdown per year for a portfolio of markets. I have the math pretty much nailed down, but I'm not sure how to print this out so that it only prints the data out one time (for the portfolio as a whole). If I put this code as a new strategy into portf...
- 26 Mar 2015
- Forum: MultiCharts
- Topic: small issue with placing orders
- Replies: 3
- Views: 1280
Re: small issue with placing orders
What bar interval are you using, and are you using intrabarordergeneration? If not, is it the case that no sell orders are being generated even after the bar in which you enter the market is finished? Also, I think when you attempt to do a partial sale of a position, you should be using the TOTAL ke...
- 13 Mar 2015
- Forum: MultiCharts
- Topic: Turn off a signal if it isn't valid on restart
- Replies: 10
- Views: 3081
Re: Turn off a signal if it isn't valid on restart
I'm confused - what do you mean by "restart" - do you mean actually shutting down MC and restarting it, or do you mean turning a system off and then on? Under both circumstances, wouldn't MC process all of the proceeding history up until today, thereby detecting the crossover that occurred historica...
- 05 Mar 2015
- Forum: MultiCharts
- Topic: Detecting Portfolio Trader [SOLVED]
- Replies: 1
- Views: 1341
Detecting Portfolio Trader [SOLVED]
Is there a flag or keyword that can be invoked to determine whether a PowerLanguage program is running within Portfolio Trader vs. a regular MultiCharts chart?
- 25 Feb 2015
- Forum: MultiCharts
- Topic: help
- Replies: 5
- Views: 1773
Re: help
From a style standpoint, please do not use so many !!! exclamation points in your post. It's extremely annoying.
- 25 Feb 2015
- Forum: MultiCharts
- Topic: keep EasyLanguage files in sync between different computers
- Replies: 14
- Views: 4320
Re: keep EasyLanguage files in sync between different comput
One important issue to consider, as TJ mentioned, is that there's a difference between the source code and a compiled file. Do you want to sync your compiled code or just the plaintext files?
- 13 Jan 2015
- Forum: MultiCharts
- Topic: Multicharts on MAC
- Replies: 5
- Views: 9134
Re: Multicharts on MAC
"New users buy OSX desktops or Linux servers. "
Really? All of the traders in my office use Windows 7. Weird how that is.
Really? All of the traders in my office use Windows 7. Weird how that is.
- 08 Jan 2015
- Forum: MultiCharts
- Topic: 200 Period Moving Average
- Replies: 8
- Views: 2272
Re: 200 Period Moving Average
I saw some strange behavior as well, when using variables in place of "Close". I started with this code: Var: PriceHold(0); PriceHold = Close; value1 = Average(PriceHold,50); value2 = Average(PriceHold,200); condition1 = PriceHold < value1 and PriceHold > value2; condition2 = PriceHold > value1 and ...
- 05 Dec 2014
- Forum: MultiCharts
- Topic: The output values in editor do not match with the chart
- Replies: 6
- Views: 2041
Re: The output values in editor do not match with the chart
The reason I like to use that is because it uses conditional statements that I am familiar with and trust. I've had weird results using crosses above or crosses below.
- 04 Dec 2014
- Forum: MultiCharts
- Topic: The output values in editor do not match with the chart
- Replies: 6
- Views: 2041
Re: The output values in editor do not match with the chart
Without seeing your code, it's hard to tell exactly what's going wrong. If you want to post the code (while removing any proprietary secrets), that would help in troubleshooting this. As an aside, I have never really trusted the "crosses below" command. What I do, instead, is see whether the previou...
- 20 Nov 2014
- Forum: MultiCharts
- Topic: Multicharts goes multi-platform ?
- Replies: 14
- Views: 6227
Re: Multicharts goes multi-platform ?
I think it was a good question in light of Microsoft's recent announcement. It would be interesting to see whether it could work directly on a Mac or a Linux box using the ported .net framework, but I don't think MultiCharts should spend time re-writing their software to specifically work on those b...
- 20 Nov 2014
- Forum: MultiCharts
- Topic: Multicharts goes multi-platform ?
- Replies: 14
- Views: 6227
Re: Multicharts goes multi-platform ?
That hasn't been my experience at all. Most of the shops I've worked at or consulted with have used Windows.In the pro trading business Linux is all about
- 13 Nov 2014
- Forum: MultiCharts
- Topic: How to maximize trades daily
- Replies: 11
- Views: 3385
Re: How to maximize trades daily
The keyword TotalTrades will tell you the # of total trades closed out since trading started.
- 13 Nov 2014
- Forum: MultiCharts
- Topic: How to maximize trades daily
- Replies: 11
- Views: 3385
Re: How to maximize trades daily
This doesn't have to be too hard, but I don't think this is for an indicator to do. To code it in a signal is pretty straight forward - I'm going to assume that you're working on a 24 hour chart: Input: DailyLimit(0); vars: startNumTrades(0); If Date > Date[1] Then startNumTrades = TotalTrades; ... ...
- 12 Nov 2014
- Forum: MultiCharts
- Topic: How to maximize trades daily
- Replies: 11
- Views: 3385
Re: How to maximize trades daily
I'm still not clear what you're trying to do. Are you trying to limit the number of trades done each day during a certain time?
- 10 Nov 2014
- Forum: MultiCharts
- Topic: Code an indicator where you can specify Data series [SOLVED]
- Replies: 2
- Views: 1527
Re: Code an indicator where you can specify Data series [SOLVED]
One idea would be to have an input in your indicator to specify the data series and then use a series of if/then statements to assign a value to be plotted - in other words, something like: input: series(1); vars: plotData(0); if series = 1 then plotData = close of data1; if series = 2 then plotData...
- 04 Nov 2014
- Forum: MultiCharts
- Topic: help with time entry and time exit
- Replies: 3
- Views: 1238
Re: help with time entry and time exit
Are you saying that you want to enter the market at 10:00 am and exit at 5:09 pm? If you're going to use a reference to a bar's time to figure out when to enter or exit, I would say that you'd have to shift to a 1 minute timeframe. There may be a way to reference your computer's clock tick-by-tick a...
- 24 Oct 2014
- Forum: MultiCharts
- Topic: help with a code
- Replies: 10
- Views: 2233
Re: help with a code
See the help information on the TL_ keywords - these are used for drawing trendlines. TL_New TL_Delete TL_SetSize TL_SetStyle ... In your case, you will need to "update" the trendline as your stop changes. What I would do is calculate the level of the stop as a separate variable and then use that va...
- 23 Oct 2014
- Forum: MultiCharts
- Topic: Is there a keyword for checking if a data series is present? [SOLVED]
- Replies: 5
- Views: 2489
Re: Is there a keyword for checking if a data series is pres [SOLVED]
I believe that if you try to apply a signal that uses multiple data series on a chart that does not have multiple data series, you will get an error right off the bat. In other words, your code won't run.
- 23 Oct 2014
- Forum: MultiCharts
- Topic: help with a code
- Replies: 10
- Views: 2233
Re: help with a code
A really easy way to do this (if you're long) is: If MarketPosition = 1 Then Sell Next Bar At Highest(High,BarsSinceEntry(0)) - (3 * AvgTrueRange(10)) Stop; Note that this will not work a stop on the first day you're entered because it calculates the stop for the next bar; therefore, you may want to...
- 23 Oct 2014
- Forum: MultiCharts
- Topic: help with a code
- Replies: 10
- Views: 2233
Re: help with a code
It sounds like you're talking about two different stops:
1. Stop based on a 10-period ATR; and
2. Stop based on a 3% maximum loss.
Is that the case?
1. Stop based on a 10-period ATR; and
2. Stop based on a 3% maximum loss.
Is that the case?
- 23 Oct 2014
- Forum: MultiCharts
- Topic: help with a code
- Replies: 10
- Views: 2233
Re: help with a code
When you say, period 10 and 3% down, what does that mean? Do you mean that you're using a 10 period ATR? Also, what does 3% down mean?
- 17 Oct 2014
- Forum: MultiCharts
- Topic: When MC create bars realtime -where is the time stamp from ?
- Replies: 23
- Views: 6751
Re: When MC create bars realtime -where is the time stamp fr
I would try to capture the "before" and "after" shots for the OHLC chart and ask CQG about this. It shouldn't be changing that much.
- 17 Oct 2014
- Forum: MultiCharts
- Topic: Terend Line and Txt in Chart [SOLVED]
- Replies: 16
- Views: 3558
Re: Terend Line and Txt in Chart [SOLVED]
Not sure if this is one of the problems but you need to change the following line of code:
... to ...
Code: Select all
if OldTXTHigh <> -1 then Value4 = tl_delete(OldTXTHigh);
Code: Select all
if OldTXTHigh <> -1 then Value4 = text_delete(OldTXTHigh);
- 17 Oct 2014
- Forum: MultiCharts
- Topic: When MC create bars realtime -where is the time stamp from ?
- Replies: 23
- Views: 6751
Re: When MC create bars realtime -where is the time stamp fr
A few things to remember: 1) Generally speaking, MultiCharts merely acts as a processor of data received from your data source; consequently, there could be changes on your data source's side when prices are re-loaded that are responsible for the variations; 2) Depending on how your trading system w...
- 13 Oct 2014
- Forum: MultiCharts
- Topic: Sending multiple conditional orders [SOLVED]
- Replies: 4
- Views: 1397
Re: Sending multiple conditional orders [SOLVED]
I have a suspicion what the problem might be but I can't tell without seeing the rest of the code. If I were you, I would enter the following line to help you debug it: Print(Date," ", Time," Market Position = ",MarketPosition, " Current Contracts = ", currentContracts," Condition2 = ", condition2, ...
- 13 Oct 2014
- Forum: MultiCharts
- Topic: Evaluate a string [SOLVED]
- Replies: 7
- Views: 2067
Re: Evaluate a string [SOLVED]
Are you trying to evaluate a conditional statement ... or create a string representation of a conditional statement? If you're trying to build conditional statements out of two or more sub-conditions, the best way to do that is to create individual conditions which evaluate to a boolean type (i.e., ...
- 26 Aug 2014
- Forum: MultiCharts
- Topic: Globex is down
- Replies: 2
- Views: 1109
Re: Globex is down
This article sheds some light on what happened:
http://www.hedgeworld.com/open_news/rea ... 23784.html
http://www.hedgeworld.com/open_news/rea ... 23784.html
- 18 Aug 2014
- Forum: MultiCharts
- Topic: EOD Signal
- Replies: 12
- Views: 2697
Re: EOD Signal
How many markets are you following? Could you create a workspace with charts for each market that you're following? Also, you might be able to get the code to work in the Portfolio Backtester, especially if it is writing to a file - however, you have to watch out for two or more markets "writing" to...
- 18 Aug 2014
- Forum: MultiCharts
- Topic: EOD Signal
- Replies: 12
- Views: 2697
Re: EOD Signal
On the last bar of the chart, you can see whether you have a signal and then based on whether you do or not, you can write a message describing the signal and how to manage it.
- 18 Aug 2014
- Forum: MultiCharts
- Topic: EOD Signal
- Replies: 12
- Views: 2697
Re: EOD Signal
While MultiCharts can certainly generate end-of-day signals, I've never used it to actually put those orders into the market. At a minimum, that would require using real-time data, even though your time-frame is not intraday. It would be easy to generate a list of signals each day, though, either to...
- 13 Aug 2014
- Forum: MultiCharts
- Topic: MC on OS X
- Replies: 18
- Views: 5034
Re: MC on OS X
Unfortunately, the number of traders on Macintosh computers is probably less than 2% of the total market (the number of total Macintosh computers out there is less than 5% of the total desktop market).
See http://www.netmarketshare.com/operating ... pcustomd=0
See http://www.netmarketshare.com/operating ... pcustomd=0
- 28 Jul 2014
- Forum: MultiCharts
- Topic: Currency Conversion Feature - Calculation is incorrect [SOLVED]
- Replies: 29
- Views: 11889
Re: Currency Conversion Feature - Calculation is incorrect [SOLVED]
I agree that, in the case of futures and FX forwards, the FX conversion will only apply to the net p/l. For equities, I'm thinking that you actually need to do the entry and exit conversions (not just the net p/l), because you actually do have to convert your $ to Euros or Euros to Swiss Francs in o...
- 28 Jul 2014
- Forum: MultiCharts
- Topic: Currency Conversion Feature - Calculation is incorrect [SOLVED]
- Replies: 29
- Views: 11889
Re: Currency Conversion Feature - Calculation is incorrect [SOLVED]
I don't think it's fair to say that it's useless for backtesting purposes to use a single FX rate for daily p/l conversions. You're not converting your foreign p/l back to your domestic p/l immediately after every trade, are you? Be honest - the total impact that a change in the conversion FX rate i...
- 24 Jul 2014
- Forum: MultiCharts
- Topic: Max Drawdown code
- Replies: 2
- Views: 2143
Re: Max Drawdown code
No, the Maximum Drawdown number is calculated only for trading systems, not for indicators. However, it wouldn't be hard to track the maximum generated value - for example: Vars: MaxDD(0); value1=close of data1*5; // calculate YM market value value2=close of data2*20;// calculate NQ market value val...
- 24 Jul 2014
- Forum: MultiCharts
- Topic: Simulated stops instead of exchange stops.
- Replies: 7
- Views: 2774
Re: Simulated stops instead of exchange stops.
It would be easy enough to implement a "simulated" stop order in your code, as long as you use intrabar order generation and your computer is receiving real-time price data.
- 24 Jul 2014
- Forum: MultiCharts
- Topic: 20 day new high/low [SOLVED]
- Replies: 5
- Views: 3147
Re: 20 day new high/low [SOLVED]
For analyzing the 20-day high, low, etc. your best bet is likely to insert a second instrument on your chart (data2) and make that a daily chart of whatever market you're following. This will make it MUCH easier to calculate highest high, lowest low, etc. Next, check out the PowerLanguage functions ...
- 22 Jul 2014
- Forum: MultiCharts
- Topic: Need help for simple script coding
- Replies: 4
- Views: 1306
Re: Need help for simple script coding
Tony is right - if you want some help on how to do that, just post it here (you can keep out the proprietary stuff).
- 22 Jul 2014
- Forum: MultiCharts
- Topic: TextID does not exist
- Replies: 4
- Views: 1260
Re: TextID does not exist
Does the error always happen when price crosses the XMA, or just some of the time?
- 22 Jul 2014
- Forum: MultiCharts
- Topic: TextID does not exist
- Replies: 4
- Views: 1260
Re: TextID does not exist
What is the function "DailyRange?" Is that a custom function? I'm running v8.8 and I don't have that on my system. To test your indicator, I changed DailyRange to Range. I then ran this indicator on a 1 second YM chart, during which time the price traded above and below the XMA, and I didn't receive...
- 22 Jul 2014
- Forum: MultiCharts
- Topic: Need help for simple script coding
- Replies: 4
- Views: 1306
Re: Need help for simple script coding
Without re-writing your code, here's one way you could do it: Create a variable called 80cross(0). When you buy the market, set the value of this variable to 0. For each bar that you're still in your position, you test whether the stochastic cross condition occurs. If it does, you set the value of 8...
- 11 Jun 2014
- Forum: MultiCharts
- Topic: Best math indicator to identify a good-looking equity line
- Replies: 4
- Views: 1497
Re: Best math indicator to identify a good-looking equity li
I'm not sure if this helps but last year, user Dru presented a way to rank optimization trials by the smoothness of the equity curve.
You can check it out at:
viewtopic.php?f=5&t=11769&hilit=optimiz ... uity+curve
You can check it out at:
viewtopic.php?f=5&t=11769&hilit=optimiz ... uity+curve
- 30 May 2014
- Forum: MultiCharts
- Topic: Longest Flat Period - where is it?
- Replies: 5
- Views: 1327
Re: Longest Flat Period - where is it?
That metric may not appear on the performance report, but couldn't you measure that by simply analyzing, for each bar, your net profit + openprofit and counting the bars between new high values, and then, on the last bar, printing out the highest value for that?
- 15 May 2014
- Forum: MultiCharts
- Topic: What is wrong with this if/else statement [SOLVED]
- Replies: 4
- Views: 2673
Re: What is wrong with this if/else statement [SOLVED]
Where to put the semi-colon is the most confusing part of if / then / else!
In some languages, the different conditional branches are separate statements whereas here, they are really just one long statement.
In some languages, the different conditional branches are separate statements whereas here, they are really just one long statement.
- 14 May 2014
- Forum: MultiCharts
- Topic: How to obtain trading day of month (not calendar day)
- Replies: 10
- Views: 3686
Re: How to obtain trading day of month (not calendar day)
RKhan, there is no loop for the counter - or, to put it more accurately, because this code is run for every bar, the "loop" is the number of bars you have on your chart.
- 24 Apr 2014
- Forum: MultiCharts
- Topic: Easily Tracking Generated Orders For Tomorrow
- Replies: 1
- Views: 796
Easily Tracking Generated Orders For Tomorrow
Here's my situation - I have developed a trading strategy that trades across 13 different futures markets, generating signals based on end-of-day data. I am trying to find out if there is an easy way to get a list of the orders I should be working for tomorrow across all 13 markets. Any thoughts?
- 21 Apr 2014
- Forum: User Contributed Studies and Indicator Library
- Topic: 60min 20period EMA displayed on a 5min chart
- Replies: 2
- Views: 3221
Re: 60min 20period EMA displayed on a 5min chart
You actually don't need to program anything. The easy way to do this is as follows: 1) On your 5 minute charge, go Insert -> Instrument and select a 60 minute interval for the same market. Note that you can choose to hide this new chart by selecting Format Instrument -> (Select the 60 Minute Time Se...
- 15 Apr 2014
- Forum: MultiCharts
- Topic: Code on to cancel orders at session end before after hours
- Replies: 7
- Views: 3883
Re: Code on to cancel orders at session end before after hou
Unfortunately, the solution I was going to propose requires you to use IOG. The reason is that, with IOG on, you could work your order up until the last minute (let's say) of the last day-session bar and then take it out. Getting back to the original description of your problem, why does your chart ...
- 15 Apr 2014
- Forum: MultiCharts
- Topic: Code on to cancel orders at session end before after hours
- Replies: 7
- Views: 3883
Re: Code on to cancel orders at session end before after hou
Before proposing a solution, I have one question for you:
Are you using intra-bar order generation?
Are you using intra-bar order generation?
- 08 Apr 2014
- Forum: MultiCharts
- Topic: Weird interaction between signals using two data streams
- Replies: 5
- Views: 1691
Re: Weird interaction between signals using two data streams
I wonder if the intermittent behavior occurs because some 3 minute bar chart times ARE divisible by both 5 and 3 (like 15, 45) ... ?
- 08 Apr 2014
- Forum: MultiCharts
- Topic: Weird interaction between signals using two data streams
- Replies: 5
- Views: 1691
Re: Weird interaction between signals using two data streams
I agree with what TJ is saying. The problem may be exacerbated by the fact that when the 5 minute bar closes, the 3 minute bar is still "open" since 5 is not evenly divisible by 3. I wonder if you would continue to see this problem if you used a 6 minute bar as your second data series (I'm not recom...
- 07 Apr 2014
- Forum: MultiCharts
- Topic: syntax error powerlanguage
- Replies: 1
- Views: 891
Re: syntax error powerlanguage
Your problem is that you haven't used the correct syntax when it comes to entering orders.
For example, you've written:
... when you should use something more like ...
For example, you've written:
Code: Select all
BUY ("RbUP LE") B1 stop;
Code: Select all
BUY ("RbUP LE") 1 Contract Next Bar At B1 stop;
- 20 Dec 2013
- Forum: MultiCharts
- Topic: Elcollection: Going through CSV file// Want to understand... [SOLVED]
- Replies: 7
- Views: 4544
Re: Elcollection: Going through CSV file// Want to understan [SOLVED]
ELCollections can be a little confusing and intimidating. It wasn't until I started studying computer science formally that I began to understand the true value of the DLL. Here's a few things to remember: A collection is either a LIST (a sequential list of data) or a MAP (a dictionary of data): Lis...
- 14 Nov 2013
- Forum: MultiCharts
- Topic: Portfolio Settings
- Replies: 6
- Views: 2340
Re: Portfolio Settings
I too don't understand how the "Max Potential Loss" setting affects one's returns. If my strategy is being backtested using 1 contract only, why do I get different results when this is set from 5% to 100% - or if I set my initial equity from $1 million USD to $10 million USD. My strategy does not re...
- 08 Nov 2013
- Forum: MultiCharts
- Topic: MultiCharts ATR vs. NT ATR [SOLVED]
- Replies: 4
- Views: 2625
Re: MultiCharts ATR vs. NT ATR [SOLVED]
I'm not sure if this is your reason for concern, but one reason why the indicator on the charts may look different is (I'm guessing) that the axis on MultiCharts is set to some minimal incremental value - so it isn't plotting the indicator at the level of precision that NT is. This does not mean, ho...
- 07 Nov 2013
- Forum: MultiCharts
- Topic: Good quote on system trading from Bruce Babcock
- Replies: 0
- Views: 1093
Good quote on system trading from Bruce Babcock
“Those who have been around the markets awhile realize that there are many potentially profitable trading systems. The problem is that there are very few traders who can trade them. By this we mean that traders spend too much time searching for that perfect system and far too little time working on ...
- 04 Nov 2013
- Forum: MultiCharts
- Topic: Is there a problem?
- Replies: 2
- Views: 1246
Re: Terrible bug
Weird, because when I run the following code: Condition1 = TRUE; Condition2 = TRUE; Condition3 = FALSE; Condition4 = CONDITION1 AND CONDITION2 AND CONDITION3; If LastBarOnChart Then Print(Condition4); MultiCharts correctly indicates FALSE. Maybe you could shed some light on the rest of your code to ...
- 29 Oct 2013
- Forum: MultiCharts
- Topic: Calculating standard deviation of trades in portfolio
- Replies: 6
- Views: 2414
Re: Calculating standard deviation of trades in portfolio
What I ended up doing was exporting the data to Excel and analyzing it there - it was a lot easier than I expected.
- 29 Oct 2013
- Forum: MultiCharts
- Topic: Calculating standard deviation of trades in portfolio
- Replies: 6
- Views: 2414
Re: Calculating standard deviation of trades in portfolio
Sure, what I mean is that within a portfolio, there are a series of closed trades generated, each with either a profit or loss. I want to calculate the standard deviation of that string of closed trades.
- 29 Oct 2013
- Forum: MultiCharts
- Topic: Calculating standard deviation of trades in portfolio
- Replies: 6
- Views: 2414
Re: Calculating standard deviation of trades in portfolio
Thanks Dave - so that value can be calculated for the entire portfolio? Can you give an example? And by "entire portfolio", I do not mean each market + system in portfolio, but I mean for all the trades that occur within a portfolio in aggregate ... so, one standard deviation value for all the marke...
- 28 Oct 2013
- Forum: MultiCharts
- Topic: Calculating standard deviation of trades in portfolio
- Replies: 6
- Views: 2414
Calculating standard deviation of trades in portfolio
Is there an easy way, using the Portfolio Backtester, to calculate the standard deviation per trade? I know I could export the entire Portfolio Report to Excel and do it manually, but I was wondering whether there is an easier way?
- 22 Oct 2013
- Forum: MultiCharts
- Topic: How do I fix ... ?
- Replies: 2
- Views: 1066
Re: How do I fix ... ?
Windows 7 - I will check into the accessibility options - I know that they can be activated by accident quite easily.
- 22 Oct 2013
- Forum: MultiCharts
- Topic: How do I fix ... ?
- Replies: 2
- Views: 1066
How do I fix ... ?
For some reason, the PowerLanguage editor is scrolling horizontally as I type ... which is very distracting. How do I make it so that it doesn't do that?
- 15 Oct 2013
- Forum: MultiCharts
- Topic: MultiCharts registering prices that were never hit
- Replies: 6
- Views: 2461
Re: MultiCharts registering prices that were never hit
On top of that the data's time and sales tape shows that after the execution of the trade entry, the specific trade target was never reached even though MultiCharts shows that it was reached. Are you saying that the data source you're using for historical backtesting purposes is not showing the pri...
- 07 Oct 2013
- Forum: MultiCharts
- Topic: Possibility to plot a daily study in an intraday Study? [SOLVED]
- Replies: 11
- Views: 3422
Re: Possibility to plot a daily study in an intraday Study? [SOLVED]
I don't know how clean it will look but all you have to do is: 1) When you create your intraday indicator, make sure you click on the Format Study -> Properties tab and where it says "Base Study On", select the data series for your intraday data; 2) When you create the indicator based on the end-of-...
- 07 Oct 2013
- Forum: MultiCharts
- Topic: Possibility to plot a daily study in an intraday Study? [SOLVED]
- Replies: 11
- Views: 3422
Re: Possibility to plot a daily study in an intraday Study? [SOLVED]
What exactly do you want to see? Do you mean that you want to plot the study based on daily data onto a price chart that shows intraday values, or that you want to overlay a study based on intraday data with a study based on daily data?
- 07 Oct 2013
- Forum: MultiCharts
- Topic: Stop Trading After Daily Loss Is Reached [SOLVED]
- Replies: 9
- Views: 3395
Re: Stop Trading After Daily Loss Is Reached [SOLVED]
This is weird. To debug it, I would place the following code at the end: Print(Date," ",Time," ",NetProfit," ",YNP," ",NumToStr(NetProfit - YNP,4)," ",MaxDailyLoss); ... this is going to generate a series of values for each bar in the Output window in the PowerLanguage Editor, each bar identified ma...
- 01 Oct 2013
- Forum: MultiCharts
- Topic: How to connect multicharts to Merrill Lynch?
- Replies: 3
- Views: 1425
Re: How to connect multicharts to Merrill Lynch?
Are you looking to simply pull price data from their platform or do you want to make transactions through them? I'm surprised they don't offer platforms like Trading Technologies or JTrader, for example , both of which MultiCharts supports - those platforms have been around for 10 years or more.
- 26 Sep 2013
- Forum: MultiCharts
- Topic: Profit Target and Break Even
- Replies: 2
- Views: 1181
Re: Profit Target and Break Even
As others have pointed out on previous occasions, you don't want to use the setProfitTarget, setStopLoss and setBreakEven commands within conditional statements. Instead, you should set them once within your code and that's it. Also note that setProfitTarget is designed to exit the trade once the gi...
- 16 Aug 2013
- Forum: MultiCharts
- Topic: Calculate Stock Beta by Covariance and Variance
- Replies: 5
- Views: 2787
Re: Calculate Stock Beta by Covariance and Variance
Instead of troubleshooting your example, I am posting the code I experimented with as well as an Excel spreadsheet I used to verify the results from the code below: Here is my code (it should look familiar): Vars: stockNetChange(0), indexNetChange(0), pairCovariance(0), indexVariance(0),beta(0); If ...
- 15 Aug 2013
- Forum: MultiCharts
- Topic: Calculate Stock Beta by Covariance and Variance
- Replies: 5
- Views: 2787
Re: Calculate Stock Beta by Covariance and Variance
In checking out functions, etc., I discovered that there is a COVAR function that delivers results equal to Excel. Try that out.
- 15 Aug 2013
- Forum: MultiCharts
- Topic: Calculate Stock Beta by Covariance and Variance
- Replies: 5
- Views: 2787
Re: Calculate Stock Beta by Covariance and Variance
I think the issue has to do with the covariance function - the number it is outputting in the tests I've run using AAPL vs. SPY is very high - in the 3000 range. When I run the same data through Excel, the number comes in at 0.3949. In contrast, the variance function gives the exact same number as E...
- 09 Aug 2013
- Forum: MultiCharts
- Topic: Multiple entry and exit of positions
- Replies: 6
- Views: 8391
Re: Multiple entry and exit of positions
For option #3 above (setting a tracking variable), yes, you would want to be able to monitor whether the market trades through your entry price level for each entry type you have. If the number of different entries get high (for example, more then three separate entry conditions within one strategy)...
- 08 Aug 2013
- Forum: MultiCharts
- Topic: Multiple entry and exit of positions
- Replies: 6
- Views: 8391
Re: Multiple entry and exit of positions
As far as I know, the "setstoploss" function is not customizable for specific entries within a trading model. However, you should be able to accomplish what you're seeking to do with EasyLanguage. Doing so requires you to keep track which entry trades have been triggered, and to only exit portions o...
- 07 Aug 2013
- Forum: MultiCharts
- Topic: Place text at order entry/exit bar
- Replies: 4
- Views: 2210
Re: Place text at order entry/exit bar
You could always qualify your condition as follows: var: my.entry(-1); if Close crosses over UpperBand AND MarketPosition < 1 then BEGIN Buy ( "SVE Vol LE" ) next bar market ; my.entry = Text_New(Date, Time, Low, NumToStr(EntryPrice, 0)); END; In this way, it would only place the text when you place...
- 07 Aug 2013
- Forum: MultiCharts
- Topic: Special bracket order-- help requested
- Replies: 2
- Views: 1567
Re: Special bracket order-- help requested
It wouldn't be too hard to set up this kind of order as a system in EasyLanguage. You could do something like this: Inputs: BuyTrigger(10.02), LongEntry(11.10), LongProtectiveStop(9.00),LongTarget(12); Vars: FreshTrade(TRUE), WorkTrade(FALSE); If Date <> Date[1] Then Begin // Resets values at beginn...
- 30 Jul 2013
- Forum: MultiCharts
- Topic: Creating an instrument from calculated data [SOLVED]
- Replies: 12
- Views: 6970
Re: Creating an instrument from calculated data [SOLVED]
You can use the PlotPB command to easily replicate a bar chart.
- 24 Jul 2013
- Forum: MultiCharts
- Topic: MC 8.7 question about T&S data
- Replies: 26
- Views: 7587
Re: MC 8.7 is totaly inaccurate and it is missing data !
I hereby recommend this post for the award of "Most Annoying Message Title Of 2013"
Speech! Speech!
Speech! Speech!
- 24 Jul 2013
- Forum: MultiCharts
- Topic: Trading one instrument, multiple charts [SOLVED]
- Replies: 7
- Views: 4307
Re: Trading one instrument, multiple charts [SOLVED]
One way to avoid confusion is to use some kind of tracking variable to keep track of whether you're long or short. You would have to build in some kind of logic that determines whether you should have been filled, and if so, set your tracking variable accordingly. For example, let's say that you are...
- 18 Jul 2013
- Forum: MultiCharts
- Topic: US Stock Chart with Split Price
- Replies: 5
- Views: 2443
Re: US Stock Chart with Split Price
As TJ indicated, the subject of stock splits is something to be handled by your data provider.
MC displays what you give it.
MC displays what you give it.
- 12 Jul 2013
- Forum: MultiCharts
- Topic: Conversion of MC Array to CSV file
- Replies: 1
- Views: 1977
Re: Conversion of MC Array to CSV file
There is a "FileAppend" function in EasyLanguage that you could use here. It takes the following form: FileAppend("PathFilename","StringExpression") Where: PathFilename - a string expression specifying the path and filename StringExpression - the string expression to be appended to a file Example Fi...
- 28 May 2013
- Forum: MultiCharts
- Topic: EL generation software
- Replies: 3
- Views: 2772
Re: EL generation software
I used a predecessor version of the software. The developer, Michael Harris, is a solid researcher and trader, and was always very helpful and responsive when I would pose questions to him. The one challenge with this software is that, as I recollect, it represents a type of data mining and so wheth...
- 22 May 2013
- Forum: MultiCharts
- Topic: Rejected Order: "stop price must be below last trade price" [SOLVED]
- Replies: 30
- Views: 10305
Re: Rejected Order: "stop price must be below last trade pri [SOLVED]
I wouldn't put your stop so close to the prior bar's close to begin with. It almost negates the point of the stop - you're basically going to trade at the offer.
- 22 Apr 2013
- Forum: MultiCharts
- Topic: Difference between a stop and a market order
- Replies: 3
- Views: 2107
Re: Difference between a stop and a market order
I can't speak to precisely what MultiCharts intended with that particular setting, but the way to "avoid" extreme slippage on a stop is to use what's called a stop limit order. This is a stop that will only be executed within a certain band - so, for example, let's imagine you're trading E-Mini S&P ...
- 27 Mar 2013
- Forum: MultiCharts
- Topic: Strategy buy first day of the month [SOLVED]
- Replies: 9
- Views: 5094
Re: Strategy buy first day of the month [SOLVED]
This is what I was trying to explain before (admittedly, maybe my point wasn't clear): If you use the code If dayofmonth(date)=1 ... It will only register TRUE if the first trading day of the month is ALSO the first day of the month. If the first trading day of the month is NOT the first calendar da...
- 22 Mar 2013
- Forum: MultiCharts
- Topic: Strategy buy first day of the month [SOLVED]
- Replies: 9
- Views: 5094
Re: Strategy buy first day of the month [SOLVED]
The problem with your code is that the first day of the month may not have the day number of 1, if the new month starts on a Saturday or Sunday. Try something like: If Month(Date) <> Month(Date[1]) .... In this way, it compares the month of the current date versus the month of the date one bar previ...
- 20 Mar 2013
- Forum: MultiCharts
- Topic: Elexcel, Global variable: Memory overload problem
- Replies: 7
- Views: 2631
Re: Elexcel, Global variable: Memory overload problem
It would be really cool if someone could show how to write a very simple DLL using Visual Studio that is compatible with MultiCharts, either on a 32-bit or 64-bit basis. I have done some experimenting with it, but quite honestly, I gave up because it's so hard to debug problems. The DLL will compile...
- 15 Mar 2013
- Forum: MultiCharts
- Topic: Displaying a diamond over a bar
- Replies: 26
- Views: 8057
Re: Displaying a diamond over a bar
I see them in Wingdings as character code 217 -- maybe try this character: ȗ and Ș
- 15 Mar 2013
- Forum: MultiCharts
- Topic: Displaying a diamond over a bar
- Replies: 26
- Views: 8057
Re: Displaying a diamond over a bar
You're welcome. Can we see what the chart looks like? (I've never seen this used before!)
- 15 Mar 2013
- Forum: MultiCharts
- Topic: Displaying a diamond over a bar
- Replies: 26
- Views: 8057
Re: Displaying a diamond over a bar
You would do something like: if High > Highest(High,10)[1] then begin Value1 = Text_New (Date, Time, High, "u"); Value2 = Text_SetFontName(value1, "Wingdings"); value3 = Text_SetColor(value1, yellow); End; There is a whole list of colors you can use, and you can also use RGB values too. See the sect...
- 15 Mar 2013
- Forum: MultiCharts
- Topic: Displaying a diamond over a bar
- Replies: 26
- Views: 8057
Re: Displaying a diamond over a bar
Change your code as follows:
I'm assuming you have a font called "Wingdings" on your computer.
Code: Select all
if High > Highest(High,10)[1] then begin
Value1 = Text_New (Date, Time, High, "u");
Value2 = Text_SetFontName(value1, "Wingdings");
End;
- 15 Mar 2013
- Forum: MultiCharts
- Topic: Displaying a diamond over a bar
- Replies: 26
- Views: 8057
Re: Displaying a diamond over a bar
When the signal generates, you set the character to display using the Text_New command and then set you the font for the text you just created to windings, so it's something like: value1 = Text_New(bar date, bar time, price value, "u") value2 = Text_SetFontName(value1, "Wingdings") ... since "u" cor...
- 07 Mar 2013
- Forum: MultiCharts
- Topic: Referencing Bar Number and Time of
- Replies: 4
- Views: 2652
Re: Referencing Bar Number and Time of
Unless I misunderstand things, couldn't you use the LowestBar(Low,10) to get this information?
i.e.,
... or something like that?
i.e.,
Code: Select all
lowBar = lowestBar(Low,10);
lowTime = Time[lowBar];
lowBarNumber = currentBar - lowBar;
- 04 Mar 2013
- Forum: MultiCharts
- Topic: BackTesting Problem [SOLVED]
- Replies: 13
- Views: 4314
Re: BackTesting Problem [SOLVED]
In the past, there were a few problems with how MC writes to Excel: 1) It saves the Excel file with an ".xlsx" extension but that's not the correct format. It's really ".xls" 2) If you don't have the application "excel.exe" on your computer (which can happen with newer versions of MS Office), it won...
- 22 Feb 2013
- Forum: MultiCharts
- Topic: MULTICHARTS 8.5 RELEASE
- Replies: 186
- Views: 76855
Re: MULTICHARTS 8.5 RELEASE
waiting for more reviews from MC users before updating as every release brings too many surprises. I hope that at least an official release tested properly by developers. thanks for good job in advance. Well, they've had this as a "beta" for quite some time now, during which time they got a lot of ...
- 21 Feb 2013
- Forum: MultiCharts
- Topic: How to get the close price of specific date [SOLVED]
- Replies: 5
- Views: 3501
Re: How to get the close price of specific date [SOLVED]
Evdl's solution will work if you're looking for a fixed date (and you know what it is when you program your system) but it won't work if you the date you're looking for changes somehow with each new bar.
- 21 Feb 2013
- Forum: MultiCharts
- Topic: How to get the close price of specific date [SOLVED]
- Replies: 5
- Views: 3501
Re: How to get the close price of specific date [SOLVED]
I recall seeing a post a little while ago that included a "binary search" function to find bars. Binary search is a lot faster than a simple sequential search. I haven't used this function but it may be a good place to start ... ? https://www.multicharts.com/discussion/viewtopic.php?f=5&t=7749&hilit...
- 20 Feb 2013
- Forum: MultiCharts
- Topic: day trading times for various commocities
- Replies: 3
- Views: 1494
Re: day trading times for various commocities
One suggestion would be to display a 15 minute bar chart for each market with 24 hour data (or as close to 24 hour as each market has available) and then plot the transaction volume by bar. Examine the periods where the volume seems to be the highest and that's your answer. For some markets, they st...
- 18 Jan 2013
- Forum: User Contributed Studies and Indicator Library
- Topic: Optimization By linear Equity Curve
- Replies: 14
- Views: 13887
Re: Optimization By linear Equity Curve
Thanks for writing this - can you explain how we use it though? Do we take the code found in !optimize by equity curve std dev! and put that in our signal? When I do that, I get an STD Exception: invalid argument.
I'm sure I'm doing something wrong here - any help?
I'm sure I'm doing something wrong here - any help?
- 15 Jan 2013
- Forum: MultiCharts
- Topic: Confusing Date range formate in QM: Edit Data
- Replies: 3
- Views: 3112
Re: Confusing Date range formate in QM: Edit Data
On a related note, I notice that the date displayed in the "Expert Commentary" window is set as DD/MM/YYYY, although my Windows settings are for MM/DD/YYYY.
- 07 Jan 2013
- Forum: MultiCharts
- Topic: Saved (on disk) Opt Results Silently Destroyed
- Replies: 8
- Views: 5075
Re: Saved (on disk) Opt Results Silently Destroyed
I have always thought that it would be nice to be able to save optimization results and re-load them at some point in the future.
- 07 Jan 2013
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
MC_Prog, what other programs would you recommend that handle walk-forward analysis fairly well?
- 05 Jan 2013
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
Thank you for this insight - I hope the developers see this and figure out how to rectify this issue.
- 05 Jan 2013
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
Is it correct to say that walk-forward optimization answers the following question: "If you have a trading system that you plan on periodically re-optimizing, how effective is that periodic re-optimization process?" In other words, are the system rules robust enough so that parameters discovered thr...
- 16 Dec 2012
- Forum: MultiCharts
- Topic: HELP!!who can tell me some famous program trade Periodical?
- Replies: 3
- Views: 1232
Re: HELP!!who can tell me some famous program trade Periodi
There is a magazine called Automated Trader which is (I believe) published from London.
You can learn more about it here:
http://www.automatedtrader.net/
You can learn more about it here:
http://www.automatedtrader.net/
- 14 Dec 2012
- Forum: MultiCharts
- Topic: HELP!!who can tell me some famous program trade Periodical?
- Replies: 3
- Views: 1232
Re: HELP!!who can tell me some famous program trade Periodi
You may want to re-submit your question, because as it is written, it makes no sense. I assume English is not your native language, so perhaps try a different translation program.
- 10 Dec 2012
- Forum: MultiCharts
- Topic: Hourly OHLC data
- Replies: 6
- Views: 1897
Re: Hourly OHLC data
With tick charts, instead of saying time = sessionend, you'd say something like:
if time[1] < sessionend and time > sessionend then ...
Note that there's going to be some slippage, depending on how active the market is around sessionend time.
if time[1] < sessionend and time > sessionend then ...
Note that there's going to be some slippage, depending on how active the market is around sessionend time.
- 10 Dec 2012
- Forum: MultiCharts
- Topic: Hourly OHLC data
- Replies: 6
- Views: 1897
Re: Hourly OHLC data
If you were using hourly bars, you could do something like this: Input: SessionEnd(1700); Vars: DayHigh(0), DayLow(0); If H > DayHigh Then DayHigh = H; If L < DayLow Then DayLow = L; If Time = SessionEnd Then Begin // Insert pivot calculations here // Then reset day High and day low - either to curr...
- 10 Dec 2012
- Forum: MultiCharts
- Topic: Hourly OHLC data
- Replies: 6
- Views: 1897
Re: Hourly OHLC data
I think it's possible but I'm having difficulty understanding the specific application. Can you outline specifically what you want to be able to do?
- 13 Nov 2012
- Forum: MultiCharts
- Topic: multiple entry when using multi-timeseries
- Replies: 12
- Views: 1826
Re: multiple entry when using multi-timeseries
From what you're describing, that certainly sounds strange. Could you run the same analysis, but use a timestamp with seconds (i.e., "time_s" instead of "time"). This will help confirm the sequence of events. Also, are the results that you're seeing occurring in real-time or when you're back-testing?
- 13 Nov 2012
- Forum: MultiCharts
- Topic: multiple entry when using multi-timeseries
- Replies: 12
- Views: 1826
Re: multiple entry when using multi-timeseries
Without being able to test your code, I can only speculate, but I think it has to do with the fact that the system may not realize that you're in a position when it places the second order. Check the value of "market position" for each of your bars (by printing it out) and see when it switches from ...
- 12 Nov 2012
- Forum: MultiCharts
- Topic: bandwidth forumula!! [help]
- Replies: 4
- Views: 1586
Re: bandwidth forumula!! [help]
Yes, it's possible that "bandwidth" returns to some other type of trading bands ... or something else entirely!
Do you know what parameters are used for calculating bandwidth? That might give a hint as to the code underlying it ....
Do you know what parameters are used for calculating bandwidth? That might give a hint as to the code underlying it ....
- 12 Nov 2012
- Forum: MultiCharts
- Topic: bandwidth forumula!! [help]
- Replies: 4
- Views: 1586
Re: bandwidth forumula!! [help]
When I have seen the term "bandwidth" used in relation to trading strategies, it usually refers to the distance between two Bollinger bands. To calculate the "bandwidth", you would simply subtract the lower Bollinger band from the higher Bollinger band as follows: vars: bandwidth(0); bandwidth = Bol...
- 06 Nov 2012
- Forum: MultiCharts
- Topic: Finding Highest Price Based on value
- Replies: 4
- Views: 1439
Re: Finding Highest Price Based on value
I don't think you need an array. If you view each time the stochastic goes over your threshold level (80) as a separate "event", you just need to keep track of the highest price that is reached for each event. In EasyLanguage, you would say something like this: Input: Threshold(80); Var: Stoch_HighP...
- 01 Nov 2012
- Forum: MultiCharts
- Topic: multi data series
- Replies: 8
- Views: 1612
Re: multi data series
What do you mean when you say "I'm in data2"? It's my understanding that the EL code is run (1) after every tick on data1 if the study's "Update On Every Tick" property is checked or (2) at the close of every bar on data1 if the property is not checked. When the code is run, you can check both data1...
- 01 Nov 2012
- Forum: MultiCharts
- Topic: multi data series
- Replies: 8
- Views: 1612
Re: multi data series
One easy way to do this then would be to add 1 for every 4th bar you see in data series 1.
- 01 Nov 2012
- Forum: MultiCharts
- Topic: multi data series
- Replies: 8
- Views: 1612
Re: multi data series
What are the time periods for data1 and data2?
- 26 Oct 2012
- Forum: MultiCharts
- Topic: Calculating shape of equity curve for optimizer fitness?
- Replies: 1
- Views: 1239
Calculating shape of equity curve for optimizer fitness?
Can anyone suggest a metric that can be used in the MultiCharts optimizer that would indicate whether the equity curve for a particular system is "the smoothest"? I imagine that if you could somehow calculate the "best fit" line for a positive equity curve and then calculate to what extent individua...
- 10 Oct 2012
- Forum: MultiCharts
- Topic: Ensuring Sufficient Data Loaded For Indicator On Scanner [SOLVED]
- Replies: 5
- Views: 1632
Re: Ensuring Sufficient Data Loaded For Indicator On Scanner [SOLVED]
I'm confused, how do you change the data length manually when it comes to the scanner?
- 10 Oct 2012
- Forum: MultiCharts
- Topic: Ensuring Sufficient Data Loaded For Indicator On Scanner [SOLVED]
- Replies: 5
- Views: 1632
Re: Ensuring Sufficient Data Loaded For Indicator On Scanner [SOLVED]
Thank you for your response. Let me rephrase my question: can you force the scanner to load a specific number of bars so that it has sufficient data to calculate an indicator?
- 10 Oct 2012
- Forum: MultiCharts
- Topic: MC Discretionary Trader Mobile?
- Replies: 6
- Views: 3681
Re: MC Discretionary Trader Mobile?
I believe GoToMyPC.com will also allow you to remotely control a desktop PC using an iPhone, iPad or Android-powered tablet.
http://www.gotomypc.com/
http://www.gotomypc.com/
- 10 Oct 2012
- Forum: MultiCharts
- Topic: Ensuring Sufficient Data Loaded For Indicator On Scanner [SOLVED]
- Replies: 5
- Views: 1632
Ensuring Sufficient Data Loaded For Indicator On Scanner [SOLVED]
When you place data on a chart, you can specify that X number of days back are loaded, which then ensures that you have sufficient data with which to calculate a particular indicator that you place on a chart. Is it possible to do the same thing when indicators are placed on the scanner? Right now, ...
- 26 Sep 2012
- Forum: MultiCharts .NET
- Topic: Spread trading and MultiCharts.NET strategy report
- Replies: 2
- Views: 2577
Spread trading and MultiCharts.NET strategy report
I am an MC user but not (yet) an MC.NET user. It is my understanding that, with MC.NET, it is possible to write strategies that trade spreads between different markets (i.e., going long AAPL and short GOOG). When you run these strategies, does the MC.NET strategy report show the performance for the ...
- 20 Sep 2012
- Forum: MultiCharts
- Topic: How to launch a strategy on hundreds stocks
- Replies: 12
- Views: 3095
Re: How to launch a strategy on hundreds stocks
Could you trade a basket of stocks with MultiCharts.net?
- 20 Sep 2012
- Forum: MultiCharts
- Topic: Pending orders eating up my buying power
- Replies: 4
- Views: 1609
Re: Pending orders eating up my buying power
The other strategy might be not to work orders in the market but rather have the strategy monitor trade levels and enter orders either (a) when the market gets close to your key level ("close" being a term defined by you) or (b) once the market trades at your level (or the prevailing bid or offer hi...
- 15 Aug 2012
- Forum: User Contributed Studies
- Topic: TPO
- Replies: 71
- Views: 44458
Re: TPO
This looks fantastic - can you explain a little bit what you did to make this? How long did it take to create?
- 02 Aug 2012
- Forum: MultiCharts
- Topic: Strategy: where do I see the order the system is working on?
- Replies: 11
- Views: 3048
Re: Strategy: where do I see the order the system is working
Okay, so what we do is add some code to your system to post a message to the screen regarding the system's status. As shown below, we create a string variable called MessageText and we assign it a value based on whatever the status of our system is (i.e., working an order, long, short, etc.). At the...
- 01 Aug 2012
- Forum: MultiCharts
- Topic: Strategy: where do I see the order the system is working on?
- Replies: 11
- Views: 3048
Re: Strategy: where do I see the order the system is working
Actually, I just use the text commands in PowerLanguage to put a message on the actual chart screen. If you want me to show you an example, lemme know.
- 31 Jul 2012
- Forum: MultiCharts
- Topic: Strategy: where do I see the order the system is working on?
- Replies: 11
- Views: 3048
Re: Strategy: where do I see the order the system is working
One thing I have learned in using Multicharts to trade systems in real time (not automated systems, but to generate signals), is that you have to write additional code to let you know what orders to work - i.e., put a line of text saying something like "Working to buy 100 shares @ 55.25" or somethin...
- 19 Jul 2012
- Forum: MultiCharts
- Topic: why does this happen?
- Replies: 6
- Views: 1257
Re: why does this happen?
In the strategy performance report, does it show that all of these trades are losing money? If not, it may be a system formatting issue. If it does, there may be an issue in how MC is configured for this particular market or how slippage and commissions are being calculated based on your settings.
- 19 Jul 2012
- Forum: MultiCharts
- Topic: why does this happen?
- Replies: 6
- Views: 1257
Re: why does this happen?
I think you're going to need to be a bit more descriptive with your question. Why does WHAT happen? What did you expect to happen?
- 20 Jun 2012
- Forum: User Contributed Studies and Indicator Library
- Topic: [Advanced Topic] Send eMail using DLL
- Replies: 16
- Views: 12791
Re: Send Mail DLL with MC
It was written using FreeBasic so I am guessing it's a 32-bit DLL. I have not tried to use it with MC 64-bit yet. The code of the dll itself is very simple - it simply executes a shell command - so reproducing it in a 64-bit environment shouldn't be too hard.
- 05 Jun 2012
- Forum: MultiCharts
- Topic: MC.Net As A Platform For Machine Learning?
- Replies: 0
- Views: 1255
MC.Net As A Platform For Machine Learning?
One big question I have about MC.net is whether it will allow developers to maintain or pass data between different tests of an optimization. Let me explain what I mean: When you currently run an optimization in MultiCharts, the results of the particular test you're running will be calculated based ...
- 24 May 2012
- Forum: MultiCharts
- Topic: how to buy next bar at close
- Replies: 7
- Views: 1523
Re: how to buy next bar at close
Just set up a boolean variable that tells you when the conditions are met to buy the next bar t the close and when they are met, then wait 1 bar and then buy the next bar at the close. It's a pretty simple programming thing.
- 23 May 2012
- Forum: MultiCharts
- Topic: Storing critical values in database
- Replies: 9
- Views: 2170
Re: Storing critical values in database
I would imagine this would be fairly easy to implement in MC.net.
- 21 May 2012
- Forum: MultiCharts
- Topic: Can strategy read TXT file
- Replies: 1
- Views: 1174
Re: Can strategy read TXT file
Yes. I've done strategies like this in the past, and to do so, I used the ELCollections.dll which is a free set of EasyLanguage/PowerLanguage commands that allows you to read .csv files and the like. Do a search for ELCollections on this forum board to find the most recent version available. It come...
- 16 May 2012
- Forum: MultiCharts
- Topic: Multicharts and grid computing
- Replies: 11
- Views: 3393
Re: Multicharts and grid computing
If you're running a back test, I imagine you could have different computers running different trials, and then have the source computer retrieve and compile the results ...
- 04 May 2012
- Forum: MultiCharts
- Topic: Vote for Genetic Programing feature addition in MC
- Replies: 20
- Views: 5449
Re: Vote for Genetic Programing feature addition in MC
The most important thing with GA is to make sure you're not curve-fitting - which can be very hard to do. In the GA work I've done with Adaptrade Builder, I focus on keeping things simple, running lots of tests, and doing extensive out-of-sample testing to see what holds up. One of the things that p...
- 27 Apr 2012
- Forum: MultiCharts
- Topic: Vote for Genetic Programing feature addition in MC
- Replies: 20
- Views: 5449
Re: Vote for Genetic Programing feature addition in MC
I'm not sure what you mean - Builder allows you to incorporate custom indicators in its strategy development, although you cannot optimize those indicators (it incorporates the indicator's output alongside the historical price data as one of the indicators it considers). Also, on a side note, Adaptr...
- 26 Apr 2012
- Forum: MultiCharts
- Topic: Vote for Genetic Programing feature addition in MC
- Replies: 20
- Views: 5449
Re: Vote for Genetic Programing feature addition in MC
It is a separate, stand-alone program that generates trading system code that can be used in MultiCharts and TS. They have a free trial, so you may want to play around with it for a couple of weeks and see what you think.
- 26 Apr 2012
- Forum: MultiCharts
- Topic: data feed couldn't be loaded.
- Replies: 2
- Views: 1958
Re: data feed couldn't be loaded.
I would recommend contacting customer support via online chat and they should be able to troubleshoot the problem. It's very hard to diagnose simply based on the description you provided.
- 26 Apr 2012
- Forum: MultiCharts
- Topic: External inputs / values into strategies? e.g. csv lookup? [SOLVED]
- Replies: 11
- Views: 4684
Re: External inputs / values into strategies? e.g. csv looku [SOLVED]
The ELCollections.dll, which is free on the Internet and can be found here: https://www.multicharts.com/discussion/viewtopic.php?t=2483 ... adds a bunch of new commands to EasyLanguage which can be used to retrieve data from .csv files and search it quickly. I've written several strategies that use ...
- 26 Apr 2012
- Forum: MultiCharts
- Topic: Vote for Genetic Programing feature addition in MC
- Replies: 20
- Views: 5449
Re: Vote for Genetic Programing feature addition in MC
There are good genetic algorithm-generating programs out there already that cost roughly the same as MC. I'm thinking of Adaptrade's Builder program which generates system code that can be used within MultiCharts directly. You can learn more and try a free trial at: http://www.adaptrade.com/ I own t...
- 13 Apr 2012
- Forum: User Contributed Studies and Indicator Library
- Topic: Number of Trades per day
- Replies: 6
- Views: 3686
Re: Number of Trades per day
I don't have a pre-built script but, assuming you're using intraday day data, you would retrieve the total # of trades (PowerLanguage keyword 'TotalTrades') that have been completed up to the start of that day (so, for example, in the e-Mini S&P 500, you'd check at 8:30 am CST) and then, with each b...
- 10 Apr 2012
- Forum: MultiCharts
- Topic: As soon as a trade is stopped out MarketPosition =0
- Replies: 9
- Views: 2802
Re: As soon as a trade is stopped out MarketPosition =0
Is it the case that you can get filled and stopped out of the same bar? Or does that rarely ever happen? Also, is the problem happening when you backtest or when you're trading live?
- 09 Apr 2012
- Forum: MultiCharts
- Topic: Portfolio Trading
- Replies: 47
- Views: 20072
Re: Portfolio Trading
When it comes to constructing such a "panel", it would be cool too if PowerLanguage gave the ability to post notes or messages to a column on the panel so, for example, a trader could be alerted when certain things are happening in the markets being followed - or a trade is about to fire, etc. It ca...
- 05 Apr 2012
- Forum: MultiCharts
- Topic: Portfolio Trading
- Replies: 47
- Views: 20072
Re: Portfolio Trading
This sounds very cool - do you have a mockup or something we could look at? Related to Portfolio Trading is the idea of spread trading ... which PowerLanguage (and EasyLanguage) don't handle well at all. It would be great to see the ability to easily work related trades on multiple markets (and trac...
- 05 Apr 2012
- Forum: MultiCharts
- Topic: Automated trading with MultiCharts – what can go wrong?
- Replies: 10
- Views: 2792
Re: Automated trading with MultiCharts – what can go wrong?
This is not an "error" but I think it's something you should be aware of - depending on how your code is written, it's possible that MC will rapidly enter and cancel orders (limit and stop orders) if you're using IntraBarOrderGeneration - even if the orders are at the same price. This will happen if...
- 28 Mar 2012
- Forum: MultiCharts
- Topic: MC to show orders done by an ext. application/ Possible?
- Replies: 2
- Views: 838
Re: MC to show orders done by an ext. application/ Possible?
When I place orders onto a TT Server using a separate app, they show up in MultiCharts when I'm connected. It's pretty cool.
- 20 Mar 2012
- Forum: MultiCharts
- Topic: Anyone here good at math?
- Replies: 9
- Views: 2852
Re: Anyone here good at math?
Thanks Gregorio - the solution I came up with uses the ArcTangent value and I am getting results that look very close to being right, if not 100% right. I am still working on it but here is the code I have: Inputs: PointADate("03/14/2012"), PointATime(2045), PointAPrice(1391); Inputs: PointBDAte("03...
- 19 Mar 2012
- Forum: MultiCharts
- Topic: How do I get incomplete daily bar
- Replies: 12
- Views: 2073
Re: How do I get incomplete daily bar
That's right - if the code is read-only and there is no way to know what functions the indicator calls (if any), I think you'd have to read values from the chart.
- 19 Mar 2012
- Forum: MultiCharts
- Topic: How do I get incomplete daily bar
- Replies: 12
- Views: 2073
Re: How do I get incomplete daily bar
Depending on the types of indicators you're using on your daily chart, it's possible that you could take the indicator's value as of yesterday and adjust them to incorporate today's values, based on the current price values, before the day is closed. For a moving average, for example, it may be fair...
- 16 Mar 2012
- Forum: MultiCharts
- Topic: Anyone here good at math?
- Replies: 9
- Views: 2852
Re: Anyone here good at math?
Thanks to both of you, TJ and BowlesJ3, for taking the time and energy to respond to my post. TJ - I think the formula you provided doesn't represent a true circular rotation, because the length of the black line and the red line is different. For this to be a true rotation, they would need to stay ...
- 15 Mar 2012
- Forum: MultiCharts
- Topic: Anyone here good at math?
- Replies: 9
- Views: 2852
Re: Anyone here good at math?
Sure, I've attached a simple screen shot. This shows the trend line (the dark blue, heavy line) drawn using the code above (in the e-Mini S&P 500). What I am looking to do is allow the user to input an angle, between 0 and 360 degrees, and have the code automatically rotate the trend line from its s...
- 15 Mar 2012
- Forum: MultiCharts
- Topic: Anyone here good at math?
- Replies: 9
- Views: 2852
Anyone here good at math?
I am working on a project that involves creating a complicated multi-line chart overlay for analyzing trends, picking turning points, etc. I am experimenting with first creating one trendline in EasyLanguage, and trying to nail down the math involved with rotating an existing trendline via Easylangu...
- 06 Mar 2012
- Forum: MultiCharts
- Topic: Code help
- Replies: 6
- Views: 1396
Re: Code help
Like I said, I guess I'm confused - I don't really understand what you're trying to do here. It sounds like you're saying that, based on the numeric input oHL, you want to test different conditions. That's pretty easy: Input: oHL(1); Condition1 = FALSE; If oHL = 1 Then Condition1 = X > Y; If oHL = 2...
- 06 Mar 2012
- Forum: MultiCharts
- Topic: Code help
- Replies: 6
- Views: 1396
Re: Code help
So you want to be able to assign ">1" as an input setting? That's possible - it's simply a string input (as opposed to a numeric input). Input: oHL(">1"); // Or whatever the user puts in here You would then have to analyze the text string using the built-in PowerLanguage text keywords to identify th...
- 05 Mar 2012
- Forum: MultiCharts
- Topic: Code help
- Replies: 6
- Views: 1396
Re: Code help
I may be a little confused but maybe I can help.
Do you want the user to be able to assign the input setting oHL to the string value of ">" or do you want to be able to assign oHL the numeric value of 1 ... ?
Do you want the user to be able to assign the input setting oHL to the string value of ">" or do you want to be able to assign oHL the numeric value of 1 ... ?
- 05 Mar 2012
- Forum: MultiCharts
- Topic: MC Spread on IB . Is MC is getting paid 1 pip by IB?
- Replies: 10
- Views: 3287
Re: MC Spread on IB . Is MC is getting paid 1 pip by IB?
I would be surprised to see any differences on any quotes over MC. Are you sure that they are showing the same prices (i.e., both are bids or is one showing the last traded price? Do they update at the same time?) Could it be a decimal setting?
- 01 Mar 2012
- Forum: MultiCharts
- Topic: Why doesn't this work ???
- Replies: 4
- Views: 1274
Re: Why doesn't this work ???
I am getting the same error, which is odd because it shouldn't be trying to calculate AverageFC when it is not enabled to do so. It's like MultiCharts is calculating it no matter what. One thing to note - I don't know whether there's much point in using AverageFC since it generates the same result a...
- 23 Feb 2012
- Forum: MultiCharts
- Topic: HELP ,I want to use Monte Carlo method in Multicharts
- Replies: 4
- Views: 1718
Re: HELP ,I want to use Monte Carlo method in Multicharts
Those are good suggestions. I'm pretty sure that Market System Analyzer can be used as a trial version for 15-30 days (I think).
- 23 Feb 2012
- Forum: MultiCharts
- Topic: HELP ,I want to use Monte Carlo method in Multicharts
- Replies: 4
- Views: 1718
Re: HELP ,I want to use Monte Carlo method in Multicharts
Another solution would be to buy the Market System Analyzer from Adaptrade - it costs about $350 but it allows you to import a trade list and run Monte Carlo simulations on it (along with a host of other things, like testing different sizing strategies, etc). Here's a link: http://www.adaptrade.com/...
- 23 Feb 2012
- Forum: MultiCharts
- Topic: Calculating Standard Deviation on Live Trading
- Replies: 2
- Views: 1288
Re: Calculating Standard Deviation on Live Trading
One strategy would be to use the ELCollections.dll and create a list in which you store the P&L of each trade once it is closed (if that's what you're looking to analyze). The ELCollections has a built-in standard deviation function that can calculate the standard deviation of any ELCollections list...
- 22 Feb 2012
- Forum: MultiCharts
- Topic: Trendline Intersection
- Replies: 1
- Views: 770
Trendline Intersection
Does anyone know whether there's an easy way to see whether two trendlines overlap using EasyLanguage? And if so, at what bar number and price they overlap?
- 21 Feb 2012
- Forum: MultiCharts
- Topic: 64 bit min machine requirements and usage
- Replies: 11
- Views: 2809
Re: 64 bit min machine requirements and usage
Arnie,
This might sound like a stupid question but with your SSD, do you install the MultiCharts application (the exe) on that drive or your database (or both?)
Thanks!
This might sound like a stupid question but with your SSD, do you install the MultiCharts application (the exe) on that drive or your database (or both?)
Thanks!
- 18 Feb 2012
- Forum: MultiCharts
- Topic: Performance Report: # of Contracts Traded? [SOLVED]
- Replies: 4
- Views: 1709
Re: Performance Report: # of Contracts Traded? [SOLVED]
This is great - thank you very much for taking the time to do this. However, it sounds like this would be something relatively easy to add to the performance report. I am going to add a request in the project manager and see if they add it - thanks again Josh!
- 17 Feb 2012
- Forum: MultiCharts
- Topic: Performance Report: # of Contracts Traded? [SOLVED]
- Replies: 4
- Views: 1709
Re: Performance Report: # of Contracts Traded? [SOLVED]
But that doesn't aggregate them. It just says that for some trades, I did 3 contracts, with other trades I did 2 contracts, etc. Is there a way to get a complete tally of the total # of contracts traded?
- 17 Feb 2012
- Forum: MultiCharts
- Topic: Performance Report: # of Contracts Traded? [SOLVED]
- Replies: 4
- Views: 1709
Performance Report: # of Contracts Traded? [SOLVED]
Is there some place in the standard performance report to see how many contracts were traded historically? I am testing a system that gets in with 3 contracts, exits 2 contracts at a target price and holds on to 1 contract, with a trailing stop. I can see how many trades there were, but each "trade"...
- 09 Feb 2012
- Forum: MultiCharts
- Topic: Problem when exporting reports to Excel
- Replies: 4
- Views: 1292
Re: Problem when exporting reports to Excel
As I understand it, MultiCharts is looking for the excel.exe application file, and some "Click To Run" versions of Microsoft Excel 2010 don't have that. However, I believe that if you own the home and student version, you can obtain (at no cost) a different, stand-alone version of Excel that may sat...
- 07 Feb 2012
- Forum: MultiCharts
- Topic: Problem moving horizontal line on screen ... ?
- Replies: 9
- Views: 2286
Re: Problem moving horizontal line on screen ... ?
That's it - thanks!
- 07 Feb 2012
- Forum: MultiCharts
- Topic: Problem moving horizontal line on screen ... ?
- Replies: 9
- Views: 2286
Problem moving horizontal line on screen ... ?
Hi All, I have come across a weird problem that, I'm sure, has an easy solution. For some reason, when I try to drag an existing horizontal line on one of my charts (that is, move it to different price levels), it seems like the line doesn't follow my cursor at all - it seems to jump around all over...
- 03 Feb 2012
- Forum: MultiCharts
- Topic: MakeNewMovieRef :Anyone as work with it?
- Replies: 3
- Views: 1091
Re: MakeNewMovieRef :Anyone as work with it?
Is MakeNewMovieRef where we get to insert funny references into our code for movies like "Trading Places"? I.e.
Code: Select all
If Randolph = TRUE and Mortimer = TRUE Then Buy 10,000 contracts FCOJ at Market;
- 03 Feb 2012
- Forum: User Contributed Studies and Indicator Library
- Topic: Call a security?
- Replies: 1
- Views: 1837
Re: Call a security?
From what I understand, you must place the security you wish to call as a data series on your chart, and then call it using the "data2" or "data3" qualifiers - like "Close of data2" where data2 is the second market you wish to follow. To the best of my knowledge, it is not possible to call data on a...
- 27 Jan 2012
- Forum: MultiCharts
- Topic: Windows HPC Server 2008 R2 and CUDA
- Replies: 16
- Views: 5921
Re: Windows HPC Server 2008 R2 and CUDA
I am no computer scientist (in fact, far from it), but would it be the case that to perform distributed computing across a series of different machines, you'd want to have a copy of MultiCharts on each machine (or at least the back-testing engine) as well as the price data you're backtesting on. The...
- 27 Jan 2012
- Forum: MultiCharts
- Topic: Are mouse clicks in PowerLanguage important?
- Replies: 24
- Views: 5361
Re: Are mouse clicks in PowerLanguage important?
Yes, bar number and relative price level
- 27 Jan 2012
- Forum: MultiCharts
- Topic: Are mouse clicks in PowerLanguage important?
- Replies: 24
- Views: 5361
Re: Are mouse clicks in PowerLanguage important?
Yeah, it would be cool to be able to capture where and how a user clicks on a chart.
- 25 Jan 2012
- Forum: MultiCharts
- Topic: Emini-Watch X-trend indicator working?
- Replies: 3
- Views: 1621
Re: Emini-Watch X-trend indicator working?
Is the actual EasyLanguage code available somewhere? I can't imagine that the changes he implemented are so difficult that they can't be re-written to work in MultiCharts. Do you have a link to the .eld file?
- 25 Jan 2012
- Forum: MultiCharts
- Topic: Backtesting a list of end-to-end periods
- Replies: 1
- Views: 774
Re: Backtesting a list of end-to-end periods
Hi SR, This shouldn't be too hard to implement. All you have to do is set up a few tracking variables and analyze each date to see if it falls within the areas in which you want to be long or short. Based upon that analysis, you can flag whether it's okay to go long, or short, etc. Here's how I woul...
- 25 Jan 2012
- Forum: MultiCharts
- Topic: Help with Easylanguage
- Replies: 2
- Views: 1159
Re: Help with Easylanguage
Hi Pablo, Yes, this can be a tricky situation especially in cases where (as you noted) you have two or more trades occurring on the same bar. The key here is not to rely on the BarsSinceExit keyword because (as you noticed), this can lead to erroneous results when you have consecutive trades on the ...
- 17 Jan 2012
- Forum: MultiCharts
- Topic: assign value to arrows
- Replies: 4
- Views: 1288
Re: assign value to arrows
I would keep a running toggle variable that tells you whether the most recent arrow was a buy or a sell arrow, and then code the setup for a buy signal to verify (using the toggle) that the most recent arrow was a sell (and vice versa). Once the buy signal arrow is posted, you then switch the toggle...
- 17 Jan 2012
- Forum: MultiCharts
- Topic: Multiple data series with different session time issues.
- Replies: 2
- Views: 993
Re: Multiple data series with different session time issues.
I believe that the issue relates to "Realtime history matching" - essentially, the system will not generate a signal unless all data series are currently updating. There is a way to turn this off for your strategy: Go to "Format Strategy" and click on the tab that says "Properties" Towards the middl...
- 03 Jan 2012
- Forum: MultiCharts
- Topic: Limit To [Offset] Values When Plotting?
- Replies: 1
- Views: 843
Limit To [Offset] Values When Plotting?
In the MC documentation for the PlotN keyword, it gives the keyword parameters as: Numerical: PlotN<[Offset]>(Expression <,"PlotName"<,PlotColor <,Scanner Cell Background Color <,LineWidth >>>>) It notes that you can set an [Offset], so that the plot actually occurs either before or after the curren...
- 30 Dec 2011
- Forum: MultiCharts
- Topic: Is It Possible To ...
- Replies: 9
- Views: 2061
Re: Is It Possible To ...
Thanks again - this has given me a lot to think about. I think the approach that you're describing is the correct one. This really helps.
- 30 Dec 2011
- Forum: MultiCharts
- Topic: MULTICHARTS 7.4
- Replies: 58
- Views: 14172
Re: MULTICHARTS 7.4
Thank you for all of your hard work! This is great.
Looking forward to the 64 bit version too!
Looking forward to the 64 bit version too!
- 30 Dec 2011
- Forum: MultiCharts
- Topic: Optimizing Time
- Replies: 7
- Views: 2146
Re: Optimizing Time
When you use a condition like "time > 1075", then any time that is greater than 1075 will return a true result. In this case, any time that is 1100 (11:00 am) or greater will return a true result, since 1100 is greater than 1075 and will normally appear on most intraday charts. If you had a conditio...
- 26 Dec 2011
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
It would be great if we could get some people here who are familiar with using walk forward optimization to indicate how they use it and what they would like to see in an enhanced WFO module. How could it be made better??
- 23 Dec 2011
- Forum: MultiCharts
- Topic: Is It Possible To ...
- Replies: 9
- Views: 2061
Re: Is It Possible To ...
Wow! Thank you for doing this - I look forward to trying this out, although I ma be delayed because of the holidays. This looks great though!
- 23 Dec 2011
- Forum: MultiCharts
- Topic: Is It Possible To ...
- Replies: 9
- Views: 2061
Re: Is It Possible To ...
Thank you both for your ideas and feedback. Let me try to clarify this (and perhaps I am the one who is confused!) Let's imagine that the constituent data is daily data. As with daily data, you have the OHLC and daily volume. From the OHLC data, you can generate the average price of the day (H+L)/2....
- 23 Dec 2011
- Forum: MultiCharts
- Topic: Is It Possible To ...
- Replies: 9
- Views: 2061
Re: Is It Possible To ...
Sure, attached is a sample chart. Although it looks like a normal "close only" chart, note that the X-axis is labeled as cumulative volume - as a result, at certain junctions on the X-Axis (such as around 0.4 and 0.9), there are "bunches" of orange data points, whereas at other parts of the X-Axis (...
- 23 Dec 2011
- Forum: MultiCharts
- Topic: Is It Possible To ...
- Replies: 9
- Views: 2061
Is It Possible To ...
I am working on a project that involves plotting the average price versus the cumulative volume. In other words, the chart would show each day's average price on the Y-Axis, and the cumulative volume on the X-Axis. During the periods where there was very low trading activity, you would see several d...
- 23 Dec 2011
- Forum: MultiCharts
- Topic: Optimizing Time
- Replies: 7
- Views: 2146
Re: Optimizing Time
You can't optimize over time simply by adding values for the reason you explained. You end up with nonsensical times like 1075. Previously, I wrote a simple EasyLanguage function that allows you to add minutes to a particular time so that the resulting time actually makes sense (so instead of gettin...
- 21 Dec 2011
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
In the current issue of Technical Analysis of Stocks and Commodities magazine, there is an overview of the walk forward optimizer in TS 9.0 - I noted that it, in Figure 5 in the article, they provide a run-down of how to evaluate the results of a walk forward test on a "pass/fail" basis. I'm not sug...
- 21 Dec 2011
- Forum: MultiCharts
- Topic: Vote for MultiCharts! Stocks & Commodities Readers' Choice
- Replies: 4
- Views: 1597
- 19 Dec 2011
- Forum: MultiCharts
- Topic: Merry Christmas and Happy New Year.
- Replies: 8
- Views: 2169
Re: Merry Christmas and Happy New Year.
Yes, here's to hoping that 2012 will be the best and most prosperous year yet!
- 15 Dec 2011
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
But what does that data represent? Are you looking for the one parameter setting that is consistently profitable across all of the time periods? Or are you periodically re-optimizing your results and then showing what those re-optimized results did in the subsequent period? That's what I don't under...
- 15 Dec 2011
- Forum: MultiCharts
- Topic: using walk forward test results
- Replies: 27
- Views: 10872
Re: using walk forward test results
If someone could write a book or article entitled "Walk-Forward Optimization For Dummies," it would be very much appreciated. I have yet to read a clear, concise explanation of how to use it when developing a mechanical system or trading one. In other words, not just focusing on how to execute a wal...
- 13 Dec 2011
- Forum: MultiCharts
- Topic: Teaser for the upcoming release
- Replies: 36
- Views: 10513
Re: Teaser for the upcoming release
To quote above:
Are you leaving users who are (for many reasons..) required to use XP?
No, we will support 32 and 64 bit versions.
- 10 Dec 2011
- Forum: MultiCharts
- Topic: Teaser for the upcoming release
- Replies: 36
- Views: 10513
Re: Teaser for the upcoming release
To load 64 million ticks, how much RAM did you need?
- 09 Dec 2011
- Forum: MultiCharts
- Topic: Portfolio sizing question
- Replies: 6
- Views: 2430
Re: Portfolio sizing question
In re: to the idea of sending large order to IB, I don't think you want to get into that practice because, let's say that they didn't catch (due to a technical issue), you would be liable for any losses that result. It's better to have full control over the rules that govern how orders get executed ...
- 09 Dec 2011
- Forum: MultiCharts
- Topic: Portfolio sizing question
- Replies: 6
- Views: 2430
Re: Portfolio sizing question
Another potential solution (although it might be a little unwieldy) would be to follow all four markets in each chart (with data1 being the market that you're trading in that chart, and data2, data3 and data4 being the other markets) and have the strategy evaluate each of the four markets in real ti...
- 09 Dec 2011
- Forum: MultiCharts
- Topic: Teaser for the upcoming release
- Replies: 36
- Views: 10513
Re: Teaser for the upcoming release
¡Ay, caramba!
- 26 Nov 2011
- Forum: MultiCharts
- Topic: Signal to Control Other Signals
- Replies: 1
- Views: 835
Re: Signal to Control Other Signals
Absolutely, although the easiest way to do this would be to place all of the signals into one piece of code which can then share variables, etc. That's how I would do it.
One other way to do this would be to use global variables.
One other way to do this would be to use global variables.
- 11 Nov 2011
- Forum: MultiCharts
- Topic: Discretionary Strategy Performance Report by O&P tracker
- Replies: 3
- Views: 1431
Re: Discretionary Strategy Performance Report by O&P tracker
Some of the analytics for discretionary traders could be in terms of what the markets did while they were in a position - did they tended to get out near the extremes or give back a lot of the trade? (I'm guessing this is a form of 'trade efficiency' but it might be worth delving into greater).
- 05 Nov 2011
- Forum: MultiCharts
- Topic: Open Office
- Replies: 8
- Views: 1894
Re: Open Office
One quick addendum: I purchased a new computer a few weeks ago, and I shied from spending an extra $200-$300 for MS Office, not only due to the cost but also because of the uncertainty of whether the new program structure would work with MultiCharts, since some versions of Office 2010 do not come wi...
- 03 Nov 2011
- Forum: MultiCharts
- Topic: positionprofit(1) with buy and sellshort logic problems
- Replies: 3
- Views: 1504
Re: positionprofit(1) with buy and sellshort logic problems
It may make sense to put the tradesize calculation formula that I mentioned before within the code block that begins "If MarketPosition = 0 ..." so that it makes the calculation right before placing the new orders.
- 03 Nov 2011
- Forum: MultiCharts
- Topic: positionprofit(1) with buy and sellshort logic problems
- Replies: 3
- Views: 1504
Re: positionprofit(1) with buy and sellshort logic problems
I think the problem is that the following bit of code: if positionprofit(1)>0 then tradesize = tradesize*2; if positionprofit(1)<0 then tradesize = tradesize/2; ... is being calculated on EVERY bar, irrespective of whether you just closed out a trade ... so if the last trade was a loser, it keeps re...
- 01 Nov 2011
- Forum: MultiCharts
- Topic: Refer the close of a specific bar?
- Replies: 6
- Views: 1488
Re: Refer the close of a specific bar?
I imagine it would be something like this:
Code: Select all
vars: SpecialClose(0);
If Time = 1000 Then SpecialClose = Close;
If Time > 1000 and C > SpecialClose Then [Insert Trade Logic Here];
- 28 Oct 2011
- Forum: MultiCharts
- Topic: about saving market data to local drive
- Replies: 7
- Views: 1307
Re: about saving market data to local drive
Ask all of your questions - this is the place to do it!thanks TJ!
may i ask one more question?
- 28 Oct 2011
- Forum: MultiCharts
- Topic: Pyramiding Orders w/unique stops & current acct balance
- Replies: 8
- Views: 2512
Re: Pyramiding Orders w/unique stops & current acct balance
"MC is in its 7th iteration and still is severely lacking in order execution and order management. In theory with auto-trading software I should be able to (at least emulate) any sequence of manual orders with a broker (simply and robustly), and ideally automate those orders seamlessly through a br...
- 27 Oct 2011
- Forum: MultiCharts
- Topic: Open Office
- Replies: 8
- Views: 1894
- 27 Oct 2011
- Forum: MultiCharts
- Topic: Open Office
- Replies: 8
- Views: 1894
Re: Open Office
I have the following recommendations for the Performance Report: 1) Be able to copy text directly from the report by selecting the text in question, and then doing a standard "copy and paste" operation into another application; 2) Be able to save each page separately instead of having to write the e...
- 25 Oct 2011
- Forum: MultiCharts
- Topic: about code of adding to winning positions...
- Replies: 2
- Views: 1030
Re: about code of adding to winning positions...
This may sound like a silly question, but when you check Format Strategies --> Strategy Properties ... do you have the checkbox marked "Allow Up To N Entries Orders In The Same Direction as The Currently Held Position" checked?
- 19 Oct 2011
- Forum: MultiCharts
- Topic: Floating-point division by zero errors
- Replies: 15
- Views: 3701
Re: Floating-point division by zero errors
The decimal points that it pulls from the scale, for calculating purposes, and how it prints it out in the print log are two separate things - just because it doesn't show all the decimals when you print it out (unless your force it to, by using NumToStr() ) doesn't mean that it's not pulling the in...
- 19 Oct 2011
- Forum: MultiCharts
- Topic: Floating-point division by zero errors
- Replies: 15
- Views: 3701
Re: Floating-point division by zero errors
Weird, because I ran a simplified version of your code on a futures chart and it came up with the right answer when it comes to calculating the variable Long_Entry. This is the code I used: Input: Risk(100), Entry_Chan(1), Offset(2); Vars: Long_Entry(0), TL_STOP(0), Dollar_Risk(0), PositionSize(0); ...
- 19 Oct 2011
- Forum: MultiCharts
- Topic: Floating-point division by zero errors
- Replies: 15
- Views: 3701
Re: Floating-point division by zero errors
It's difficult to say why you are getting that errant value when you try to calculate the long entry. One thing I always do when I am debugging something is that I always include the date and time of the price bar that is generating the printed values - so I can make sure that I am looking at the ri...
- 19 Oct 2011
- Forum: MultiCharts
- Topic: How do these computer specs look?
- Replies: 5
- Views: 1799
Re: How do these computer specs look?
Thank you all very much for your helpful feedback. I went ahead and bought the following machine: HP Pavilion HPE h8xt Series • Genuine Windows 7 Home Premium [64-bit] • Intel(R) Core(TM) i7-2600 quad-core processor with Turbo-Boost [up to 3.8GHz, 8MB cache] • FREE UPGRADE to 8GB DDR3-1333MHz SDRAM ...
- 18 Oct 2011
- Forum: MultiCharts
- Topic: Change color of the instrument (and not color of the study)
- Replies: 5
- Views: 1232
Re: Change color of the instrument (and not color of the stu
I think what you want to do is to look at the PlotPaintBars command - this allows you to change the color and width of price bars. You can change the color of price bars based on whatever criteria you want. How it works on candlesticks, I'm not 100% sure.
- 17 Oct 2011
- Forum: MultiCharts
- Topic: Floating-point division by zero errors
- Replies: 15
- Views: 3701
Re: Floating-point division by zero errors
From a debugging standpoint, I would see if either of the following two lines: value1 = (risk /(long_entry - istop))/100; value1 = (risk /(istop - short_entry))/100; could create a division by zero error. You could rewrite these to be as follows: If long_entry <> istop then value1 = (risk /(long_ent...
- 17 Oct 2011
- Forum: MultiCharts
- Topic: Any good forums to ask about root kits.
- Replies: 32
- Views: 8571
Re: Any good forums to ask about root kits.
A few months ago, I got infected with a rootkit virus even though I'm using Norton Internet Security. After several days of doing research and trying a host of different solutions, I bit the bullet and paid Norton $99 to do a manual search-and-remove. It took two different technicians to get the job...
- 11 Oct 2011
- Forum: MultiCharts
- Topic: SetStopLoss
- Replies: 16
- Views: 3279
Re: SetStopLoss
The reason I had recommended using the "STOP" keyword, as in: SELL NEXT BAR AT ENTRYPRICE - 10 STOP; is that it gives you greater flexibility when programming. So, for example, if you want to change the stop from "EntryPrice - 10" to "Low - 10", it's really easy to do. When you use "SetStopLoss", yo...
- 07 Oct 2011
- Forum: MultiCharts
- Topic: fitness function and predictive power
- Replies: 6
- Views: 2511
Re: fitness function and predictive power
Yes, if you're looking to develop a sizing methodology for a system (or systems) that trade across different markets, the MSA will save you many hours of time. For that alone, it's worth the price.
- 07 Oct 2011
- Forum: MultiCharts
- Topic: fitness function and predictive power
- Replies: 6
- Views: 2511
Re: fitness function and predictive power
I've not experimented with Monte Carlo simulations, as I don't understand how they would reveal whether a system is curve-fit. Aren't they based on statistics that may already be generated by a curve-fit system? If you could point me to some information that explains the value of Monte Carlo, I'd re...
- 07 Oct 2011
- Forum: MultiCharts
- Topic: fitness function and predictive power
- Replies: 6
- Views: 2511
Re: fitness function and predictive power
Avoiding the traps of curve fitting is probably one of the hardest parts of system development, and it's something I wrestle with all of the time, especially as I use tools like genetic algorithms and similar approaches to system development. I can't speak specifically to the fitness function you've...
- 06 Oct 2011
- Forum: MultiCharts
- Topic: SetStopLoss
- Replies: 16
- Views: 3279
Re: SetStopLoss
If I was programming this, I would use the code that specifically sets the stop order (using a designated price level) vs. the SetStopLevel code, because then I have a greater insight into how the order is being calculated and placed.
- 06 Oct 2011
- Forum: MultiCharts
- Topic: How do these computer specs look?
- Replies: 5
- Views: 1799
How do these computer specs look?
I am looking to purchase a new research and trading machine. I plan on using MultiCharts on this computer, as well as some other programs. I'm hoping someone in this group can give me some insight into whether I'm headed in the right direction. One of my goals is to consolidate all of my programs an...
- 06 Oct 2011
- Forum: MultiCharts
- Topic: SetStopLoss
- Replies: 16
- Views: 3279
Re: SetStopLoss
If you're not using intrabar order generation with that system, the system will wait until the end of the current price bar to enter that market order, which means that the market may have gotten far away from your stop level depending on how frequent your bar interval is. So, let's imagine that you...
- 05 Oct 2011
- Forum: MultiCharts
- Topic: MultiCharts 7.1 Beta
- Replies: 54
- Views: 17069
Re: MultiCharts 7.1 Beta
Note to self: do not attempt to upgrade MultiCharts during the trading day, as it has to recompile all of my studies and indicators. Since this stage of the upgrade process takes so long, it'd be great if there was some kind of progress meter that one could follow to see how this is going. I've been...
- 27 Sep 2011
- Forum: MultiCharts
- Topic: I have a great strategy but ...
- Replies: 12
- Views: 2785
Re: I have a great strategy but ...
"All of the issues appear to me issues with the MC implementation of Renko bars not working correctly." Maybe you could explain specifically what the problem is with MC's implementation of Renko bars. The fact that you're finding a problem *should* allow the programmers to fix it, assuming that it ...
- 21 Sep 2011
- Forum: MultiCharts
- Topic: Tricky programming: projecting date and time ...
- Replies: 5
- Views: 1141
Re: Tricky programming: projecting date and time ...
TJ - thanks again for the tip. One thing that can be problematic about multiplying the # of bars by the interval is that I think you need to take into account that some calendar days aren't trading days (and some times of day aren't trading times), so you can't include those periods when you're coun...
- 21 Sep 2011
- Forum: MultiCharts
- Topic: Tricky programming: projecting date and time ...
- Replies: 5
- Views: 1141
Re: Tricky programming: projecting date and time ...
Thanks for the idea, TJ. If anyone has any other suggestions, please share.
Thanks!
Thanks!
- 21 Sep 2011
- Forum: MultiCharts
- Topic: Tricky programming: projecting date and time ...
- Replies: 5
- Views: 1141
Tricky programming: projecting date and time ...
I am working on an indicator and I was hoping to tap into the collective wisdom of this group. This indicator involves drawing a series of trendlines that have to be of a specific bar length. Depending on where the trend line starts, there could be instances where the terminal points of the trendlin...
- 20 Sep 2011
- Forum: MultiCharts
- Topic: multiple strategies same symbol
- Replies: 6
- Views: 1757
Re: multiple strategies same symbol
When I investigated opening multiple accounts with MF Global, they specifically stated that the accounts could not trade the same market/month in futures because of CFTC rules (I forget the exact CFTC rule, but I can look it up). I believe the rules are in place to prevent people from entering ficti...
- 19 Sep 2011
- Forum: MultiCharts
- Topic: multiple strategies same symbol
- Replies: 6
- Views: 1757
Re: multiple strategies same symbol
Depending on what you're trading, it may not be possible to open separate accounts that trade the same market - for example, in US futures trading, I'm pretty sure that's not allowed.
- 17 Sep 2011
- Forum: MultiCharts
- Topic: Is there a way to create ...
- Replies: 1
- Views: 577
Is there a way to create ...
In MultiCharts, it's possible to drag and drop drawing objects onto a chart - example of this include the Gann Square, Andrew's Pitchfork, etc. Once these objects are on a chart, you can move them, rotate them, stretch them, etc. You can also modify their appearance by changing their properties. Is ...
- 14 Sep 2011
- Forum: MultiCharts
- Topic: If you have a Problem with MC --> Live Chat
- Replies: 5
- Views: 1997
Re: If you have a Problem with MC --> Live Chat
Kudos to Henry who helped to quickly resolve a problem I was having with automated trading this morning. Very helpful.
- 12 Sep 2011
- Forum: MultiCharts
- Topic: Multicharts 7 - Double entry on order tracking
- Replies: 9
- Views: 4204
Re: Multicharts 7 - Double entry on order tracking
I hope this issue gets resolved in the next update of MC.
If I have a single working order placed through an automated strategy via MC and then choose to switch off automated trading (I can manage the order through other channels), the program asks me if I want to cancel 4 orders.
Very confusing.
If I have a single working order placed through an automated strategy via MC and then choose to switch off automated trading (I can manage the order through other channels), the program asks me if I want to cancel 4 orders.
Very confusing.
- 09 Sep 2011
- Forum: MultiCharts
- Topic: Automated Trading: Knowing When It's Turned On From Code
- Replies: 1
- Views: 606
Automated Trading: Knowing When It's Turned On From Code
Is there a way for an EasyLanguage signal to "know" that automated trading has been turned on? The reason I ask is because there are different commands for determining a market position whether you're using automated trading or not.
Thanks.
Thanks.
- 09 Sep 2011
- Forum: MultiCharts
- Topic: Using an array with 2 data series
- Replies: 8
- Views: 1613
Re: Using an array with 2 data series
Without getting into too much detail here, I always thought it was preferred, from a programming perspective, that you have data1 be the shorter time period (5 min) and data2 be the longer time period (10 min). You can also always recreate the data from a 10 minute period bar using 5 minute period b...
- 09 Sep 2011
- Forum: MultiCharts
- Topic: Print function excuting when it shouldnt
- Replies: 14
- Views: 2730
Re: Print function excuting when it shouldnt
It may help debugging if, within with your print statement, you include a reference to the date and time of the bar that is triggering the signal ... i.e., print(date,"-",time,"-order executed"); This will let you know if it's printing only on those bars that also triggers the order or whether it's ...
- 08 Sep 2011
- Forum: MultiCharts
- Topic: Automated Trading: Order and Position Tracker Question
- Replies: 3
- Views: 1072
Re: Automated Trading: Order and Position Tracker Question
Thank you for sharing this. I hope that they can get this fixed soon (both the visualization aspect as well as the issue with the "Get Flat" button).