Search found 43 matches

by RWDickinson
31 Jan 2014
Forum: MultiCharts
Topic: multiple scales - indicators do not match
Replies: 3
Views: 811

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.
by RWDickinson
23 Jan 2014
Forum: MultiCharts
Topic: multiple scales - indicators do not match
Replies: 3
Views: 811

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. ...
by RWDickinson
23 Jan 2014
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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 ...
by RWDickinson
10 Jan 2014
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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.
by RWDickinson
10 Jan 2014
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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.
by RWDickinson
06 Jan 2014
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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...
by RWDickinson
31 Dec 2013
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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...
by RWDickinson
30 Dec 2013
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

Re: Study is missing Data -1. Please set up your chart data.

your study requests a detaseries number/index that does not exist on your chart
Well, the keyword "data" (as in data2) does not appear in the study. Is there another way to "request" a data series?
by RWDickinson
27 Dec 2013
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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...
by RWDickinson
26 Dec 2013
Forum: MultiCharts
Topic: Study is missing Data -1. Please set up your chart data.
Replies: 15
Views: 5576

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?
by RWDickinson
18 Dec 2013
Forum: MultiCharts
Topic: MULTICHARTS 8.8 RELEASE
Replies: 139
Views: 33563

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.
by RWDickinson
12 Nov 2013
Forum: MultiCharts
Topic: Detached charts in MC64 [SOLVED]
Replies: 3
Views: 1089

Re: Detached charts in MC64 [SOLVED]

RWDickinson,

Please go to Window->enable the option Show detached windows in inactive workspaces.
Ha! new option. I looked for something like this but didn't find it. Thanks.
by RWDickinson
11 Nov 2013
Forum: MultiCharts
Topic: Detached charts in MC64 [SOLVED]
Replies: 3
Views: 1089

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...
by RWDickinson
07 Dec 2012
Forum: MultiCharts FAQ
Topic: Automated Exit Strategy with Manual Trading
Replies: 4
Views: 5722

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?
by RWDickinson
06 Dec 2012
Forum: MultiCharts
Topic: Export/Import data header
Replies: 1
Views: 1702

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...
by RWDickinson
26 Jul 2012
Forum: User Contributed Studies and Indicator Library
Topic: MACD divergence detection indicator
Replies: 3
Views: 7751

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, ...
by RWDickinson
25 Jul 2012
Forum: User Contributed Studies and Indicator Library
Topic: Save data from MultiCharts in a MySQL database?
Replies: 8
Views: 3540

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...
by RWDickinson
16 Mar 2010
Forum: MultiCharts
Topic: adding second data plot to a chart
Replies: 4
Views: 853

OK. Hmm, second data series does not use my edited (default) session info even when I select Session: Default?

Anyway, that's a different problem. Thanks for your help on this one.
I was indeed trying to use the Add button.
by RWDickinson
16 Mar 2010
Forum: MultiCharts
Topic: adding second data plot to a chart
Replies: 4
Views: 853

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...
by RWDickinson
16 Mar 2010
Forum: MultiCharts
Topic: adding second data plot to a chart
Replies: 4
Views: 853

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...
by RWDickinson
20 Apr 2009
Forum: MultiCharts
Topic: MarketPosition[1] and MarketPosition(1)?
Replies: 4
Views: 2510

Ignored ??!!!!?? Can I possibly be understanding you? "MarketPosition[1]" is the same as "MarketPosition"? And somebody thought that was an improvement over compiler complaints about "MarketPosition[1]"? Tell me it ain't so, Joe!
by RWDickinson
17 Apr 2009
Forum: MultiCharts
Topic: Assigning new array values
Replies: 1
Views: 1454

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...
by RWDickinson
07 Feb 2009
Forum: MultiCharts
Topic: Indicator of a Indicator
Replies: 5
Views: 4450

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...
by RWDickinson
05 Feb 2009
Forum: MultiCharts
Topic: covering only part of a pyramid
Replies: 3
Views: 1605

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...
by RWDickinson
05 Feb 2009
Forum: MultiCharts
Topic: Seconds in Easy Language
Replies: 13
Views: 6156

