Multiple Symbol using Renko
Multiple Symbol using Renko
25 Jun 2020, 14:32
Hi
I cant figure out how can I use multiple symbols on by cbot using Renko.
I'm trying to get EMA (Exponential moving average) price from all symbols using Renko
On the time frame I can loop through symbols using MarketData.GetBars function, but I don't seem to have Renko in the Timeframe.
Bars BAR_EURUSD = MarketData.GetBars(TimeFrame.Minute15, "EURUSD");
Bars BAR_GBPUSD = MarketData.GetBars(TimeFrame.Minute15, "GBPUSD");
GBEMA50 = Indicators.ExponentialMovingAverage(BAR_GBPUSD.ClosePrices, 50);
EUEMA50 = Indicators.ExponentialMovingAverage(BAR_EURUSD.ClosePrices, 50);
Is there a work around or is there another way of doing it?
Thanks
Malas
Replies
malas7malas
25 Jun 2020, 18:16
Hi Panagiotis
You are genius I was trying to figure out for a week and I received resolution from you in 15 minutes. Thank you for all help and effort .
@malas7malas
PanagiotisCharalampous
25 Jun 2020, 14:57
Hi Malas,
Try passing the timeframe as a parameter. See below
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous