Support Board
Date/Time: Sat, 18 Jan 2025 23:50:09 +0000
Post From: coding question
[2018-03-04 17:40:33] |
Sawtooth - Posts: 4154 |
The conditions are actually this: -Long when C crosses above upper Keltner (not just above) and -Keltner is upsloped and -MA is upsloped The entire Longs code looks like this =AND(CxoK,Kup,MAup) The crossover portion is in post#2: AND(C[-1]<ID2.SG1[-1],C>ID2.SG1) The Kup portion is this, where the current is > the previous: ID2.SG1>ID2.SG1[-1] The MAup portion is this (where the MA is ID1, edit as needed, and the current is > the previous): ID1.SG1>ID1.SG1[-1] Put it together: =AND(C[-1]<ID2.SG1[-1],C>ID2.SG1,ID2.SG1>ID2.SG1[-1],ID1.SG1>ID1.SG1[-1]) |