Search found 14 matches
- 17 May 2014
- Forum: MultiCharts .NET
- Topic: Can a C# function be called from a VB indicator?
- Replies: 1
- Views: 1121
Can a C# function be called from a VB indicator?
I have a function written in C#, which I am now calling from an indicator also written in C#. I'm trying to re-write the indicator in Visual Basic, and don't want to spend time re-coding the function in VB. Can I call the C# function from a VB indicator? If so, how? I've tired but I'm getting a comp...
- 04 May 2014
- Forum: MultiCharts .NET
- Topic: Murrey Math Levels for MC .net [SOLVED]
- Replies: 6
- Views: 3045
Re: Murrey Math Levels for MC .net [SOLVED]
Hi I've searched in many places but couldn't find a working Murrey Math indicator for Multicharts .Net. I know there are a lot of free indicators for other platforms but converting them to Multicharts .Net is not that easy for me. Do you know where can I find it ? Thank you Hi Jordse. I have a work...
- 07 Sep 2013
- Forum: MultiCharts .NET
- Topic: Simple indicator missing the last bar
- Replies: 9
- Views: 3647
Re: Simple indicator missing the last bar
You need more of the statements in this matter, so that we can understand. Thank you for sharing. I hope you happy _________________ Dream to be A billionaire I love to buy Diablo 3 Gold at http://www.vipdiablo3gold.com/ Hello zhulin. The idea is to look at each bar of data, and write to a text fil...
- 07 Sep 2013
- Forum: MultiCharts .NET
- Topic: Simple indicator missing the last bar
- Replies: 9
- Views: 3647
Re: Simple indicator missing the last bar
Hi there, I would probably end up trying something like this. You need to remember some state of the very first time you get to the last bar on the chart Thanks for this MidKnight, on first look it seems to work, although now with the weekend on, I can't check how it works when "Update on Every Tic...
- 05 Sep 2013
- Forum: MultiCharts .NET
- Topic: Simple indicator missing the last bar
- Replies: 9
- Views: 3647
Re: Simple indicator missing the last bar
(NOT SO IMPORTANT: The script seems to work fine (except for missing the last bar) on charts. But if I paste it into a market scanner, I sporadically get errors like cannot write to a closed stream, or file is being used by another process. This issue is not very pressing since I only have 2 ticker...
- 28 Aug 2013
- Forum: MultiCharts .NET
- Topic: Simple indicator missing the last bar
- Replies: 9
- Views: 3647
Simple indicator missing the last bar
Hello. I have this simple indicator which exports OHLC data to a text file. using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; using System.IO; namespace PowerLanguage.Indicator{ [UpdateOnEveryTickAttribute (false)] public class ohlcExporter : IndicatorObject { publ...
- 24 Apr 2013
- Forum: MultiCharts .NET
- Topic: Specifying Color using .FromArgb and .FromName
- Replies: 1
- Views: 1627
Specifying Color using .FromArgb and .FromName
Other than specifying a color by name (e.g. Color.Blue, Color.Yellow) etc, how do I define a colour using the methods Color.FromName or Color.FromArgb? I've been experimenting and none of the following seem to work: myObject.Color = Color.FromArgb(-1); myObject.Color = Color.FromArgb(-16711681); myO...
- 22 Apr 2013
- Forum: MultiCharts .NET
- Topic: How to input DateTime variable [SOLVED]
- Replies: 6
- Views: 3951
Re: Plotting/Drawing "forward in time" or extending ETextSty [SOLVED]
Thanks. You guys are great!Hello SSS,
You can offset the bars to the right by assigning the time value from the future with the help of AddMinutes or AddSeconds (depending on your chart resolution) methods of DateTime structure:Code: Select all
Bars.Time[0].AddMinutes(5);
- 22 Apr 2013
- Forum: MultiCharts .NET
- Topic: How to input DateTime variable [SOLVED]
- Replies: 6
- Views: 3951
Plotting/Drawing "forward in time" or extending ETextStyleH [SOLVED]
Hello. My indicator uses an ITextObject which has a border (myTextObject.Border = true), and it is anchored to the right of the current bar (myTextObject.HStyle = ETextStyleH.Right); but the border always seems to obscure the current bar, especially if I'm using OHLC bars. Is there a way I can make ...
- 18 Apr 2013
- Forum: MultiCharts .NET
- Topic: Why is my "series" not able to remember its history? [SOLVED]
- Replies: 5
- Views: 3435
Re: Why is my "series" not able to remember its history? [SOLVED]
Hello Henry.
Manually setting max Bars Back didn't help. I still get this error:
System.NullReferenceException:Object reference not set to an instance of an object.
Manually setting max Bars Back didn't help. I still get this error:
System.NullReferenceException:Object reference not set to an instance of an object.
- 18 Apr 2013
- Forum: MultiCharts .NET
- Topic: Why is my "series" not able to remember its history? [SOLVED]
- Replies: 5
- Views: 3435
Why is my "series" not able to remember its history? [SOLVED]
I'm trying to build an array which holds some values (the Open, High, Low, and Close), and remembers what those values were for previous bars. I've created a function which puts the OHLC values into an array, and returns that double[] array to the calling indicator. I've created the indicator which ...
- 11 Apr 2013
- Forum: MultiCharts .NET
- Topic: How do I call HighestFC? And what's the C# equivalent of Max [SOLVED]
- Replies: 6
- Views: 4895
Built-in "functions" or "methods" (if that's what they're ca [SOLVED]
Thanks Henry. I have a follow-up question (perhaps this one, too, can be put in the FAQ). By the way, for my earlier question, I've abandoned the use of HighestFC (which, to my understanding generates a series with full history remembered for each bar). Instead, I stumbled upon Bars.High.Highest whi...
- 03 Apr 2013
- Forum: MultiCharts .NET
- Topic: How do I call HighestFC? And what's the C# equivalent of Max [SOLVED]
- Replies: 6
- Views: 4895
Re: How do I call HighestFC? And what's the C# equivalent of [SOLVED]
Thanks, Henry. That was very helpful. Your answer prompted me to try working with Visual Studio 2010, hoping I'd find in it some way of searching for terms (like HighestFC) to see how they're used. However, when I launch VS the functions are not in the list of scripts. I get an alphabetical list of ...
- 01 Apr 2013
- Forum: MultiCharts .NET
- Topic: How do I call HighestFC? And what's the C# equivalent of Max [SOLVED]
- Replies: 6
- Views: 4895
How do I call HighestFC? And what's the C# equivalent of Max [SOLVED]
Hello all. I'm trying out MultiCharts .NET an trying to learn C#. Although I'm not a professional programmer, I've done a fair amount of programming in EasyLanguage (on TS) and I'm familiar with OO through programming in Python. One of my EL indicators tries to figure out the Highest High in, let's ...