How to get objects of signals on the chart? How to turm on/o

Questions about MultiCharts .NET and user contributed studies.
gztanwei
Posts: 32
Joined: 15 Aug 2015
Has thanked: 6 times
Been thanked: 5 times

How to get objects of signals on the chart? How to turm on/o

Postby gztanwei » 20 Sep 2015

Hi,

My ultimate goal is to add buttons into chart ToolStrip, so that it switches on/off execution of a signal. So that I can trade the entry with my discretion.

I see that in "Format Signals" page, there is on/off status that I switch on GUI. I'm attach this function onto my button, so that it achieves above goal.

question 1: which class is there to access the collection of signal objects?

question 2: I checked "SignalObject" and it does not have status property. is there this switch on/off function/property somewhere else?

possibly question 3: I can foresee that turning on/off signal would be slow and may cause missing opportunity. Is there a better way than above to achieve the goal?

Thanks.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: How to get objects of signals on the chart? How to turm

Postby Henry MultiСharts » 29 Sep 2015

Hello gztanwei,

There is no collection of signals applied to chart and there is no way to change the status of the study from the code.


Return to “MultiCharts .NET”