Announcement

Collapse
No announcement yet.

OHLC Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OHLC Question

    I have been trying to make an efs with no success..

    Maybe someone can help me or even direct me in the correct direction..

    The study I am trying to do is this: (I want to add it to attached study, but would work beautifully with a MA X-Over also)

    I would like to take an average of the previous highs and lows of the prior 5 bars and only allow the placement of the arrow and sound alert if the current price exceeds this average..

    If this is not possible, then a BarBgColor could be used to show the breakout..

    The attached efs works super in placing the arrows and sounding the alert..
    Attached Files

  • #2
    Racer

    I would like to take an average of the previous highs and lows of the prior 5 bars and only allow the placement of the arrow and sound alert if the current price exceeds this average..

    What are you referring to when you say "price"? High, low, other?
    Also what does "exceed" mean? Dose it mean the whole bar has to be above/below the average or just the high (assuming for example that it was below at the prior bar) or the close?
    IOW what exact conditions trigger the signal?
    Alex

    Comment


    • #3
      Alex..

      Thanks for the response, but I think I have it figured out here..

      I had reversed a routine..After I am finished I will post it..

      I was actually looking for high/low and if the current price(close) exceeded the average and barbg appeared..Works so far, but still not quite like I want it..

      Thanks Again!!!

      Racer

      Comment

      Working...
      X