EMA 50 nBinary indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #174231 quote
    Eric
    Participant
    Master
    D50 = ExponentialAverage[50](close)
    
    c1 = D50 > D50[1]
    
    c3 = D50 < D50[1]
    
    IF c1 THEN
    res = 1
    ELSIF c3  THEN
    res = -1
    ENDIF
    
    RETURN res as "ABC EMA 50 LUT"
    #174235 quote
    robertogozzi
    Moderator
    Master

    What is your question ?

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

EMA 50 nBinary indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Eric @eric Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
4 years, 6 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 07/27/2021
Status: Active
Attachments: No files
Logo Logo
Loading...