Search found 6 matches
- 04 Nov 2013
- Forum: MultiCharts .NET
- Topic: CurrentPosition sample code
- Replies: 15
- Views: 4440
Re: CurrentPosition sample code
Is there any tentative timeline on MC 9?
- 29 Oct 2013
- Forum: MultiCharts .NET
- Topic: CurrentPosition sample code
- Replies: 15
- Views: 4440
Re: CurrentPosition sample code
using System; using System.Drawing; using System.Linq; using PowerLanguage.Function; namespace PowerLanguage.Indicator { public class Donchian_Channel : IndicatorObject { private Function.HighestFC m_channelup; private Function.LowestFC m_channeldown; private Function.HighestFC m_failsafeup; private...
- 29 Oct 2013
- Forum: MultiCharts .NET
- Topic: CurrentPosition sample code
- Replies: 15
- Views: 4440
Re: CurrentPosition sample code
Dear Henry
Can you help to drop me the most crucial line(s)? I have scratched my head for over weeks on this.
Can you help to drop me the most crucial line(s)? I have scratched my head for over weeks on this.
- 28 Oct 2013
- Forum: MultiCharts .NET
- Topic: CurrentPosition sample code
- Replies: 15
- Views: 4440
Re: CurrentPosition sample code
Thx for reply, even this is a silly question. What I wanted to do is to print out the CurrentPosition.Profit.Value. When I put it in the line Output.WriteLine("Cur Bar: {0} Position {1}, P&L {2}", Bars.CurrentBar ,StrategyInfo.MarketPosition,CurrentPosition.Profit); The compiler complains about: The...
- 27 Oct 2013
- Forum: MultiCharts .NET
- Topic: CurrentPosition sample code
- Replies: 15
- Views: 4440
CurrentPosition sample code
I am newbie to MC and .Net. Is there any sample code on how to use CurrentPosition ? I just couldn't figure out how to use it.
- 05 Sep 2013
- Forum: MultiCharts .NET
- Topic: Exponential Moving Average function, is there one?
- Replies: 4
- Views: 4081
Re: Exponential Moving Average function, is there one?
I find something interesting in the code of XAverage . The class variables Price and Length are start with capital letter. In other functions they are in small letter. Is there any particular reason to do it like that? Will it case any problem when you need to include XAverage with other functions? ...