order on 10 sec but trend is on hourly candle

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #84775 quote
    ramarama
    Participant
    Senior

    As we all know pro real time places orders at only time intervals.

    I want to trade in a trending market.

    if the hourly candle is going down say for 8 am to 9 am

    if the trend is down and say market is going down by 100 points

    I want to sell at x-10, x-20, x-30 where is x is the price at the beginning of the hourly candle

    I want to place the  order in 15 seconds

     

    the reason for this I want to keep moving my stop losses for individual orders in my favor( which is not possible on cumulative orders on hourly candle)

    #84776 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    You have to use the recent MTF (Multiple Time Frame) feature and use 10 seconds as the main TF, within your strategy you will then be able to use any other higher TF provided it’s multiple of 10 seconds.

    Unfortunately this will lower your data history to just a few days when backtesting.

    If you search MTF you will find many examples and videos.

    #84821 quote
    NicolasNicolas
    Keymaster
    Legend

    A simple example of a MTF strategy code is available here: https://www.prorealcode.com/topic/echelle-de-temps-multiples/#post-82039

    #120909 quote
    VNVN
    Participant
    Average

    Hi Nicolas, I am trying to do something similar but my base timeframe is at 1 min and I want to use a 30 second time period to evaluate a number of conditions, but it when I tried running the code it is saying that all timeframes used in the code must be multiples of the base timeframe. I tried doing it on 10 sec and also on 1 second and it still not liking it.

    Is this to be expected?

    #120910 quote
    VonasiVonasi
    Moderator
    Master

    You must launch your strategy on the fastest time frame and make sure that all time frames used in the strategy can be divided into each other.

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

order on 10 sec but trend is on hourly candle


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
rama @rama Participant
Summary

This topic contains 4 replies,
has 5 voices, and was last updated by VonasiVonasi
6 years, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 11/13/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...