Value increasing How To

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30416 quote
    mexitradermexitrader
    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
    NicolasNicolas
    Keymaster
    Legend

    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
    mexitradermexitrader
    Participant
    New

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

    #30536 quote
    NicolasNicolas
    Keymaster
    Legend

    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
    mexitradermexitrader
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 mexitradermexitrader
9 years, 6 months ago.

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