EMA 50 nBinary indicator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #174231 quote
    EricEric
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    What is your question ?

Viewing 2 posts - 1 through 2 (of 2 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

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 robertogozzirobertogozzi
5 years, 2 months ago.

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