Buy if higher at a specified time of the day

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #95803 quote
    bullbearbullbear
    Participant
    Senior
    I have a problem to code this.   Buy if current candle is higher then it was at 09:20. Thanks šŸ™‚
    #95805 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Try this:
    If time = 092000 then
       Priceat0920 = close
    Endif
    If close > Priceat0920 then
        Buy at market
    Endif

    #95896 quote
    bullbearbullbear
    Participant
    Senior
    Thanks Roberto šŸ™‚
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

Buy if higher at a specified time of the day


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
bullbear @bullbear Participant
Summary

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

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/09/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...