Support Board
Date/Time: Mon, 20 Jan 2025 04:11:07 +0000
Post From: Conditional study language
[2018-05-20 19:22:01] |
User28682 - Posts: 233 |
Hi, I would like to produce an alert when: 1) High[-1]<=H[-2]and Low[-1]>=L[-2] 2) C>H[-1] OR C<L[-1] So assuming the inside bar is TRUE (1), I want it to trigger if the current bar takes out either the previous bars(inside bar) high or low (2). I did this without success: =AND(H[-1]<=H[-2],L[-1]>=L[-2]),OR(C>H[-1],C<L[-1])) I tried this and did not get an error message but so far no triggers with a TRUE: =OR(AND(H[-1]<=H[-2],L[-1]>=L[-2]),AND(C>H[-1],C<L[-1])) I need the second part of the formula to be an "OR", meaning one or the other will most likely trigger. Help! Thanks! Date Time Of Last Edit: 2018-05-21 02:07:13
|