2 bars consecutive..

Forums ProRealTime English forum ProScreener support 2 bars consecutive..

  • This topic has 10 replies, 2 voices, and was last updated 2 years ago by avatarJS.
Viewing 11 posts - 1 through 11 (of 11 total)
  • #206231

    Hi There,

    Please can someone create an indicator and a screener to display last 2 bars, consecutive,  either bullish or bearish on a chart. It can be anywhere in last x number of bars…

     

    Regards

    #206243
    JS

    Hi,

    What kind of bullish and bearish bars were you thinking about?

     (There are so many different…)

    #206248

    Bullish bar is when close is higher than previous,  vice versa for bearish…

    #206250

    Sorry,  should’ve mentioned,

     

    Bullish= close higher than previous open

    Bearish= close lower than previous open… Key is OPEN IN BOTH.

    2 bars closing lower than previous open

    2 bars closing higher than previous open.

    Must be consecutive though…

     

    #206251
    JS

    Hi @amitoverseas40

    Here is the indicator…
    As bullish is now defined, the last bar can also be a bearish bar as long as the Close > Open[1].
    The same goes for the bearish side…

    Regards Jaap

    #206256

    Hi JS,

     

    Thanks but it’s not exactly what I am looking for.

     

    See the attached, I need 2 bars consecutive anywhere on chart …..while I know that current bar will look at previous 2 BUT it can be anywhere so loop will be required I think..with absolute close rather than anything now I think of it..

     

     

    #206258

    Much better in latest as I removed the wicks….

     

     

     

    #206262
    JS

    Hi @amitoverseas40

    This screenshot is exactly the same as the previous one only now in histogram style…

    #206264

    Hi JS,

     

    See attached now, either we are missing signals or getting false signals….This metthod works, just need to look adjustment in loop rather only looking for previous 2…

     

     

    #206266

    Questions marks highlight

    1. missing signal.
    2. false signal
    3. missing signal..
    #206268
    JS

    Hi @amitoverseas40

    There are no missing signals or false signals… 😉
    The indicator shows how bullish and bearish are defined (two consecutive…)

    ”As bullish is now defined, the last bar can also be a bearish bar as long as the Close > Open[1]. The same goes for the bearish side…”

    If you don’t mean this, then the definition of bullish and bearish needs to be adjusted… 😉

Viewing 11 posts - 1 through 11 (of 11 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login