Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 05:54:30 +0000



Post From: Spreadsheet

[2019-08-02 14:11:05]
Sawtooth - Posts: 3952
It doesn’t matter on which side the impulse is going, but if the bar just approached the level or touched the level and 0.25 below the level, then the sell entry is turned on, but on the contrary, then buy entry accordingly.
When using a spreadsheet study, you cannot compare the Last price to a previous last price in the same bar. You must compare the Last price (E3) to a price in the previous bar, e.g. the previous close (E4), and you then don't need the offset to determine direction:
K3:
=AND(E4<V4,E3>=V3)
M3:
=AND(E4>V4,E3<=V3)
Even so, these formulas will be insufficient to trigger reversals in the same bar.

This is probably difficult for automation
These are all seemingly elementary things, but it turns out that in any strategy this is the most important place where problems begin.
It is very important that Signal only ON bar close is NO to reduce reversal loss
the problem of this strategy when the buy entry does not turn on after a reversal, although it is necessary
Using intrabar entries always increases the complexity of the system, and makes it more difficult to understand its functionality. Since you must reference the previous bar to avoid intrabar whipsaws, you might not be able to do what you want with a spreadsheet study.
Date Time Of Last Edit: 2019-08-02 15:56:33