Search found 43 matches
- 31 Jan 2014
- Forum: MultiCharts
- Topic: multiple scales - indicators do not match
- Replies: 3
- Views: 1191
Re: multiple scales - indicators do not match
Thanks, JoshM, but I have now tried your suggestion and the two indicators still are nowhere close to matching. I have no idea how to proceed.
- 23 Jan 2014
- Forum: MultiCharts
- Topic: multiple scales - indicators do not match
- Replies: 3
- Views: 1191
multiple scales - indicators do not match
Background: I have two (#contracts) charts of the same data, one at coarse resolution, one at finer resolution. I have indicators on the two charts that I have been trying to correlate "by eye" so I wanted to combine them on a single chart window so I could put the two indicators on the same scale. ...
- 23 Jan 2014
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
Well, I've given up (as with several other problems w/ MC). Sometimes I get the error message, sometimes the code runs and symbols show up momentarily then disappear, sometimes the code runs but no symbols appear at all. I did find on a previous problem that text drawn on the last bar on chart will ...
- 10 Jan 2014
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
TL_Exist(), Arw_Exist(), Text_Exist() do not exist (in the help screens).
I'll try them anyway.
Text_Exist() does exist (study compiles)
Arw_Exist() does not exist (study does not compile)
So I'm still using ...Id <> 0 for arrows.
I'll try them anyway.
Text_Exist() does exist (study compiles)
Arw_Exist() does not exist (study does not compile)
So I'm still using ...Id <> 0 for arrows.
- 10 Jan 2014
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
Well, I'm not using TL (that was ABC who thought there might be a connection), but I take it this applies to my use of Arw and Text, also. I'll check it out.
- 06 Jan 2014
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
Maybe this helps you in fixing your study or it helps MC in tracking down the issue. Thanks for the tip. I just tried "if ...Id = 0 ..... Print("Error message");" for each of my elements. Still get MC error as above, and did not get my error message in the output window. Do we know whether user-pri...
- 31 Dec 2013
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
RWDickinson, please post the code of the RD_ScreenVPos function. yep, here. ------------ code ------------ {RD_ScreenVPos returns a price value that lies at the given %age of screen vertical space. i.e. 0% lies at bottom of screen, 100% lies at top of Screen } Inputs: Percentage(NumericSimple); //0...
- 30 Dec 2013
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
Well, the keyword "data" (as in data2) does not appear in the study. Is there another way to "request" a data series?your study requests a detaseries number/index that does not exist on your chart
- 27 Dec 2013
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Re: Study is missing Data -1. Please set up your chart data.
So I take it nobody is able to tell me what the error message means . The study is my own code, and somewhat long. I'll copy it in full, since I have no way of determining in what portion the supposed error occurs (and since I can only attach one file). ---------------- code -------------------- {cr...
- 26 Dec 2013
- Forum: MultiCharts
- Topic: Study is missing Data -1. Please set up your chart data.
- Replies: 15
- Views: 9133
Study is missing Data -1. Please set up your chart data.
Error message appears when I activate a particular compiled study. There is data in the price chart that this study references.
I have no idea what this error message is trying to tell me. Can someone translate for me, so that I can try to fix the problem?
I have no idea what this error message is trying to tell me. Can someone translate for me, so that I can try to fix the problem?
- 18 Dec 2013
- Forum: MultiCharts
- Topic: MULTICHARTS 8.8 RELEASE
- Replies: 139
- Views: 51455
Re: MULTICHARTS 8.8 RELEASE
The new barnumber capability for arrows, text, and trendlines is great.
However, for arrows and text, we need either SetValue(id,value) or
SetLocation_bn(id,bar#,value) or both. Currently not possible to set
a (vertical) value on existing arrows or text except by date/time.
However, for arrows and text, we need either SetValue(id,value) or
SetLocation_bn(id,bar#,value) or both. Currently not possible to set
a (vertical) value on existing arrows or text except by date/time.
- 12 Nov 2013
- Forum: MultiCharts
- Topic: Detached charts in MC64 [SOLVED]
- Replies: 3
- Views: 1536
Re: Detached charts in MC64 [SOLVED]
Ha! new option. I looked for something like this but didn't find it. Thanks.RWDickinson,
Please go to Window->enable the option Show detached windows in inactive workspaces.
- 11 Nov 2013
- Forum: MultiCharts
- Topic: Detached charts in MC64 [SOLVED]
- Replies: 3
- Views: 1536
Detached charts in MC64 [SOLVED]
Just converted to MC64. There is a difference (compared to 32-bit) in handling detached charts. 32-bit: can have detached charts from multiple workspaces on the desktop simultaneously. 64-bit: detached chart(s) from only one workspace appear on desktop at a time. Detached chart(s) from workspaces th...
- 07 Dec 2012
- Forum: MultiCharts FAQ
- Topic: Automated Exit Strategy with Manual Trading
- Replies: 5
- Views: 8502
Re: Automated exit strategy with manual trading
How is the !From Broker To Strategy MP Synchronizer! strategy intended to be used? Should we copy the code into our own exit strategy? What are the Timeout and Latency inputs for? If we only need to synch at the end of a bar, is all this needed?
- 06 Dec 2012
- Forum: MultiCharts
- Topic: Export/Import data header
- Replies: 1
- Views: 2274
Export/Import data header
I have a continuous future symbol that I build manually by exporting current data from current month and importing that data into my continuous future. When I do the export, volume column header is "TotalVolume". Import is unable to understand this header, so interprets it as "Down Volume"; I have t...
- 26 Jul 2012
- Forum: User Contributed Studies and Indicator Library
- Topic: MACD divergence detection indicator
- Replies: 3
- Views: 9039
Re: MACD divergence detection indicator
I am posting an indicator that detects regular divergence between the price and MACD. Just insert it onto your chart, then insert it again and change the plotseries to 2 ( this will then display the MACD itself with Trendlines ). I know this is an old thread, but in case anyone else picks this up, ...
- 25 Jul 2012
- Forum: User Contributed Studies and Indicator Library
- Topic: Save data from MultiCharts in a MySQL database?
- Replies: 8
- Views: 5376
Re: Save data from MultiCharts in a MySQL database?
JoshM wrote: Meaning that another program can read the global variables as set by MultiCharts? That's quite interesting. Do you perhaps know of any examples or references about this? Google searching didn't turn up anything. [edited version] Josh, I didn't think another program would be able to acce...
- 16 Mar 2010
- Forum: MultiCharts
- Topic: adding second data plot to a chart
- Replies: 4
- Views: 1611
- 16 Mar 2010
- Forum: MultiCharts
- Topic: adding second data plot to a chart
- Replies: 4
- Views: 1611
Thanks, TJ. But I'm still missing something basic. Say for now, that I want a second plot of the same symbol on a different time frame. I right click on the chart. There is no Insert Instrument , I take it you meant Insert Symbol . If I add the same symbol from the list, I get a dialog box that says...
- 16 Mar 2010
- Forum: MultiCharts
- Topic: adding second data plot to a chart
- Replies: 4
- Views: 1611
adding second data plot to a chart
There are many articles in the forum about using data1, data2, etc. However, I have a very basic question: how do I create a chart with two (or more) symbols? The help seems to indicate that this is only for strategy use, and in any case I couldn't follow the help instructions. How do I create the s...
- 20 Apr 2009
- Forum: MultiCharts
- Topic: MarketPosition[1] and MarketPosition(1)?
- Replies: 4
- Views: 3066
- 17 Apr 2009
- Forum: MultiCharts
- Topic: Assigning new array values
- Replies: 1
- Views: 2024
Assigning new array values
A question I can't seem to answer from the docs: Using MC 4.0. I have a dynamic array of numeric values. How do I add a new value to the array? Do I have to keep track of the current "end" number and assign to "end+1"? or can I create a new element at 0 so that the latest entry is [0] and the next b...
- 07 Feb 2009
- Forum: MultiCharts
- Topic: Indicator of a Indicator
- Replies: 5
- Views: 5057
Not quite sure I understand your question, but you can do anything with an indicator number that you could do with, say, close. Of course an "indicator" (in PL-speak) is a display, not a function, and cannot be called in order to get the value; but in most cases the indicators call similarly-named f...
- 05 Feb 2009
- Forum: MultiCharts
- Topic: covering only part of a pyramid
- Replies: 3
- Views: 2099
covering only part of a pyramid
I'm probably missing something basic here. I am using a pyramiding scheme: <i> if longCondition1 then buy("L01") 1 contract next bar market; ...... if longCondition2 then buy("L02") 1 contract next bar market; ...... etc. </i> Each entry is a single contract. This works fine. At some point I am long...
- 05 Feb 2009
- Forum: MultiCharts
- Topic: Seconds in Easy Language
- Replies: 13
- Views: 8254
- 29 Jan 2009
- Forum: MultiCharts
- Topic: How can I find where "Error in Study..." occurs?
- Replies: 11
- Views: 4261
- 28 Jan 2009
- Forum: MultiCharts
- Topic: HIGH DEFINITION CHARTING ...BUGS OR WHAT???
- Replies: 92
- Views: 30784
I have no information about Transact, but I do know from painful experience that "unfiltered" data from the exchanges have many error ticks in them. "Filtering" (the thing you despise) is what corrects those errors. I don't know where you got the idea that "unfiltered" is higher quality than "filter...
- 28 Jan 2009
- Forum: MultiCharts
- Topic: How can I find where "Error in Study..." occurs?
- Replies: 11
- Views: 4261
How can I find where "Error in Study..." occurs?
This question has probably been asked before, but I couldn't find it. I am getting an error message occasionally when I run [Optimize], but never when I put specific values into [Format]. Error is: "Error in study <study_name>: {EXCEPTION} Floating-point invalid operation". I assume this is a divide...
- 10 Dec 2008
- Forum: MultiCharts
- Topic: New question on persistence of variables
- Replies: 9
- Views: 3571
drwar: First, you would have to give me some reason other than you word for it that the barstatus function can be called from some contexts and not others. That would make PL such a strange language that I would totally give up on ever using it. The documentation makes no such claim that I can find....
- 10 Dec 2008
- Forum: MultiCharts
- Topic: New question on persistence of variables
- Replies: 9
- Views: 3571
- 10 Dec 2008
- Forum: MultiCharts
- Topic: New question on persistence of variables
- Replies: 9
- Views: 3571
Drwar, are you saying that barstatus does not work in top-level code and has to be coded in the called function? Or are you just pointing out the typo 'barstatu' in rsi77's code? The latter is fine, I ignored the typo and assumed he meant 'barstatus'. The former would just astound me and cause me to...
- 09 Dec 2008
- Forum: MultiCharts
- Topic: Seconds in Easy Language
- Replies: 13
- Views: 8254
- 09 Dec 2008
- Forum: MultiCharts
- Topic: Global Variable ??
- Replies: 3
- Views: 1876
No, initial value is set only once and variable values set by the script are persistent across multiple executions - if code is executed only once per bar (update on every tick is off). If code is 'update on every tick' then the intra-bar values are screwy (IMO) but MC is implementing the EL languag...
- 09 Dec 2008
- Forum: MultiCharts
- Topic: Seconds in Easy Language
- Replies: 13
- Views: 8254
********* update ********* Ah! time_s, which is the answer to original question, was not in the list pasted into the answer by support, and is not documented in the Dictionary of the PLEditor. And is not in the MC 3.1 help file. *********** original post *********** Am I missing something? The origi...
- 09 Dec 2008
- Forum: MultiCharts
- Topic: What is the difference between 0 = value1
- Replies: 4
- Views: 2255
TJ: there is no difference in the result; the reason some programmers do this is that in some languages you can avoid some programmer errors by doing your comparisons this way. In 'C' language it is a common error to code "if x = 0" (an assignment of value: assigns 0 and the 'if' will always be fals...
- 09 Dec 2008
- Forum: MultiCharts
- Topic: Global Variable ??
- Replies: 3
- Views: 1876
- 08 Dec 2008
- Forum: MultiCharts
- Topic: New question on persistence of variables
- Replies: 9
- Views: 3571
Thanks. In this very simple demo, I don't store the result from the function call anywhere, so there are no variables in the caller dependent on the value returned from the function (at least I think that's what you meant). All of the code is now guarded by "if barstatus=2" so state machine function...
- 08 Dec 2008
- Forum: MultiCharts
- Topic: New question on persistence of variables
- Replies: 9
- Views: 3571
New question on persistence of variables
I want to code a simple state machine in a called function, and use that state machine in a signal. The state machine accepts a "context" input that tells what part of the state machine should be updated. My problem: since the function is called under various conditions, it sometimes gets called twi...
- 05 Dec 2008
- Forum: MultiCharts
- Topic: persistence scope of variables within a study
- Replies: 24
- Views: 7025
Thanks, TJ. My question is more like: Vars: abc (0); <code.......> if abc < something then begin ..... end; under some other condition begin abc = something end I need the value of abc to be persistent across multiple runs of the program, i.e. after i set the value during one bar, it must have the s...
- 05 Dec 2008
- Forum: MultiCharts
- Topic: persistence scope of variables within a study
- Replies: 24
- Views: 7025
persistence scope of variables within a study
I am having a problem with variables being randomly reset by MC between entries to my code (i.e. between bars). I thought all variables were persistent, but it seems not. The variables I use need to be persistent only within a single indicator or strategy, not sharing among strategies (I think this ...
- 02 Dec 2008
- Forum: User Contributed Studies and Indicator Library
- Topic: DTI strategy help needed
- Replies: 12
- Views: 9950
- 01 Dec 2008
- Forum: User Contributed Studies and Indicator Library
- Topic: DTI strategy help needed
- Replies: 12
- Views: 9950
- 01 Dec 2008
- Forum: User Contributed Studies and Indicator Library
- Topic: DTI strategy help needed
- Replies: 12
- Views: 9950