Simple code start time

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #136772 quote
    SlowlyslowlySlowlyslowly
    Participant
    Average

    Hello

    Have a code that recognises an entry point when met but need it to only monitor it from when the code becomes active.

     

    Ie if i turn the code on at 110300 i do not want it to recognise the entry point before that.

    I have Starttime=Opentime  but that seems to refer to the market need starttime= when code is active time

     

    any help appreciated.

    #145340 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Use:

    IF OpenTime > 110300 THEN
      EntryPoint = .......
    ENDIF

    you may replace OpenTime (time when a candle opens) with Time (time when a candle closes).

Viewing 2 posts - 1 through 2 (of 2 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

Simple code start time


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
6 years ago.

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