I need help with code to do this in version 10.3 and I can’t figure out how?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #139522 quote
    PhilA
    Participant
    New
    I want to automate an intraday strategy, tick by tick that buys when current price crossses over the highest of x daily close. I have to use version 10.3 because I’m with IG in the UK and they haven’t implemented v11. So some multi time frame indicator ideas are not available. I want the stop to be the lowest of the x day close.

    I want to have dynamic position sizing based on total capital available and x% risk. So position size = (capital * risk)/(entry price – distance to stop)

    Ideally, it will only open new trades between x time and x time, but it will always exit regardless of time of day. I’m sorry to ask so much, I just can’t work it out myself. I have no experience or background in programming. I’m happy to do it myself if someone can point me in the right direction. Thanks, Phil.
    #139523 quote
    robertogozzi
    Moderator
    Master
    Luckily enough you don’t need MTF indicators (not supported by v10.3), you need MTF strategies instead, which ARE supported by v10.3 so you will have no problems coding it. Searching for MTF or MULTI TIME FRAME etc… will return many info on this subject with lots of examples and documentation. Should you need further help just post your question.
    #139555 quote
    Nicolas
    Keymaster
    Master
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

I need help with code to do this in version 10.3 and I can’t figure out how?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
PhilA @phila Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by Nicolas
5 years, 7 months ago.

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