Request coding for candles high / low in trend

Forums ProRealTime English forum ProBuilder support Request coding for candles high / low in trend

Viewing 6 posts - 1 through 6 (of 6 total)
  • #177843

    Hi there,
    I need a code for an indicator that shows the following rules. At best as a line similar to a Donchian?

    The following rules:

    H4 timeframe

    Bullish:
    EMA50> EMA50 [1]
    Red candle (open> close)
    Lowest high of the last RED CANDLE [5]

    Bearish:
    EMA50 <EMA50 [1]
    Green candle (close> open)
    highest low of the last GREEN CANDLE [5]

    In addition, only those candles of the respective color that are in line with the trend of the EMA specification are taken into account.

    The aim is to get a stop order at the respective point (high / low) as an entry condition for a trading system.
    It is important that only candles of the respective direction / color are taken into account and that the entry point is then determined.

    #177844

    Here is an instructional video of the original version of Long Hang Seng. I just added some rules of my own. Maybe you can also code the original setup to see which system is better? So two versions?

    Short:

    https://youtu.be/GeFNbMP_a_I

    Long:

    https://youtu.be/aeYq6IZEG0E

     

     

    #177852

    Please:

    • post your rules in details explaining what to do with it (Lowest high of the last RED CANDLE [5] isn’t clear)
    • on which candle do you want the signal to be generated?

     

    #177855

    Hang Seng’s original setup should explain the videos well.

    My setup in short:

    Long: EMA50 rises, stop buy order at the high of the lowest high of the last 5 RED candles.

    Short: EMA50 goes down, stop sell short order at the low of the highest low of the last 5 GREEN candles.

     

    Attached as a picture. Sorry for the quality. Created on the smartphone.

    #177862

    EurUsd short signals last week as a picture.

    #177900

    There  you go:

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

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