VISUAL LEVELs INDICATOR with Donchian channel

Forums ProRealTime English forum ProBuilder support VISUAL LEVELs INDICATOR with Donchian channel

Tagged: ,

Viewing 13 posts - 16 through 28 (of 28 total)
  • #158218

    Hello Nicolas, I congratulate you for the work you have done. This is an indicator that will benefit the entire PRT community.
    I have added code to also have the supports (see the itf file).

    I tried to use the indicator lines in an algorithm but no trade is generated.
    Here is the code :

    I think it’s because the indicator doesn’t create the old lines.
    Can we add them in order to be able to create relevant backtests?

    As you can see in the screenshots, such an indicator will help the robots to bounce on the right levels.
    This will bring a real added value to the mean reversion strategy and will allow us to be more efficient on the markets.

     

    #158233

    The levels are found and stored into variables arrays, which are not retrieved when you CALL an indicator.

    The only way to find the same levels is to add the entire codes of the indicators into the strategy. Loop through the arrays of support and resistance levels on each candle to find if the price is bouncing on one of them.

    1 user thanked author for this post.
    #158585

    Ok @Nicolas, if I understand well I have to create and incorporate in the algo a table that includes all the code, then loops to keep the levels in the table as long as the prices have not bounced on it.
    I’m reading the thread (https://www.prorealcode.com/topic/array-variables-availability-in-prorealtime/ ) to understand how to use the tables. I’m much more efficient at trading than I am at programming, so I hope I can do it. I can ask you questions for help if I can’t find a solution?

     

    #158604

    @Nicolas, your code works very well once inserted into a strategy, however it doesn’t generate any trade when using volume or tick bars. Do you know how to modify the code to make it work with these bars?
    These are the candles most used by algorithm and those whose distribution is closest to a Gaussian distribution.

     

    #158630

    The correct code to test each of the found levels is below:

    We have to make a loop through the array populated with the price levels and if the condition is met then we break the loop and an order is launched.

    #211402

    bonjour nicolas

    serait t il possible  de faire en sorte que l indicateur fonctionne sur la version v11 en tick j ai voulu le testé mais il ne fonctionne pas et cela m intéresse fortement mais mon niveau en prog est encore limité et cela m ‘à l air assez avancé.

    merci pour le temps que tu pourra accordé.

    cordialement.

    greg

    hello nicolas would it be possible to make the indicator work on the v11 version in tick I wanted to test it but it does not work and it interests me greatly but my level in prog is still limited and it seems to me quite advanced.

    thank you for the time you can give. Cordially.

    greg

    #211406

    @gregoire

    Only post in the language of the forum that you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.

    Thank you 🙂

     

    #211407

    sorry roberto I haven’t slept for 2 days I didn’t pay attention, thank you

    #211408

    ok i go to my bed lol

     

    #211639

    The indicator should work on ticks chart, there is no limitation. Why do you think it is not?

    #212030

    Hello Nicolas nothing sorry I hadn’t slept for 2 days, I tested since then it works, however small question, we have the levels in red and the levels in green, and we have numbers in gray? but no line what do they correspond to? would it be possible to add an option to display them or not? THANKS

    #212044

    I’m not sure about your query, but I think you want the text to be switch off with a setting, which I implement in the below version (setting is “showtext”, default state is OFF).

     

    #212067
Viewing 13 posts - 16 through 28 (of 28 total)

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