Based on the example, I build an indicator in the attachment. You may try it, and I still can't let the number displayed on the histogram.
Sorry for this question to take your time.
Search found 12 matches
- 11 Jun 2013
- Forum: MultiCharts .NET
- Topic: about setting of plot [SOLVED]
- Replies: 9
- Views: 3408
- 10 Jun 2013
- Forum: MultiCharts .NET
- Topic: about setting of plot [SOLVED]
- Replies: 9
- Views: 3408
Re: about setting of plot [SOLVED]
I want the number to be displayed on the top of histogram in the indicator. How can I achieve it? The above setting can't let the number displayed.
- 09 Jun 2013
- Forum: MultiCharts .NET
- Topic: about setting of plot [SOLVED]
- Replies: 9
- Views: 3408
Re: about setting of plot [SOLVED]
You may create an indicator and try following, posele=Bars.High[0]; posele=posele*100; posele=Math.Round(posele, 1); ChartPoint top = new ChartPoint(Bars.TimeValue, Bars.HighValue); ITextObject textObj = DrwText.Create(top, posele.ToString(), true); textObj.VStyle = ETextStyleV.Above; I try the abov...
- 06 Jun 2013
- Forum: MultiCharts .NET
- Topic: about setting of plot [SOLVED]
- Replies: 9
- Views: 3408
Re: about setting of plot [SOLVED]
posele=posele*100; posele=Math.Round(posele, 1); ChartPoint top = new ChartPoint(Bars.TimeValue, Bars.HighValue); ITextObject textObj = DrwText.Create(top, posele.ToString()); textObj.VStyle = ETextStyleV.Above; I use above codes to display the number. It displays in the instrument. But I want it to...
- 06 Jun 2013
- Forum: MultiCharts .NET
- Topic: about setting of plot [SOLVED]
- Replies: 9
- Views: 3408
about setting of plot [SOLVED]
power_line = AddPlot(new PlotAttributes("Power", EPlotShapes.Histogram, Color.Cyan));
Now I want to display the value (in percentage) upon the bar of the histogram. How can I do it?
Thanks first.
Now I want to display the value (in percentage) upon the bar of the histogram. How can I do it?
Thanks first.
- 20 May 2013
- Forum: MultiCharts .NET
- Topic: how to read the BigPointValue for current instrument?
- Replies: 1
- Views: 1474
how to read the BigPointValue for current instrument?
how to read the BigPointValue for current instrument? I tried like double aa = PowerLanguage.IInstrumentSettings.BigPointValue; or double aa = PowerLanguage.IInstrumentSettings.BigPointValue.get; but all failed. Sometimes there may be two instruments in a chart window. how to read the 2 BigPointValu...
- 13 May 2013
- Forum: MultiCharts .NET
- Topic: pass parameters from Signal to Function
- Replies: 3
- Views: 2794
Re: pass parameters from Signal to Function
Now the problem is how to use Signal to call Function and pass parameters to them. May you give me an example to use a Signal to call Function namespace PowerLanguage.Function { public class XAverageOrig : FunctionSeries<Double> and how to pass parameters to public ISeries<Double> price { get; set; ...
- 13 May 2013
- Forum: MultiCharts .NET
- Topic: How to set the volume of short or long in signal
- Replies: 2
- Views: 1615
Re: How to set the volume of short or long in signal
Volume means the size of contract. Sometimes, in different situation, we need to trade different number of contracts.
- 12 May 2013
- Forum: MultiCharts .NET
- Topic: pass parameters from Signal to Function
- Replies: 3
- Views: 2794
pass parameters from Signal to Function
Sometimes we define a Function, and pass parameters from Signal to Function. Moreover, Function return values to Signal. How can do these things? May you give some examples? I find public ISeries<Double> price { get; set; } public Int32 length { get; set; } It seems these two get values from Signals...
- 12 May 2013
- Forum: MultiCharts .NET
- Topic: How to set the volume of short or long in signal
- Replies: 2
- Views: 1615
How to set the volume of short or long in signal
How can we set the volume of short or long in signal?
buy_order = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, EOrderAction.Buy));
short_order = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, EOrderAction.SellShort));
buy_order = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, EOrderAction.Buy));
short_order = OrderCreator.MarketNextBar(new SOrderParameters(Contracts.Default, EOrderAction.SellShort));
- 22 Apr 2013
- Forum: MultiCharts .NET
- Topic: Choose data for specific time period
- Replies: 1
- Views: 1353
Choose data for specific time period
Hello. How to read the bar data for specific time period? e.g. the bar data in current month. Display the bar data from 2010; bar.close minus 0.5 for the March, 2009.
- 11 Apr 2013
- Forum: MultiCharts .NET
- Topic: difference between [input] and [InputAttribute]
- Replies: 1
- Views: 1418
difference between [input] and [InputAttribute]
When I define the input variable, what is the difference between [input] and [InputAttribute]?