Ah, yes. Now I see it Marina. I was looking under "Date and Time Routines" (silly me - how obvious that it would not be there!).
by RWDickinson
29 Jan 2009
Forum: MultiCharts
Topic: How can I find where "Error in Study..." occurs?
Replies: 11
Views: 3236

OK, knowing the parameters that are triggering the error, I guess I need to use the print-statement method to find out where that error is occurring? Wow, I guess I've been spoiled by real languages (you know, the kind that give you real error messages). Oh, well.
by RWDickinson
28 Jan 2009
Forum: MultiCharts
Topic: HIGH DEFINITION CHARTING ...BUGS OR WHAT???
Replies: 92
Views: 21214

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...
by RWDickinson
28 Jan 2009
Forum: MultiCharts
Topic: How can I find where "Error in Study..." occurs?
Replies: 11
Views: 3236

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...
by RWDickinson
10 Dec 2008
Forum: MultiCharts
Topic: New question on persistence of variables
Replies: 9
Views: 2706

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....
by RWDickinson
10 Dec 2008
Forum: MultiCharts
Topic: New question on persistence of variables
Replies: 9
Views: 2706

I just modified my original post to add the output results, so that people don't have to run the example to see what its results are. There's only about 20 lines of code total here, and several of those are print statements.
by RWDickinson
10 Dec 2008
Forum: MultiCharts
Topic: New question on persistence of variables
Replies: 9
Views: 2706

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...
by RWDickinson
09 Dec 2008
Forum: MultiCharts
Topic: Seconds in Easy Language
Replies: 13
Views: 6156

In both of those help files for my version (3.1), time_s is undocumented.
by RWDickinson
09 Dec 2008
Forum: MultiCharts
Topic: Global Variable ??
Replies: 3
Views: 1448

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...
by RWDickinson
09 Dec 2008
Forum: MultiCharts
Topic: Seconds in Easy Language
Replies: 13
Views: 6156

********* 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...
by RWDickinson
09 Dec 2008
Forum: MultiCharts
Topic: What is the difference between 0 = value1
Replies: 4
Views: 1787

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...
by RWDickinson
09 Dec 2008
Forum: MultiCharts
Topic: Global Variable ??
Replies: 3
Views: 1448

Sorry, I'm not understanding your question. How is what you described different than having an initial value in an Inputs: statement and then updating it in the script?
by RWDickinson
08 Dec 2008
Forum: MultiCharts
Topic: New question on persistence of variables
Replies: 9
Views: 2706

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...
by RWDickinson
08 Dec 2008
Forum: MultiCharts
Topic: New question on persistence of variables
Replies: 9
Views: 2706

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...
by RWDickinson
05 Dec 2008
Forum: MultiCharts
Topic: persistence scope of variables within a study
Replies: 24
Views: 5211

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...
by RWDickinson
05 Dec 2008
Forum: MultiCharts
Topic: persistence scope of variables within a study
Replies: 24
Views: 5211

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 ...
by RWDickinson
02 Dec 2008
Forum: User Contributed Studies and Indicator Library
Topic: DTI strategy help needed
Replies: 12
Views: 8708

TY, VM
by RWDickinson
01 Dec 2008
Forum: User Contributed Studies and Indicator Library
Topic: DTI strategy help needed
Replies: 12
Views: 8708

Sorry, TSS Knowledgebase? I don't know where to find that....
by RWDickinson
01 Dec 2008
Forum: User Contributed Studies and Indicator Library
Topic: DTI strategy help needed
Replies: 12
Views: 8708

Pardon a question from a newbie: what is this DTI indicator and where did it come from? Is this the S&P Diversified Trends Indicator? Where did you get the indicator code?
The optimized inverted method looks promising.

Go to advanced search