Value increasing How To

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30416 quote
    mexitrader
    Participant
    New

    Need help to code a rising value increasing from an indicator for my screener

    For example MACD, MOMENTUM, or RSI is increasing its value or it´s rising from 30 days ago

     

    Thanks in advance

    #30504 quote
    Nicolas
    Keymaster
    Master

    Do you want to test if the value is continuously increasing during 30 days or only if the current period value is superior to the one 30 bars ago?

    #30515 quote
    mexitrader
    Participant
    New

    Yes I need test if the value is continuously increasing during 30 days, Thank you Nicolas

    #30536 quote
    Nicolas
    Keymaster
    Master

    This code snippet should do the trick, but the kind of oscillator you mention are not climbing straight upward in a continuous line, so this condition will certainly not return anything at all..

    m=momentum[10]
    
    c=summation[30](m>m[1])=30
    
    screener[c]
    #30537 quote
    mexitrader
    Participant
    New

    Thank you  I will test it and share my results

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

Value increasing How To


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
mexitrader @mexitrader Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by mexitrader
8 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/30/2017
Status: Active
Attachments: No files
Logo Logo
Loading...