Trader Tom BO strategy

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #189895 quote
    JOKAMAURICE
    Participant
    Junior

    Dear Roberto,

    You very kindly helped me very successfully for the bar counting program. Maybe would you accept to write another short program based on Trader Tom BO strategy.

    This one goes as follow for the dax for example. We place a stop order with a take profit of 6 and stop loss of 9 at the opening 9am at the highest point and lowest one of the preceding hour. He says the strategy wins 70% of the time and he does the same on dow with other tp and sl. Let me know if can do it. Best. Maurice

    #189905 quote
    robertogozzi
    Moderator
    Master

    I created a new topic in ProOrder support.

    For any specific unrelated question, please open a new topic in the correct support forum, using a meaningful subject, instead of appending it to an existing one.

    Thank you 🙂

    There you go:

    Timeframe(1h,UpdateOnClose)
    ONCE LowEntry  = 0
    ONCE HighEntry = 0
    IF Time >= 090000 AND Not OnMarket THEN
       IF time = 090000 THEN
          LowEntry  = low
          HighEntry = high
       ENDIF
       IF (LowEntry + HighEntry) <> 0 THEN
          BUY       1 CONTRACT AT HighEntry STOP
          SELLSHORT 1 CONTRACT AT LowEntry  STOP
       ENDIF
    ENDIF
    #189910 quote
    JOKAMAURICE
    Participant
    Junior

    Thank you very much. All the best

    #189915 quote
    JOKAMAURICE
    Participant
    Junior

    Dear Roberto,

     

    I forgot one condition. If one order is trigger the other has to be deleted and if after 5 min no position is triggered then both are suppressed. I guess it is quite simple to add.
    Best.
    Maurice

    #189949 quote
    robertogozzi
    Moderator
    Master

    There you go:

    DEFPARAM CumulateOrders = false
    Timeframe(1h,UpdateOnClose)
    HH = high
    LL = low
    //
    Timeframe(default)                           //5-minute TF
    IF Time = 090000 THEN
       BUY       1 CONTRACT AT HH STOP
       SELLSHORT 1 CONTRACT AT LL  STOP
    ENDIF
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Trader Tom BO strategy


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by robertogozzi
3 years, 11 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/12/2022
Status: Active
Attachments: No files
Logo Logo
Loading...