Probably easy question about coding the lowest low

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

    How can i ask for this:

    Close < the lowest close between 5-20 candles ago.

    If i ask for “Close < lowest[20](close)” it will include the newest candle, i wanna check against the last say 5-20 candles

    #70593 quote
    robertogozzi
    Moderator
    Master
    close < lowest[20](close[5])  //scans past candles from close[5] through close[24]
    #70618 quote
    jebus89
    Participant
    Master

    Big thanks as always!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Probably easy question about coding the lowest low


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
jebus89 @jebus89 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by jebus89
7 years, 9 months ago.

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