Screener with (Percentage of Conditions)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #106913 quote
    mohamed elsherief
    Participant
    New

    Hello,

    Good Day everybody,

    I have a couple of questions please:

    1-Is there a possibility the screener can show results based on the percentage of conditions when met. An example: let’s say I have RSI, MACD, and Stochastic and each of them has a predefined condition for a Bullish scan. The screener gives the option to run a scan based on matching all or any of the conditions. I want to run a scan when two of the conditions are met. How to do that please?

    The second option might be to build a custom indicator to include all the conditions and be coded to output a value when it fulfills a certain number or percentage of all the conditions. And then use this custom indicator in the scan. In this case, I will have to learn to code. But can we use a custom indicator (an Indicator I will build) in the screener?

    —In Excel, I can output each condition when met as a numeric value. For Ex:if MACD is above Zero then output value of 1 and if RSI is above 50 then output a value of 1. I can also use weighing. Then another cell will add all the numeric values and calculate the percentage (for ex: 2/3=66 percent). But how to do this in prorealtime scanner?

     

    2-Just to confirm: I understand the screener does not allow scanning based on other time frames that are not predefined for ex: H12, range bars, etc..

    Can this be “Coded”? I mean to code a custom indicator that outputs all my conditions in non-standard time frames and then be used in the screener?

     

    Those two questions are very important for me and all hopes to find a solution for both of them.

    Thanks in advance.

    #106928 quote
    Nicolas
    Keymaster
    Master

    You can do math just like in Excel, but you have to affect result to a variable:

    result = 2/3
    
    if result >= 50 then 
     signal = 1
    else 
     signal = 0
    endif
    
    

    You can use custom indicator in ProScreener, with the CALL function.

    There is no way to get indicators values from other timeframes than the ones listed in the dropdown list.

    #107027 quote
    mohamed elsherief
    Participant
    New

    Thank you for your clarification.

    I will try to do my best with learning to code/combine a number of indicators in one custom indi and then apply the formula you provided. I have read a few pages in the guide and I do not think it will be that hard.

    Regards,

    #107035 quote
    Nicolas
    Keymaster
    Master

    I suggest to watch the free videos to learn the basics of coding with ProRealTime: Learn to code

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Screener with (Percentage of Conditions)


ProScreener: Market Scanners & Detection

New Reply
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
6 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 09/09/2019
Status: Active
Attachments: No files
Logo Logo
Loading...