Conversion of “PriceActionSwing” indicators package for NinjaTrader 7.0+8.0

Forums ProRealTime English forum ProBuilder support Conversion of “PriceActionSwing” indicators package for NinjaTrader 7.0+8.0

Viewing 15 posts - 1 through 15 (of 20 total)
  • #168916

    The “PriceActionSwing” indicators package for NinjaTrader 7.0 (or 8.0) calculates swings in different ways and visualize them. It shows swing information like the swing length, duration, volume,… It contains a lot of features. It is also useable on the Market Analyzer.
    The package contains 3 indicators:
    1) PriceActionSwing
    – standard swing indicator with visualization and swing information
    2) PriceActionSwingPro
    – Draw automatically Fibonacci extensions and retracements
    – Calculate a swing statistic
    – Calculate and visualize ABC patterns
    – Risk management (automatically for ABC patterns)
    – Calculate and visualize divergence based on an indicator
    – GomCD (uncomment the “region GomCD” parts in the source code)
    3) PriceActionSwingOscillator
    – swing trend visualization
    – developing swing volume (repainting)
    Useful to see/trade price action with HH, HL in uptrends and LL, LH in downtrends and patterns like double top/bottom, triangle,…

    For more information see this:
    * For Ninja Trader 7.0: https://futures.io/local_links.php?catid=26&linkid=57
    * For Ninja Trader 8.0: https://futures.io/local_links.php?action=ratelink&catid=26&linkid=1781

    I have attached one of the files you can download for free from the aforementioned web sites (the one for Ninja Trader 8.0 only).

    Thank you guys, in advance.

    anjoloro

    1 user thanked author for this post.
    #168932

    Sorry but do you want that indicators converted to ProRealTime? Can you share pictures of the indicator(s) to understand what it is all about please? Thanks in advance.

    #168944

    Yes, Nicolas, I would like to get (and share) the “PriceActionSwing” Ninja Trader indicators package converted to a ProRealTime version.
    Please take into account that I do not have Ninja Trader. That is the reason why I cannot provide you the Ninja code itself.
    However, I have taken a screenshot from a video and pasted it in the attached Word file. Hope it will be helpful.

    One of the things that the Ninja indicators provide is the cumulative volume of a bullish or bearish swing. I have checked that you coded in 2017 an indicator for the same purpose ( https://www.prorealcode.com/prorealtime-indicators/zigzag-cumulative-volume/ ). Your indicator works perfectly for daily or weekly timeframes but, if I am not wrong, it does not capture intraday swings. It would be great if your indicator could be modified so that it could also be applicable for intraday trades (for timeframes like, let’s say, 1 to 5 minutes or so).

    In addition, I would also appreciate if the indicator could also plot (in the price area) the segments for the ABC patterns, linking the same peaks and toughs that are used for the cumulative volume calculations.

    Thank you for your patience and your super-useful work.
    Please, do not hesitate to contact me for any further question.
    anjoloro

    1 user thanked author for this post.
    #168962

    That whole package of indicators represent almost 10.000 lines of code. Diving into that would take days, even for me. Please explain me in simple words what you expect to be plotted on the chart and I will do it from scratch or with part of things already done in the website, like you stated. Thanks.

    #168965

    OK, understood, Nicolas. So let’s forget about the Ninja codes and talk about smaller targets:

    1) Modify the code of the 2017 “ZigZag Cumulative Volume” indicator ( https://www.prorealcode.com/prorealtime-indicators/zigzag-cumulative-volume/ ) so that it can also be used for intraday trades (taking into account, for the zigzag cumulative volume calculations, the swings you see on a 2 minutes timeframe + 200 price bars). In other words, once the megatrends are already covered by the indicator, I would also like to use the same indicator for the microtrends.

    2) Modify the new “ZigZag Cumulative Volume” indicator code (the one resulting from target 1 above) so that it plots (in the price chart) the segments that link the meaningful peaks and toughs that are used for the zigzag cumulative volume calculations. Whenever the timeframe is changed by the user, the meaningful swings to be considered should be different, as well as the peaks and toughs inside the swings.

    I really don’t know how hard this can be. However, I presume it’s much easier. Please let me know if you need further explanations.

    Merci beaucoup et très bonne soirée.
    anjoloro

    1 user thanked author for this post.
    #168986

    Hello again, Nicolas.

    Target 1) above is solved already. It required just to adapt the “percentVariation” parameter to the desired timeframe. For example, percentVariation = 9 (aprox) for a 2 days timeframe and percentVariation = 9/22 (aprox) for a 5 minutes timeframe. Please find attached the modified code.
    Kindly let me know if target 2) above is doable.
    Thanks a lot.
    anjoloro

    #169002

    Bonjour, Nicolas.
    I have now realized that maybe the ZigZag indicator (the one which is installed by default in ProRealTime) is key for target 2) above. It draws the segments I referred to, the links between the meaningful peaks and toughs. And, again, the one who defines which peaks and toughs are meaningful is the user, in accordance with the timeframe he (or she) is working with, just through the selection of the right “percentVariation”. So now target 2) has to be rephrased:

    2) Modify the latest version of the “ZigZag Cumulative Volume” indicator code (the I posted yesterday right here) so that it plots many things at the same time, all of them related to the timeframe (–> to the “percentVariation”) the user has selected for the chart:

    2a) It should plot (at the bottom of the screen, NOT IN THE PRICE AREA) the cumulative volume the market produces from a meaningful peak/tough to the next meaningful peak/tough –> this is what we have already.
    2b) It should also plot (IN THE PRICE AREA, overlapping the price bars) the segments that link the same meaningful peaks and toughs that are being used for target 2a) –> this is what I presume is doable (somehow) through the ZigZag PRT indicator.

    What I do not know is:
    * Is it possible that one single indicator plots different things in different screen areas (the price area and another one)?
    * Is it possible that, just through the timeframe selection (by the user), the value of the “percentVariation” parameter is automatically allocated, so that the graphs for both 2a) and 2b) are automatically adapted to the selected timeframe?

    Well, little by little, we are getting closer. But I still need your super-powers, Nicolas!!! 😉
    À très bientôt, j’espère.
    anjoloro

    #169259

    I have also found this, which can be useful:
    https://www.prorealcode.com/prorealtime-indicators/weis-wave/

    Please, Nicolas, let me know if you are working (or going to work) on this or I should better look for help somewhere else.
    Thank you!

    #169278

    I’m sorry but I’m very busy currently..

    It’s rather difficult to know which percent variation is the best for the current timeframe. It should obviously be “dynamic”, this is something you can test:

     

    #169429

    Thanks, Nicolas.

    In order to automatically detect the timeframe (and adjust the proper value for the “percentVariation” parameter), I have tried many things, including what you suggested on your message above. Everything failed and I cannot find the reason why. Any help would be welcome.

    Anyway, I had to go on. Therefore, I abandoned one of my original wishes (to auto-detect the timeframe) but, fortunately, I could put together cumulated volume and price variation (for the concerned Weis wave leg) in one single indicator. The attached files are ready for a 5 minutes timeframe. Should a different timeframe be required, the user has to clone the indicator and change the “percentVariation” value in the code. A kind of table for the timeframe vs “percentVariation” correlation is included in the code.

    * 5m Onda Weis: it has to be inserted overlapping the price chart (it works with the price vertical scale).
    * 5m Cumul Volume: it has to be inserted under the price chart (it works with a different scale). Since “5m Onda Weis” also prints the cumulated volume on the price chart, the “5m Cumul Volume” is not compulsory, but it may help the user to understand how they both work.

    This is not a final version, but it is quite useful already (in my opinion). Hope someone else agrees with me. There it goes! 😉

    1 user thanked author for this post.
    #169503

    Topic moved from Spanish forum “Soporte Probuilder” to the English forum “Probuilder Support” (please see rule of using matching language and forum in yellow box below, thanks)

    #169511

    Thanks, Noobywan.

    Sorry, my fault.

    #169556

    Hello,
    I am currently working on the 2 indicators developed by David WEIS:
    – Cumulative Weiss Wave Volume (Histogram)
    – Zigzag Weiss Wave Volume (Bar)
    I think I’m on the right track, however, I have an error on the cumulative “text” value of the volume on the histogram and on the wave.
    I send you my codes for advice

    #169558
    #169559
    1 user thanked author for this post.
Viewing 15 posts - 1 through 15 (of 20 total)

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