Lower High/Higher Low

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195450 quote
    phoentzsphoentzs
    Participant
    Master

    If I want to have the highest high of the last 24 hours, I write it like this in the TF M15:

     

    if time = 090000 then

    myhigh = highest[96](high)

    endif

    But how can I find out a lower high? How is that the code for this?

    lowest[96](high) ?

    #195452 quote
    JSJS
    Participant
    Master
    HH = Highest[96](High)
    LH = Lowest[96](High)
    
    LL = Lowest[96](Low)
    HL = Highest[96](Low)
    
    Return HH as "Highest High", LH as "Lowest High", LL as "Lowest Low", HL as "Highest Low"
    
    phoentzs and Midlanddave thanked this post
    #195457 quote
    phoentzsphoentzs
    Participant
    Master

    Ah, großartig. Vielen Dank.

    JS thanked this post
Viewing 3 posts - 1 through 3 (of 3 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

Lower High/Higher Low


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
phoentzs @phoentzs Participant
Summary

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

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