Simple code start time

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #136772 quote
    Slowlyslowly
    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
    robertogozzi
    Moderator
    Master

    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.

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 robertogozzi
5 years, 5 months ago.

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