Search found 9 matches

by et1hugo
12 Feb 2023
Forum: User Contributed Studies
Topic: Simulate Manual Trading in Data Playback mode [SOLVED]
Replies: 9
Views: 7244

Re: Simulate Manual Trading in Data Playback mode [SOLVED]

Hi all, I hope MC adds this functionality for an extendible chart trader that works with the playback. Anyway, I wrote this strategy that seems to work well with the playback, it supports the following functions: Absolute size entries Percentage of account risk based entries based off a planned stop...
by et1hugo
02 Oct 2022
Forum: MultiCharts .NET
Topic: Loading missing bars of data
Replies: 2
Views: 695

Re: Loading missing bars of data

Thank you for the reply Svetlana, It would be great if the platform can support that so I'll log a feature request for this. The issue is deeper lying in the sense that it is hard to determine whether the data just got missing in the replies from the data vendor or for whatever reason or whether the...
by et1hugo
19 Sep 2022
Forum: MultiCharts .NET
Topic: Loading missing bars of data
Replies: 2
Views: 695

Loading missing bars of data

Hi all, I created a strategy (I guess it can be an indicator as well) to check the completeness of data on a chart for back testing purposes. The output would look as follows for SPY loading daily bars from 1/1/1993 to 19/09/2022, it computes that about 3.5% of the data over that time period is miss...
by et1hugo
17 Aug 2019
Forum: MultiCharts .NET
Topic: StartCalc() & Multiple Chart Instruments [SOLVED]
Replies: 6
Views: 8403

Re: StartCalc() & Multiple Chart Instruments [SOLVED]

Hi FistPeco

Thanks for the post, was just sitting here with the same issue trying to determine how many instruments are connected to my strategy.
by et1hugo
19 Jun 2019
Forum: MultiCharts .NET
Topic: VolumeProfile ItemForBar returns allways null
Replies: 2
Views: 1714

Re: VolumeProfile ItemForBar returns allways null

Hi radekj To get the volume profile collection for the current bar you should pass in the IInstrument CurrentBar (not the CurrentBar - 1). I used the following code to access the volume profiles for two data streams on a short and long term chart , I include only the code for the short term chart an...
by et1hugo
18 Jun 2019
Forum: MultiCharts .NET
Topic: How to correctly use CrossOver/CrossUnder
Replies: 0
Views: 1744

How to correctly use CrossOver/CrossUnder

Hi all I'm working on a simple crossover/crossunder study based on John Ehler's super smoother. It is sort of like a moving average but it is supposed to decrease the lag that you typically have with moving averages. Everything works fine except the VariableSeries CrossOver/CrossUnder methods seems ...
by et1hugo
13 Jun 2018
Forum: MultiCharts .NET
Topic: Stop-loss for leveraged position
Replies: 2
Views: 1623

Re: Stop-loss for leveraged position

Hello Henry

Thank you for the prompt reply, I'll look into this and adjust the symbol in the QuoteManager to incorporate the leverage used.

Kind regards
Ettienne
by et1hugo
28 May 2018
Forum: MultiCharts .NET
Topic: Stop-loss for leveraged position
Replies: 2
Views: 1623

Stop-loss for leveraged position

Hi guys I'm trying to use the GenerateStopLoss(double amount) method to generate a percentage stop-loss on a Forex account. The problem is that since Forex accounts can use leverage you need to use the cost-basis of the position as apposed to the EntryPrice. I've seen code here on the forum along th...
by et1hugo
25 Nov 2017
Forum: MultiCharts .NET
Topic: IChartCustomDrawer status [SOLVED]
Replies: 1
Views: 1586

IChartCustomDrawer status [SOLVED]

Hi guys I have a question concerning an indicator with custom drawings using the IChartCustomDrawer interface. Everything works as expected except when I set the indicator status to "off" in the "Format Objects" dialog under the "Studies" tab the custom rendered text that I add to the chart still st...

Go to advanced search