Changing TMA Slope indicator by Nicolas to a Screener!!

Forums ProRealTime English forum ProScreener support Changing TMA Slope indicator by Nicolas to a Screener!!

Viewing 11 posts - 1 through 11 (of 11 total)
  • #118987

    This is regarding TMA Slope indicator by Nicolas!!
    https://www.prorealcode.com/prorealtime-indicators/tma-slope/

    just wondering if it is possible to make this indicator to a screener…
    When ”Buy Only”  — once we get the first green histogram to ”buy only”  get a signal on the screener eg; 1
    When ”Sell Only” — once we get the first red histogram ”Sell only”  get a signal on the screener eg; -1

    I tried to do this but failed miserably.. is it possible?

    Thank you in advance.

     

    #118990

    Screeners don’t like much -1, try replacing it with 2 at line 74.

    #119065

    Thanks for your response.
    I tried replacing it with 2.. but I get loads of other Syntax errors:
    I think I’ve not done this right!! 🙁

    #119066

    I cannot check syntax errors on my mobile.

     

    #119076

    No Problem…@robertogozzi
    please if you could have a look at this would be amazing!!!!!

    #119122

    Line 1 should read eintPeriod.

    Remove lines 65-69, since Offset was only required to plot on the chart.

    Variables having their names starting with gadbl are not used, so they could probably be removed, but I am not sure about that since I did not test the code thoroughly so I suggest that you add this dummy line just before the last line, instead of removing them:

    remember to use 2 instead of -1.

    1 user thanked author for this post.
    #119230

    Hi robertogozzi

    Thanks to your help I kinda managed to get this without any errors 🙂 The problem now is it shows all Buy only and Sell only!!
    Is it Possible to change this,
    When ”Buy Only”  —  it only reads first 5 green candles only
    When ”Sell Only” — it only reads first 5 Red candles only

     

     

    #119234

    This is probably due to the high number of items returned (max. 50 allowed on demo account, 100 on real account). You can read how many have been displayed aot of XXXX at the bottom of the screener window.

    I may suggest that you duplicate it and run both of them one to search BUY only with lines 67-71 replaced by:

    and the SELL only one with:

     

     

    #119472

    Hi @roberto

    It still reads all of it in the list..

    Is there a way to read-only past 5 histograms when BUY ONLY or SELL ONLY means it will show up the new signals.. within 5 histograms?

     

    #119483

    Line 67 and 71 should read, respectively:

     

    1 user thanked author for this post.
    #119869

    robertogozzi i think it works!! thank you very much for help as always!!

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

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