Request to code a trading system
Forums › ProRealTime English forum › ProOrder support › Request to code a trading system
- This topic has 9 replies, 3 voices, and was last updated 2 years ago by
Berwick.
-
-
05/23/2022 at 7:26 PM #193728
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.
05/24/2022 at 8:01 AM #19375705/24/2022 at 8:50 AM #19376005/24/2022 at 7:30 PM #193808In 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.
2 users thanked author for this post.
05/24/2022 at 7:48 PM #193809I 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.
05/24/2022 at 7:50 PM #19381005/25/2022 at 10:56 AM #193830I 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 …
- If +20 points from 8:00am price, open Long.
- If – 20 points from 8:00am price, open Short.
- For Long & Short trades, SL = -20 TP = +96.
- If +10 in profit, start a Trailing Stop (TS) at -10, close 50 % of possize.
- If +40 in profit, move TS to +16 and close 50% of remaining possize.
- If +44 in profit, move TS to + 20, then move by +4 for each successive +4 rise.
- Trade exits either by TS or the TP (+96).
- 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)
05/25/2022 at 11:13 AM #19383205/27/2022 at 11:46 AM #193963Posts 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.
05/27/2022 at 11:50 AM #193967Posts 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.
-
AuthorPosts
Find exclusive trading pro-tools on