I need to ask you, i have my own custom indicator CCPAC.cs (see attachement) and its simple indicator calculating highest high and lowest low N bars back on some user definied market.
You can insert this indicator to $EURUSD chart and you will set properties of this indicator "$GBPUSD", so you will see $GBPUSD highest high and howest low on $EURUSD chart. I guess its clear..
These values are set to plots.
So there are two GET SET methods:
[Browsable(false)] [XmlIgnore()] public DataSeries Plot0_PACup { get { return Values[0]; } } [Browsable(false)] [XmlIgnore()] public DataSeries Plot1_PACdown { get { return Values[1]; } }
So in other words.. I need to run strategy on $EURUSD, and this strategy will use calculated values of my indicator and this indicator's values are related to $GBPUSD.
What is the syntax of this?
What should I write to Add method to the strategy?
I know that with Add method i can import the indicator to the strategy and the plots will be visible when the strategy run, but I also need USE the values of the plots of the imported indicator? How to do that?
Thank you
Comment