Login Page - Create Account

Support Board


Date/Time: Thu, 10 Oct 2024 21:26:47 +0000



Reset lock in spreadsheet through code

View Count: 249

[2023-12-02 22:46:21]
DaveTrader - Posts: 12
Is it possible to reset a lock state to FALSE with an IF statement?

Spreadsheet Studies Special Tasks: Locking the State of a One Time Condition

For example my lock state is in EL1:

IF(J8=-1,EL1=0,0)

If I am in a short position, reset it to False.
[2023-12-03 01:48:32]
Sawtooth - Posts: 4095
Is it possible to reset a lock state to FALSE with an IF statement?
See this for an example:
https://www.sawtoothtrade.com/example-9.html

This usually requires some trial an error to get it to work in your specific situation, as there is no single precise solution.
Date Time Of Last Edit: 2023-12-03 01:50:17

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account