Profile Picture

LeadBars wasting bars

Posted By squ1d 5 Years Ago
Message
Posted Sunday July 01 2012
Hi,

My system needs 1 year worth of bars in order to trade. However, what is happening is that RightEdge is waiting for every symbol to have that one year prior to trading.

I was wondering if there's a way I could have the system trade as each symbol reached the 1 year mark, instead of all of them.

Best,
Ed
Posted Sunday July 01 2012
Whether RightEdge is "in lead bars" is a systemwide setting, so there can't be different symbols coming out of lead bars at different times. So in your case I'd recommend not using the built-in lead bars functionality. Just add a check before your trading logic (ie in NewBar() or NewTick() or whereever) to make sure that you have enough data for the symbol before trying to trade it.

Thanks,
Daniel


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems