Hello,
I have a main chart and a subchart, with different resolutions. The objects I draw disapear after the bar is completed and I need them not to(please see the attached movie, after removing the .txt extension). Is this possible in Multicharts NET ? Thank you.
drawing not persistent [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: drawing not persistent [SOLVED]
Hello kenadian,
Are you using an indicator or a signal? Do you use RecoverDrawingsAttribute in your code?
Are you using an indicator or a signal? Do you use RecoverDrawingsAttribute in your code?
Re: drawing not persistent
Thank you, this fixed my problem. I used it in MC Net as
Code: Select all
namespace PowerLanguage.Indicator
{
[SameAsSymbol(true)]
[RecoverDrawings(false)]
public class _myIndicator : IndicatorObject
{
}
protected override void Create()
{
}
protected override void StartCalc()
{
}
protected override void CalcBar()
{
}
}
}