if (BarsInProgress == 1)
{
But that only traded on that timeframe
Then I tried
if (BarsInProgress == 0)
{
but that just traded every bar on the main timeframe.
On tradingview where I originally build these strategies. It would use the higher timeframe to get an entry condition, then enter the first bar after on the lower time frame.
So say if there's an hour timeframe to check for condition, and the chart is 5 minutes. It would active at 14:05 then the next at 15:05
Comment