Help with Code Bollinger bands

Forums ProRealTime English forum ProBuilder support Help with Code Bollinger bands

Viewing 5 posts - 1 through 5 (of 5 total)
  • #108967

    HI All

    Firstly i want to be upfront i have no idea how to code! I would like to have an indicator when the upper and lower bollinger band 3SD is hit on a 5 min,10 min 15, min and hourly chart all at the same time ie across a number of time frames . So could be say 5,10 & 1 hour and another for 5,15 & 1 hour etc same for the lower bollinger band 3SD. If we could tie it in with RSI over say 65 or below 30 on the lower band that would also be beneficial.

    This would tell me when the market is short term over stretched – Ideally i would like to get an alert when this happens as well. I would use this for trading index futures such as FTSE, DOW SPX etc . Feel free to contact me. Thank you Dominic

     

    #108970

    ProBuilder does not support Multiple Time Frames, so it is impossible to make an indicator with more than one TF, the only one supported is the one on the chart where it’s been added.

    So you need to open more charts at the same time, each one with different TF, then set an alert or use a screener to accomplish what you want.

    Will this meet your goals?

    #108972

    HI Roberto

     

    Thank you for getting back to me.  So what you are saying is I could have an alert per time frame essentially and we would need the same code on all the time frames.  So the same piece of code say on the 5 min, 10min,15 min and 1 Hour. that would probably work as if i got an alert from all time frames at the same time it would give me what i am looking for. Coudl i also tie it in with RSI reading above or below certain reading? Thanks dom

    #109056

    Here’s the code:

    unfortunately PRT doesn’t allow to set more than 5 conditions for an alert, so if you need 3 different TF’s you’ll have to set two conditions for two of them and only one for the third TF. In your case you only need ONE condition per TF, since the above indicator returns a signal when BOTH Rsi and Bollinger Bands return valid signals.

    You’ll have to create two different alerts, one for LONG conditions and one for SHORT conditions.

    Anyway, this is a screener that returns a valid scan with a beep:

     

     

    #109158

    Wow thanks Roberto that is very kind of you ! Sorry i didn’t get back to you yesterday, i was offline all day. Let me play around with this over the next few days and I’ll revert back to you. Once again many thanks Dom

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

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