Lower High/Higher Low

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195450 quote
    phoentzs
    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
    JS
    Participant
    Senior
    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
    phoentzs
    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.

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 phoentzs
3 years, 8 months ago.

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