Need help trying to code an end of day strategy

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #142743 quote
    fxwiz
    Participant
    New

    Hi,

    I am trying to programme a system where I will place buy & sell zones at the end of the day on different timeframes & different currency pairs.

    For example, If a candle bar closes inside the predetermined buy zone on the 1hr, 2hr or 4hr chart, I would like to automatically place a buy order above the zone & a stop loss below the zone.
    If a subsequent bar closes outside the zone before I’m triggered, I would like for the order to be cancelled.
    The closed bar inside the zone has to be either (a) 1.5 times the size of the previous bar or (b)the candle body has to be bigger than the previous bar.

    Although I will still be doing the analysis to determine the zones at the end of each day, this will allow for automation after that point.

    Any help on what code to use to do this would help a lot!

    Thanks

    #145385 quote
    robertogozzi
    Moderator
    Master

    Do you want to use ALL those TF’s in a single strategy using the multi time frame support?

    If yes, then do you want ALL those TF’s to be independent of one another or should they be bundled with the AND operator?

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

Need help trying to code an end of day strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
fxwiz @fxwiz Participant
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: 08/27/2020
Status: Active
Attachments: No files
Logo Logo
Loading...