Highs and Lows based on Stochastic Cycles

Forums ProRealTime English forum ProBuilder support Highs and Lows based on Stochastic Cycles

Viewing 15 posts - 1 through 15 (of 17 total)
  • #146162

    Hello,
    I am busy with a indicator which marks the highs and lows of price based on the stochastic cycle, after the stochastic cycle has closed. A cyclehigh is where %D > 50 and a cyclelow is where %D < 50. I use EUR/USD.
    I would like to have a Textsignal at the candle with the highest high when the Stochastic D > 50 and at the candle with the lowest low when the stochastics D < 50. And preferable that is tells me also if this highest high is higher or lower then the previous highest high from the previous cycle.

    I manage to program to define the highest high and lowest low, and also the previous highest high and lowest low but I only manage to show them as lines. That makes to much noise in my charts so I am looking for a way where I can mark ONLY the candles with the highest high and the lowest low in the cycle and preferable that is tells me also if this highest high is higher or lower then the previous highest high from the previous cycle.

    So my challenge is in the part where I want to DrawText and define the candle where to do draw text. It needs to mark the highest high when the cycle high is over and not during the cycle high. And if the macd has made a lower high during that cycle high.

     

     

    In my indicator you see the highs and lows and the previous highs and lows.
    Red  = lowest price
    Purple = previous lowest price
    Green = highest price
    Light blue = previous highest price
    The signal from theHH HL LL and LH from the macd can also be done in a seperate indicator if it isn’t possible to combine them, The thing with the MACD of course is that the visibilaty of the signal depends on waht you trade.

    #146167

    I would like to have it like this.

    #146182

    I’m not sure of the complete picture of what you want to achieve, so I just modify the lowest (LONG) part of your code:

     

    1 user thanked author for this post.
    #146188

    Thanks a lot Nicolas,

    For sure this is great to continue to create what I had in mind. When I have finished it I will post the last version.

    1 user thanked author for this post.
    #146200

    Thanks again Nicolas for helping me out describing the candle with the higherst high within the Stochastic cycle.

    This indicator describes the Higher Lows and Lower Highs in Price and in Macd within the cycles of the Stochastics  (Stochastics %D is my oscillator, but you can use others as well. Just needs a bit editing). It also marks the Highs with a green line and Lows with a red line in every cycle high and low with a red line.
    HLP = Higher Low Price
    HLM = Higher Low Macdline
    LHP =  Lower High Price
    LHM =  Lower High Macdline
    -see  the image-

     

    1 user thanked author for this post.
    #146202

    This is for EUR/USD, so when you use other charts, check the distance between the chart and the text.

    #148373

    Hello would it be possible to complete the code with these variables. thank you very much

    #148374

    hello,

    there is an error line 96 in colored, it is necessarry to remove a 0 on each 1000 otherwise problem of RGB display, somebody modified the code and complete the variable.

    thank you.

    #148378

    can we have this for 10 3  ??

    #148418

    Yes the color goes from 0 to 255 max

    #148465

    Hello Fifi
    It is not a problem of color, the code as it is above does
    not work on 10 3.
    I am looking for the most reliable reversal signals
    I mainly test eur usd 1 hour, dear Fifi would you have an idea
    on what works best.
    This question I also ask Nicolas, Roberto, Paul, Nonetheles, Grahal and all of you ???

    #148896

    hello is it possible to add a filter, buy on green candle and sell on red candle otherwise no signal. thank you

    #148921

    modify

    #148933

    many thanks fifi 743 i tested it and i tell you

    #228676

    Hello Fifi, Gregoire

    Can i use segments in a strategy??

    I have try without success

Viewing 15 posts - 1 through 15 (of 17 total)

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