Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:20:28 +0000



Post From: how to create automated Exit which is based on my Stoploss

[2024-07-03 22:50:58]
Sawtooth - Posts: 4091
In order to make a price persistent, it must be associated with a specific bar, not just the previous bar.
J5<0 is always TRUE when you are in a position, so you will always get C4.

Use a formula that ties the event to a certain bar, like this:
=IF(K3,0,IF(M3,C4,U4))
where M3 is a Sell Entry signal at a certain bar. It is released when there is a Buy Entry signal.