Topic: LOGIC CONDITIONS: Previous Day's Closing Question

Is there a straightforward way to create a logic condition that takes into account a day's closing longer than 1 day/period ago?

For example:

Open Long if:

Bar closing 2 periods ago < previous period's close > current periods close

Thanks so much. If there's not a direct way, I'm more than happy to try and use a workaround if one exists.

Re: LOGIC CONDITIONS: Previous Day's Closing Question

Bar closing 2 periods ago < previous period's close

You can use MA with Period=1 and Shift = 1 Logic rule: MA rises

previous period's close > current periods close

The same like previous but with Shift = 0
Actually you cannot be sure where the current close is before the end of the bar. In that case FSB will switch on "Use previous bar value" parameter.

Re: LOGIC CONDITIONS: Previous Day's Closing Question

Thanks so much for your quick reply. So helpful.

I vaguely understand the approach you are suggesting. I meant to have the logic open on the 4th period if the previous criteria was met.

I do not understand the "shift" and how that influences the MA values (or other indicator's values for that matter)

I'm trying to get something flexible that resembles fractal formations w/o using the fractal indicator.

Thanks again for your help.