View Single Post
  #108 (permalink)  
Old 04-12-2009, 01:59 PM
Dono Dono is offline
Junior Member
 
Join Date: Apr 2009
Location: Australia
Posts: 9
Dono is on a distinguished road
How do I code a number of pips entry above Bollinger Bands

Hi, I'm new to using Metatrader and have been able to search thru past threads to find answers to my problems but this time am lost! This is my first post so I hope my question is in the right area.

I am trying to code an entry when, let say for example the current price hits 5 pips above the current upper Bollinger Band for a short position and the opposite for long positions.
I've made a simple EA that apart from a few other indicators works on the current bar being > than upper, < than lower bands but haven't been unable to set a pip distance from the Bollingers.

Sorry if its a dumb ass question but any assistence would be great.
Thanks.
Reply With Quote