Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 03:10:59 +0000



[Programming Help] - Automated Trading - Spreadsheet

View Count: 730

[2017-08-19 21:14:56]
User312841 - Posts: 25
Is there any way to have an alert set a varible (ie T/F)during spreadsheet trading? I just want to trade the first reversal after an alert. Any clever work arounds?

THanks
[2017-08-20 01:00:12]
Sawtooth - Posts: 3996
Try this:

In a Formula Column, e.g. in cell P3:
=IF(alertcondition,1,IF(reversalcondition,0,P4))
Then find the row where the reversal happened, e.g. cell Q3:
=AND(P4=1,P3=0)

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

Login

Login Page - Create Account