Close order Friday night

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

    Hi

    May I know the code for close the order on Firday night?

    Thanks

    #231894 quote
    phoentzsphoentzs
    Participant
    Master
    If time>=220000 and dayofweek=5 Then
    Sell at market
    exitshort at market
    ENDIF
    Alfred and robertogozzi thanked this post
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

Close order Friday night


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Alfred @kin08180213 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by phoentzsphoentzs
2 years, 5 months ago.

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