Hello everyone, I want to create an indicator to simplify my positioning on order blocks.
Here are the conditions to be validated:
1: The order block must push the price into a liquidity zone. I would like a line purpple with the word "SSL" to appear to the right at this point.
2: The order block validation must occur at the close of the candlestick above the order block body. At this point, it is indicated by a green line with the word "OB+" to the right (a red line with the word "OB-" for the inverted model).
3: Only when phases 1 and 2 are validated will the previous SSLs be displayed by a line with the word "SSL".
4: I would like to be able to send a signal to my inbox in phase 2.
5: The indicator must provide me with OB+ and OB- values. I mentioned the color and details above.
Once tested, I will get back to you for some improvements. Thanks for your help, happy trading everyone.
I am attaching images of phases 1, 2, 3 bulish and phases 1, 2, 3 bearish thank you
I forgot the minimum number of bars must be 500 and if it was possible to carry out the detection on the 1h, 15mn and 5mn time periods thank you
There are some aspects of your request that are open to interpretation, such as:
How do you define an order block?
Is it a specific candle, a series of candles, a consolidation range, or some other pattern?
Where exactly are the boundaries of that block (highs/lows, open/close)?
What do you mean by “liquidity zone”?
Is it a local low, an accumulation zone, an imbalance, previous levels…?
What conditions must the price meet for you to consider it has been “pushed” into that zone?
For phase 3, how do you identify which previous SSL should be shown again once phases 1 and 2 are validated?
Should I store all SSLs or just the most recent one?
In any case, I recommend you take a look at the following indicators: