Count points and time

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #185647 quote
    SnorreDKSnorreDK
    Participant
    Junior

    Is it possible to function where you could count points. If you have a green cloud and eg Zlema has stayed X number of points above the green cloud for Y number of hours, it should hold the position until you have definitely got a clear turn.

    #185649 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    The Green Cloud is the one of Ichimoku?

    #185651 quote
    SnorreDKSnorreDK
    Participant
    Junior

    Clarifies. Want to count the points between two indicators

    #185701 quote
    SnorreDKSnorreDK
    Participant
    Junior

    Thats right Roberto

    #185723 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    MySpanB = SenkouSpanB[9,26,52]
    MyZlema = ZLEMA[20](close)
    Gap     = (MyZlema - MySpanB) / PipSize
    return Gap AS "Difference"
    SnorreDK thanked this post
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

Count points and time


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
SnorreDK @snorredk Participant
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 01/17/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...