I am not sure how to do this but how do you set it up so there will be 2 data series,
- one using a 1 minute bar chart (there's also a 1 tick data series here),
- another using a renko chart (for entry signal),
- then adding in a stoch rsi that is acting on the renko chart?
So programatically it would be like this?:
// Default 1 minute bar chart no need to add
// Add 1 tick data series
AddDataSeries(Data.BarsPeriodType.Tick, 1); // For the 1 minute bar chart, this is also where we submit orders, etc
// Add renko
AddDataSeries(....); // How?
StockRSI stockRsi;
stockRsi = StockRSI(Input[2], 2); // Is Input[2] correct -- is it referring to the renko?
Then later in OnBarUpdate():
// BarsInProgress == 0 is 1 Minute Chart
// BarsInProgress == 1 is 1 Tick
// BarsInProgress == 2 is Renko?
Thanks for the help.
Comment