Criteria as percentage of price

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8090 quote
    Sam Macy
    Participant
    Junior

    I want to have a criteria that displays a formula  as a percentage of the price for example:

    3period EMA – 30period EMA as a percentage of the close…

    Any ideas?

    #8095 quote
    Adolfo
    Participant
    Senior

    Hi! Not really sure but wanted to try and here it is:

    EMA3 = ExponentialAverage[3](close)
    EMA30 = ExponentialAverage[30](close)
    
    percent = (EMA3/EMA30)*1/100
    
    return percent
    #8106 quote
    Nicolas
    Keymaster
    Master

    Or maybe something like this? :

    EMA3 = ExponentialAverage[3](close)
    EMA30 = ExponentialAverage[30](close)
    
    percent = ((EMA3-EMA30)/close)*100
    
    return percent
    #8209 quote
    Sam Macy
    Participant
    Junior

    Thanks guys

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

Criteria as percentage of price


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Sam Macy @iainhmclean Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by Sam Macy
9 years, 9 months ago.

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