Request to code a trading system

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #193728 quote
    Berwick
    Participant
    New

    I am not a coder myself and I am wondering whether anyone would be prepared to code this for me?

    The system should operate on the IG/PRT  spread betting platform taking positions on the the FTSE100 index. It should open a trade with a stake of £10 when the index moves 20 points either up or down from the 8:00am price, opening a long or short position.

    Once opened the trade should be managed in the following way,

    Set initial stop loss at (ui) points and initial take profit at (ui) points

    At (ui) points in profit move stop to (ui)  and close (ui) % of the trade

    At (ui) points in profit move stop to (ui)  and close (ui) % of the trade

    At (ui) points in profit start trailing stop and trail by (ui) points

    (ui) = user input    on the FTSE 100, 1 point = 1.0

    The system should trade only once and that trade should be left to close either by the trailing stop or the take profit initially set.

    #193757 quote
    robertogozzi
    Moderator
    Master

    What is (ui)?

    #193760 quote
    Berwick
    Participant
    New

    (ui) is a user input.

    #193808 quote
    GraHal
    Participant
    Master

    In your specification … it be better to use actual values instead of UI.

    Values can easily be changed later (by User) but values enable a coder to check the code works.

    Also don’t specify spreadbet as a ‘non-UK coder’ does not have spreadbet so you are limiting your chances of coding help.

    The same code will work on spreadbet and CFD.

    Berwick and robertogozzi thanked this post
    #193809 quote
    Berwick
    Participant
    New

    I am not a coder myself and I am wondering whether anyone would be prepared to code this for me?

    The system should operate on the IG/PRT  platform taking positions on the the FTSE100 index. It should open a trade with a stake of £10 when the index moves 20 points either up or down from the 8:00am price, opening a long or short position.

    Once opened the trade should be managed in the following way,

    Set initial stop loss at 20 points and initial take profit at 96 points

    At 10 points in profit move stop to -10  and close 50 % of the trade

    At 40 points in profit move stop to +16  and close 25 % of the trade

    At 44 points in profit start trailing stop and trail by 20 points

    On the FTSE 100, 1 point = 1.0

    The system should trade only once and that trade should be left to close either by the trailing stop or the take profit initially set.

    #193810 quote
    Berwick
    Participant
    New

    Thanks GraHal for your helpful suggestions, now implemented.

    GraHal thanked this post
    #193830 quote
    GraHal
    Participant
    Master
    I reckon you may be best to ask a Mod to delete your Topic altogether and then start again with a new title …

    Help Please to code a ‘One-Shot Trading System’ ?

    Then state code specification (1 sec TF) as …
    1.   If +20 points from 8:00am price, open Long.
    2.  If  – 20 points from 8:00am price, open Short.
    3. For Long & Short trades, SL = -20 TP = +96.
    4. If +10 in profit, start a Trailing Stop (TS) at -10, close 50 % of possize.
    5. If +40 in profit, move TS to +16  and close 50% of remaining possize.
    6. If +44 in profit, move TS to + 20, then move by +4 for each successive +4 rise.
    7. Trade exits either by TS or the TP (+96).
    8. System then Quits.
      (Specification in numbered bullets makes it easier for the coder to refer to when asking you, for example,  … what do you mean by No 6)
    #193832 quote
    Berwick
    Participant
    New
    Hi Roberto, could you please delete this thread, and I will start a new one in a better format, thanks.
    #193963 quote
    robertogozzi
    Moderator
    Master
    Posts and topics cannot be deleted, unless they can be marked as spam or offensive. Start a new one, or simply append a new post here with a new wording.
    #193967 quote
    Berwick
    Participant
    New
    Posts and topics cannot be deleted, unless they can be marked as spam or offensive. Start a new one, or simply append a new post here with a new wording. OK thanks, have started a new thread.
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

Request to code a trading system


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Berwick @berwick Participant
Summary

This topic contains 9 replies,
has 3 voices, and was last updated by Berwick
3 years, 9 months ago.

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