A down arrow above the price bar when:
- the bar has a high that is higher than the last 5 bars
- the bar has a close that is lower than the open
- the bar has a close that is lower than the close of the previous bar.
Use the Indicator MAX(High,5)
Copy the Close to mycloseCopy the Open to myopen
3) the bar has a close that is lower than the close of the previous bar
You already have current close in myclose, so only need to copy the previous bar close using displacement ;
Now you have all the needed variables, but still need some calculations...
...like the distance between current Close and higher high of last 5 bars ( condition #1)
Use the XO Indicator ( disable its paint options, or at least the down signal option ) ;
And you get something like this ;
You are only interested in the positive histogram ; higherhigh > 0
Calculate the distance between myclose and myopen ( you get another histogram and a new variable ; example ; close0open0
Calculate the distance between myclose and myclose1 ( you get another histogram and a new variable ; example ; close0close1
I suggest setting all previous XO indicator with the paint option disabled to avoid confusion
Now, on the AND Indicator you can set each condition ;