Wedges based in Cycle Highs and Lows

Forums ProRealTime English forum ProBuilder support Wedges based in Cycle Highs and Lows

Viewing 14 posts - 1 through 14 (of 14 total)
  • #147294

    I have programmed an indicator to define the Highs and Lows based on Cycles, made by the Stochastics. Of course you can use other oscilators as well. Just edit it in the programming.
    The highs and lows will be confirmed after the cycle has closed. Now I would like to add an extended line connecting the last 2 highs and an extended line to connect the last 2 lows. It is a way to see when wedges start to show up. See the image.

    Another thing is that sometimes it doesn’t show me the high/low after the cycle has closed. When I edit the settings in the menu, which are only about the transparency of the vertical lines, it shows up, or after I have validated the indicator again. I don’t know why that happens.

     

    #147295

    Sorry, for some reason I can’t add the image, JPEG 163k size. I also tried a PNG…..doesn’t work either.

    #147298

    There are many variables missing or not defined.

    Can you please post a full working code?

    Eben better it would be attaching the ITF file.

    Thank you 🙂

     

    #147301

    Ciao Roberto,
    Here is the ITF file

    1 user thanked author for this post.
    #147303

    I took away the setting in the menu where you could adjust the transparency of the vertical lines. The vertical line mark the candle with the high/low. The horizontal segment moves marks the price of the high/low.

     

    #147304

    Another try with the image.

    #147315

    The code is still not working, many variables are not used.

    When posting code, please make sure it’s fully functional! People may want to help you, but only if you help them not waste their time uselessly!

     

    #147316

    It is fully functional. I even checked it with Nicolas. And it works for me.
    I know the MACD and the Momentum aren’t used, although they are described, but they are also not in the programming. The signals you get in the chart are Lows and Highs based on the Stochastic [5,2,3]. They show up in my chart. See the image I included.
    Please let me know what doesn’t work for you.
    I took out the unused parameters, so here again.

    #147320

    In the image here you see what shows up in the chart right now. But I would like to have the extended lines from the last two Highs connected and the last tw low connected as in the image above I posted 3:13 PM.

    #147333

    I see it’s for v11.

    What TF and instrument is the one in your pics?

    What time is the unmarked low?

    #147335

    I use it on different time frames. This one is on EURUSD 200 ticks.
    The unmarked low doesn’t stay unmarked, as I said, when I refresh the indicator by only open the indicator editor it marks it, or by making the whole indicator invisble first and then visible again. I don’t know why. So the dropp out  in the image is allready working, but then a new one, mainly the last ones, sometimes don’t show up.

    #147338

    I cannot see the missing LOW you are referring, what time was it?

    Moreover, the candlesticks I see are pretty much different from yours, is that Spot EurUsd?

    If I can’t replicate exactly your trades, I can’t help you.

     

    #147341

    Yes, it is Spot Eur Usd, 200 ticks.
    Aren’t you able to see the horizontal green and red lines? These are the Highs (green) and the Lows (red) based on the stochastic cycles. Now I want 2 extended lines. The first one connects the last 2 Highs and the other one connects the last 2 Lows.
    I have added a new dropp out this evening. You see the time bar 19:25:07

     

    #147484

    To draw those lines (supported by v11 only), you need to use two slightly different copies, with different names, of the same indicator.

    This is the same indicator as yours (ITF file attached, as well as a screenshot), but I commented out drawing red and green segments, then I added instructions to keep track of the last two green and red segment to draw those elongated lines at the end:

    as to missing Red/Green segments, please let me know instrument, TF, date and time there should have been one.

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

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