Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 15:57:02 +0000



[Programming Help] - Is it possible to CHASE to current price w/ attached trigger-orders?

View Count: 588

[2019-01-25 20:57:55]
User917679 - Posts: 76
Is there a quick way of establishing alert code that would represent consolidation of an oscillators line's movement within an indicator? Specifically, I'm looking to get an alert if there's TWO or more line inflections whilst on one side of a zeroline/MA etc..


=OR(AND(SG1[0] > SG1[-1],SG1[-1] < SG1[-2]),AND(SG1[0] < SG1[-1],SG1[-1] > SG1[-2]))

^^ so I've seen this, but I'm wondering how to make it so that if it occurs twice, there will be a signal

EDIT:

I didn't solve the problem per se, but I found my way around it..

..Now I'm wondering if its possible to use some type of trail stop that upticks/downticks with every movement of the market - not just one way trailing stop style? And if so, how?
Date Time Of Last Edit: 2019-01-28 00:48:32

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

Login

Login Page - Create Account