tonbParticipant
Junior
Hello i am looking for an indicator with a high low range of 8 points with the additional conditions.
Short candele: High-low max 1 point / Low-Close max 1 point
Long Candele low-open max 1 point/ High-Close max 1 point
The reason i want this as an indicator is that i want to trade on a small time frame with volume candels
There you go (not tested):
C1 = (range = 8*pipsize)
// Bearish candlestick
S1 = (High-Open <= 1*pipsize)
S2 = (Close-Low <= 1*pipsize)
S3 = close < open
SC = S1 and S2 and S3 and C1
// Bullish candlestick
L1 = (High-Close <= 1*pipsize)
L2 = (Open-Low <= 1*pipsize)
L3 = close > open
LC = L1 and L2 and L3 and C1
//
Return (SC or SL)
I have changed some of your expressions, as they seemed wrong.