Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 03:43:04 +0000



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

[2024-07-03 22:50:58]
Sawtooth - Posts: 4118
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.