Count points and time

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #185647 quote
    SnorreDK
    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
    robertogozzi
    Moderator
    Master

    The Green Cloud is the one of Ichimoku?

    #185651 quote
    SnorreDK
    Participant
    Junior

    Clarifies. Want to count the points between two indicators

    #185701 quote
    SnorreDK
    Participant
    Junior

    Thats right Roberto

    #185723 quote
    robertogozzi
    Moderator
    Master

    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.

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 robertogozzi
4 years, 1 month ago.

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