Screener using EVWMA, help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42262 quote
    guillermus69
    Participant
    New

    Hi, im trying to create a  simple screener using the Elastic Volume Weighted Moving Average. I use it as indicator on my charts, it is included into the ptr indicator and  i didnt have to create it.

    The condition for the screener i want to create is  –>    eVWMa[30]  crosses under WeightedAverage[30]

    the problem i have is it cant find the EvWMA and use it , i have try  to create it with this code  :

     

    //parameters :
    // period = 20

    IF BarIndex < period THEN
    eVWMA = Close
    ELSE
    N = Summation[period](Volume)
    eVWMA = ((N – Volume)*eVWMA + Volume*Close)/N
    ENDIF

     

    • Do i have to create a new indicator  for the eWVMA and then use it on the screener??
    • I need two indicators, for the first one i have no problem,  Indicator1=WeightedAverage[30](close) but what about the EWMa? i have tried Indicator2 = eWMa[30] unsuccesfully
    • Anyone can help me with the code, is just one condition.

    Thank you very much

    #42298 quote
    Nicolas
    Keymaster
    Master

    You are right, the Elastic Volume Weighted Moving Average is not part of the simplified creation module. You need to add its formula directly into the screener code. Please find below the correct stock screener code that suit your query. Let me know if you need more assistance.

    period=30
    IF BarIndex < period THEN
    eVWMA = Close
    ELSE
    N = Summation[period](Volume)
    eVWMA = ((N - Volume)*eVWMA + Volume*Close)/N
    ENDIF
    
    Indicator1=WeightedAverage[period](close)
    
    condition = eVWMA crosses under Indicator1 
    
    screener [condition]
    evWMA-cross-screener.jpg evWMA-cross-screener.jpg
    #42326 quote
    guillermus69
    Participant
    New

    Thanks Nicolas !

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

Screener using EVWMA, help.


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by guillermus69
8 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 08/01/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...